/* CSS Document */
@charset "UTF-8";

html, body, a {
  font-family: "M PLUS Rounded 1c", sans-serif;;
  color: #3C3635;
}
body {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
button, input, select, textarea {
  font-family: "M PLUS Rounded 1c", sans-serif;;
  letter-spacing: 5px;
}


  /* セクション各項目設定 */
  section {
    padding: 110px 0;
  }
  @media (max-width:767px) {
    section {
      padding: 80px 0;
    }
  }

/* 画面全体に満ちるコーヒー層 */
.coffee-fill {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #3C3635;
  z-index: 9999;
  pointer-events: none;
  transition: none;
  opacity: 1;
}

  /* コンテナ幅設定 */
  .container {
    width: calc(100% - 10%);
    margin: auto;
  }


  /* セクションタイトル（元のレイアウトは維持） */
.section_ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 5.0rem;
  font-weight: 800;
  letter-spacing: 5px;
}

/* 各文字に適用するアニメーション前の状態 */
.section_ttl span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示時にアニメーションを実行 */
.section_ttl.show span {
  opacity: 1;
  transform: translateY(0);
}

/* 順番に出すための遅延（必要な分だけ増やせます） */
.section_ttl.show span:nth-child(1) { transition-delay: 0.5s; }
.section_ttl.show span:nth-child(2) { transition-delay: 0.05s; }
.section_ttl.show span:nth-child(3) { transition-delay: 0.1s; }
.section_ttl.show span:nth-child(4) { transition-delay: 0.15s; }
.section_ttl.show span:nth-child(5) { transition-delay: 0.2s; }
.section_ttl.show span:nth-child(6) { transition-delay: 0.25s; }
.section_ttl.show span:nth-child(7) { transition-delay: 0.3s; }
.section_ttl.show span:nth-child(8) { transition-delay: 0.35s; }
/* ...必要に応じて追加 */

/* SVGの位置はそのまま維持 */
.section_ttl > svg {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section_ttl.show > svg {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* メディアクエリもそのまま */
@media(max-width: 900px) {
  .section_ttl {
    font-size: 3.0rem;
  }
}

  /* ボタン集 */
  /* 丸ボタン */
  .radius_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    min-width: 60px;
    min-height: 60px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #3C3635;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .btn_blk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /* ホバーでポヨーン */
  .radius_btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  /* クリック時に一瞬縮む */
  .radius_btn:active {
    transform: scale(0.95);
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  .radius_btn.attention {
      animation: pulse 1.5s infinite;
  }
  @media(max-width:900px) {
    .radius_btn {
      min-width: 40px;
      min-height: 40px;
      max-width: 40px;
      max-height: 40px;
    }
  }
  /* リストボタン */
  .list_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    width: 24.25%;
    height: 60px;
    border-radius: 50px;
    color: #ECE4E4;
    background: #3C3635;
    font-size: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .list_btn p {
    margin-right: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    white-space: nowrap;
  }
  /* ホバーでポヨーン */
  .list_btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  /* クリック時に一瞬縮む */
  .list_btn:active {
    transform: scale(0.95);
  }
  @keyframes up {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  .radius_btn.attention {
      animation: up 1.5s infinite;
  }
  @media (max-width: 900px) {
    .list_btn {
      margin: 0 auto;
      width: 60%;
      font-size: 1.125rem;
    }
  }
  /* プラスボタン */
  .plus_mrk {
    display: block;
    position: relative;
    border-radius: 2px;
    width: 30px;
    height: 3px;
    background: #ECE4E4;
  }
  .plus_mrk::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(90deg);
    border-radius: 2px;
    width: 100%;
    height: 100%;
    background: #ECE4E4;
  }
  @media(max-width: 900px) {
    .plus_mrk {
      width: 15px;
      height: 2px;
    }
  }

  /* マイナスボタン(閉じるボタン) */
  .x_mrk {
    display: block;
    position: relative;
    transform: translateY(-50%) rotate(45deg);
    background: #ECE4E4;
    border-radius: 2px;
    width: 30px;
    height: 3px;
  }
  .x_mrk::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg);
    border-radius: 2px;
    width: 100%;
    height: 100%;
    background: #ECE4E4;
  }
  @media(max-width:900px) {
    .x_mrk {
      width: 20px;
      height: 2px;
    }
  }

  /* 次へのボタン */
  .next-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    min-width: 60px;
    min-height: 60px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #3C3635;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .next-btn::before {
    position: absolute;
    content: "";
    font-family: swiper-icons !important; /* ここでアイコンフォントを設定 */
    font-size: 30px !important; /* サイズを調整 */
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    width: 24px;
    height: 3px;
    background: #ECE4E4;
    border-radius: 1px;
    line-height: 1;
    transform: rotate(45deg);
    top: 20px;
}
  .next-btn::after {
    position: absolute;
    content: "";
    font-family: swiper-icons !important; /* ここでアイコンフォントを設定 */
    font-size: 30px !important; /* サイズを調整 */
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    width: 24px;
    height: 3px;
    background: #ECE4E4;
    border-radius: 1px;
    line-height: 1;
    transform: rotate(-45deg);
    bottom: 20px;
  }
  /* ホバーでポヨーン */
  .next-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  /* クリック時に一瞬縮む */
  .next_btn:active {
    transform: scale(0.95);
  }
  @media(max-width:767px) {
    .next-btn {
      min-width: 40px;
      min-height: 40px;
    }
    .next-btn::before {
      width: 18px;
      height: 2px;
      top: 12px;
    }
    .next-btn::after {
      width: 18px;
      height: 2px;
      bottom: 12px;
    }
  }


  a {
    text-decoration: none;
  }

  /* ヘッダー */
  #header {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    width: 90%;
    height: 100px;
    border-radius: 50px;
    background: #ECE4E4;
    z-index: 40;
  }
  .hdr_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .header_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 30px;
  }
  .header_logo>svg {
    width: auto;
    height: 65px;
  }
  .hdr_nav-lst {
    display: flex;
    margin-right: 50px;
  }
  .hdr_nav-itm {
    display: flex;
    margin-left: 30px;
  }
  .hdr_nav-itm a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 30px;
  }
  .hdr_nav-itm p {
    margin-left: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #3C3635;
  }

  .hdr_nav-itm a:hover {
    background: #3C3635;
  }
  .hdr_nav-itm a:hover p {
    color: #ECE4E4;
  }
  .hdr_nav-itm a:hover svg path {
    fill: #ECE4E4;
  }

  @media (max-width: 1000px) {
    #header {
      justify-content: space-between;
      align-items: center;
      height: 70px;
      padding: 10px 20px;
      transition: height 0.4s ease-in-out; /* 高さをスムーズに変更 */
      overflow: hidden; /* メニューがはみ出さないように */
    }
    .hdr_inner {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
    }
    .hdr_on-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .header_logo {
      margin-left: 0;
    }
    .header_logo>svg {
      width: auto;
      height: 50px;
    }
    .hdr_menu {
      display: none;
    }
    .hdr_nav-lst {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .hdr_nav-itm {
      margin-left: 0;
      padding: 10px;
    }
    .hdr_nav-itm svg {
      margin: auto;
    }
    .open .hdr_menu {
      display: block;
    }
  }

  /* ハンバーガーメニュー */
  .hdr_hamburger {
    display: none;
    transform: translateY(-10%); /* 高さの50%分だけ上に移動して中央に */
  }
  @media (max-width: 1000px) {
    .hdr_hamburger {
      display: block;
      position: relative;
      top: 0;
      width: 50px;
      height: 50px;
      background: none;
      border: none;
      cursor: pointer;
      transform: translateY(0) !important;
    }
    .hdr_hamburger span {
      display: block;
      position: absolute;
      margin: auto;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      width: 30px;
      height: 2px;
      transition: 0.3s ease-in-out;
      z-index: 20;
      background: #3C3635;
    }
    .hdr_hamburger span:nth-child(1) {
      top: -10px;
    }
    .hdr_hamburger span:nth-child(2) {
      top: 0;
      bottom: -10px;
    }
    .open .hdr_hamburger span:nth-child(1) {
      -webkit-transform: translate(10px) rotate(-135deg);
      transform: translateY(5px) rotate(-135deg);
      transition: 0.3s ease-in-out; /* 0.5秒でアイコンのアニメーション */
    }
    .open .hdr_hamburger span:nth-child(2) {
      -webkit-transform: translate(-10px) rotate(-45deg);
      transform: translateY(-5px) rotate(-45deg);
      transition: 0.3s ease-in-out; /* 0.5秒でアイコンのアニメーション */
    }
    .open .hdr_hamburger li {
      opacity: 1;
    }
  }


  /* フッター */
  #footer {
    display: flex;
    justify-content: center;
    align-items: end;
    position: absolute;
    padding-bottom: 20px;
    bottom: 0;
    left: 0;
    background: #3C3635;
    color: #FFFFFF;
    width: 100%;
    height: 100px;
    font-size: 0.75rem;
    z-index: 40;
  }

  .to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    right: 30px;
    bottom: 120px;
    width: 140px;
    height: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
  }

  .to-top > svg {
    margin: 2px;
  }

  .to-top.animate {
    animation: yurayura 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  }

  @keyframes yurayura {
    0% {
      transform: rotate(0deg);
    }
    15% {
      transform: rotate(10deg);
    }
    50% {
      transform: rotate(-10deg);
    }
    85% {
      transform: rotate(10deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }

  @media(max-width: 700px) {
    #footer {
      height: 80px;
    }
    .to-top {
      width: 100px;
      height: 100px;
      right: 20px;
      bottom: 50px;
    }
  }

.custom-select-wrap {
  position: relative;
  width: 100%;
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.custom-select-display {
  display: flex;
  align-items: center;
  position: relative;
  background: #ECE4E4;
  border-radius: 20px;
  padding: 10px 15px;
  cursor: pointer;
  color: #3C3635;
  font-size: 1rem;
  z-index: 2;
  box-sizing: border-box;
}
.custom-select-text {
  flex: 1;
  pointer-events: none;
}
.select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  pointer-events: none;
  transform: translateY(-50%);
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.select-arrow::before,
.select-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 3px;
  background: #3C3635;
  border-radius: 1px;
}
.select-arrow::before {
  top: 7px;
  transform: rotate(45deg);
}
.select-arrow::after {
  bottom: 7px;
  transform: rotate(-45deg);
}
.custom-select-wrap.open .select-arrow {
  transform: translateY(-50%) rotate(90deg);
}
.custom-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #3C3635;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.custom-select-wrap.open .custom-bar {
  width: 100%;
}
.custom-select-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ECE4E4;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 24px rgba(60,54,53,0.10);
  z-index: 10;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.custom-select-wrap.open .custom-select-list {
  display: block;
  animation: fadeInDown 0.3s;
}
.custom-select-list li {
  padding: 18px 20px;
  cursor: pointer;
  color: #3C3635;
  transition: background 0.2s;
}
.custom-select-list li:hover,
.custom-select-list li.selected {
  background: #3C3635;
  color: #ECE4E4;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}