/*タイトルのフォント*/
.title {
    font-family: "Klee One", cursive;
    font-weight: 700;
    font-style: normal;
  }
/*テキストのフォント*/
.text {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
  } 
/*テキストのフォント2*/
.text_two {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  

/*コンテナ*/
.container {
    width:calc(100vw-10px);
    min-width:900px;
}
/*ローディング画面*/
#loading {
    width:100%;
    height:100vh;
    background-image: linear-gradient(-225deg, #FFE29F 0%, #FFA99F 48%, #FF719A 100%);
    display:grid;
    place-items: center;
    position:absolute;
    z-index:9;
}
#loading p {
    font-size:3rem;
    color:antiquewhite
}


@media only screen and (max-width:768px) {
    .container {
        width:100vw;
        min-width:200px;
    }
    #loading {
        display:none;
    }
}


/*オープニング画面*/
#helo {
    height:100vh;
    display:flex;
    position:relative;
    background-color:rgb(178, 135, 135);
}
.center {
    margin:auto;
    text-align:center;
}
#welcome {
    position:relative;
}
#welcome img {
    height:100vh;
   
}
#welcome p {
    position:absolute;
    top:27%;
    left:10%;
    font-size:1.2rem;
    color:#ffff;
    text-shadow:1px 1px 3px #3d3b39;
}
#helo h1 {
    font-size:3.5rem;
    letter-spacing:5px;
    margin-right:50px;
    color:#510e0e;
    text-shadow:1px 1px 5px #f1f0ee;

}
#helo h2 {
    margin:30px 0;
    font-size:1.7rem;
    letter-spacing:5px;
    color:#510e0e;
    text-shadow:1px 1px 3px #f1f0ee;
}
/*ハートモチーフ*/
.heart {
    margin-left:20px;
    width:120px;
    height:120px;
    position:relative;
}
.heart::before,.heart::after {
    content:"";
    position:absolute;
    top:0;
    width:60px;
    height:100px;
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    border-radius:100px 100px 0 0;
    opacity:0.6;
}
.heart::before {
    left:60px;
    transform:rotate(-45deg);
    transform-origin:0 100%;
}
.heart::after {
    left:0;
    transform:rotate(45deg);
    transform-origin:100% 100%;
}

@media only screen and (max-width:1250px) {
    .heart::before,.heart::after {
        top:20px;
        width:30px;
        height:50px;   
    }
    .heart::before {
        left:30px;
    }
    .heart::after {
        left:0px;
    }
}
@media only screen and (max-width:768px) {
    #helo {
        height: auto;
        width: 100%;
        display:contents;
    }
    #helo div {
        background-color:rgb(178, 135, 135);
    }
    #welcome img {
        height:auto;
        width: 100%;
    }
    #helo h1 {
        font-size:1.6rem;
        margin:auto;
        padding-top: 20px;
    }
    #helo h2 {
        margin:20px auto;
        font-size:1.2rem;
        letter-spacing:3px;
        text-shadow:none;
        color: #250c0c;
    }
    .heart::before,.heart::after {
        top:10px;
        width:15px;
        height:25px;   
    }
    .heart::before {
        left:0px;
    }
    .heart::after {
        left:-15px;
    }
}

/*TOP画面に戻る*/
.back {
    display:block;
    float: right;
    font-size: 1.2rem;
    padding:10px 10px 20px 30px;
    margin:50px 30px 0 0;
    text-decoration: none;
    border-radius:5px;
    background-image:linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 40%, #e2cbb9 100%);
    box-shadow:5px 5px 5px rgba(112,109,105,0.3);
}
.back:hover {
    color:#ffffff;
    background-image:linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}
/*右矢印*/
.arrow_right {
    position: relative;
    padding:10px 30px;
}
.arrow_right::before {
    position: absolute;
    content:"";
    width:13px;
    height:13px;
    border-top:3px solid #4a0347;
    border-right:3px solid #4a0347;
    transform:rotate(45deg);
    top:0;
    bottom:0;
    left:2px;
    margin:auto;
}
.arrow_right::after {
    position:absolute;
    content:"";
    background:#4a0347;
    top:0;
    bottom:0;
    left:1px;
    width:15px;
    height:3px;
    margin:auto;
}

/*リンクメニュー*/
.menu {
    display:block;
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:80px 80px;
    gap: 60px; 
}
.selected {
    display: grid;
    align-items: center;
    justify-content: center;
    height:100%;
    font-size:1.2rem;
    color:#4a0347;
    text-decoration: none;
    border-radius:5px;
    background-image:linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 40%, #e2cbb9 100%);
}
.selected:hover {
    background-image:linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
    
}


@media only screen and (max-width:768px) {
    .menu {
        grid-template-columns:1fr;
        grid-template-rows:60px;
        gap: 20px;
        margin:0 30px;
        padding-bottom: 30px;
    }
    .selected {
        font-size:1rem;
    }
}


/*サイトの紹介*/
#introduction {
    background-color:beige;
    padding:70px 70px;
}
.int_wrapper {
    display:flex;
    background-color:#ffffff;
    padding:20px;
    box-shadow:10px 10px 10px #d5c1c1;
}

.parag p {
    color:#3d3b39;
    
}
/*サイトの目的*/
#introduction img {
    opacity:0;
    height:40vh;
    margin-left:20px;
}
#introduction_two {
    background-color:beige;
    padding:50px 70px 150px 70px;
}
#introduction_two img {
    opacity:0;
    height:25vh;
    margin-right:20px;
}

/*ふよふよタイトル*/
h3 {
    color:floralwhite;
    display:inline-block;
    padding:2rem 2rem;
    border-radius:50%;  
    font-size:1.8rem;
    box-shadow:10px 10px 10px #cecccc;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    text-shadow:1px 1px 2px #706d69;
}
h4 {
    color:floralwhite;
    display:inline-block;
    padding:2rem 2rem;
    border-radius:50%; 
    font-size:1.5rem;
    margin:0 0 30px 20px;
    box-shadow:10px 10px 10px #cecccc;
    background-image: linear-gradient(to top, #e6b980 0%, #eacda3 100%);
    text-shadow:1px 1px 2px #706d69;
} 


@media only screen and (max-width:768px) {
    #introduction {
        width:100vw;
        height: auto;
        background-color:white;
        padding:0;
        display:contents;
    }
    .int_wrapper {
        width:100%;
        height: auto;
        background-color:#ffffff;
        padding:0;
        margin: auto;
        box-shadow:none;
        display:contents;
    }
    .int_parag {
        width: 100%;
        padding: 0 10px;
        font-size: 14px;
    }
    #introduction img {
        opacity:0;
        width: 100%;
        height:auto;
        margin:0;
    }
    #introduction_two {
        background-color:#ffffff;
        padding:0;
        width: 100vw;
        height: auto;
        display:contents;
    }
    #introduction_two img {
        opacity:0;
        width: 100%;
        height:auto;
        margin:0;
    }
    .parag p {
        color:#3d3b39;
    }
    h3 {
         padding:1rem 1rem;
        margin: 10px 0;
        font-size:1rem;
    }
    h4 {
        padding:1rem 1rem;
        font-size:1rem;
        margin:10px 0;
    }
    .back {
        display: none;
    }
}


/*QT延長症候群について*/
#l_qt {
    background-image:url(../images/haikei2.jpg);
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    min-height: 800px;
    height:auto;
    padding:20px 120px;
}

#l_qt h2 {
    font-size:2rem;
    text-align:center;
    color:#5b5855;
    text-shadow:1px 1px 2px #cdc8c1;
    padding:50px 0;
    letter-spacing:3px;
}
#l_qt ul {
    color:#250c0c;
    font-size:1.2rem;
    font-weight:500;
    margin-left:70px;

}
#l_qt li:hover {
    background-color:rgba(212,252,121,0.4);
    cursor: pointer;
}
.flex {
    display:inline-block;
    display: flex;
    justify-content:space-between;
}
.flex img {
    height:500px;
    margin-left:50px;
    border-radius: 5px;
    opacity:0.7;
    box-shadow:5px 5px 5px rgba(112,109,105,0.3);
}
.flex a {
    margin-bottom: 20px;
}
/*表示スペース*/
#space {
    background-color:rgba(255,169,159,0.3);
    box-shadow:5px 5px 5px rgba(112,109,105,0.3);
    border-radius:5px;
    padding:30px;
    margin:30px 0 0 50px;
}


/*非表示コンテンツ*/
#parag_none {
    display:none;
}
#img_none {
    display: none;
    height: 500px;
    margin-left:50px;
    border-radius: 5px;
    opacity:0.7;
    box-shadow:5px 5px 5px rgba(112,109,105,0.3);
}


@media only screen and (max-width:768px) {
    #l_qt {
        width: 100vw;
        min-height:auto;
        height:auto;
        padding:0;
        margin-top: 20px;
    }
    #l_qt h2 {
        font-size:1rem;
        padding: 20px auto;
        letter-spacing:3px;
        width: 100vw;
    }
    #l_qt ul {
        font-size:15px;
        margin:0 0 20px 40px;
        line-height: 30px;
    }
    .flex {
        display:block;
        display: contents;
        justify-content:center;
    }
    .flex img {
        width: 100vw;
        height:auto;
        margin:0;
        border-radius: 0;
        box-shadow:0;
    }
    /*表示スペース*/
    #space {
        border-radius:0;
        padding:10px;
        margin:0;
        height: auto;
        width: 100vw;
        font-size: 14px;
    }
    /*非表示コンテンツ*/
    #parag_none {
        display:none;
    }
    #img_none {
        display: none;
        height: auto;
        width: 100%;
        margin:0;
        border-radius: 0;
        box-shadow:0;
    }
    
}


/*ヒストリー*/
#history {
    background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
    height: auto;
}
.his_title {
    padding: 50px 0 20px 0;
    color:#2c2a29;
}
#three {
    font-size: 2rem;
}
/*スライダー*/
.slider {
    width:83vw;
    height:95%;
    display:grid;
    margin: 0 auto;
    padding-bottom: 30px;
    position: relative;
}
.slider_outer {
    position: relative;
    width: 80vw;
    height: 100%;
    margin: auto;
    background-color: #ffffff;
    overflow: hidden;
    border: solid 1px #a9a6a2;
    border-radius: 4px;
}
.slider_container {
    display: flex;
    transition: 3s;
    width:600%;
}
.slider_item {
    width:100%;
    margin:30px;
}
.slider_item h2 {
    margin-bottom: 20px;
    color:#2c2a29;
}
.slider_item img {
    height:400px;
}
/*スライダーボタン*/
button {
    all:initial;
    width:50px;
    height:50px;
    font-size:30px;
    cursor:pointer;
}
button:active {
    opacity: .6;
}
.next_btn {
    position:absolute;
    color:lightcoral;
    top: 250px;
    right:-80px;
}
.back_btn {
    position: absolute;
    color:grey;
    top:250px;
    left:-70px;
}
/*ドットインジケータ*/
.indicator_container {
    display:flex;
    justify-content:center;
    column-gap:20px;
    margin-top: 10px;
}
.indicator {
    width:10px;
    height:10px;
    background-color: lightgrey;
    color:powderblue;
    border-radius:50%;
}
.indicator1 {
    background-color: grey;
}
.his_end {
    margin-right:70px;
}
.his_end p {
    display: inline-block;
    padding: 10px;
    background-color: rgb(168, 237, 234, 0.3);
}


@media only screen and (max-width:768px) {
    #history {
        width: 100vw;
    }
    .his_title {
        
        padding:40px;
        width: 100vw;
        margin: 0 auto;
        
        
    }
    #three {
        font-size: 1.2rem;
        
    }
    /*スライダー*/
    .slider {
        width:100vw;
        height:auto;
        display:grid;
        margin: 0 ;
        padding-bottom: 0;
        position: relative;
    }
    .slider_outer {
        position: relative;
        width: 92vw;
        height: auto;
        margin: auto;
        background-image: url(../images/haikei4.jpg);
        background-position: bottom;
        background-size: contain;
        border: solid 1px #a9a6a2;
        border-radius: 4px;
    }
    .slider_container {
        display: flex;
        transition: 2s;
        width:600%;
    }
    .slider_item {
        width:100%;
        margin:16px;
        font-size: 14px;
    }
    .slider_item img {
        height:auto;
        width: 100%;
    }
    /*スライダーボタン*/
    .next_btn {
        top: -40px;
        right:10vw;
    }
    .back_btn {
        top: -40px;
        left:15vw;
    }
    /*ドットインジケータ*/
    .indicator_container {
        top:-35px;
        left:50vw;
        transform: translate(-50%,0);
        position: absolute;
        column-gap:10px;
    }
    .indicator {
        width:10px;
        height:10px;
        background-color: lightgrey;
        color:powderblue;
        border-radius:50%;
    }
    .his_end {
        display: none;
    }
}


/*日々の取り組み*/
#dayly {
    height:auto;
    background-image: url(../images/haikei3.jpg);
    background-repeat: repeat-y;
}
#four {
    margin-bottom: 20px;
    font-size:2rem;
}
/*スライダー*/
.dayly_wrapper {
    padding:50px 0 ;
    position: relative;
    width: 95vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}
#dayly_slider {
    width: 300%;
    height:auto;
    display: flex;
    transition: 3s;
}
#dayly_title {
    width:500px;
    font-size: 1.4rem;
    list-style: none;
    margin: auto;
    cursor: pointer;
}
#prev {
    padding:5px 10px;
    border-radius: 4px;
    background-color: rgba(163, 123, 66, 0.4);
}
#disc {
    padding:5px 10px;
    border-radius: 4px;
    background-color: rgb(112, 109, 105, 0.4);
}
#act {
    padding:5px 10px;
    border-radius: 4px;
    background-color: rgba(96, 126, 33, 0.3);
}
#prev:hover,#disc:hover,#act:hover {
    text-decoration: underline;
    color: #bd5a76;
}
#prevention,#discover,#action {
    width: 100%;
    height: auto;
}
.prev_idea {
    width:60vw;
    min-width: 600px;
    margin:50px;
    padding:20px 20px 20px 40px;
    background-color: rgba(163, 123, 66, 0.4);
    border-radius: 5px;
    color:#250c0c;
}
.disc_idea {
    width:60vw;
    min-width: 600px;
    margin: 50px auto;
    padding:20px 20px 20px 40px;
    background-color: rgb(112, 109, 105, 0.4);
    border-radius: 5px;
    
}
.act_idea {
    width:60vw;
    min-width: 600px;
    margin:50px 50px 50px auto;
    padding:20px 20px 20px 40px;
    background-color: rgba(96, 126, 33, 0.3);
    border-radius: 5px;
    color:#050a00;
}


@media only screen and (max-width:768px) {
    #dayly {
        width: 100vw;
        height:auto;
        background-image: url(../images/haikei3.jpg);
        background-repeat: repeat-y;
        background-size:contain;
    }
    #four {
        width: 100vw;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
    /*スライダー*/
    .dayly_wrapper {
        padding:50px 0 ;
        position: relative;
        width: 95vw;
        height: auto;
        margin: auto;
        overflow: hidden;
    }
    #dayly_slider {
        width: 300%;
        height:auto;
        display: flex;
        transition: 2s;
    }
    #dayly_title {
        width:40vw;
        font-size: 1rem;
        margin: auto;
        display: grid;
        gap:20px;
    }
    #prev,#disc,#act {
        padding:5px 20px;
    }
    #prevention,#discover,#action {
        width: 100vw;
        height: auto;
        font-size: 14px;
    }
    
    
    .prev_idea,.disc_idea,.act_idea {
        width:90vw;
        min-width: 200px;
        margin:20px auto; 
    }
}



/*フッター*/
footer {
    background-color:rgb(178, 135, 135);
}
footer div {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 70px;
}
footer h2 {
    letter-spacing:3px;
    text-shadow:1px 1px 3px #f1f0ee;
}
footer img {
    width:80px;
}
footer a {
    text-decoration: none;
    color:#4a0347;
}
footer a:hover {
    text-decoration:underline;
    color:#510e0e;
}
footer li {
    list-style:none;
}

@media only screen and (max-width:768px) {
    footer {
        width: 100vw;
        padding:0;
    }
    footer div {
        display:contents;
        background-color:rgb(178, 135, 135);
    }
    footer h2 {
        margin: 10px auto;
        width: fit-content;
        padding-top: 10px;
    }   
    footer img {
        width:80px;
        margin-left: 50vw;
        transform: translateX(-50%);
        margin-bottom: 30px; 
    }
    footer li {
        margin: 10px auto;
        width: fit-content;
    }
}