@charset "utf-8";

/*
Theme Name:鍼灸専門治療院 無何有-むかゆう-
Description:西宮にある鍼灸専門治療院無何有-むかゆう-が作成した専用のテーマです。
Version：1.0
Author:MUKAYU
*/

@import url("assets/css/reset-row-container.css");

:root {
  --font-mincho: "fot-tsukuaoldmin-pr6n", "Hiragino Mincho ProN", "Yu Mincho",
    serif;
  --font-gothic: "ryo-gothic-plusn", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
}

/* Basic */

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  color: #383b4e;
  font-family: var(--font-gothic);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  line-height: 1.6;
}

body#front-page {
  background-color: #162550;
}

a {
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
  color: #383b4e;
  text-decoration: none;
  border-bottom: dotted 1px;
  font-weight: bold;
}

a:hover {
  border-bottom-color: transparent;
}

strong,
b {
  font-weight: bold;
}

p,
ul {
  margin: 0 0 1.45rem 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
  border: 0;
}

hr {
  height: 1px;
  width: 100%;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    #162550 50%,
    transparent 100%
  );
  margin: 2.25rem 0;
  border: none;
}

ruby {
  ruby-position: over;
}

rt {
  font-size: 0.7rem;
}

.grecaptcha-badge { 
  visibility: hidden; 
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 180px;
}

/* fadeUpをするアイコンの動き */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2 {
  display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2 {
  display: block;
}

/*右に消えるエリア*/
body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: #162550;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/*左に消えるエリア*/
body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: #162550;
  /*伸びる背景色の設定*/
}

@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }

  50% {
    transform-origin: left;
  }

  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#page-wrapper {
  opacity: 0;
}

/*bodyにappearクラスがついたら出現*/
body.appear #page-wrapper {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Header */

#header.reveal {
  animation: reveal-header 0.5s;
}

@keyframes reveal-header {
  0% {
    top: -5rem;
  }

  100% {
    top: 0;
  }
}

#header {
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.075);
  color: inherit;
  cursor: default;
  font-size: 1rem;
  left: 0;
  padding: 1.25rem 1.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#header.alt {
  animation: none;
  background: transparent;
  box-shadow: none;
  color: #fff;
  padding: 2rem 2.5rem;
  position: absolute;
}

#header.alt nav {
  right: 2.5rem;
  top: 1.75rem;
}

#header.alt h1 a {
  background-image: url("images/logo-white.svg");
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -9999px;
  display: block;
  width: clamp(120px, 15vw, 200px);
  height: clamp(84px, 10.5vw, 140px);
  padding-bottom: 0.2rem;
}

#header h1 a {
  display: inline-block;
  font-family: var(--font-mincho);
  letter-spacing: 0.075rem;
  color: #fff;
  font-size: clamp(0.7rem, 1vw, 1rem);
  font-weight: normal;
}

#header h1 a span {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

#header nav {
  letter-spacing: 0.075rem;
  position: absolute;
  right: 1.5rem;
  top: 0.75rem;
}

#header nav ul {
  list-style: none;
  padding-left: 0;
}

#header nav ul li {
  display: inline-block;
  margin-left: clamp(0.5rem, 0.5vw, 1.5rem);
  padding-left: 0;
  font-size: clamp(0.7rem, 1vw, 1rem);
}

#header.alt nav ul li {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  margin-left: clamp(0.5rem, 1vw, 1.5rem);
}

#header nav ul li > ul {
  display: none;
}

#header nav ul li a {
  font-family: var(--font-mincho);
  font-weight: normal;
  border: solid 1px transparent;
  color: #fff;
  position: relative;
  display: inline-block;
  transition: 0.3s;
  padding: 0.6rem 0.7rem 0.2rem 0.7rem;
  text-decoration: none;
}

#header nav ul li a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: "";
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
  transform: translateX(-50%);
}

#header nav ul li a:hover::after {
  width: 100%;
}

#header nav ul li.nav-contact a {
  border: 1px solid #fff;
  outline: none;
  transition: all 0.3s ease-in-out;
  color: #fff;
  position: relative;
  display: inline-block;
  line-height: 1rem;
  padding: 0.6rem 0.7rem;
  text-decoration: none;
}

#header nav ul li.nav-contact a::before {
  content: "";
  position: absolute;
  border: solid #fff;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
}

#header nav ul li.nav-contact a::after {
  all: unset;
  content: "";
  position: absolute;
  border: solid #fff;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
  bottom: -6px;
  right: -6px;
  border-width: 0 1px 1px 0;
}

#header nav ul li.nav-contact a:hover {
  background-image: url("images/white-pattern.webp");
  background-repeat: repeat;
  color: #162550;
  border-color: transparent;
}

#header nav ul li.nav-contact a:hover::before,
#header nav ul li.nav-contact a:hover::after {
  width: calc(100% + 11px);
  height: calc(100% + 11px);
  border-color: #fff;
}

#header.alt nav ul li.nav-contact a:hover {
  background-image: url("images/kon-pattern.webp");
  color: #fff;
}

#header.alt nav ul li.nav-contact a:hover::before,
#header.alt nav ul li.nav-contact a:hover::after {
  border-color: #162550;
}

#header nav ul li.submenu > a {
  text-decoration: none;
}

/* Slider */

#slider-inner {
  width: 100%;
  height: 100vh;
  /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  position: relative;
}

/* ロードバーのみ下端に固定、高さ2〜3px程度 */
#slider-inner > .vegas-timer {
  position: absolute; /* fixedはそのまま */
  bottom: 0; /* 下端に配置 */
  left: 0;
  width: 100%; /* 横幅いっぱい */
  height: 2px; /* 高さだけ指定 */
  z-index: 1; /* 上に表示させる場合は調整 */
}

/* 背景スライドは全画面 */
#slider-inner > .vegas-overlay,
#slider-inner > .vegas-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.front-slider-message {
  position: absolute;
  top: 65%;
  left: 5%;
  transform: translateY(-50%);
}

.headline-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.headline-text {
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-family: var(--font-mincho);
  font-weight: 300;
  color: #fff;
  cursor: default;
  white-space: nowrap;
  line-height: 1.25;
  animation: slide-in-up 1s ease-in-out 1.8s forwards;
  opacity: 0;
}

/* 見出しのアニメーション */

.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  /* 下から */
  transition: all 0.8s ease-in-out;
  will-change: opacity, transform;
}

.scroll-fade.inview {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade.delay1 {
  transition-delay: 0.2s;
}

.scroll-fade.delay2 {
  transition-delay: 0.3s;
}

/* Main-basic */

#main {
  background-image: url("images/white-pattern.webp");
  background-repeat: repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  z-index: -1;
}

.lightgray-bg {
  position: relative;
  background-image: url("images/lightgray-pattern.webp");
  background-repeat: repeat;
  background-attachment: fixed;
  z-index: -1;
}

/* Logo&Image */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-10center {
  margin: 0 auto;
  width: 10rem;
}

.logo-5center {
  margin: 0 auto;
  width: 5rem;
}

.logo-en-style {
  display: block;
  margin: 0 auto 0.5rem;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.25;
}

/* front-page header */

header.special {
  position: relative;
  padding: 8rem 0;
}

.front-top-logo {
  display: block;
  margin: 0 auto;
  border-bottom: solid 1px #d8d8d8;
  text-align: center;
  width: 80%;
  max-width: 500px;
}

.front-top-logo img {
  margin-bottom: 0.5rem;
}

header.special h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.075rem;
  color: #383b4e;
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin: 2rem auto 6rem;
  max-width: 1200px;
  text-align: center;
}

.highlight-words {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 3rem;
}

.front-scroll-container {
  position: absolute;
  bottom: 0;
  right: 50%;
  writing-mode: vertical-rl;
}

.front-scroll-container::before {
  animation: scroll 3s infinite;
  background-color: #fff;
  bottom: 0;
  content: "";
  height: 12rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

.scroll-container {
  position: absolute;
  bottom: 0;
  right: 50%;
  writing-mode: vertical-rl;
}

.scroll-container::before {
  animation: scroll 3s infinite;
  background-color: #ccc;
  bottom: -6rem;
  content: "";
  height: 12rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

.upper-scroll-container {
  position: absolute;
  top: 0;
  right: 50%;
  writing-mode: vertical-rl;
}

.upper-scroll-container::before {
  animation: scroll 3s infinite;
  background-color: #ccc;
  top: -6rem;
  content: "";
  height: 12rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* front-page feature */

.feature-zone-bg {
  clip-path: inset(0);
  width: 100%;
  position: relative;
  z-index: -1;
}

.feature-zone-bg::before {
  content: "";
  z-index: -2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/feature-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-zone {
  padding: 10rem 0;
}

h2.feature {
  color: #d8d8d8;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.3vw, 1.7rem);
  position: relative;
  margin-bottom: 5rem;
  padding-left: 5.5rem;
}

h2.feature::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5rem;
  height: 1px;
  background-color: #d8d8d8;
}

.feature-zone p {
  color: #d8d8d8;
}

.features-midashi-flex {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.features-midashi-flex img {
  width: clamp(4rem, 2vw + 3rem, 5.5rem);
  height: auto;
  flex-shrink: 0;
}

h3.feature-midashi {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  line-height: 1.25;
}

.front-feature-color {
  color: #d8d8d8;
}

.linkbutton-area {
  text-align: center;
}

.btn-front-feature {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  color: #d8d8d8;
  border: 1px solid #d8d8d8;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  font-family: var(--font-mincho);
  font-style: normal;
  font-weight: 200;
}

.btn-front-feature:hover {
  color: #383b4e;
  border-color: transparent;
  transition-delay: 0.6s;
}

.btn-front-feature span {
  display: block;
  z-index: 2;
}

.bordertop-feature span::before,
.bordertop-feature span::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 0;
  transition: all 0.3s;
  background: #fff;
}

.bordertop-feature span::before {
  left: 0;
  top: 0;
}

.bordertop-feature span::after {
  right: 0;
  top: 0;
}

.bordertop-feature:hover span::before,
.bordertop-feature:hover span::after {
  height: 100%;
}

.bordertop-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 0;
  background-image: url("images/white-pattern.webp");
  background-repeat: repeat;
  transition: height 0.3s ease;
}

.bordertop-feature:hover::before {
  height: 100%;
  transition-delay: 0.4s;
}

/* front-page voice */

.front-voice-zone {
  position: relative;
  padding: 10rem 0 10rem 0;
}

.front-voice-midashi {
  position: relative;
  width: 100%;
  height: auto;
}

.midashi-setsumei-p {
  font-size: 1.1rem;
  margin: 3rem 0;
  line-height: 1.25;
}

.taiken-midashi1 {
  position: absolute;
  border: solid 1px #d2d9b8;
  width: 10%;
  height: auto;
  top: 0;
  right: 2%;
  transform: rotate(10deg);
}

.taiken-midashi2 {
  position: absolute;
  border: solid 1px #d2d9b8;
  width: 11%;
  height: auto;
  top: 0;
  right: 7%;
  transform: rotate(-20deg);
}

.notice {
  padding: 1rem 1.5rem;
  border: solid 1px #383b4e;
  margin: 3rem 1.5rem;
  border-radius: 2px;
}

.notice h3,
.notice h4 {
  position: relative;
  font-family: var(--font-gothic);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  padding-top: 0.75rem;
}

.notice h3::before,
.notice h4::before {
  content: attr(data-en);
  position: absolute;
  transform: rotate(-5deg);
  top: 0;
  left: 0;
  color: #bbb;
  font-size: 1.2rem;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  z-index: -1;
}

.notice p {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.notice p.notice-strong {
  font-weight: bold;
  margin-bottom: 1rem;
}

.notice-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-line {
  flex-grow: 1;
  height: 1px;
  background-color: #bbb;
  width: 0;
}

.front-taiken-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #d2d9b8;
  border-radius: 2px;
  margin: 0 auto;
}

.front-taiken-text {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 2.5rem;
}

.taiken-photo1 {
  width: 100%;
  height: auto;
}

.taiken-linkbutton {
  position: relative;
  color: #383b4e;
  border: 1px solid #383b4e;
  padding: 0.4rem 0.6rem;
  display: inline-block;
  text-decoration: none;
  outline: none;
  transition: all 0.3s ease-in-out;
  font-family: var(--font-mincho);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.5;
}

.taiken-linkbutton:hover {
  background-color: #383b4e;
  color: #fff;
  border-color: transparent;
}

.taiken-linkbutton::before,
.taiken-linkbutton::after {
  content: "";
  position: absolute;
  border: solid #383b4e;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}

.taiken-linkbutton::before {
  top: -5px;
  left: -5px;
  border-width: 1px 0 0 1px;
}

.taiken-linkbutton::after {
  bottom: -5px;
  right: -5px;
  border-width: 0 1px 1px 0;
}

.taiken-linkbutton:hover::before,
.taiken-linkbutton:hover::after {
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-color: #383b4e;
}

/* front-page message */

.front-message-zone {
  position: relative;
  padding: 10rem 0 10rem 0;
}

.front-message-midashi h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  line-height: 1.25;
  margin-left: 3rem;
}

.front-message-midashi p {
  font-family: var(--font-mincho);
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.25;
  margin: 3rem 0 0 3.2rem;
}

.match-img {
  position: absolute;
  border: solid 1px #d2d9b8;
}

.match1 {
  width: 11%;
  height: auto;
  top: 0;
  left: 7%;
  transform: rotate(5deg);
}

.match2 {
  width: 12%;
  height: auto;
  top: 0;
  left: 0;
  transform: rotate(-15deg);
}

.match3 {
  width: 12%;
  height: auto;
  bottom: 0;
  right: 7%;
  transform: rotate(-15deg);
}

.match4 {
  width: 13%;
  height: auto;
  bottom: 0;
  right: 0;
  transform: rotate(5deg);
}

.mukayu-match-people h3 {
  font-size: clamp(1.3rem, 0.5vw + 1.3rem, 2rem);
  line-height: 1.25;
  text-align: center;
  border-bottom: solid 1px #383b4e;
  padding: 4rem 0 2.35rem;
}

.mukayu-match-li {
  padding: 3rem 1rem;
}

.mukayu-match-li p {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: clamp(1.2rem, 0.4vw + 1.2rem, 1.75rem);
  line-height: 1.25;
  margin-bottom: 2rem;
}

.front-message-copy {
  text-align: center;
  font-size: 2.2rem;
  margin: 5rem 0;
}

h3.licence {
  margin: 2rem 0;
  text-align: center;
  font-size: 1.5rem;
}

.licence-image {
  width: 100%;
  height: auto;
  border: 1px solid #d2d9b8;
  border-radius: 2px;
}

/*スライダーのためのcss*/

.slider-container {
  position: relative;
}

.slider img {
  width: 100%;
  height: auto;
  border-radius: 1px;
}

.slider .slick-slide {
  margin: 0 20px;
}

/* information-zone */

.information-zone {
  position: relative;
  padding: 10rem 0 10rem 0;
}

table.info-table {
  width: 100%;
  text-align: center;
}

table.info-table tbody tr {
  border-bottom: solid 1px #383b4e;
}

table.info-table td {
  line-height: 1.5;
  padding: 0.75rem 1rem 0.75rem 1rem;
}

.reception p,
.price p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.text-r {
  text-align: right;
}

iframe.google-map {
  width: 100%;
  height: 600px;
}

table.access-table {
  width: 100%;
}

table.access-table tbody tr {
  border-bottom: solid 1px #d8d8d8;
  font-size: 1rem;
  line-height: 1.25;
}

table.access-table tbody tr:last-child {
  border-bottom: none;
}

table.access-table th {
  width: 35%;
  text-align: center;
  padding: 1rem 1rem 1rem 1rem;
}

table.access-table td {
  width: 65%;
  padding: 1rem 1rem 1rem 1rem;
}

.tel-form-cta {
  text-align: center;
  padding-top: 3rem;
  padding-right: clamp(1rem, 3vw, 5rem);
  padding-left: clamp(1rem, 3vw, 5rem);
  padding-bottom: 0;
}

.btn-cta {
  position: relative;
  display: inline-block;
  padding: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.5rem);
  color: #162550;
  border: 1px solid #162550;
  border-radius: 5px;
  text-decoration: none;
  outline: none;
  overflow: hidden;
}

.btn-cta:hover {
  color: #fff;
  border-color: transparent;
  transition-delay: 0.6s;
}

.btn-cta span {
  display: block;
  z-index: 2;
}

.cta-gicon {
  font-size: 2.3rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
}

.cta-ttl {
  font-family: var(--font-mincho);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.25;
  padding-bottom: 0.75rem;
}

.tel-number {
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  line-height: 1;
}

/* Menu-link-zone */

.menu-link-zone {
  position: relative;
  padding: 10rem 0 10rem 0;
}

.learn-more {
  margin-bottom: 5rem;
  text-align: center;
}

.learn-more-midashi {
  position: relative;
  padding-top: clamp(1.5rem, 1vw + 1.2rem, 2.5rem);
  padding-bottom: 3rem;
  font-size: clamp(1.35rem, 0.9vw + 1.1rem, 2.25rem);

  color: #383b4e;
  white-space: nowrap;
}

.learn-more-midashi::before {
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem);
  white-space: nowrap;
  color: #bbb;
  z-index: -1;
}

.learn-more-midashi::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 100%;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    #383b4e 50%,
    transparent 100%
  );
}

.menu-list {
  padding: 2rem 1rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.5rem;
  height: auto;
  width: 100%;
}

.menu-list li a {
  font-family: var(--font-mincho);
  font-style: normal;
  font-weight: 300;
}

.wakaba {
  transform: rotate(90deg);
}

.column {
  flex: 0 1 calc(50% - 7px);
  min-width: calc(50% - 7px);
  padding: 20px 15px;
  font-size: 1rem;
}

.column a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
  transition: transform 0.3s ease-in-out;
}

.column a:hover {
  transform: translateY(-4px);
}

.menulist-gicon {
  font-size: 3.5rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
}

.column-2 {
  flex: 0 1 100%;
  min-width: 100%;
  border: 1px solid #383b4e;
  border-radius: 5px;
  margin-top: 1.75rem;
  transition: background-size 0.3s ease-in-out,
    background-position 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.column-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: filter 0.3s ease-in-out;
  z-index: 0;
  filter: blur(0);
}

/* 個別背景画像（固定クラスで指定） */
.column-2.list-feature::before {
  background-image: url("images/menu-link-feature.webp");
}

.column-2.list-case::before {
  background-image: url("images/menu-link-case.webp");
}

.column-2.list-voice::before {
  background-image: url("images/menu-link-voice.webp");
}

.column-2:hover::before {
  filter: blur(2px);
}

.column-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
  transition: none;
}

.column-2:hover::after {
  animation: shine 0.8s forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

.column-2-en {
  display: block;
  padding: 25px 0 14px 17px;
  margin-bottom: 0.5rem;
  position: relative;
  border: none;
  z-index: 2;
}

.column-2-en span {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #383b4e;
  transition: transform 0.3s ease-in-out;
}

.column-2-en:hover span {
  transform: translateY(-4px);
}

.column-2-en::before {
  content: attr(data-en);
  position: absolute;
  bottom: 0;
  left: 19px;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: #bbb;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  z-index: 2;
}

.column-2-en:hover::before {
  transform: translateY(-4px);
}

.approach-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2.5rem;
  column-gap: 1.5rem;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.approach-list li {
  flex: 0 1 calc((100% / 3) - (1.5rem * 2 / 3));
  aspect-ratio: 3 / 1;
  display: flex;
}

.btn-approach {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 10px;
  color: #383b4e;
  border: 1px solid #383b4e;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-mincho);
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 1.25;
}

.btn-approach:hover {
  color: #fff;
  border-color: transparent;
  transition-delay: 0.6s;
}

.btn-approach span {
  display: block;
  z-index: 2;
}

.bordertop span::before,
.bordertop span::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 0;
  background: #383b4e;
  transition: all 0.3s;
}

.bordertop span::before {
  left: 0;
  top: 0;
}

.bordertop span::after {
  right: 0;
  top: 0;
}

.bordertop:hover span::before,
.bordertop:hover span::after {
  height: 100%;
}

.bordertop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  z-index: -1;
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  transition: all 0.3s;
}

.bordertop:hover::before {
  height: 100%;
  transition-delay: 0.4s;
}

.news-blog-zone {
  padding: 0 0 10rem 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dotted #d8d8d8;
  gap: 1.25rem;
}

.news-content {
  flex-grow: 1;
}

.news-date {
  font-size: 0.9rem;
  color: #383b4e;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  flex-shrink: 0;
}

.news-summary p {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0.8rem 0;
}

.news-link {
  text-align: right;
  margin-top: 1rem;
}

.news-more {
  font-weight: bold;
  font-size: 1rem;
}

.blog-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px dotted #d8d8d8;
  align-items: flex-start;
}

.lanking {
  position: relative;
  counter-increment: ranking;
  margin-top: 1rem;
}

.lanking::before {
  content: counter(ranking);
  counter-reset: none;
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 3rem;
  color: #bbb;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
}

.blog-thumb {
  width: 6rem;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  border: none;
}

.blog-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-content {
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column; /* 縦並び */
    align-items: flex-start; /* 左揃えにして自然に */
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.blog-date {
  display: flex;
  font-size: 0.9rem;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  color: #3b3b4e;
  margin: 0;
  align-items: center;
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1.25;
  color: #fff;
  background-color: #383b4e;
  padding: 0.5rem 0.6rem;
  border-radius: 3px;
}

.blog-title {
  font-size: 1rem;
}

.blog-summary {
  font-size: 0.9rem;
  color: #383b4e;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.blog-link {
  text-align: right;
  margin-top: 1rem;
}

.blog-more {
  font-weight: bold;
  font-size: 1rem;
}

.blog-item:last-child,
.news-item:last-child {
  border-bottom: none;
}

/* Footer */

#footer {
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  color: #fff;
  padding: 3rem 0 2rem;
}

#footer h2 {
  position: relative;
  font-size: 1.25rem;
  font-family: "trajan-pro-3", serif;
  color: #fff;
  font-weight: 300;
  padding-left: 3.8rem;
  margin-bottom: 1.5rem;
}

#footer h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3.5rem;
  height: 1px;
  background-color: #fff;
}

.logo-info-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto; /* ←中央寄せ */
  width: fit-content;
}

.footer-logo img {
  margin: 0 auto;
  width: 10rem;
  min-width: 10rem;
}

.footer-info {
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-info p {
  margin-bottom: 0.75rem;
}

.footer-tel-number a {
  color: #fff;
  border: none;
  display: inline-block;
  margin: 0.375rem 0;
}

.footer-hours {
  width: 90%;
  margin: 1.5rem auto 0 auto;
}

.footer-cta {
  text-align: center;
}

.footer-cta p {
  font-family: var(--font-gothic);
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.25;
}

.buttons-number {
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
}

.buttons-mail {
  font-size: 0.9rem;
}

.footer-linkbutton {
  position: relative;
  color: #fff;
  border: 1px solid #fff;
  display: inline-block;
  text-decoration: none;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.footer-linkbutton:hover {
  background-image: url("images/white-pattern.webp");
  background-repeat: repeat;
  color: #162550;
  border-color: transparent;
}

.footer-linkbutton::before,
.footer-linkbutton::after {
  content: "";
  position: absolute;
  border: solid #fff;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}

.footer-linkbutton::before {
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
}

.footer-linkbutton::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 1px 1px 0;
}

.footer-linkbutton:hover::before,
.footer-linkbutton:hover::after {
  width: calc(100% + 11px);
  height: calc(100% + 11px);
  border-color: #fff;
}

.copyright {
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 3rem;
}

.copyright a {
  color: inherit;
}

.copyright li {
  display: inline-block;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: dotted 1px;
}

.copyright li:first-child {
  margin: 0;
  padding: 0;
  border: 0;
}

/*Page top リンクの形状*/

#page-top a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
  align-items: center;
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  border: none;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  transition: all 0.3s;
}

.page-top-gicon {
  font-size: 2rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
  transition: transform 0.3s ease-in-out;
}

.page-top-text {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 0.5rem;
}

.page-top-gicon,
.page-top-text {
  line-height: 1;
}

#page-top a:hover .page-top-gicon {
  transform: translateY(-5px);
}

#page-top {
  position: fixed;
  right: 20px;
  opacity: 0;
  transform: translateY(100px);
}

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

/*Sub-page*/
/*Sub-page loading*/

body.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/*Sub-page header*/

.sub-page-header {
  position: relative;
  height: 80vh;
}

.single-page-header {
  position: relative;
  height: 45vh;
}

.svg-container {
  position: absolute;
  top: 55%;
  left: 15%;
  width: 50rem;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  animation: fade-in 1.5s ease-in-out 0.2s forwards;
}

.svg-size {
  width: 100%;
  height: auto;
  display: block;
}

.sub-page-ttl-zone,
.single-page-ttl-zone {
  position: absolute;
  top: 55%;
  left: 5%;
}

.single-ttl-sub {
  font-size: 1.25rem;
  color: #162550;
  animation: slide-in-left 1s ease-in-out 0.5s forwards;
  opacity: 0;
}

.sub-page-ttl,
.single-page-ttl,
.approach-page-ttl {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slide-in-left 1s ease-in-out 0.5s forwards;
  opacity: 0;
}

.sub-page-ttl h2 {
  font-size: clamp(2.5rem, 3vw, 2.8rem);
  color: #162550;
  margin: 0;
  white-space: nowrap;
}

.single-page-ttl h2 {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  color: #162550;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.h2-line {
  flex-grow: 1;
  height: 1px;
  background-color: #162550;
  width: 0;
  animation: expand-line 1s ease-in-out 1s forwards;
}

.sub-page-en-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(7rem, 15vw, 10rem);
  color: #ddd;
  animation: slide-in-up 1s ease-in-out 0.5s forwards;
  opacity: 0;
  z-index: -1;
  line-height: 0.35;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-up {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes expand-line {
  to {
    width: 100vw;
  }
}

/*Sub-page contents*/

.page-link-zone {
  padding: 7rem 0 5rem 0;
}

.under-setsumei-group {
  margin-bottom: 2rem;
}

.relative-wrapper {
  position: relative;
}

/* パンくず全体 */
.breadcrumb {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  font-size: 0.7rem;
  color: #162550;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  align-items: center;
}

/* li同士の矢印 */
.breadcrumb li + li::before {
  content: "›"; /* または ">" */
  margin: 0 0.4rem;
  color: #888;
}

/* リンク */
.breadcrumb li a {
  color: #162550;
  border-bottom: dotted transparent 1px;
  transition: all 0.5s ease-in-out;
}

.breadcrumb li a:hover {
  border-bottom: dotted #162550 1px;
}

/* 現在ページ */
.breadcrumb li.current-item span {
  color: #162550;
}

/* モバイル対応：画面が狭い場合は省略表示 */
@media screen and (max-width: 480px) {
  .breadcrumb {
    font-size: 0.8rem;
    gap: 0.2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* スムーズスクロール */
  }

  /* 矢印を小さく */
  .breadcrumb li + li::before {
    margin: 0 0.2rem;
  }

  /* HOMEだけ残して途中を…に省略も可能 */
  .breadcrumb li:not(:first-child):not(:last-child) {
    display: none;
  }
}

/*Contact-page contents*/

.contact-setsumei-area {
  padding-top: 7rem;
}

.contact-setsumei-inner {
  padding: 4rem clamp(1rem, 6vw, 10rem) 0;
}

.contact-setsumei-zone {
  padding-top: 5rem;
}

.setsumei-zone-group {
  margin-bottom: 6rem;
}

.setsumei-zone-group p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.025rem;
  line-height: 1.25;
}

.yoyaku-info-table {
  max-width: 750px;
  width: 90%;
  margin: 3rem auto;
  font-size: 1rem;
}

.mail-form-zone {
  padding: 7rem 0 10rem 0;
}

.contact-thanks-zone {
  padding-top: 5rem;
  text-align: center;
}

/*Info-page contents*/

.buttons-pagelink {
  font-family: var(--font-mincho);
  font-weight: 300;
  font-size: 1.3rem;
}

.buttons-pagelink-en {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pagelink-gicon {
  display: inline-block;
  font-size: 1.5rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
  transition: transform 0.3s ease-in-out;
  line-height: 1;
}

.default-linkbutton:hover .pagelink-gicon {
  transform: translateY(4px);
}

.infopage-contents {
  padding-bottom: 7rem;
}

.ticket-zone {
  margin: 4rem 0 0 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ticket-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #162550;
  margin-bottom: 0.5rem;
}

.ticket-zone span {
  font-family: "din-2014", sans-serif;
  font-weight: 400;
}

.ticket-validity {
  font-size: 1rem;
  font-weight: bold;
}

.info-map-zone {
  margin: 5rem 0;
}

.from-station-zone {
  margin-top: 5rem;
}

.from-station-guide {
  margin: 5rem 0 7rem 0;
}

.from-station-guide:last-child {
  margin: 5rem 0 3rem 0;
}

.from-station-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.walk-photo {
  max-width: 100%;
  height: auto;
  width: 45%;
}

.from-station-directions {
  margin: 3rem 0;
}

.from-station-directions p {
  font-size: 1.2rem;
  margin: 0 0 0.25rem 0;
  line-height: 1.5;
}

/*Staff-page contents*/

.staffpage-contents {
  position: relative;
  padding: 7rem 0 10rem 0;
}

.staff-introduction {
  margin: 4rem 0 5rem 0;
}

.profile-block {
  margin-bottom: 3rem;
}

.profile-list {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    #d8d8d8 50%,
    transparent 100%
  );
  border-image-slice: 1;
  padding-bottom: 1rem;
  width: 100%;
}

.profile-list:last-child {
  border-bottom: none;
}

.staff-top-container {
  margin: 3rem auto 5rem auto;
  width: 90%;
  max-width: 850px;
}

/* Features contents */

.features-contents {
  padding: 10rem 0;
}

.bg-tenchizu {
  position: absolute;
  background-image: url("images/tenchizu-outline-gray.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.bg-tenchizu.pos1 {
  width: 32rem;
  height: 32rem;
  top: 10%;
  left: 70%;
}

.bg-tenchizu.pos2 {
  width: 25rem;
  height: 25rem;
  top: 45%;
  left: 75%;
}

.bg-tenchizu.pos3 {
  width: 35rem;
  height: 35rem;
  top: 60%;
  left: -25%;
}

.bg-tenchizu.pos4 {
  width: 26rem;
  height: 26rem;
  top: 90%;
  left: 80%;
}

.bg-tenchizu.pos5 {
  width: 33rem;
  height: 33rem;
  top: 23%;
  left: -23%;
}

.bg-tenchizu.pos6 {
  width: 30rem;
  height: 30rem;
  top: 9%;
  left: 75%;
}

.bg-tenchizu.pos7 {
  width: 25rem;
  height: 25rem;
  top: 45%;
  left: -10%;
}

.bg-tenchizu.pos8 {
  width: 38rem;
  height: 38rem;
  top: 75%;
  left: 80%;
}

.features-zone-left {
  width: 100%;
  padding-right: 20%;
  margin: 5rem 0 3rem 0;
}

.features-zone-right {
  width: 100%;
  padding-left: 20%;
  margin: 5rem 0 3rem 0;
}

.features-bg1 {
  background-image: url("images/features1-tennchizu.svg");
  background-repeat: no-repeat;
}

.features-bg2 {
  background-image: url("images/features2-tennchizu.svg");
  background-repeat: no-repeat;
}

.features-bg3 {
  background-image: url("images/features3-tennchizu.svg");
  background-repeat: no-repeat;
}

.features-bg4 {
  background-image: url("images/features4-tennchizu.svg");
  background-repeat: no-repeat;
}

.features-bg5 {
  background-image: url("images/features5-tennchizu.svg");
  background-repeat: no-repeat;
}

.features-bg6 {
  background-image: url("images/features6-tennchizu.svg");
  background-repeat: no-repeat;
}

.feature-page-color {
  color: #162550;
}

/* Journal-page contents */

.generic-page-contents {
  position: relative;
  padding: 7rem 0 10rem 0;
}

.generic-list-zone {
  padding: 0 2rem;
}

/* Case-page contents */

.case-list {
  list-style: none;
  padding: 2rem 0;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  /* 行間・列間の余白 */
}

.two-column li {
  width: calc(50% - 1rem);
  /* 横幅の調整 */
  box-sizing: border-box;
}

.case-list li {
  position: relative;
  border-bottom: 1px solid #bbb;
  padding: 1.3rem 0 0.5rem 0.5rem;
  margin: 1.5rem 0;
  line-height: 1.25;
}

.case-list li::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: #ccc;
  z-index: -1;
  line-height: 1;
}

.case-list a {
  position: relative;
  color: #162550;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.2rem;
  display: inline-block;
  padding-right: 0.5rem;
  transition: color 0.3s ease;
  z-index: 1;
}

.case-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #383b4e;
  z-index: -1;
  transition: width 0.4s ease;
}

.case-list a:hover {
  color: #fff;
}

.case-list a:hover::before {
  width: 100%;
}

.generic-detail-inner h3 {
  position: relative;
  padding-top: 2rem;
  border-bottom: 1px solid #bbb;
  font-size: clamp(1.5rem, 0.3626vw + 1.415rem, 1.85rem);
  line-height: 1.25;
  padding-bottom: 0.3rem;
  padding-left: 0.3rem;
}

.generic-detail-inner h3::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  color: #d8d8d8;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size:clamp(3.75rem, 3vw, 4rem);
  line-height: 0.85;
  z-index: -1;
}

.generic-detail-inner h3::after {
  content: attr(data-en);
  position: absolute;
  bottom: -1.75rem;
  right: 0;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size:1.2rem;
  color: #bbb;
  z-index: -1;
}

.generic-detail-inner h4 {
  font-size: 1.5rem;
  color: #162550;
  margin: 3rem 0 2rem 0;
}

.thumbnail-zone img {
  margin: 4rem auto 4rem auto;
  width: 75%;
  max-width: 500px;
}

/* Blog-page&Voice-page contents */

.voice-top-img1 {
  width: 11%;
  height: auto;
  top: 0;
  left: 20%;
  transform: rotate(5deg);
}

.voice-top-img2 {
  width: 12%;
  height: auto;
  top: 0;
  left: 13%;
  transform: rotate(-15deg);
}

.voice-top-img3 {
  width: 11%;
  height: auto;
  top: 0;
  right: 20%;
  transform: rotate(-5deg);
}

.voice-top-img4 {
  width: 12%;
  height: auto;
  top: 0;
  right: 13%;
  transform: rotate(15deg);
}

.generic-top-zone {
  margin-top: 5rem;
}

.generic-top-list li {
  padding: 0 1rem 3rem;
}

.generic-top-item h3 {
  position: relative;
  font-size: clamp(1.5rem, 0.3626vw + 1.415rem, 1.8rem);
  line-height: 1.15;
  color: #162550;
  padding: 1.2rem 0 0.5rem 0;
  border-bottom: #383b4e 1px solid;
}

.generic-top-item h3::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  color: #d8d8d8;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 0.7;
  z-index: -1;
}

.generic-top-title {
  font-weight: normal;
}

.blog-top-thumb {
  width: 15rem;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  border: none;
}

.voice-top-thumb {
  width: 20rem;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
  display: block;
  border: 1px solid #d2d9b8;
}

.generic-top-content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 2rem 0;
}

.generic-top-overview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-top-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-top-date {
  display: flex;
  font-size: 0.9rem;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  color: #3b3b4e;
  margin: 0;
  align-items: center;
}

.blog-top-category {
  display: inline-block;
  font-size: 0.75rem;
  color: #fff;
  background-color: #383b4e;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.blog-top-summary {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.voice-top-summary {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.generic-post-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding-right: 0.5rem;
  transition: color 0.3s ease;
  z-index: 1;
  font-size: 0.9rem;
  border: none;
}

.generic-post-more:hover {
  color: #fff;
}

.generic-post-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #383b4e;
  z-index: -1;
  transition: width 0.3s ease;
}

.generic-post-more:hover::before {
  width: 100%;
}

.blog-post-inner h3 {
  position: relative;
  font-size: 2.1rem;
  line-height: 1;
  padding: 0.8rem 0 0.3rem 3.2rem;
  color: #162550;
  background-image: url("images/tennchizu-kon.svg");
  background-repeat: no-repeat;
  background-size: 3rem 3rem;
  background-position: left top;
  width: 100%;
  border-bottom: 1px solid #bbb;
}

.blog-post-inner h3::before {
  content: attr(data-date);
  position: absolute;
  top: 0.2rem;
  left: 0;
  color: #162550;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 0.75rem;
  padding-left: 3.5rem;
}

.blog-post-inner h3::after {
  content: attr(data-category);
  position: absolute;
  bottom: -1.8rem;
  right: 0;
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 0.7rem;
  color: #fff;
  background-color: #383b4e;
  border-radius: 2px;
  padding: 0.25rem 0.5rem;
  z-index: -1;
}

.recent-post-wrapper {
  margin-bottom: 4rem;
}

.recent-popular-midashi {
  position: relative;
  text-align: center;
  padding: 1.75rem 0 1.25rem 0;
  color: #162550;
  font-size: 1.5rem;
  margin: 2rem 1.75rem;
  border-bottom: #bbb 1px solid;
}

.recent-popular-midashi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  background-image: url("images/tennchizu-kon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.recent-popular-midashi::after {
  content: attr(data-en);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #bbb;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 1rem;
  z-index: -1;
}

/* Approach-page */

.approach-page-header {
  position: relative;
  height: 80vh;
  background-image: url("assets/css/overlays/01.webp"),
    url("images/approach-bg.webp");
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-position: center;
  z-index: -1;
}

.approach-svg-container {
  position: absolute;
  top: 32%;
  left: 10%;
  width: 30rem;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  animation: fade-in 1.5s ease-in-out 0.2s forwards;
}

.approach-svg-size {
  width: 100%;
  height: auto;
  display: block;
}

.approach-page-ttl-zone {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 30%;
  left: 5%;
}

.approach-page-ttl h2 {
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.approach-h2-line {
  flex-grow: 1;
  height: 1px;
  background-color: #fff;
  width: 0;
  animation: expand-line 1s ease-in-out 1s forwards;
}

.approach-page-en-bg {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  color: #fff;
  animation: slide-in-left 1s ease-in-out 0.5s forwards;
  opacity: 0;
  z-index: -1;
  line-height: 1;
}

.approach-header-copy {
  position: absolute;
  bottom: 0;
  right: 0;
  animation: slide-in-up 1s ease-in-out 0.5s forwards;
  opacity: 0;
  padding-bottom: 2rem;
}

.approach-header-copy h3 {
  color: #fff;
  font-size: clamp(1rem, 3vw, 2rem);
  line-height: 1.5;
  background-color: rgba(56, 59, 78, 0.9);
  padding: 1rem clamp(1rem, 3vw, 3rem);
  margin-bottom: 2rem;
}

.approach-zone-center {
  margin: 5rem 0 3rem 0;
}

.approach-midashi {
  position: relative;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: #162550;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.en-label {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.en-line {
  width: 30rem;
  max-width: 25vw;
  height: 1px;
  background-color: #bbb;
}

.en-text {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #bbb;
  white-space: nowrap;
  line-height: 1;
}

.approach-zone-center p {
  font-size: 1.2rem;
}

.approach-svg {
  border: 1px #162550 solid;
  border-radius: 3px;
  background-color: #fafafa;
}

table.approach-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

table.approach-table caption {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

table.approach-table th,
table.approach-table td {
  font-size: 1rem;
  border: 1px solid #bbb;
  padding: 0.5rem 0.8rem;
}

table.approach-table th {
  background-color: #383b4e;
  color: #fff;
  width: 33%;
  text-align: center;
}

/* First-visit-page */

.firstvisit-page-contents,
.first-visit-about,
.first-visit-flow,
.first-visit-notice {
  padding-bottom: 7rem;
}

.first-visit-faq {
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.first-page-paragraph {
  margin: 5rem 0;
}

/*タイムライン全体の設定*/
.timeline {
  margin: 3rem auto;
}

.timeline section {
  position: relative;
  padding-left: 3rem;
}

.timeline section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #162550;
  border-radius: 50%;
}

.timeline h3 {
  font-family: var(--font-mincho);
  color: #162550;
  position: relative;
  padding-top: 0rem;
  padding-left: 0.3rem;
  border-bottom: 1px solid #bbb;
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  line-height: 1.3;
}

.timeline h3::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  color: #d8d8d8;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 0;
  z-index: -1;
}

.timeline h3::after {
  content: attr(data-en);
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.2;
  color: #bbb;
  z-index: -1;
}

.step-body {
  padding: 5rem 0;
}

.border-line {
  position: absolute;
  left: 4px;
  top: 0;
  width: 2px;
  height: 0;
  background: #162550;
}

.payment-table {
  max-width: 80%;
  margin: 0 auto;
}

.panel-zone {
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.panel-zone.show {
  opacity: 1;
  transform: translateY(0);
}

.panel-header {
  position: relative;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #383b4e;
  text-align: left;
  background-color: transparent;
  transition: all 0.5s ease-in-out;
  border-radius: 5px 5px 0 0;
  -webkit-tap-highlight-color: transparent;
}

.panel-flex-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.accordion-gicon {
  transition: transform 0.5s;
  font-size: 2rem;
  color: #383b4e;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
}

.panel-q {
  font-size: 2rem;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  color: #fff;
  transition: all 0.5s ease-in-out;
  background-color: #383b4e;
  border-radius: 50%;
  padding: 0.75rem 1.15rem;
  line-height: 1;
}

.panel-a {
  font-size: 2rem;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  color: #fff;
  background-color: #383b4e;
  border-radius: 50%;
  padding: 0.75rem 1.15rem;
  line-height: 1;
}

.panel-header.active {
  color: #fff;
  background-color: #383b4e;
}

.panel-header.active .panel-q {
  color: #383b4e;
  background-color: #fff;
}

.panel-header.active .accordion-gicon {
  transform: rotate(135deg);
  color: #fff;
}

.panel-content {
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.panel-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
}

.panel-hours {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  color: #fff;
  line-height: 1;
}

.panel-hours th,
.panel-hours td {
  border: 1px solid #fff;
  padding: 0.5rem;
  text-align: center;
  word-break: break-word;
}

.sat-open {
  color: #fff;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  text-align: right;
  margin-top: 0.3rem;
}

/* 404 page */

#not-found {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url("images/kon-pattern.webp");
  background-repeat: repeat;
  color: #fff;
  display: flex;
  align-items: center; /* 縦中央 */
  justify-content: center;
  opacity: 0;
  animation: slide-in-up 1s ease-in-out 0.5s forwards; /* 横中央 */
}

.not-found-inner {
  text-align: center;
}

.not-found-inner img {
  width: 15rem;
  height: auto;
  margin: 0 auto;
}

.not-found-inner h1 {
  font-size: 10rem;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  line-height: 1;
  margin-top: 1rem;
}

.not-found-inner span {
  font-size: 2rem;
}

.back-top-btn a {
  padding: 0.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Midashi */

h2,
h3,
h4,
.tukumin {
  font-family: "fot-tsukuaoldmin-pr6n", "serif";
  font-weight: 300;
}

.midashi {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  padding-top: 0.35rem;
  padding-left: 3.4rem;
  color: #162550;
  background-image: url("images/tennchizu-kon.svg");
  background-repeat: no-repeat;
  background-size: 3.2rem 3.2rem;
  border-bottom: none;
  background-position: left top;
  width: 100%;
}

.midashi::before {
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 0;
  color: #162550;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 0.75rem;
  padding-left: 3.7rem;
}

.midashi::after {
  content: "";
  flex-grow: 1;
  max-width: 90%;
  height: 1px;
  background-color: #162550;
  margin-left: 0.7rem;
}

.midashi-2 {
  position: relative;
  width: 100%;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  padding: 1rem 0 0.25rem 0;
  border-bottom: solid 1px #bbb;
  margin-bottom: 3rem;
  line-height: 1;
  letter-spacing: 0.05rem;
}

.midashi-2::after {
  content: attr(data-en);
  position: absolute;
  bottom: 0.15rem;
  right: 0;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.85vw, 1.25rem);
  color: #bbb;
  line-height: 1;
}

.border-kon-line {
  border: 2px solid #162550;
  border-radius: 5px;
}

.border-graykon-line {
  border: 2px solid #bbb;
  border-radius: 5px;
}

.midashi-3 {
  position: relative;
  text-align: center;
  padding-top: 5.75rem;
  padding-bottom: 2.25rem;
  color: #162550;
  font-size: 2.25rem;
  line-height: 1.35;
}

.midashi-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 4.5rem;
  background-image: url("images/tennchizu-kon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.midashi-3::after {
  content: attr(data-en);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #bbb;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.15;
  width: 100%;
  z-index: -1;
}

.en-midashi {
  position: relative;
  font-size: clamp(1.5rem, 3.3vw, 1.7rem);
  letter-spacing: 0.05rem;
  font-family: "trajan-pro-3", serif;
  color: #383b4e;
  font-weight: 300;
  padding-left: 5.8rem;
  margin-bottom: 3.5rem;
}

.en-midashi::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5.5rem;
  height: 1px;
  background-color: #383b4e;
}

.number-midashi {
  position: relative;
  padding: 1.7rem 0 0 0.75rem;
  font-size:clamp(1.6rem, 3vw, 1.8rem);
  color: #162550;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.number-midashi::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  color: #d8d8d8;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size: 3.8rem;
  line-height: 0.65;
  z-index: -1;
}

.setsumei-midashi {
  position: relative;
  padding-top: 1.2rem;
  padding-left: 0.25rem;
  font-size:clamp(1.6rem, 4vw, 2.2rem);
  color: #162550;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  line-height: 1.15;
}

.setsumei-midashi::before {
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 0;
  color: #d8d8d8;
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size:clamp(2.2rem, 5vw, 2.5rem);
  line-height: 1.1;
  z-index: -1;
}

.gradient-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, #162550 0%, transparent 100%);
}

.small-midashi {
  font-size: 1.45rem;
  color: #162550;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Buttons */

.default-linkbutton {
  position: relative;
  color: #383b4e;
  border: 1px solid #383b4e;
  padding: 10px 30px;
  display: inline-block;
  text-decoration: none;
  outline: none;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
  line-height: 1.35;
}

.default-linkbutton:hover {
  background-color: #383b4e;
  color: #fff;
  border-color: transparent;
}

.default-linkbutton::before,
.default-linkbutton::after {
  content: "";
  position: absolute;
  border: solid #383b4e;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}

.default-linkbutton::before {
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
}

.default-linkbutton::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 1px 1px 0;
}

.default-linkbutton:hover::before,
.default-linkbutton:hover::after {
  width: calc(100% + 11px);
  height: calc(100% + 11px);
  border-color: #383b4e;
}

.two-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.two-buttons a {
  flex: 1 1 0;
  max-width: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0rem;
  padding: 0.75rem 0;
  line-height: 1;
}

/* Contact Form7 */

.contact-form-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  font-size: 0.8rem;
}

.form-item-wrapper {
  font-family: var(--font-gothic);
  margin: 2.5rem 0;
}

.form-item {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.required {
  display: inline-block;
  background-color: #887838;
  color: #fff;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  margin-left: 0.5rem;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 1rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  box-sizing: border-box;
  color: #383b4e;
}

.wpcf7-form-control.wpcf7-textarea {
  resize: vertical;
  min-height: 15rem;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: #383b4e;
  outline: none;
  box-shadow: 0 0 4px rgba(22, 37, 80, 0.5);
  background-color: #fafafa;
  transition: all 0.25s ease-in-out;
}

/* 入力は見えなくする（クリックはラベルで受ける） */
.wpcf7-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

/* ボタン風の土台 */
.wpcf7-radio .wpcf7-list-item label {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border: 2px solid #383b4e;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease-in-out;
  color: #383b4e;
  font-size: 0.9rem;
}

/* ホバー（未選択時） */
.wpcf7-radio .wpcf7-list-item label:hover {
  background: #383b4e;
  color: #fff;
}

/* ✅ 選択済み */
.wpcf7-radio .wpcf7-list-item label:has(> input[type="radio"]:checked) {
  background: #383b4e;
  color: #fff;
  border-color: #383b4e;
}

/* ✅ 選択済み＋ホバーでさらに濃く */
.wpcf7-radio .wpcf7-list-item label:has(> input[type="radio"]:checked):hover {
  background: #2d303f;
  border-color: #383b4e;
}

.reserve-section {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 3rem;
  padding: 3rem clamp(1.5rem, 3vw, 3rem);
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
}

.reserve-section .form-item {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.form-reception {
  margin-top: 2rem;
  font-size: 1rem;
}

.form-reception p {
  margin-top: 0.8rem;
}

/* 日付入力もテキストと統一感を出す */
.wpcf7-date,
.wpcf7-date:focus {
  width: 45%;
  padding: 1rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  color: #383b4e;
  background-color: #fff;
  box-sizing: border-box;
  transition: all 0.25s ease-in-out;
  appearance: none;
  cursor: pointer;
}

.wpcf7-date:focus {
  border-color: #383b4e;
  outline: none;
  box-shadow: 0 0 4px rgba(22, 37, 80, 0.5);
  background-color: #fafafa;
  transition: all 0.25s ease-in-out;
}

/* select（時間選択） */
#time1,
#time2 {
  width: 45%;
  padding: 1rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  box-sizing: border-box;
  background-color: #fff;
  color: #383b4e;
}

/* フォーカス時 */
#time1:focus,
#time2:focus {
  border-color: #383b4e;
  outline: none;
  box-shadow: 0 0 4px rgba(22, 37, 80, 0.5);
  background-color: #fafafa;
  transition: all 0.25s ease-in-out;
}

.wpcf7-submit {
  display: block;
  margin: 0 auto;
  padding: 1.2rem 4rem;
  border: none;
  border-radius: 5px;
  background-color: #383b4e;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.wpcf7-submit:hover {
  transform: scale(1.03); /* 少し拡大 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* 立体感 */
}

/* Page Navi */

.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem auto;
  width: auto;
  font-family: "din-2014", sans-serif;
  font-weight: 400;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
  display: inline-flex; /* inline-block ではなく flex に変更 */
  align-items: center; /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  min-width: 28px;
  padding: 4px 8px;
  height: 32px; /* 高さ固定 */
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid #383b4e;
  color: #383b4e;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* パディング込みで高さが安定 */
}

/* ホバー */
.wp-pagenavi a:hover {
  background-color: #383b4e;
  color: #fff;
  border-color: #383b4e;
}

/* 現在ページ */
.wp-pagenavi span.current {
  background-color: #383b4e;
  color: #fff;
  border-color: #383b4e;
  cursor: default;
}

/* 次へ・前へなどのリンクも同様に */
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.first,
.wp-pagenavi a.last {
  font-weight: bold;
}

/* Wide */

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

/* Normal */

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

/* Narrow */

@media screen and (max-width: 980px) {
  html {
    font-size: 14px;
  }

  #header nav ul li a,
  #header nav ul li.nav-contact a {
    padding: 0.6rem 0.3rem;
  }

  .btn-approach {
    font-size: 1.2rem;
  }

  .approach-list li {
    flex: 0 1 calc((100% / 2) - (1.5rem / 2));
  }
}

/* Narrower */

#navPanel,
#navButton {
  display: none;
}

#header nav ul li.submenu {
  display: none;
}

#slider-inner h2 {
  display: none;
}

.dt-display-none {
  display: none;
}

@media screen and (max-width: 840px) {
  html {
    font-size: 13px;
  }

  /* Basic */

  .sp-display-none {
    display: none;
  }

  html,
  body {
    overflow-x: hidden;
  }

  #slider-inner .inner {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
  }

  #slider-inner h2 {
    background-image: url("images/logo-white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-indent: -9999px;
    display: block;
    width: clamp(150px, 15vw, 200px);
  height: clamp(105px, 10.5vw, 140px);
    margin: 0 auto 2rem auto;
  }

  .front-slider-message {
    position: static;
    transform: none;
    /* 必要なら解除 */
    top: auto;
    left: auto;
    text-align: center;
    transform: translateX(0.9rem);
  }

  /* Header */

  #nav {
    display: none;
  }

  #header {
    background-image: none;
    box-shadow: none;
  }

  #header.alt h1 {
    display: none;
  }

  #header h1 {
    margin-top: 0.25rem;
  }

  #header h1 a {
    background-image: url("images/logo-kon.svg");
    background-repeat: no-repeat;
    text-indent: -9999px;
    background-position: center;
    display: block;
    width: clamp(60px, 10vw, 120px);
    height: clamp(40px, 7vw, 84px);
  }

  /* Nav */

  #page-wrapper {
    backface-visibility: hidden;
    transition: transform 0.3s ease-in-out;
    padding-bottom: 1px;
  }

  #navButton {
    position: fixed;
    backface-visibility: hidden;
    transition: transform 0.3s ease-in-out;
    display: block;
    width: 50px;
    height: 50px;
    right: 10px;
    top: 10px;
    z-index: 1002;
  }

  #navButton .toggle {
    text-decoration: none;
    height: 50px;
    left: 0;
    position: relative;
    text-align: center;
    top: 0;
    width: 100%;
    border: 0;
    outline: 0;
  }

  #navButton .toggle::before {
  content: "";
  position: absolute;
  top: -20px;   /* 上下左右に余白を広げる */
  left: -20px;
  right: -20px;
  bottom: -20px;
}

  #navButton .toggle span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 1px;
    background-color: #162550;
    width: 45%;
  }

  #navButton .toggle span:nth-of-type(1) {
    top: 15px;
  }

  #navButton .toggle span:nth-of-type(2) {
    top: 23px;
  }

  #navButton .toggle span:nth-of-type(3) {
    top: 31px;
  }

  body.navPanel-visible #navButton .toggle span {
    background-color: #fff;
  }

  body.navPanel-visible #navButton .toggle span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 40%;
  }

  body.navPanel-visible #navButton .toggle span:nth-of-type(2) {
    opacity: 0;
  }

  body.navPanel-visible #navButton .toggle span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 40%;
  }

  /* Panel */

  #navPanel {
    backface-visibility: hidden;
    transform: translateX(-100%); /* 画面外へ完全退避 */
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    display: block;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    position: fixed;
    z-index: 1001;
    background-image: url("images/kon-pattern.webp");
    background-repeat: repeat;
    padding: 6vh 5vw;
    pointer-events: none; /* 閉じている時はクリック無効 */
  }

  body.navPanel-visible #navPanel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto; /* 開いた時だけクリック有効 */
  }

  .panel-wrapper {
    width: 100%;
    height: 100%;
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 2rem;
    gap: 3vh;
  }

  .panel-logo-zone {
    display: flex;
    align-items: center;
    gap: 5vw;
  }

  .panel-white-logo {
    flex: 2;
  }

  .panel-cta-zone {
    flex: 3;
  }

  .panel-midashi {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-family: "trajan-pro-3", serif;
    color: #fff;
    font-weight: 300;
    line-height: 1.25;
    white-space: nowrap;
    margin-bottom: 1rem;
    width: 100%;
  }

  .panel-line {
    margin-left: 0.3rem;
    width: 100%;
    height: 1px;
    background-color: #fff;
  }

  .panel-cta-link {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    width: 100%;
  }

  .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 10px;
    color: #fff;
    width: 100%;
    border: 1px solid #fff;
  }

  .map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4rem 1rem;
    font-size: 1.25rem;
    border-radius: 10px;
    color: #fff;
    width: 40%;
    border: 1px solid #fff;
    margin: 0 auto;
  }

  .panel-gicon {
    font-size: 2rem;
    font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
  }

  .panel-map-link {
    text-align: center;
  }

  .panel-menu-col {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .panel-menu-col ul {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .panel-menu-col li {
    position: relative;
    width: 100%;
  }

  .panel-menu-col li::after {
    content: attr(data-en);
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: "trajan-pro-3", serif;
    font-weight: 300;
    color: #fff;
    font-size: 0.7rem;
  }

  .panel-menu-col a {
    display: block;
    width: 100%;
    padding: 0.5rem 0 1rem;
    color: #fff;
    font-size: 1rem;
    border: none;
  }

  /* #main以下 */

  .front-top-image {
    max-width: 85%;
    margin: 0 auto 3rem auto;
  }

  .feature-zone-bg {
    background-position: 50% 50%;
  }

  .features-midashi-flex img {
    width: (2rem, 7.8vw, 5rem);
  }

  h3.feature-midashi {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
  }

  .taiken-img-zone {
    display: none;
  }

  .front-message-midashi h3 {
    font-size: clamp(1.4rem, 3.5vw, 2.3rem);
    margin-left: 0;
  }

  .front-message-midashi p {
    margin: 3rem 0 0 0.2rem;
  }

  .mukayu-match-li {
    padding: 3rem 0;
  }

  h3.licence {
    font-size: 1.75rem;
    margin: 4rem 0 2rem 0;
  }

  .front-message-copy {
    font-size: 2rem;
  }

  .column {
    font-size: 1.25rem;
  }

  .menulist-gicon {
    font-size: 4rem;
  }

  .column-2 {
    margin-top: 2rem;
  }

  .column-2-en {
    padding: 30px 0 18px 17px;
  }

  .column-2-en span {
    font-size: 1.5rem;
  }

  .column-2-en::before {
    font-size: 1rem;
  }

  .logo-info-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contents-image {
    max-width: 75%;
    margin: 0 auto 2rem;
  }

  .mukayu-logo-img{
    max-width: 50%;
    margin: 1rem auto;
  }

  .features-zone-left {
    padding-right: 0;
  }

  .features-zone-right {
    padding-left: 0;
  }

  .two-column li {
    width: 100%;
  }
}

/* Mobile */

@media screen and (max-width: 736px) {
  html {
    font-size: 13px;
  }

  header.special h2 {
    font-size: clamp(1.5rem, 4.7vw, 1.8rem);
  }

  table.info-table td {
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
  }

  .column-2-en {
    padding: 15px 0 13px 17px;
  }

  .news-date {
    font-size: 1.2rem;
  }

  .news-text {
    font-size: 1.5rem;
  }

  .news-summary p {
    font-size: 1.2rem;
  }

  .news-more {
    font-size: 1.2rem;
  }

  .blog-thumb {
    width: 90px;
    height: 90px;
  }

  .blog-date {
    font-size: 1.2rem;
  }

  .blog-category {
    font-size: 1rem;
  }

  .blog-title {
    font-size: 1.3rem;
  }

  .blog-summary {
    font-size: 1.2rem;
  }

  .footer-info {
    font-size: 1rem;
  }

  .footer-cta p {
    font-size: 1.2rem;
  }

  .sub-page-en-bg {
    bottom: 0%;
    font-size: clamp(3rem, 15vw, 15rem);
  }

  .generic-top-content {
    flex-direction: column;
    align-items: center;
  }

  .payment-table {
    max-width: 95%;
  }

  .voice-top-img1 {
    width: 16%;
    left: 17%;
  }

  .voice-top-img2 {
    width: 17%;
    left: 10%;
  }

  .voice-top-img3 {
    width: 16%;
    right: 17%;
  }

  .voice-top-img4 {
    width: 17%;
    right: 10%;
  }

  .copyright li {
    border: 0;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
	
body {
	font-size: 1.25rem;
}

  iframe.google-map {
    height: 400px;
  }

  .sub-page-header {
    height: 65vh;
  }

  .midashi {
    font-size: 1.8rem;
    padding-top: 0.28rem;
    padding-left: 2.9rem;
    background-size: 2.65rem 2.65rem;
  }

  .midashi::before {
    font-size: 0.6rem;
    padding-left: 3.1rem;
  }

  .midashi-3 {
    font-size: 1.8rem;
  }

  .midashi-3::after {
  font-size: 1.3rem;
}

  .blog-post-inner h3 {
  font-size: 1.8rem;
  padding: 0.8rem 0 0.3rem 3rem;
  background-size: 2.7rem 2.7rem;
}

.blog-post-inner h3::before {
  font-size: 0.7rem;
  top: 0.2rem;
  padding-left: 3.2rem;
}

.blog-meta {
  flex-direction: column; /* 縦並び */
    align-items: flex-start; /* 左揃えにして自然に */
}

  .two-buttons {
    flex-direction: column;
  }

  .two-buttons a {
    width: 100%;
    max-width: 240px;
  }

  #page-top a {
    gap: 0.2rem;
    width: 45px;
    height: 45px;
  }

  .page-top-gicon {
    font-size: 2rem;
  }

  .page-top-text {
    font-size: 0.6rem;
  }

  #page-top {
    right: 10px;
  }
}
