/* ========================================
   CSS変数
   ======================================== */
:root {
  --wave-color-1: #4c678d;
  --wave-color-2: #b0c4de;
  --wave-color-3: #92a8d1;
  --wave-color-4: #e3e6eb;
  --wave-color-5: #8c8c8c;
}

/* ========================================
   リセット・ベース
   ======================================== */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  opacity: 0;
  transition: opacity 1s ease;
  overflow-x: clip;
  letter-spacing: 0.02em;
}

body.loaded {
  opacity: 1;
}

.cf {
  zoom: 1; /*for IE 5.5-7*/
}
.cf:after {
  /*for modern browser*/
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

/*iosスタイルリセット*/
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none !important;
  }
}

/* ========================================
   ユーティリティ
   ======================================== */
.serif {
  font-family: "Noto Serif JP", serif;
}

.wmi {
  writing-mode: initial;
}

.fcw {
  color: #fff;
}

.tate {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

/* ========================================
   レイアウト
   ======================================== */
section {
  position: relative;
}

.wrap {
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto;
  position: relative;
}

/* ========================================
   タイポグラフィ・見出し
   ======================================== */
.hl {
  position: relative;
  z-index: 1;
}
.hl span img {
  width: 30px;
  margin: 0 auto 20px;
}
.hl h2, .hl h1 {
  margin: min(-10vw, -60px) auto min(12vw, 100px);
  font-size: min(5vw, 30px);
  padding: 20px;
  letter-spacing: 0.5rem;
  font-weight: 600;
  position: relative;
  font-family: "Noto Serif JP", serif;
}
/*fv下見だし*/
.hl.v02 h2 {
  margin: min(-6vw, -60px) auto min(10vw, 70px);
}
.hl h2::before,
.hl h2::after {
  position: absolute;
  content: "";
  background: #000;
  width: 4px;
  height: 100%;
  top: 0;
}
.hl h2::before {
  right: 0;
}
.hl h2::after {
  left: 0;
}

.hl h1::before,
.hl h1::after {
  position: absolute;
  content: "";
  background: #000;
  width: 4px;
  height: 100%;
  top: 0;
}
.hl h1::before {
  right: 0;
}
.hl h1::after {
  left: 0;
}

.home h3 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 auto;
  padding: 30px 20px 20px 20px;
  letter-spacing: 0.5rem;
  background: #fff;
}

h1.under {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 auto;
  padding: 30px 20px 20px 20px;
  letter-spacing: 0.5rem;
  background: #fff;
}
h1.under.bgnone{
  background: none;
}
.home h3.h301 {
  font-size: min(5vw, 36px);
  line-height: 1.8;
  writing-mode: initial;
  text-align: center;
  color: #4c678d;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.text01 {
  text-align: left;
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
  line-height: 2.2;
  font-size: min(3.6vw, 18px);
}

/* ========================================
   フェードイン・アニメーション
   ======================================== */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}
.fadein.visible.td05 {
  transition-delay: 0.5s;
}
.fadein.visible.td10 {
  transition-delay: 1s;
}
.fadein.visible.td15 {
  transition-delay: 1.5s;
}

/* ========================================
   ヘッダー・ナビゲーション
   ======================================== */
.logo_fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}

.logo_fixed.visible02 {
  opacity: 1;
  transform: translateX(0);
  z-index: 1000;
}

.logo_fixed a {
  display: inline-block;
}
.logo_fixed p {
  width: min(16vw, 100px);
  height: min(16vw, 100px);
  background: #fff;
  border-radius: 0 0 100% 0;
  padding: min(4vw, 30px) 0 0 min(2vw, 15px);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.logo_fixed p img {
  width: 66%;
}

header div.hlogo {
  width: min(10vw, 80px);
  margin: min(12vw, 100px) auto;
}

/*円形ハンバーガーメニュー*/
.hamburger-morph {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #fff;
  background: #4c678d;
  cursor: pointer;
  border-radius: 100%;
}

.hamburger-morph__icon {
  width: 85%;
  height: 100%;
  margin: 0 auto;
}

.hamburger-morph__line {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  transition:
    stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.nav-morph {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(76, 103, 141, 0.98);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

.nav-morph.active {
  clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.nav-morph.active .nav-morph__item:nth-child(1) {
  transition-delay: 0.3s;
}
.nav-morph.active .nav-morph__item:nth-child(2) {
  transition-delay: 0.4s;
}
.nav-morph.active .nav-morph__item:nth-child(3) {
  transition-delay: 0.5s;
}
.nav-morph.active .nav-morph__item:nth-child(4) {
  transition-delay: 0.6s;
}
.nav-morph__list li {
  text-align: center;
  outline: 1px solid #fff;
  width: 55vw;
  max-width: 420px;
}
.nav-morph__list li:first-child,
.nav-morph__list li:first-child a {
  border-radius: 30px 30px 0 0;
}
.nav-morph__list li:last-child,
.nav-morph__list li:last-child a {
  border-radius: 0 0 30px 30px;
}
.nav-morph__list li a {
  position: relative;
  display: inline-block;
  padding: min(4vw, 30px) min(10vw, 60px);
  font-size: min(3.6vw, 26px);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
  width: 100%;
}
.nav-morph__list li:hover a {
  background: #fff;
  color: #4c678d;
}

/* ========================================
   ボタン
   ======================================== */
.btn_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn_wrap a::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: #4c678d;
  transition: transform 0.3s ease;
  right: min(5vw, 35px);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.btn_wrap p {
  max-width: 300px;
  width: 100%;
  position: relative;
}

/* ホバー時 */
.btn_wrap a:hover {
  background: #4c678d;
  color: #ffffff;
}

.btn_wrap a:hover::after {
  right: min(4vw, 24px);
  background: #fff;
}

.btn_wrap p:hover::after,
.btn_wrap p input:hover ~ span::after {
  transform: translateY(-50%) translateX(5px);
}

.btn_wrap.small {
  justify-content: flex-start;
}
.btn_wrap.small a {
  max-width: 180px;
  max-height: 60px;
  font-size: min(3.2vw, 14px);
}
.btn_wrap.small a::after {
  width: 12px;
  height: 12px;
  right: min(4vw, 24px);
}
.btn_wrap.small a:hover::after {
  right: min(3vw, 20px);
}

.btn_wrap.wh a {
  border: 2px solid #4c678d;
}
.btn_wrap.wh.v02 a {
  border: 2px solid #333;
  color: #333;
}
.btn_wrap.wh.v02 a:hover {
  background: #eee;
}
.btn_wrap.v02 a::after {
  background: #333;
}
.btn_wrap.v02 a:hover::after {
  background: #333;
}

.btn_wrap .wpcf7-spinner {
  display: none;
}

/*問合せ送信ボタン*/
.btn_wrap input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn_wrap input:hover {
  background: #4c678d;
  color: #ffffff;
}

/* ========================================
   ポップアップカード
   ======================================== */
#akisapo-link {
  position: absolute;
  inset: 0; /* top right bottom left = 0 */
  display: block;
  z-index: 1;
}

.popup-card {
  width: 250px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 100;
  text-align: center;
  box-sizing: border-box;
  border: 3px solid #b0c4de; /* 外側の薄い青枠 */
  transition: all 0.3s;
  will-change: transform;
}

.popup-card:hover {
  transform: scale(1.02) translateZ(0);
  backface-visibility: hidden;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  pointer-events: auto;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
}

.close-btn::before {
  transform: rotate(45deg);
}
.close-btn::after {
  transform: rotate(-45deg);
}

.logo-container {
  margin-bottom: 16px;
}

.akisapo-logo {
  width: 136px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(-2px);
}

.text-content {
  font-size: min(2.5vw, 14px);
  line-height: 1.5;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0;
}

/* ========================================
   波・ブロック（各ブロック色制御）
   ======================================== */
.wave_block {
  width: 100%;
  position: relative;
  clip-path: inset(0 100% 0 0); /* 初期状態：右を隠す */
  transition: clip-path 1s ease-out; /* スムーズなアニメーション */
}

.wave-top,
.wave-bottom {
  margin: 0;
  padding: 0;
}

.block {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--wave-color-1);
  text-align: center;
}

.wave-top {
  margin-bottom: -1px;
  fill: var(--wave-color-1);
}
.wave-bottom {
  fill: var(--wave-color-1);
}

.v02 .block {
  background-color: var(--wave-color-2);
}
.v02 .wave-top,
.v02 .wave-bottom {
  fill: var(--wave-color-2);
}

.v03 .block {
  background-color: var(--wave-color-3);
}
.v03 .wave-top,
.v03 .wave-bottom {
  fill: var(--wave-color-3);
}

.v04 .block {
  background-color: var(--wave-color-4);
}
.v04 .wave-top,
.v04 .wave-bottom {
  fill: var(--wave-color-4);
}

.v05 .block {
  background-color: var(--wave-color-5);
}
.v05 .wave-top,
.v05 .wave-bottom {
  fill: var(--wave-color-5);
}

/* スクロールで表示されるように */
.visible {
  clip-path: inset(0 0 0 0); /* スクロール後に左から右に広がる */
}
li.visible {
  clip-path: none;
}

/* ========================================
   #sec01（FV）
   ======================================== */
#sec01 {
  position: relative;
  width: 100%;
  height: 60vw;
  display: grid;
  place-items: center;
}
#sec01 .bg_slider {
  position: absolute;
  width: 100%;
}
#sec01 .bg_slider img {
  width: 100%;
  height: 60vw;
  object-fit: cover;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1); /* 拡大率 */
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}

#sec01 h2 {
  margin: -160px 0 0 0;
  font-size: min(5vw, 32px);
  letter-spacing: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#sec01 h2 span {
  font-size: min(4vw, 26px);
}
#sec01 .filter01 {
  position: absolute;
  top: 0;
  width: 100%;
}
#sec01 .filter02 {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* ========================================
   #sec02
   ======================================== */
#sec02 .text01 p {
  font-size: min(4vw, 28px);
  font-weight: 500;
  text-align: center;
}
#sec02 .block {
  padding: min(10vw, 80px) 0 min(10vw, 100px) 0;
}

/* ========================================
   #sec03
   ======================================== */
#sec03 .text01 {
  padding: min(10vw, 80px) 30px min(10vw, 100px);
}

/* ========================================
   #sec04
   ======================================== */
#sec04 .box01 {
  background: #fff;
  border-radius: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: min(40px, 7vw) min(64px, 5vw);
}
#sec04 .box01 h4 {
  font-weight: normal;
  font-size: min(4.5vw,20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #e3e6eb;
  padding: 0 0 20px 0;
  margin: 0 0 30px 0;
  gap: 10px;
}
#sec04 .box01 h4 img {
  width: 130px;
}
#sec04 .box01 p {
  text-align: left;
  line-height: 2;
  margin: 0 0 40px 0;
  font-size: min(3.6vw, 18px);
}
#sec04 .box01 a span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
#sec04 .box01 a img {
  width: 100px;
}

#sec04 .second {
  margin: calc((248 / 1807) * -100%) 0 0 0;
}
#sec04 .img01 {
  background: #e9edf1;
  position: relative;
  z-index: -1;
  padding: calc((248 / 1807) * 100%) 0;
  margin: calc((248 / 1807) * -150%) 0 0 0;
}
#sec04 .img01 .wrap {
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
  position: relative;
}
#sec04 .img01 p {
  margin: 0 0 calc((248 / 1807) * -90%) -300px;
  max-width: 1200px;
}
#sec04 .v03.second {
  margin: -400px 0 0 0;
}
#sec04 .text01 {
  padding: min(10vw, 80px) 30px min(10vw, 100px);
}
#sec04 .text02 {
  position: absolute;
  right: 0;
  width: 440px;
  line-height: 2;
  font-size: min(3.6vw, 16px);
}
#sec04 .text02 span {
  display: block;
  font-weight: 700;
  font-size: min(4.5vw, 22px);
  margin: 0 0 20px 0;
}
#sec04 table {
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
}
#sec04 table th {
  width: 30%;
  font-weight: 500;
}

#message {
  padding: 0 0 100px 0;
}

/* ========================================
   #sec05
   ======================================== */
#sec05 {
  padding: 0 0 100px 0;
}

/* ========================================
   #sec06
   ======================================== */
#sec06 .hl h2::before,
#sec06 .hl h2::after {
  background: #fff;
}
#sec06 .hl {
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
}
#sec06 .hl h2 {
  color: #fff;
}
#sec06.under .hl {
  top: 0;
}
#sec06.under .block {
  padding: 0 0 75px 0;
}
#sec06.under a {
  border: 2px solid #fff;
  padding: 65px 20px 24px 20px;
  border-radius: 100px;
  color: #fff;
  position: relative;
  font-size: min(5vw, 30px);
  letter-spacing: 0.5rem;
  transition: all 0.3s;
}
#sec06.under a::before {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  background: url(../img/icon_mail.png) center center no-repeat;
  background-size: contain;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: all 0.3s;
}
#sec06.under a:hover {
  background: #fff;
  color: #8c8c8c;
}
#sec06.under a:hover::before {
  background: url(../img/icon_mail_on.png) center center no-repeat;
  background-size: contain;
}
#sec06 .block {
  padding: 20px 0 100px 0;
}
#sec06.under {
  margin: calc((248 / 1807) * -146%) 0 0 0;
}

#sec06 .btn_wrap input {
  width: 100%;
}
#sec06 .btn_wrap::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: #4c678d;
  transition: transform 0.3s ease;
  right: min(5vw, 35px);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}
#sec06 .btn_wrap:hover::after {
  right: min(4vw, 24px);
  background: #fff;
}
#sec06 .btn_wrap:hover input {
  background: #4c678d;
  color: #ffffff;
}

#sec06 .btn_wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

#sec06 table {
  max-width: 600px;
  padding: 0 30px;
  margin: 0 auto min(5vw, 40px);
  width: 100%;
}
#sec06 table th,
#sec06 table td {
  width: 100%;
  display: block;
}
#sec06 table th {
  text-align: left;
  color: #fff;
  padding: 0 0 0 20px;
  margin: 0 0 10px 0;
}
#sec06 table th span.req {
  margin: 0 0 0 10px;
}
#sec06 table td {
  margin: 10px 0 30px 0;
  width: 100%;
}
.privacy-check {
  margin: 0 0 min(5vw, 40px) 0;
  display: flex;
  justify-content: center;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: min(3.2vw, 16px);
  line-height: 1.5;
  gap: 10px;
}

.privacy-checkbox {
  display: none;
}

.checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #4c678d;
  border-radius: 4px;
  background: #fff;
  position: relative;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #4c678d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.privacy-checkbox:checked + .checkmark::after {
  opacity: 1;
}

.privacy-text a {
  color: #1d1d1d;
  text-decoration: underline;
}

.privacy-text a:hover {
  text-decoration: none;
}
/* ========================================
   #w-t（タイムライン・ステップ）
   ======================================== */
#w-t {
  position: relative;
  margin: 120px auto;
  overflow-x: clip;
}
#w-t .wrap {
  max-width: 900px;
  margin: 0 auto;
}
#w-t h4 {
  font-size: min(4.5vw, 26px);
  font-weight: normal;
  margin: 0 0 1.4rem 0;
}
#w-t .img {
  position: absolute;
}
#w-t .img.v01 {
  top: 60px;
  right: -200px;
  opacity: 0.2;
  width: 406px;
}
#w-t .img.v02 {
  top: -60px;
  left: -40vw;
  width: 702px;
  transform-origin: center center; /* 中心軸 */
  animation: rotateLoop 30s linear infinite;
}
#w-t .img.v03 {
  left: -360px;
  bottom: 490px;
  width: 663px;
  opacity: 0.45;
}
#w-t .img.v04 {
  right: -10vw;
  bottom: -100px;
  width: 484px;
  transform-origin: center center; /* 中心軸 */
  animation: rotateLoop 26s linear infinite;
  animation-direction: reverse;
}

@keyframes rotateLoop {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#w-t li {
  position: relative;
  padding: 4px 0 12% 8%;
  margin: 0 0 0 2%;
}
#w-t li span {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #eeeeee;
  border-radius: 36px;
}
#w-t li:nth-child(2) span {
  background: #d9d9d9;
}
#w-t li:nth-child(3) span {
  background: #b0c4de;
}
#w-t li:nth-child(4) span {
  background: #4c678d;
  overflow: visible;
}
#w-t li .nth4 {
  position: absolute;
  width: 56px;
  height: 59px;
  left: -10px;
  top: -12px;
  background: url(../img/cl03.svg) center center no-repeat;
  background-size: contain;
  animation: rotateLoop 26s linear infinite;
}

#w-t li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 32px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #eeeeee 0%, #d9d9d9 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s ease;
}
#w-t li.visible::after {
  transform: scaleY(1);
  transition-delay: 1.5s;
}
#w-t li:nth-child(2):after {
  background: linear-gradient(to bottom, #d9d9d9 0%, #b0c4de 100%);
}
#w-t li:nth-child(3):after {
  background: linear-gradient(to bottom, #b0c4de 0%, #4c678d 100%);
}
#w-t li:last-child:after {
  content: none;
}

#w-t li p {
  padding: 40px 60px;
  border-radius: 20px;
  line-height: 2;
  font-size: min(3.6vw, 18px);
}

#w-t li:nth-child(4) p {
  background: #4c678d;
  color: #fff;
}

/* ========================================
   マーキー
   ======================================== */
.marquee-container {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow-x: clip;
}
.marquee-container.s02 {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow-x: clip;
}
.marquee-container.s01 {
  margin: min(10vw, 100px) 0 0 0;
}
.marquee-container.s01::before {
  position: absolute;
  top: -3vw;
  content: "";
  width: 100vw;
  height: 5vw;
  background: url(../img/bg-wave01.svg) center bottom no-repeat;
  background-size: cover;
  z-index: 1;
}
.marquee-container.s01::after {
  position: absolute;
  bottom: -3vw;
  content: "";
  width: 100vw;
  height: 5vw;
  background: url(../img/bg-wave02.svg) center top no-repeat;
  background-size: cover;
  z-index: 1;
}
.marquee-container.s02::before {
  left: 0;
  position: absolute;
  top: -3vw;
  content: "";
  width: 100vw;
  height: 5vw;
  background: url(../img/bg-wave04.svg) center bottom no-repeat;
  background-size: cover;
  z-index: 1;
}
.marquee-container.s02::after {
  left: 0;
  position: absolute;
  bottom: -2.8vw;
  content: "";
  width: 100vw;
  height: 5vw;
  background: url(../img/bg-wave05.svg) center top no-repeat;
  background-size: cover;
  z-index: 1;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: loop-it 30s linear infinite;
}
.s02 .marquee-inner {
  animation: loop-it02 30s linear infinite;
}

.marquee-item {
  height: min(33vw, 300px);
  width: auto;
  flex-shrink: 0;
}

.marquee-item img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes loop-it {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes loop-it02 {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ========================================
   #cta
   ======================================== */
#cta {
  position: relative;
  background: #4c678d;
  padding: min(100px, 12vw) 0 0 0;
  text-align: center;
}
#cta::before {
  left: 0;
  position: absolute;
  top: -1vw;
  content: "";
  width: 100vw;
  height: 5vw;
  background: url(../img/bg-wave03.svg) center bottom no-repeat;
  background-size: cover;
  z-index: 1;
}
#cta h2 {
  color: #fff;
  font-size: min(5vw,36px);
  font-weight: 100;
}
#cta p {
  color: #fff;
  font-size: min(3.6vw, 20px);
  margin: 30px 0;
  line-height: 1.5;
}
.cta-btn {
  border-radius: 20px;
}
#cta ul {
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto min(70px, 7vw);
  display: flex;
  justify-content: space-between;
}
#cta ul li {
  width: 31%;
}
#cta ul li a {
  width: 100%;
  display: flex;
  gap: min(1vw, 5px);
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  height: min(85px, 14vw);
  color: #fff;
  font-size: min(3vw,20px);
  transition: all 0.3s;
}
#cta ul li a:hover {
  transform: scale(1.03);
}

#cta ul li a span.tel {
  display: block;
  font-size: min(3vw, 26px);
}

#cta ul li a span img {
  width: min(20px, 2.5vw);
  display: inline-flex;
  margin: 0 4px 0 0;
  transform: translateY(-2px);
}
#cta ul li a small {
  display: block;
  font-size: min(2.5vw, 16px);
}
#cta li:first-child.cta-btn a {
  background: #d98c8c;
  flex-direction: column;
}
#cta li:nth-child(2).cta-btn a {
  background: #6f88a8;
}
#cta li:nth-child(3).cta-btn a {
  background: #5fbfa0;
}

@keyframes cta-breath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

/* ========================================
   #jigyou（事業紹介）
   ======================================== */
#jigyou {
  background: #b0c4de;
  padding: min(300px, 20vw) 0 0 0;
  overflow-x: clip;
}
#jigyou h2 {
  color: #000;
}
#jigyou .sub {
  text-align: center;
  margin: 0 0 min(100px, 10vw) 0;
  font-size: min(3.6vw, 20px);
  line-height: 1.5;
}
#jigyou .wave-bottom {
  background: #fff;
  fill: #b0c4de;
  margin: min(100px, 6vw) 0 0 0;
}

.flex {
  display: flex;
  justify-content: space-between;
  gap: min(10vw, 60px);
  margin: min(10vw, 60px) 0 0 0;
}

.card {
  color: #fff;
  border-radius: 20px;
}
.flex .card {
  width: 100%;
}
.card h3 {
  font-size: min(5vw, 40px);
  font-weight: normal;
  writing-mode: initial;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  background: none;
  line-height: 1.4;
}
.card p {
  margin: min(40px, 5vw) 0;
  font-size: min(3.6vw,18px);
  line-height: 1.7;
  font-weight: 100;
}

.akiya {
  background: url(../img/g01.png) no-repeat center center;
  background-size: cover;
}
.house {
  background: url(../img/g02.png) no-repeat center center;
  background-size: cover;
}
.memento {
  background: url(../img/g03.png) no-repeat center center;
  background-size: cover;
}

.inner {
  padding: 120px 180px;
}
.flex .inner {
  padding: 70px;
}

.tag {
  font-size: min(3vw, 18px);
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 14px;
  margin-bottom: 15px;
}

.lg {
  font-size: 2.8rem;
  letter-spacing: 0.1em;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 10px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
}

.home #sec_blog{
  margin: calc((248 / 1807) * -144%) 0 0 0;
}
.home #sec_blog .wave-top{
  margin: 0 0  calc((248 / 1807) * 71%) 0;
}

/* ========================================
   footer
   ======================================== */
footer {
  display: grid;
  place-content: center;
  margin: 0 0 40px 0;
}
footer small {
  font-size: 14px;
}

/* ========================================
   フォーム
   ======================================== */
input {
  border-radius: 40px;
  padding: 20px 30px;
  border: none;
  width: 100%;
}

textarea {
  border-radius: 30px;
  padding: 20px 30px;
  border: none;
  width: 100%;
}

/*アラート非表示*/
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}
.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}
.wpcf7-not-valid-tip {
  margin: 10px 0 0 0;
  background: rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  display: inline-block !important;
}

/* ========================================
   ニュース（共通・一覧）
   ======================================== */
.news-block {
  display: flex;
  max-width: 960px;
  padding: 0 30px;
  margin: 0 auto 30px;
  justify-content: space-between;
}
.news-item {
  display: flex;
  margin: 0 0 30px 0;
  justify-content: space-between;
  line-height: 1.8;
}
.news-date {
  font-weight: bold;
  margin: 0 20px 0 0;
}
.news-category {
  padding: 2px 8px;
  border-radius: 4px;
}
.news-category a {
  border: 1px solid #000;
  text-align: center;
  padding: 2px 12px;
}
.news-title {
  text-decoration: none;
  color: #333;
  width: 65%;
  line-height: 1.8;
}
.news-title a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .news-meta {
    display: flex;
    gap: 10px;
  }
}

/* ========================================
   ブログ一覧・詳細
   ======================================== */
.blog_cont .wrap {
  max-width: 900px;
  padding: 0 30px;
  margin: 0 auto;
  padding: 0 0 120px 0;
}
.blog_cont ul.cont {
  margin: 80px 0 0 0;
  padding: 0 0 80px 0;
}
.blog_cont ul.cont li {
  width: 31%;
  line-height: 1.7;
  background: #fff;
  border-radius: 40px;
  float: left;
  margin: 0 3.5% 50px 0;
}
.blog_cont ul.cont li:nth-child(3n) {
  margin: 0 0 50px 0;
}
.blog_cont ul.cont li img {
  border-radius: 40px 40px 0 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.blog_cont ul.cont li .text01 {
  line-height: 1.6;
  font-size: min(3.6vw, 16px);
  margin: 20px 0;
}
.blog_cont ul.cont li .box01 {
  display: flex;
  padding: 0 30px 30px 30px;
  font-size: 13px;
  justify-content: space-between;
}

ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 15px;
}
ul.page-numbers li a {
  color: #fff;
}
.news_cont ul.page-numbers li a {
  color: #000;
}
ul.page-numbers li span.current {
  background: #fff;
  padding: 5px 13px;
  border-radius: 24px;
}

/*ブログ詳細*/
.blog_cont .single_box {
  background: #fff;
  border-radius: 40px;
  margin: min(10vw, 100px) auto;
  padding: min(10vw, 80px) min(7vw, 80px) min(7vw, 80px);
}
.blog_cont .single_box h1 {
  text-align: left;
  font-size: min(4.5vw, 24px);
  line-height: 1.6;
}
.blog_cont .single_box .box01 {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}
.blog_cont .single_box .img img {
  border-radius: 30px;
  margin: 0 0 40px 0;
}
.blog_cont .single_box .text {
  text-align: left;
  line-height: 1.8;
}
.blog_cont .single_box h2 {
  font-size: min(4.2vw, 22px);
  margin: 20px 0;
}
.blog_cont .single_box h3 {
  font-size: min(4vw, 20px);
  writing-mode: unset;
  padding: 0;
  letter-spacing: normal;
  margin: 20px 0;
}
.blog_cont .single_box h4 {
  font-size: min(3.6vw, 18px);
  writing-mode: unset;
  padding: 0;
  letter-spacing: normal;
  margin: 20px 0;
}
.blog_cont .single_box p,
.blog_cont .single_box img {
  display: block;
  margin: 20px auto;
}

.list-frame {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.list-frame .list {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.list-frame a {
  background: #fff;
  border-radius: 30px;
  padding: 10px min(4vw, 26px);
  font-size: min(2.7vw, 14px);
}

/* ========================================
   お知らせ一覧
   ======================================== */
.news_cont .wrap {
  max-width: 900px;
  padding: 0 30px calc((360 / 1807) * 100%);
  margin: 0 auto;
}
.news_cont li > a {
  float: left;
}
.news_cont ul.cont {
  margin: 80px 0 0 0;
  padding: 0 0 80px 0;
  width: 100%;
}
.news_cont ul.cont li {
  line-height: 1.7;
  background: #fff;
  border-radius: 20px;
  margin: 0 0 30px 0;
  width: 100%;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 30px 20px 20px;
  gap: 30px;
}
.news_cont ul.cont li .img {
  width: 120px;
  height: 120px;
  float: left;
}
.news_cont ul.cont li img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.news_cont ul.cont li .box00 {
  width: calc(100% - 160px);
  float: right;
}
.news_cont ul.cont li .text01 {
  line-height: 1.6;
  font-size: min(3.6vw, 16px);
  margin: 20px 0;
  padding: 0;
}
.news_cont ul.cont li .box01 {
  display: flex;
  padding: 0;
  font-size: 13px;
  justify-content: space-between;
}

/* ========================================
   プライバシーポリシー
   ======================================== */
#privacy .wrap {
  max-width: 900px;
  padding: 0 30px;
  margin: 0 auto;
  padding: 120px 0;
  text-align: left;
}

#privacy .wrap p {
  line-height: 1.8;
  margin-bottom: 1.5em;
  font-size: 16px;
}

#privacy .wrap h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 3em 0 1em 0;
  padding-bottom: 0.5em;
  color: #4c678d;
}

#privacy .wrap ul {
  margin: 1em 0 1.5em 0;
  padding-left: 1.5em;
}

#privacy .wrap ul li {
  line-height: 1.8;
  margin-bottom: 0.5em;
  font-size: 16px;
}

/* ========================================
   thanksページ
   ======================================== */
.text_thanks {
  margin: 0 auto min(7vw, 60px);
}
