@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 2.1em;
    transition: .2s ease-in-out;
    color: #2d3a3b;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 500;
    font-style: normal;
}


/* 共通 */

.sp_none{
    display: block;
}

.pc_none{
    display: none;
}

a{
    text-decoration: none;
}

a:hover,
.tab:hover{
    opacity: 0.5;
}

section{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 70px 0;
}

.container{
    width: 80%;
    box-sizing: border-box;
}

li{
    list-style: none;
    line-height: 2em;
}

img{
    width: 100%;
}

h2,
h2 span{
    font-size: 2.9vw;
    letter-spacing: 0.22em;
}

h3{
    font-size: 2.5vw;
    letter-spacing: 0.25em;
    text-align: center;
}

h4,
h4 span{
    line-height: 1.5em;
    letter-spacing: 0.1em;
}

h4{
    font-size: 3.5vw;
    border-bottom: 5px solid #d7eff5;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

h4 span{
    font-size: 1.5em;
}

h2,
h2 span,
h3,
h4,
h4 span,
.tab,
.tab span,
.content .container.movie h5,
.content .container.movie h5 span,
.content .container.caption h5,
.modal .chapter a span{
    font-weight: 700;
}

h2,
h3,
h4,
h4 span,
.tab,
.tab span,
.content li,
.content li::before,
.content .container.movie h5 span,
.content .container.caption span,
.modal .chapter a span{
    color: #00aab3;
}


/* header */

header{
    padding: 10px 10%;
    border-bottom: 6px solid #00aab3;
}

header h1 a{
    display: flex;
    align-items: flex-end;
}

header h1 a img{
    width: auto;
    height: auto;
    max-width: 308px;
    max-height: 53px;
}

header h1 a img:first-of-type{
    margin-right: 20px;
}


/* main */

.main{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/main_bg_pattern.png),url(../images/main_bg_pattern.png),url(../images/main_bg_town01.png),url(../images/main_bg_town02.png),url(../images/main_bg_sky.png),url(../images/main_bg_grass.png);
    background-size: 37vw, 37vw, 50vw, 50vw, contain, 120%;
    background-position: top -100% left -15%, top -100% right -15%, bottom 8vw left 83vw,bottom 8vw right 83vw,top -10vw center, bottom center;
    background-repeat: no-repeat;
    min-height: 42vw;
}

.main .container{
    padding-top: 2%;
}

.main_text{
    position: relative;
    margin-top: 3vw;
}
.main_text .img{
    width: 80%;
    margin: 0 auto;
}

.main h2{
    width: 100%;
    text-align: center;
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}


/* think */

.think {
    padding: 100px 0 0;
}

.think h4{
    display: flex;
    text-align: center;
    justify-content: center;
    margin-bottom: 0;
    border-bottom: 0;
    align-items: center;
}

.think h4::before,
.think h4::after{
    display: block;
    content: "";
    width: 6vw;
    height: 4vw;
    background-image: url(../images/radial.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.think h4::before{
    margin-right: 30px;
}

.think h4::after{
    transform: scale(-1, 1);
    margin-left: 30px;
}

.think p{
    font-size: 20px;
    text-align: center;
}


/* message */

.message{
    padding-bottom: 0;
    margin-bottom: 30px;
}

.message span{
    color: #00aab3;
}

.message .container,
.container.caption{
    background-color: #e6faff;
    border-radius: 60px;
}

.message .container{
    padding: 80px 80px 200px 80px;
}

.container.caption{
    padding: 80px;
    margin-bottom: 40px;
}

.message .container .img{
    width: 100%;
    margin-bottom: -250px;
    padding-top: 20px;
}

.message .container .img.sp{
    display: none;
}

.message .container .img img{
    width: 100%;
    max-height: 210px;
    object-fit: contain;
}


/* tab contents */

.tab-button {
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    margin: 0 60px;
}

.tab-button .is-active {
    position: relative;
    background: #00aab3;
    color: #FFF;
    font-size: 40px;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

.tab-button .tab::after{
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    content: "";
    display: none;
    background: #00aab3;
    height: calc(tan(60deg) * 18px / 2);
    width: 44px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-button .tab.is-active::after{
    display: block;
}

.tab-button .is-active span{
    color: #FFF;
    font-size: 60px;
}

.tab {
    background: #f2f2f2;
    font-size: 28px;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 14px;
    text-align: center;
    line-height: 1.5em;
}

.tab span{
    font-size: 42px;
    line-height: 1em;
}

.tab:not(:last-of-type){
    margin-right: 14px;
}

.tab br{
    display: none;
}

.content {
    display: none;
}
.content.is-display {
    display: block;
}

.content .container{
    width: 100%;
}

.container.caption .side_align{
    display: flex;
}

.container.caption .text{
    flex-grow: 2;
}

.container.caption .img_container{
    width: 40%;
    min-width: 400px;
    margin-bottom: -160px;
    padding-left: 30px;
}

.container.caption .img_container .img{
    position: relative;
    width: 100%;
    height: 100%;
}

.container.caption .img_container .img img{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: right;
}

.content li{
    padding-left: 2em;
    text-indent: -0.8em;
}

.content li::before{
    content: "●";
    display: inline-block;
    padding-right: 10px;
}

.container.caption h4{
    display: flex;
    align-items: center;
}

.container.caption h4::before,
.content .container.caption a::before{
    content: "";
    display: inline-block;
    position: relative;
    width: 5vw;
    height: 5vw;
    margin-right: 20px;
    background-color: #40bcde;
    clip-path: circle(50%);
    mask-image: radial-gradient(transparent 30%, black 30%);
    flex-shrink: 0;
}

.content .container.caption a::before{
    width: 30px;
    height: 30px;
    margin-right: 16px;
    flex-shrink: 0;
}

.content .container.caption a{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5em;
    color: #00aab3;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    margin: 30px 0 0;
}

.container.movie{
    display: flex;
    flex-wrap: wrap;
    padding-top: 80px;
}

.caption .paddingtop{
    padding-top: 20px;
}

.movie .modal_open.img{
    max-width: 400px;
    margin-top: 40px;
}

.movie .modal_open + p{
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 10px;
}

.movie .modal_open:hover{
    cursor: pointer;
    opacity: .7;
}

.movie .img {
    position: relative;
    width: 100%;
}

.movie .img::after{
    content:"";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-image: url(../images/triangle.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 13%;
    width: 13%;
    z-index: 2;
}

.movie .img::before {
    content:"";
    display: block;
    padding-top: 56.25%; /* 高さを幅の75%に固定 */
}
.movie .img img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.modal{
    display: none;
}

.modal.active{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
}

.modal .container{
    position: absolute;
    z-index: 1000;
    width: 80%;
    max-width: 1000px;
    max-height: 90vh;
    background: #fff;
    padding: 40px 20px 40px 40px;
    border-radius: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.modal .scroll::-webkit-scrollbar{
  width: 8px;
}

.modal .scroll::-webkit-scrollbar-track{
  background-color: #f2f2f2;
  border-radius: 4px;
}

.modal .scroll::-webkit-scrollbar-thumb{
  background: #c0d2d3;
  border-radius: 4px;
}

.modal .scroll{
    height: calc(90vh - 100px);
    padding-right: 20px;
    overflow-y: scroll;
}

.modal .chapter a{
    display: inline-flex;
    align-items: flex-start;
    line-height: 1.5em;
}

.modal .chapter a:not(:last-of-type){
    margin-bottom: 10px;
}

.modal .chapter a span{
    padding-right: 10px;
    line-height: 1.5em;
}

.modal .chapter{
    display: none;
}

.modal .chapter.active{
    display: block;
}

.modal_bg{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.video-js{
    width: 100%;
    margin-bottom: 20px;
}


/* profile */

.profile {
    padding:0 0 30px;
}

.profile h5{
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5em;
    color: #00aab3;
    padding-bottom: 30px;
}

.profile_text{
    display: flex;
}

.profile_text .img01{
    width: 40%;
    max-width: 300px;
    padding-right: 40px;
}

.profile_text .text{
    width: 60%;
    flex-grow: 2;
}

.profile_text .img01 h6{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5em;
}

.profile_text .img01 h6 span{
    font-size: 20px;
    font-weight: 700;
    color: #2d3a3b;
    display: block;
}

.profile_text .text p{
    font-size: 16px;
}

.profile_text .text p:not(:last-of-type){
    padding-bottom: 20px;
}



/* attention */

.attention h5{
    text-align: center;
    padding: 20px;
    font-weight: 700;
}

.attention li{
    font-size: 14px;
    text-indent: -1.3em;
    padding-left: 1em;
    line-height: 1.8em;
}

.attention li::before{
    content: "●";
    display: inline;
    color: #00aab3;
}

.attention li:not(:last-of-type){
    padding-bottom: 10px;
}



/* footer */

footer{
    background: #00aab3;
    padding: 70px 10%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

address{
    font-size: 16px;
    color: #fff;
    font-style: normal;
}

footer .img{
    max-width: 518px;
    min-width: 350px;
}