/*
Theme Name: kokoroweek
Author: nakamachi
Version: 1.0
*/
html {
  scroll-behavior: smooth;
}
body {
    margin:0 auto;
    /*background:#92d2e0;*/
    background:#FFFAEF;
    font-family: "Zen Maru Gothic","Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-size:20px;
    line-height: 1.5;
    word-break:break-word;
  }
  main {
   /* max-width:1440px;*/
    margin:0 auto 0;
    background:#FFFAEF;
    text-align:center;
  }
  img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit:contain;
    image-rendering: -webkit-optimize-contrast;
  }
  *,
*::before,
*::after {
  box-sizing: border-box;
}
  .baloo-2 {
    font-family: "Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
  }
  h1 img {
    border:solid 1px #92d2e0;
    height:auto;
  }
  h2 {
    font-weight:600;
    font-size:88px;
    line-height:0.7;
    margin-top:16px;
    position: relative;
  }
  #trip {
    margin-top: 80px;
  }
  ul {
    list-style: none;
  }
  .maxwidth_1440 {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
  }
  .x-hidden {
    overflow-x: hidden;
    position: relative;
    z-index: 1;
  }
  .z_2 {
    z-index: 2;
    margin-top: -120px;
  }
  .z_3 {
    z-index: 3;
    margin-top: -120px;
  }
  
  .kokoroningen {
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .kokoroningen img {
    width: 30%;
    max-width: max-content;
    max-height: 130px;
  }

  /* trip color */
  .bg_blue01 {
    background:#00A0E9!important;
  }
  .color_blue01 {
    color:#00A0E9!important;
  }
  .border_blue01 {
    border-color:#00A0E9!important;
  }

  /* labo color */
  .bg_blue02 {
    background:#036EB8!important;
  }
  .color_blue02 {
    color:#036EB8!important;
  }
  .border_blue02 {
    border-color:#036EB8!important;
  }

  /* studio color */
  .bg_blue03 {
    background:#1D2088!important;
  }
  .color_blue03 {
    color:#1D2088!important;
  }
  .border_blue03 {
    border-color:#1D2088!important;
  }
  
  .width_860 {
    max-width:860px;
    margin:0 auto;
  }
  #studio.border44_box {
    padding-bottom:130px;
  }
  .border44_box {
    border:solid 44px;
    background:#fff;
    border-radius:64px;
    display: grid;
    padding: 130px 60px 200px;
    gap:80px;
  }

  #labo,#trip,#studio {
    position: relative;
  }
  .kumo01_cb {
    position: absolute;
    bottom: 0px;
    left: -40px;
    max-width: 85px;
  }
  .kumo02_cb {
    position: absolute;
    top: 5px;
    right: -40px;
    max-width: 85px;
  }
  .kumo01,.kumo03,.kumo05 {
    position: absolute;
    top: 300px;
    left: -84px;
    max-width: 200px;
  }
  #trip .kumo03 {
    position: absolute;
    top: 540px;
    left: 106px;
    max-width: 130px;
  }
  .kumo02,.kumo04,.kumo06 {
    position: absolute;
    top: 30px;
    right: -84px;
    max-width: 200px;
  }
  #trip .kumo04 {
    position: absolute;
    top: 440px;
    right: 106px;
    max-width: 130px;
  }

  .title {
    text-align:center;
    display:grid;
    gap:24px;
  }
  .date {
    padding:8px 24px;
    font-size:28px;
    font-weight:500;
    display:inline-block;
    margin:0 auto;
    border-radius:100px;
    color:#fff
  }
  .ft_small {
    font-size: 13px;
  }
  .ft_20 {
    font-size:20px;
  }
  .ft_10_20 {
    font-size: 20px;
  }
  .ft_28 {
    font-size:28px;
  }
  .ft_32 {
    font-size:32px;
  }
  .ft_36 {
    font-size:36px;
  }
  .ft_40 {
    font-size:40px;
  }
  .ft_96 {
    font-size: 96px;
  }
  .ft_600 {
    font-weight:600!important;
  }
  .ft_bold {
    font-weight:bold;
  }
  .tx_left {
    text-align:left;
  }
  
  .explanation {
    font-size:40px;
    position: relative;
    padding:0 64px;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    font-weight:500;
  }
  .explanation::before {
    content:'';
    width:32px;
    height:32px;
    border-radius:32px;
    position:absolute;
    top: 50% !important;
    transform: translateY(-50%);
    left:0;
  }
  .explanation::after {
    content:'';
    width:32px;
    height:32px;
    border-radius:32px;
    position:absolute;
    top: 50% !important;
    transform: translateY(-50%);
    right:0;
  }
  .readmore  .explanation {
    font-size:24px;
    padding:0 48px;
  }
  .readmore .explanation::after,  .readmore .explanation::before {
    content:'';
    width:22px;
    height:22px;
    border-radius:22px;
    top: 50% !important;
    transform: translateY(-50%);
  }
  #trip .explanation::after,#trip .explanation::before {
    background:#00A0E9;
  }
  #labo .explanation::after,#labo .explanation::before {
    background:#036EB8;
  }
  #studio .explanation::after,#studio .explanation::before,.readmore  .explanation::before,.readmore  .explanation::after,
  #about .explanation::after,#about .explanation::before{
    background:#1D2088;
  }
  
  .display_grid {
    display:grid;
  }
  .display_flex {
    display: flex;
  }
  .gap_16 {
    gap:16px!important;
  }
  .gap_24 {
    gap:24px;
  }
  .gap_32 {
    gap:32px;
  }
  .gap_40 {
    gap:40px;
  }
  .gap_72 {
    gap:72px;
  }
  .gap_80 {
    gap:80px;
  }
  .gap_120 {
    gap:120px;
  }
  .mg_t_120- {
    margin-top:-120px;
  } 
  .pd_tb_120 {
    padding: 120px 28px;
  }
  .pd_40 {
    padding:40px;
  }
  
  .grid_2_colum {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  
  .blue_bolder_box {
    border:solid 3px #00A0E9;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    padding:24px;
    list-style:none;
    border-radius:16px;
    text-align:left;
  }
  .blue_bolder_box li {
    border-bottom:solid 1px #00A0E9;
    padding-bottom:16px;
  }
  .blue_bolder_box li:last-of-type,.blue_bolder_box li:nth-of-type(5) {
    border-bottom:none;
    padding-bottom:0;
  }
  
  .attention {
    display:grid;
    gap:12px;
    padding-left:1em;
  }
  .attention li {
    list-style :disc;
    text-align:left;
  }
  
  .skyblue_box {
    background:#EAFCFF;
    padding:40px;
    display:grid;
    gap:40px;
    text-align:left;
    border-radius:16px;
  }
  .skyblue_box img {
    background:#fff;
  }
  .grid_2_colum .skyblue_box {
    width:calc(100% / 2 - 24px);
    gap:16px;
  }
  h1 {
    position: relative;
  }
  .h1_title {
    font-weight: normal;
    font-size: clamp(0.8125rem, -0.4063rem + 2.5391vw, 1.625rem);
    position: absolute;
    top: 53%;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .logo_logo {
    border: none;
    position: absolute;
    width: 30%;
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
    max-width: 630px;
  }
  /* accordion */
  .accordion__menu {
    border-bottom: solid 1px #333;
  }
  
  .accordion__button {
    appearance: none;
    text-align: left;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:10px;
  }
  
  /* + アイコン（初期状態） */
  .accordion__icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
    flex:0 0 auto;
  }
  
  .accordion__icon::before,
  .accordion__icon::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: all 0.3s ease;
  }
  
  .accordion__icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
  }
  
  .accordion__icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
  }
  
  /* 開いた時は - に変形 */
  .accordion__menu.open .accordion__icon::after {
    transform: translateX(-50%) scaleY(0);
  }
  
  .accordion__body {
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  
  .accordion__text {
    padding: 16px 0;
  }
  .accordion__text ul ul {
    display: grid;
    gap: 8px;
    margin: 24px auto 16px;
    padding-bottom: 16px;
    border-bottom: solid 1px #afccd0;
  }
  .accordion__text ul li:last-child ul {
    border-bottom: none;
  }
  
  /* readmore */
  .readmore__hidden {
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease;
  }
  .readmore.open .readmore__hidden {
    height: auto; /* 一時的に使うが JS 側で scrollHeight を使って高さを制御 */
  }
  .readmore {
    max-width:1000px;
    margin:0 auto;
    background:#fff;
    border:solid 3px #1D2088;
    border-radius:16px;
    padding:24px 40px;
  }
  .readmore__toggle {
    border:solid 1px #1D2088;
    border-radius: 100px;
    padding: 8px 16px;
    background: #fff;
    margin-top: 24px;
    font-size: 14px;
  }
  .readmore__hidden > div {
    text-align: left;
    padding-top: 40px;
  }
  .readmore__hidden dl {
    display: flex;
  }
  .readmore__hidden dt {
    flex:0 0 auto;
  }

  /* だいさんせいうおからのメッセージ */
  .message_btn {
    background: #00A0E9;
    color: #fff;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 100px;
    margin: 0 auto 60px;
    font-size: clamp(1.25rem, 0.3125rem + 1.5vw, 1.625rem);
    position: relative;
    transform: translateY(-40px);
  }
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }

  /* countdown */
  .countdown_box {
    background: #fff;
    border: solid 8px #333;
    border-radius: 16px;
    padding: 50px 24px 20px;
    position: relative;
    margin: 60px auto 24px;
    max-width: 590px;
  }
  .countdown_part {
    display: inline-block;
    padding: 12px 46px;
    font-weight: bold;
    border-radius: 50px;
    color: #fff;
  }

  /*アンカーリンク*/
  .anchorlink {
    padding: 20px;
    margin-top: 24px;
    max-width: 1000px;
  }
  .anchorlink ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 64px;
  }
  .anchorlink ul li {
    width: calc(100% / 3 - 80px);
  }
  .anchorlink ul li:nth-of-type(2){
    padding-top: 60px;
  }

  .border_btn {
    padding: 16px 24px;
    border:solid 3px #1D2088;
    text-align: center;
    display: block;
    max-width: 400px;
    margin:0 auto;
    text-decoration: none;
    border-radius: 100px;
    transition: all .5s;
    color: #1D2088;
  }
  .border_btn:hover{
    background: #1D2088;
    color: #fff!important;
  }
  .border_btn:visited {
    color: #1D2088;
  }

  /* about */
  .max_1000 {
    max-width: 1000px;
    margin: 0 auto;
  }
  /* logo */
  .logo_area {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 26px;
    justify-content: center;
    background: #fff;
    padding: 40px;
  }
  .blue_bolder_box.logo_area img {
    background: transparent;
    width: auto !important;
    max-height: 100px;
    min-height: 64px;
  }

  section#about {
    /*transform: translateY(-250px);*/
  }

  .comming_text {
    font-size: 70px;
    font-family: "Baloo 2", sans-serif;
    font-weight: 500;
    margin-bottom: 32px;
  }

  .top_button {
    position: fixed;
    bottom: 30px;
    right: 56px;
    width: 100px;
    height: 100px;
    background-image: linear-gradient(45deg, rgba(26, 178, 200, 1) 23%, rgba(46, 99, 174, 1) 55%, rgba(22, 49, 118, 1) 90%);
    color: #fff;
    line-height: 100px;
    border-radius: 100px;
    text-decoration: none;
    z-index: 5;
  }

  .height_240 {
    max-height: 240px;
  }

  /* modal */
  /* モーダル全体の背景 */
.modal_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 背景を薄暗く */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* モーダル中身 */
  .modal_content {
    background: white;
    padding: 60px 80px;
    border-radius: 16px;
    max-width: 90%;
    height: 80%;
    display: flex;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    overflow: scroll;
  }

  /* 閉じるボタン */
  .modal_close {
    position: absolute;
    top: 10px;
    right: 20px;
    text-align: right;
    font-size: 30px;
  }

  /* モーダル表示中にスクロールを無効にする */
  body.modal_open {
    overflow: hidden;
  }
  /* フェードインアニメーション */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* モーダル表示時に適用するクラス */
  .modal_overlay.show {
    display: flex;
  }

  .modal_content {
    animation: fadeIn 0.3s ease;
  }

  /* footer */
  footer {
    background: #1D2088;
    color: #fff;
    padding: 8px;
    text-align: center;
  }
  /*レスポンシブ*/
@media screen and (max-width:768px) {
  body {
    font-size: clamp(0.75rem, 0.2021rem + 2.7397vw, 0.875rem);
  }
  h2 {
    position: relative;
    font-size: clamp(1.875rem, -0.8647rem + 13.6986vw, 2.5rem);
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .ft_small {
    font-size: 11px;
  }
  .ft_20,.date {
    font-size: 14px;
  }
  .ft_10_20 {
    font-size: 10px;
  }
  .ft_32,.ft_28 {
    font-size: 16px;
  }
  .ft_40,.readmore .explanation,.explanation {
    font-size: clamp(1rem, -0.0959rem + 5.4795vw, 1.25rem);
  }
  .ft_96 {
    font-size: 40px;
  }
  .date .baloo-2.ft_36 {
    font-size: 16px;
  }
  #studio.border44_box {
    padding-bottom:40px;
  }
  .border44_box {
    border: solid 16px;
    padding:32px 28px 140px;
    gap:56px;
  }
  .mg_t_100- {
    margin-top: -120px;
  }
  .explanation {
    padding: 0 40px;
  }
  .explanation::after,.explanation::before {
    width: 20px;
    height: 20px;
  }
  .blue_bolder_box {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .anchorlink ul {
    gap: 8px 10px;
  }
  .anchorlink ul li {
    width: calc(100% / 3 - 16px);
  }
  .anchorlink ul li:nth-of-type(2){
    padding-top: 0;
  }
  .skyblue_box {
    padding: 24px;
  }
  .grid_2_colum .skyblue_box {
    width: 100%;
    gap: 8px;
  }
  #about img {
    width:70%;
  }
  .pd_tb_120 {
    padding: 60px 28px;
  }
  .pd_40 {
    padding:24px;
  }
  .gap_32 {
    gap: 16px;
  }
  .gap_72 {
    gap: 24px;
  }
  .gap_80 {
    gap: 56px;
  }
  .gap_120 {
    gap: 90px;
  }
  .blue_bolder_box.logo_area img {
    width: auto !important;
    max-width: 125px !important;
    max-height: 50px;
    min-height: 34px;
  }
  .logo_area {
    gap: 10px;
    padding: 24px;
  }
  .readmore .explanation {
    padding: 0 24px;
  }
  .countdown_box {
    border: solid 5px;
    padding: 16px 16px 4px;
    margin: -8px auto 24px;
  }
  #trip {
    margin-top: 20px;
  }
  .anchorlink {
    padding: 20px;
    margin-top: 0px;
  }
  .count-days,.count-time {
    font-size: clamp(2.5rem, -1.8836rem + 21.9178vw, 3.5rem)!important;
    font-weight: normal!important;
  }
  .countdown_part {
    font-size: clamp(1rem, -0.0959rem + 5.4795vw, 1.25rem);
    padding: 5px 26px;
  }
  .kumo01, .kumo03, .kumo05 {
    top: -10px;
    left: -34px;
  }
  .kumo02,.kumo04,.kumo06 {
    top: 140px;
    right: -58px;
  }
  .kokoroningen .ft_40 {
    font-size: clamp(1.5rem, 0.625rem + 4vw, 1.875rem);
  }
  .comming_text {
    font-size: clamp(1.875rem, -1.0417rem + 13.3333vw, 3.125rem);
  }
  .top_button {
    right: 4px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .height_240 {
    max-height: 180px;
  }
  .kumo01_cb {
    position: absolute;
    bottom: 0px;
    left: -24px;
    max-width:50px;
  }
  .kumo02_cb {
    position: absolute;
    top: 5px;
    right: -24px;
    max-width: 50px;
  }
  .message_btn {
    font-size: 13px;
    transform: translateY(-10px);
}
  .modal_content {
    gap:10px;
    justify-content: flex-start;
    padding: 40px 24px;
  }
  .modal_close {
    top: 0px;
    right: 10px;
  }
   .blue_bolder_box li:nth-of-type(5) {
    border-bottom: solid 1px #00A0E9;
    padding-bottom: 16px;
  }
  .message_btn {
    margin-bottom: 20px;
  }
  .h1_title {
    top:43%;
    font-size: clamp(0.8125rem, 0.0372rem + 3.3079vw, 1.625rem);
  }
  .logo_logo {
    width: 70%;
  }
}
@media screen and (max-width:600px) {
  .kumo01,.kumo02,.kumo03,.kumo04,.kumo05,.kumo06 {
    max-width: 100px;
  }
}
@media screen and (min-width:769px) and (max-width:999px) {
  .message_btn {
    font-size: 20px;
    transform: translateY(30px);
  }
}
@media screen and (max-width:1200px) {
  #trip .kumo04 {
    position: absolute;
    top: 470px;
    right: 10px;
    max-width: 80px;
  }
  #trip .kumo03 {
    position: absolute;
    top: 560px;
    left: 30px;
    max-width: 80px;
  }
  
}
.anchorlink .link_list {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap:4px;
        margin-top:16px;
      }
      .anchorlink .link_list li  {
        width:100%;
      }
      .anchorlink ul.link_list li:nth-of-type(2) {
        padding:0!important;
      }
     .link_list a {
      display:block;
      width:100%;
      background-image: linear-gradient(45deg, rgba(26, 178, 200, 1) 23%, rgba(46, 99, 174, 1) 55%, rgba(22, 49, 118, 1) 90%);
      color:#fff!important;
      text-align:center;
      text-decoration: none;
      border-radius: 50px;
      padding: 4px 16px;
      font-size: 13px;
      font-weight: bold;
     }
	.grid_other {
      display:grid;
      gap: 24px;
     }
     ul.grid_other img {
      max-width: 600px;
      vertical-align: middle;
      margin:0 auto;
    }
     @media screen and (min-width: 558px){
      .link_list a {
        padding:16px;
        font-size:20px;
      }
     }