/*
Theme Name:天籟会(てんらいかい)
Theme URI:
Version: 1.2
Requires at least: 5.5
Text Domain: tenraikai
Author:
Author URI:
License:
*/

html{
    font-size: 62.5%;
}

body{
    font-size: min(1.6rem,3.64vw);
    font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", "游明朝", YuMincho, sans-serif;
    line-height: 1.75;
    letter-spacing: .05em;
    color: var(--c-black);;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
}

:root{
    --c-black: #000;
    --c-white:#fefefe;
    --c-green:#009143;
}

*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fixed{
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999;
}

h1,h2,h3,h4,h5,h6{
	margin:0;
	padding:0;
}

ul{
    list-style-type:none;
}

a{
	text-decoration:none;
    color: var(--c-green);
    font-weight: 500;
    transition: all .3s;
}

p{
    margin: 0;
    padding: 0;
}

ul,li,dl,dt,dd,td,th,tr{
    margin: 0;
    padding: 0;
}

img{
    width:100%;
    height: auto;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

table{
    clear: both;
    border-collapse: collapse;
    width: 100%;
}

#wrap{
    margin: 0px auto;
    max-width: 100%;
    z-index: 3;
}

.cont {
    margin: 0px auto;
    width: 90%;
    z-index: 100;
    max-width: 1140px;
    position: relative;
}

.tokumin{
    font-family: 'Zen Antique', serif;
}

.playfair{
    font-family: 'Playfair Display', serif;
}

.deco-img{
    position: absolute;
}


/*---------------*/
/*リンクボタン
/*---------------*/
.link_box {
    padding: 8px min(30px,5vw);
    border: solid 2px var(--c-green);
    color: var(--c-green);
    background: var(--c-white);
    position: relative;
    box-sizing: border-box;
    display: block;
    text-align: left;
    width: 100%;
    max-width:300px;
    margin: 0 auto;
    transition: all 0.3s;
    z-index: 1;
}

.link_box::before{
    content: "";
    position: absolute;
    right: 23px;
    top: 50%;
    width: min(12px, 2.24vw);
    height: min(12px, 2.24vw);
    border-top: 2px solid var(--c-green);
    border-right: 2px solid var(--c-green);
    -webkit-transform: rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.link_box:hover {
    background:var(--c-green);
    color: var(--c-white);
}

.link_box:hover:before{
    border-top: 2px solid var(--c-white);
    border-right: 2px solid var(--c-white);
}

.comingsoon{
    padding: 8px 30px;
    font-size: 1.6rem;
    box-sizing: border-box;
    display: block;
    text-align: center;
    width: 100%;
    max-width:300px;
    margin: 0 auto;
    transition: all 0.3s;
    background: var(--c-green);
    border: solid 2px var(--c-green);
    color: var(--c-white);
}



/*-----------*/
/*Loading背景画面設定
/*-----------*/

#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background:var(--c-white);
    text-align:center;
    color:#fff;
    top: 0;
}

#splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#splash_logo img {
    width:260px;
}


/*--------------*/
/*サイトヘッダー
/*--------------*/
#header{
    width: 96%;
    margin: 2rem auto;
}

#header h1{
    display: block;
    width: min(21vw,40rem);
}

#header h1 img{
    display: block;
}

#headercont{
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top_mainmenu {
    width: min(81rem, 100%);
}

#top_mainmenu ul{
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    gap: min(2.5rem, 2vw);
}

#top_mainmenu li a{
    color: var(--c-green);
    position: relative;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Kaisei Tokumin', serif;
}

#top_mainmenu li a::after {
    content: '';
    position: absolute;
    bottom:-2px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--c-green);
    transition: all .3s;
}

#top_mainmenu li a:hover:after {
      width: 100%;
}


.no1{
    position: absolute;
    z-index: 1;
    max-width: 140px;
    width: 60%;
    left: 50%;
    top: 50%;
    height: auto;
    transform: translate(-50%, -50%);
}

.section{
    padding-bottom: 20vw;
}


/*--------------*/
/*TOPページ kv
/*--------------*/
.kv{
    display: grid;
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    height: 90svh;
    min-height: 480px;
    max-height: 730px;
    overflow: hidden;
    background: var(--c-white);
}

.kv-copy{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: min(3.83rem, 8svh);
    padding: 0 8vw;
}

.kv-copy_ttl,
.kv-copy_kv{
    /* width: min(100%, 42rem); */
    margin: 0;
}

.kv-copy img{
    display: block;
    width: 100%;
    height: auto;
}

.kv-slider{
    width: 100%;
    height: 100%;
    min-width: 0;
}

.kv-slider .swiper-wrapper{
    transition-timing-function: linear;
}

.kv-slider .swiper-slide{
    height: 100%;
}

.kv-slider .swiper-slide img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .kv{
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        height: 116vw;
        min-height: 370px;
        max-height: 730px;
    }

    .kv-copy{
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: min(4rem, 6vw);
        padding: 6vw min(6vw, 12rem) 10vw;
    }

    .kv-copy_ttl,
    .kv-copy_kv{
        width: calc(64% - 1rem);
    }

}


/*-----------*/
/*新着情報・トピックス
/*-----------*/
#topics{
    position: relative;
    padding: min(4rem,8vw) 0px;
    box-sizing: border-box;
    background: var(--c-green);
}

#topics h2{
    color: var(--c-white);
    display: inline-block;
    padding: 0 25px;
    font-weight: normal;
    line-height: 1;
}

#topics .topics{
    position: relative;
    display: inline-block;
    width: 74%;
    vertical-align: top;
    margin: 0 auto;
}

#topics .topics .date{
    color: var(--c-white);
    font-weight: normal;
}

#topics #list li h3 a{
    color: var(--c-white);
}

#list ul{
width:100%;
margin: 0 auto;
display: block;
}

.topics li{
    padding: 0px 0px 12px;
    list-style: none;
    position: relative;
    box-sizing: border-box;
}

.topics li a:hover{
    opacity: 0.8;
}

.topics li a{
    transition: all .3s;
}

.topics li h3{
    color: var(--c-white);
    font-size: 1.8rem;
}

.topics_links{
    text-align: right;
    padding-top: 20px;
}

.topics .topics_links a{
    color: var(--c-white);
    position: relative;
}

.topics .topics_links a::after{
    content: "";
    position: absolute;
    right: -16%;
    top: 50%;
    width: min(10px, 3vw);
    height: min(10px, 3vw);
    border-top: 2px solid var(--c-white);
    border-right: 2px solid var(--c-white);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg) translateY(-50%);
}

#list li h3{
    font-size: min(1.83rem,3.83vw);
    font-weight: 400;
    padding: 0 6px;
    display: inline-block;
}

#list li h3 a{
    color: var(--c-green);
    transition: all 0.3s;
}

#list li h3 a:hover{
    opacity: 0.6;
}

#list li img{
    display: block;
    width: 200px;
    height: auto;
}

#list .thumb {
    display: inline-block;
    width: 200px;
    height: 140px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    vertical-align: top;
}

#list .thumb img{
    max-width: none;
    margin: 0px auto;
    text-align: center;
    display: block;
    top: 50%!important;
    left: 50%!important;
    position: relative;
    width: 120%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

 p.thumb img{
    float:left;
    position:absolute;
    max-width:250px;
    height:auto;
 }

.readmore{
display:block;
float:right;
}

.date{
    font-weight: bold;
    color: var(--c-green);
}

.cat{
    display: inline-block;
    width: 130px;
    text-align: center;
}

.box-section1,
.box-section2,
.box-section3{
    position: relative;
}

.box-section1 h2,
.box-section2 h2,
.box-section3 h2{
    color: var(--c-green);
    font-weight: normal;
    font-size: min(4rem, 6vw);
    position: relative;
}


.section.banner{
    width: min(920px, 86%);
    margin: min(8rem, 8vw) auto 0;
    background: #f0f6ec;
    padding: min(4rem, 8vw);
    border-radius: min(2rem);
}

.banner-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: min(2rem);
    align-items: center;
}

.banner-wrapper>.banner-image,
.banner-wrapper>.banner-textArea{
    width:100%;
}

.banner-wrapper>.banner-textArea h3{
    color: var(--c-green);
    font-size: min(2.24rem, 128%);
    padding-bottom: 1rem;
    line-height: 1.5;
}

@media screen and (min-width: 768px){
    section.banner{
        margin: min(8rem, 8vw) auto;
    }

    section.banner a:hover{
        opacity: .6;
    }

    .banner-wrapper>.banner-image,
    .banner-wrapper>.banner-textArea{
        width: calc((100% - min(2rem)) / 2);
    }

}

/*-----------*/
/*ごあいさつ・歴史
/*-----------*/
.concept{
    text-align: center;
    margin: 10vw 0 20vw;
    position: relative;
}

.concept-wrapper{
    width: min(82rem, 90%);
    margin: 0 auto;
}

.concept-wrapper h2{
    width: min(28rem, 42vw);
    margin: 0 auto min(4rem, 4vw);
}

.concept-wrapper p{
    font-size: min(2rem, 3.83vw);
    line-height: 2.24;
    margin-top: min(2rem, 2vw);
}

.concept .deco-img{
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    bottom: -20vw;
}

.school-image{
    background: url(img/kaisei100-02.svg) no-repeat;
    background-size: 100%;
    height: 80vw;
}

.box-section1 h2{
    writing-mode: tb;
}

.box-section1 p{
    writing-mode: tb-rl;
    font-size: min(2rem,4.24vw);
}

.box-section1_inner{
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    padding-bottom: 50px;
}

.top-about_inner{
    position: relative;
}

.box-section2 h2{
    text-align: center;
    padding-bottom: min(30px, 4vw);
}

.box-section3 h2{
    writing-mode: tb;
    margin: 0 auto;
}

.box-section3_inner{
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.box-section3_inner p{
    padding: 20px 0;
}

.history .line-bottom{
    position: absolute;
    bottom: -3vw;
    width: 100%;
}

.interview .line-bottom{
    position: absolute;
    bottom: -3vw;
    z-index: -1;
    width: 100%;
}

/* ↓ここから TOP 100周年記念事業・企画 */
.business-100th article {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    padding: 12vw 0 12vw;
    width: min(90rem, 90%);
    margin: 0 auto;
}

.business-100th-img, .business-100th-text {
    width: 48%;
}

/* ↑ここまで */

.business-100th .line-bottom{
    position: absolute;
    bottom: 10vw;
    width: 100%;
}

.business-event{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 48px;
    padding: 70px 0 90px;
}

.business-textArea h3{
    color: var(--c-green);
    font-size: 2.83rem;
    line-height: 1.5;
    padding-bottom: 16px;
}

.-event_information{
    background: #dde6d5;
    padding: 14px;
    border-radius: 12px;
    margin: 16px 0;
}

.-event_information ul li{
    text-indent: -1.6rem;
    padding-left: 16px;
}

.-event_informationWrap{
    margin-bottom: min(24px, 4vw);
}

.-event_informationWrap h4{
    font-size: min(1.83rem, 4vw);
    font-weight: 400;
    padding-bottom: 4px;
    line-height: 1.4;
    background: var(--c-green);
    color: var(--c-white);
    padding: 2px 12px;
    border-radius: 8px;
    display: inline-block;
}

.-event_contact a{
    color: var(--c-green);
    text-decoration: underline;
}


/*-----------*/
/*卒業生インタビュー
/*-----------*/
.interview-topics{
    text-align: center;
}

.interview-topics a.link_box{
    transition: all .3s;
    width: min(72%);
}

.interview-topics a:hover,
.interview-topics .thumb img:hover{
    opacity: 0.8;
}

.interview-topics .thumb {
    display: block;
    position: relative;
    max-width: 300px;
    margin: 0 auto min(2rem, 4vw);
}

.interview-topics .thumb::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.interview-topics .thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 40px;
    transition: all .3s;
}

.interview-topics li{
    box-sizing: border-box;
    display: inline-block;
    width: 28%;
    margin: 0 12px;
}

.interview-name{
    display: inline-block;
    background: var(--c-green);
    color: var(--c-white);
    font-size: 1.8rem;
    padding: 2px 40px;
    border-radius: 12px;
}

@media screen and (max-width: 1024px) {
    /*-----------*/
    /*歴史
    /*-----------*/
    .history .line-bottom{
        bottom: 4vw;
        width: 110vw;
        left: -4%;
    }


}

@media screen and (max-width: 768px) {

    .concept{
        margin: 14vw 0 24vw;
    }

    .concept .deco-img{
        width: 183vw;
        bottom: -24vw;
    }

    .interview .line-bottom{
        width: 124vw;
        left: -14%;
    }


}


/*-----------*/
/*フッター
/*-----------*/
footer{
    padding: 6% 0 1%;
    background: var(--c-green);
    color: var(--c-white);
    position: relative;
    margin-top: 10vw;
}

footer::before{
    content: "";
    background: url(img/kaisei100-07.svg) no-repeat;
    background-size: 100%;
    width: 100%;
    height: 330px;
    position: absolute;
    left: 0;
    top: -15vw;
}

footer a{
    color: var(--c-white);
    transition: all 0.3s;
}

footer a:hover{
    opacity: 0.6;
}

.footer-sns{
    text-align: center;
    border-bottom: dashed 2px var(--c-white);
    padding: 20px 0 30px;
}

.footer-sns ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(4rem, 3vw);
    width: min(62rem, 82%);
    margin: 0 auto min(4vw, 2rem);
}

.footer-sns ul li{
    width: calc(100% / 5);
}
.footer-sns ul li a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--c-white);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}
.footer-sns ul li a img{
    display: block;
    height: auto;
    width: 52%;
}

.footer-info{
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 70px;
}

.footer-info_section{
    width: 52%;
}

.footer-info_section dd ul{
    line-height: 1.5;
    margin-top: 1rem;
}

.footer-info_section2{
    border-left: dashed 2px var(--c-white);
    padding-left: 23px;
    font-size: min(1.8rem, 3.4vw);
    width: 28%;
    box-sizing: border-box;
}

.footer-info_section2 li{
    padding-bottom: min(10px, 2vw);
    line-height: 1.5;
}

.ft_bottom{
    display: block;
    text-align: center;
    font-size: min(1.24rem, 2.83vw);
    padding: 1rem 0;
}


/*メインコンテンツ*/
#main{
    max-width: 100%;
    width:100%;
    z-index: 1;
    display: block;
    overflow-x: hidden;
}

/*--------------*/
/*レスポンシブ基本CSS
/*--------------*/

.pcheader{
    display:block;
}

.pc{
    display:block;
}

.pc-inline{
    display: inline-block;
}

.mobile{
    display: none!important;
}

nav.globalMenuSp{
    display: none;
}


@media screen and (max-width: 1024px){
.no1{
    max-width: 30%;
}

.pcheader{
    display:none;
}


/*　ハンバーガーボタン　*/
.hamburger {
    display: block;
    position: fixed;
    z-index: 102;
    right: 2%;
    top: 2%;
    width: min(52px, 12vw);
    height: min(52px, 12vw);
    cursor: pointer;
    text-align: center;
    border: solid 2px var(--c-green);
    border-radius: 50%;
    padding: 7px;
    background: var(--c-white);
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 60%;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-green);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 34%;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
  }
  .hamburger span:nth-child(3) {
    top: 66%;
  }
  
  /* ナビ開いてる時のボタン */
  .hamburger.active{
      background: none;
      z-index: 104;
  }

  .hamburger.active span{
    background :#fff;
    z-index : 104;
  }

  .hamburger.active span:nth-child(1), 
  .hamburger.active span:nth-child(2), 
  .hamburger.active span:nth-child(3) {
    top: 50%;
    z-index : 104;
  }

  nav.globalMenuSp {
    position: fixed;
    z-index : 103;
    top  : 0;
    left : 0;
    color: #fff;
    background: var(--c-green);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    display: block;
    height: 100%;
    visibility: hidden;
  }

  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
    font-size: 1.8rem;
    font-family: 'Zen Antique', serif;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }

  nav.globalMenuSp ul li a {
    display: block;
    color: var(--c-white);
    padding: min(1em, 2vw) 0;
    text-decoration: none;
    transition: all .3s;
  }

  nav.globalMenuSp ul li a:hover{
      opacity: 0.8;
}
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
    visibility: visible;
  
  }

#topics h2{
    display: block;
    padding: 0 0 24px 0;
    font-size: 1.8rem;
}

#topics .topics{
    display: block;
    width: 100%;
}

  .footmrnu-list {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


}

@media screen and (max-width: 768px){

.drawer-hamburger{
    display:block!important;
}

.mobileheader{
    display: block!important;
}

.pc,
.pc-inline{
    display:none!important;
}

.mobile{
    display: block!important;
}

#header{
    margin: 20px auto;
}

#headercont{
    display: block;
    padding:0px;
    margin:0px;
}

#top_mainmenu{
    display:none;
}

#pageheader {
    padding: 50px 0px 50px;
}

#header h1{
    width: min(50%, 27rem);
}

.section {
    padding-bottom: 30vw;
}

.link_box{
    width: min(60%);
}

.topics li {
    width: 100%;
}

.topics_links{
    text-align: center;
}

#list li h3 {
    display: block;
    padding: 0px;
}

#main{
    box-sizing:border-box;
}

.box-section1_inner{
    padding-bottom: min(8vw);
    justify-content: center;
    gap: min(1rem, 2vw);
}

/* ↓ここから TOP 100周年記念事業・企画 */
.business-100th article {
    display: block;
    padding: 0vw 0 18vw;
}

.business-100th-img {
    width: 60%;
    margin: 0 auto;
}

.business-100th-text{
    width: 100%;
    margin-bottom: 10%;
}

/* ↑ここまで */

.business-100th .line-bottom{
    bottom: 13vw;
    width: 120vw;
}

.history .line-bottom {
    bottom: 4vw;
    width: 162vw;
    left: -23%;
}

.interview-topics .thumb img{
    border-radius: 20px;
}

.interview-topics li {
    width: 43%;
}

.interview-name {
    font-size: 1.4rem;
    padding: 2px 20px;
}

.business-textArea h3{
    font-size: 2.14rem;
}

.footer-sns{
    padding: 20px 0 10px;
}

.footer-info{
    display: block;
}

.footer-info_section{
    width: 100%;
}

.footer-info_section2{
    width: 100%;
    padding-left: 14px;
    margin-top: 40px;
}

#page-top img {
    max-width: 50px;
}


}
/*--------------*/
/*アクセシビリティ・共通パーツ
/*--------------*/
.screen-reader-text{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus{
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 8px 16px;
    clip: auto;
    background: var(--c-white);
    color: var(--c-green);
    border: solid 2px var(--c-green);
}

a:focus-visible,
.hamburger:focus-visible{
    outline: 3px solid var(--c-green);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior: auto;
    }

}

/* スクロールフェードイン（assets/js/scroll-fade.js）
   JSが有効な間だけ最初は透明にする。GSAPが読み込めない場合はJS側で .js を外して表示する */
.js .js-fade-up,
.js .wow{
    opacity: 0;
}