@charset "utf-8";
/* Google Fontsの正しいインポート */
@import url('https://fonts.googleapis.com/css2?family=Belanosima:wght@400;600;700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #fff;
  --color-gray: #ccc;
  --color-gray-light: #f5f5f5;
  --color-gray-darken: #535353;
  --color-theme-rgb: 33, 118, 215; /* #2bb8e9 のRGB値 */
  --color-theme: rgb(var(--color-theme-rgb));
  --color-theme-light: #50a1ff;
  --color-theme-dark: #1958a1;
  --color-theme-second: #0b318f;
  --color-accent: #cc0000;

  --color-red: #cc0000;
  --color-blue: #3296e6;
  --color-green: #00a89a;
  --color-green-dark: #007e73;
  --color-green-light: #8cd8d1;

  --color-orange: #f37a0c;
  --color-orange-light: #f99d46;
  --color-orange-dark: #944a07;
  --color-yellow: #fec601;
  --color-cream: #ffef8f;
  --color-cream-light: #fff2cb;

  --color-line: #06c755;
  --color-fb: #0866ff;
  --color-insta: #ff0069;
  --color-insta-light: #ff96c1;

  --font-base: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.08), -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, 0.08), -1rem -1rem 1.5rem #fff;
  --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05), inset -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-dark: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.1), -0.8rem -0.8rem 1.2rem rgba(#fff, 0.2);
  --header-height: 232px;
  --h-cta-size: 4.4rem;
  --h-lang-h: 4rem;
  --h-contact-h: 5.6rem;
  --h-logo-width: 316px;
  --h-bay-size: 180px;
  --h-bay-bg: linear-gradient(180deg, #f6ede1 0%, #f4cfa8 100%);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: var(--font-base);
  min-height: 100%;
  height: 100%; /* 高さを100%に設定 */
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 62.5%;
  color: #000;
  background-color: #fff;
  /* overflow-y: auto; スクロールを強制 */
}
@media only screen and (max-width: 599px) {
  html {
    overflow-x: hidden;
    overflow-y: auto; /* スクロールを有効化 */
    height: auto; /* 高さを自動調整 */
    min-height: 100%; /* 最小高さを100%に設定 */
  }
  body {
    overflow-x: hidden;
    overflow-y: auto; /* スクロールを有効化 */
    width: 100%;
    height: auto; /* 高さを自動調整 */
    min-height: 100%; /* 最小高さを100%に設定 */
  }
}

/* Reset for all elements */
/* prettier-ignore */
div,span,object,iframe,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-style: normal;
}

a {
  color: var(--color-theme);
  text-decoration: none;
}

body.fixed {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* MARK:レスポンシブ表示制御 */
@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
}

/* スマホでは非表示（タブレット以上で表示）*/
@media only screen and (max-width: 599px) {
  .sp-hide {
    display: none !important;
  }
}

/* タブレットでは非表示（PC・スマホで表示）*/
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .tab-hide {
    display: none !important;
  }
}

/* PCでは非表示（モバイル・タブレットで表示）*/
@media only screen and (min-width: 1025px) {
  .pc-hide {
    display: none !important;
  }
}

/* スマホのみ表示 */
@media only screen and (min-width: 600px) {
  .smp {
    display: none !important;
  }
}

/* タブレット以下のみ表示 */
@media only screen and (min-width: 769px) {
  .tab {
    display: none !important;
  }
}

/* タブレットのみ表示 */
@media only screen and (max-width: 599px), only screen and (min-width: 1025px) {
  .tab-only {
    display: none !important;
  }
}

/* PCのみ表示 */
@media only screen and (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }
}

/* SPのみ改行など */
.sp-only {
  display: none;
}

@media only screen and (max-width: 599px) {
  .sp-only {
    display: inline;
  }
}

/* Form Elements */
input[type='text'],
input[type='tel'],
input[type='email'],
input[type='number'],
textarea,
select {
  border-radius: 3px;
  border: solid 1px #bfbfbf;
  background-color: #f5f5f5;
  padding: 0.5rem;
  box-sizing: border-box;
  margin: 5px 0;
}

select {
  min-height: 40px;
}

@media only screen and (min-width: 1025px) {
  input[type='text'],
  input[type='tel'],
  input[type='email'],
  textarea {
    max-width: 100%;
  }
  textarea {
    width: 100%;
  }
}
@media screen and (max-width: 599px) {
  /* 幅を制御したい特定のinput要素に対して */
  input[type='text'].full-width,
  input[type='tel'].full-width,
  input[type='email'].full-width,
  textarea.full-width {
    width: 100%;
  }
}
/* Input Styles */
input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

input:focus::placeholder {
  color: transparent;
}

.radio-group {
  display: flex;
  gap: 2rem;
}

@media only screen and (max-width: 1024px) {
  .radio-group {
    display: flex;
    gap: 1rem;
  }
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* フォーカス時のスタイル */
.radio-group input[type='radio']:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ラジオボタンのサイズ調整（必要に応じて） */
.radio-group input[type='radio'] {
  width: 1.2em;
  height: 1.2em;
}

/* アクセシビリティのための非表示クラス */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* チェックボックスグループのスタイル */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkbox-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* フォーカス時のスタイル */
.checkbox-item input:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ホバー時のスタイル */
.checkbox-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Utility Classes */
.center {
  text-align: center;
}
.center_img img {
  margin-inline: auto;
}
.bold {
  font-weight: bold;
}
.b-900 {
  font-weight: 900;
}

/* Colors */
.red {
  color: var(--color-red);
}
.blue {
  color: var(--color-blue);
}
.green {
  color: var(--color-theme-second);
}
.orange {
  color: var(--color-orange);
}
.yellow {
  color: var(--color-yellow);
}
.pink {
  color: var(--color-theme);
}

/* Font Sizes */
.txt_s {
  font-size: 1rem;
}
.txt12 {
  font-size: 1.2rem;
}
.txt14 {
  font-size: 1.4rem;
}
.txt16 {
  font-size: 1.6rem;
}
.txt18 {
  font-size: 1.8rem;
}
.txt20 {
  font-size: 2rem;
}
.txt24 {
  font-size: 2.4rem;
}

/* Font Families */

.noto_san {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Opacity Animation */
.opa {
  transition: var(--transition);
  backface-visibility: hidden;
}

.opa:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  backface-visibility: hidden;
}

/* Header Styles */
.site-header {
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: auto;
  border-top: none;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media only screen and (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
  }
  body {
    width: 100%;
  }
  .site-header {
    width: 100%;
    padding: 0;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: visible;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateZ(0);
    will-change: transform;
  }
}

.header-inner {
  width: 90vw;
  max-width: 1350px;
  padding: 0 15px 0.6rem;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

@media only screen and (max-width: 1280px) {
  .header-inner {
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  .header-inner {
    width: 100%;
    position: relative;
    padding: 0;
  }
}

/* 上段：見出し + English / お問い合わせ / CTA / SNS */
.h-txt-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0.2rem;
  padding: 0.3rem 0 0;
  overflow: visible;
}

.h-txt {
  position: static;
  width: auto;
  height: auto;
  padding: 0.2rem 0 0.3rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #222;
  display: flex;
  align-items: center;
}

.h-link-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  gap: 0.6rem;
  overflow: visible;
  padding-top: 0.4rem;
  padding-bottom: 0;
  box-sizing: border-box;
}

.h-link-wrap--cta {
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 1.2rem;
}

.h-link-wrap--cta .h-link-list,
.h-link-wrap--cta .h-cta-icon-list,
.h-link-wrap--cta .h-sns-list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.h-link-wrap--cta .h-link-list > li,
.h-cta-icon-list > li,
.h-link-wrap--cta .h-sns-list > li {
  flex: 0 0 auto;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.h-link-list > li a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  padding: 0 1.4rem 0 3rem;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.h-link-list > li a.lang {
  height: var(--h-lang-h);
  background-color: var(--color-accent);
  box-shadow: none;
}

.h-link-list > li a.contact {
  height: var(--h-lang-h);
  background-color: var(--color-orange);
  box-shadow: none;
}

.h-link-list > li a.contact.contact--photo {
  height: var(--h-contact-h);
  padding: 0 1.8rem 0 8rem;
  font-size: 1.6rem;
  border-radius: 8px;
  box-shadow: 0 0.3rem 0.8rem rgba(243, 122, 12, 0.45);
  overflow: visible;
}

.h-link-list > li a.lang::before,
.h-link-list > li a.contact:not(.contact--photo)::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

.h-link-list > li a.lang::before {
  background-image: url(../images/en_icon.png);
}

.h-link-list > li a.contact:not(.contact--photo)::before {
  background-image: url(../images/mail_icon.png);
}

.h-link-list > li a.contact.contact--photo::before {
  content: none;
  display: none;
}

.h-link-list > li a.contact .contact__photo {
  position: absolute;
  left: 0.2rem;
  bottom: 0;
  width: auto;
  height: calc(var(--h-contact-h) + 1.6rem);
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  z-index: 2;
}

.h-link-list > li a:hover {
  transform: translateY(-2px);
}

.h-cta-icon-list > li a.cta-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--h-cta-size);
  max-width: 100%;
  padding: 0 0 2.2rem;
  margin: 0;
  color: #333;
  text-decoration: none;
  background: transparent;
  position: relative;
  transition: transform 0.25s ease;
}

.h-cta-icon-list > li a.cta-icon:hover {
  transform: translateY(-2px);
}

.cta-icon__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--h-cta-size);
  height: var(--h-cta-size);
  max-width: 100%;
  border-radius: 6px;
  color: #fff;
}

.cta-icon__box i {
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
}

.cta-icon__label {
  position: absolute;
  top: calc(var(--h-cta-size) + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: #333;
  white-space: normal;
}

.h-cta-icon-list > li a.cta-icon:hover .cta-icon__label {
  color: var(--color-theme);
}

.site-header .h-sns-list > li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--h-cta-size);
  height: var(--h-cta-size);
  max-width: 100%;
  padding: 0;
  border-radius: 6px;
  color: #fff;
  transition: transform 0.25s ease;
}

.site-header .h-sns-list > li a:hover {
  transform: translateY(-2px);
}

.site-header .h-sns-list > li a.insta {
  background-color: var(--color-insta);
}

.site-header .h-sns-list > li a img {
  width: 2.2rem;
  height: 2.2rem;
}

.cta-icon--topics .cta-icon__box {
  background-color: #7c3aed;
}
.cta-icon--consult .cta-icon__box {
  background-color: #dc2626;
}
.cta-icon--airport .cta-icon__box {
  background-color: #00a89a;
}
.cta-icon--service .cta-icon__box {
  background-color: #0b318f;
}
.cta-icon--voice .cta-icon__box {
  background-color: #db2777;
}
.cta-icon--living .cta-icon__box {
  background-color: #f37a0c;
}
.cta-icon--education .cta-icon__box {
  background-color: #2563eb;
}
.cta-icon--company .cta-icon__box {
  background-color: #475569;
}
.cta-icon--rent .cta-icon__box {
  background-color: #f0c000;
}
.cta-icon--type .cta-icon__box {
  background-color: #0f766e;
}
.cta-icon--spot .cta-icon__box {
  background-color: #0369a1;
}
.cta-icon--guide .cta-icon__box {
  background-color: #9333ea;
}
.cta-icon--procedure .cta-icon__box {
  background-color: #1f4bcf;
}

/* フッターSNS（ヘッダーと別） */
.sns-link {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sns-link > li a {
  display: inline-block;
  color: #fff;
  padding: 1rem;
  border-radius: 5px;
  transition:
    var(--transition),
    transform 0.3s ease;
}

.sns-link > li a img {
  aspect-ratio: 30 / 30;
  width: 26px;
}

.sns-link > li a:hover {
  transform: translateY(-5px);
}

.sns-link > li a.insta {
  background-color: var(--color-insta);
}

.sns-link > li a.fb {
  background-color: var(--color-fb);
}

.sns-link > li a.x_twitter {
  background-color: #000;
}

/* 下段：ロゴ / 説明 / 電話 / 家賃相場 */
.h-logo-tel-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  box-sizing: border-box;
  position: relative;
}

.h-logo {
  flex: 0 0 var(--h-logo-width);
  width: var(--h-logo-width);
  max-width: 100%;
  padding: 0;
  transition:
    var(--transition),
    transform 0.3s ease;
}

.h-logo:hover {
  transform: translateY(-5px);
}

.h-logo img {
  display: block;
  width: var(--h-logo-width);
  max-width: 100%;
  height: auto;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.h-subtxt {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.5;
}

.h-logo-tel-box .h_tel {
  flex: 0 0 auto;
}

.h-bay-rent {
  flex: 0 0 var(--h-bay-size);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: var(--h-bay-size);
  padding: 1.2rem;
  margin-bottom: 0;
  background: var(--h-bay-bg);
  border: 3px solid var(--color-orange);
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.h-bay-rent img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background-color: transparent;
}

.h-bay-rent__badge {
  display: block;
  margin: 0.35rem 0 0;
  padding: 0.5rem 0.35rem;
  border-radius: 4px;
  background-color: var(--color-orange);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

.h-bay-rent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.4rem 1rem rgba(243, 122, 12, 0.35);
}

.h-bay-rent:hover .h-bay-rent__badge {
  background-color: #d96800;
}

.h_tel {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  align-items: flex-start;
  position: relative;
  padding-left: 60px;
  gap: 3px;
}

.h_tel > .tel_no > a,
.h_tel .dial_txt {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 2.6rem;
  color: #000;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  line-height: 1;
  white-space: nowrap;
}

.h_tel::before {
  content: '';
  display: inline-block;
  aspect-ratio: 60 / 60;
  width: 45px;
  background: url(../images/h_tel_icon.png) no-repeat center center / cover;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.h_tel > .tel_no > a:hover {
  color: var(--color-accent);
}

.h_tel > .tel_txt,
.h_tel > .tel_subtxt {
  text-align: center;
  transition: all 0.3s ease;
}

.h_tel > .tel_txt {
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
}

.h_tel > .tel_subtxt {
  font-size: 1.4rem;
}

@media only screen and (max-width: 1400px) {
  :root {
    --h-cta-size: 4rem;
    --h-lang-h: 3.6rem;
    --h-contact-h: 5rem;
    --h-logo-width: 316px;
  }

  .cta-icon__label {
    width: 5.4rem;
    font-size: 0.78rem;
  }
}

@media only screen and (max-width: 1200px) {
  :root {
    --h-logo-width: 280px;
    --h-bay-size: 150px;
    /* 2026-08-18 blanc: 1200px以下でもヘッダーのアイコン13個を並べきるため縮小 */
    --h-cta-size: 3.6rem;
  }

  /* 2026-08-18 blanc: ここで .h-cta-icon-list を display:none にしていたため、
     1025〜1200px のウィンドウ幅ではアイコン列が丸ごと消えていた。
     1024px以下は .h-link-wrap ごと非表示になるので、この指定は不要。 */
  .cta-icon__label {
    width: 4.8rem;
    font-size: 0.7rem;
  }

  .h-link-wrap--cta .h-link-list,
  .h-link-list {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .h-link-wrap--cta .h-link-list > li,
  .h-link-list > li {
    flex: 0 0 auto;
  }

  .h-link-wrap--cta .h-sns-list,
  .site-header .h-sns-list {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 0.5rem;
    margin-left: auto;
  }

  .h-link-wrap--cta .h-sns-list > li,
  .site-header .h-sns-list > li {
    flex: 0 0 auto;
    width: var(--h-cta-size);
  }
}

@media only screen and (max-width: 1024px) {
  .h-txt {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .h-link-wrap,
  .h-subtxt,
  .h-bay-rent,
  .h_tool,
  .h_tel,
  .h-logo-tel-box .h_tel {
    display: none;
  }

  .h-logo-tel-box {
    display: grid;
    grid-template-columns: 1fr 71px;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    min-height: 71px;
  }

  .h-logo {
    flex: none;
    width: min(200px, 55vw);
    padding: 0;
  }

  .h-logo img {
    width: 100%;
    height: auto;
  }
}

/* Navigation */
.g-nav {
  background-color: var(--color-theme);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.g-nav > ul {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  gap: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.g-nav > ul > li {
  position: relative;
}

.g-nav > ul > li > a {
  display: block;
  position: relative;
  color: #fff;
  font-size: clamp(1.2rem, 1.018rem + 0.78vw, 1.6rem);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  white-space: nowrap;
  padding: 1.5rem 1rem;
}

.g-nav > ul > li > a:hover {
  color: var(--color-theme-second);
}

.g-nav > ul > li.relocation-link > a {
  background-color: var(--color-orange);
}

.g-nav > ul > li.relocation-link > a:hover {
  color: var(--color-orange-dark);
}

@media only screen and (max-width: 599px) {
  .g-nav > ul > li > a {
    display: block;
    position: relative;
    color: #333;
    font-size: clamp(1.2rem, 1.018rem + 0.78vw, 1.6rem);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    white-space: nowrap;
    padding: 1.5rem;
  }
}

/* サブメニューがあるメインメニュー項目に下向き矢印を追加 */
.g-nav > ul > li:has(.sub-menu) > a::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.g-nav > ul > li:has(.sub-menu):hover > a::after {
  transform: rotate(180deg);
}

/* Submenu */
.sub-menu {
  position: absolute;
  min-width: 200px;
  /* top: calc(100% + 1rem); */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  width: max-content;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
}

.g-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

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

.sub-menu li a {
  background-color: var(--color-theme-second);
  color: #fff;
  font-size: 1.4rem;
  padding: 1rem 30px 1rem 15px;
  white-space: nowrap;
  display: block;
  transition: background-color 0.3s ease;
}

.sub-menu li:not(:last-child) a {
  border-bottom: solid 1px #fff;
}

/*サブメニュー矢印*/
.sub-menu li a::after {
  content: '\f138';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #fff;
}

.sub-menu li a:hover {
  background-color: var(--color-gray-light);
  color: var(--color-theme-second);
  font-weight: bold;
}

.sub-menu li a:hover::after {
  color: var(--color-theme-second);
}

/* スマートフォン用のサブメニュースタイル */
@media only screen and (max-width: 1024px) {
  .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
    background-color: #f8f8f8;
    padding-left: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .g-nav > ul > li > .sub-menu {
    padding: 0;
  }
  .g-nav > ul > li.open > .sub-menu {
    max-height: 1000px;

    border-bottom: solid 1px var(--color-theme-second);
  }

  .sub-menu > li > a {
    font-size: 1.4rem;
    padding: 12px 15px;
    color: #fff !important;
    background-color: var(--color-theme);
  }
  .sub-menu > li {
    border-bottom: solid 1px #fff;
  }
  .sub-menu > li:last-child {
    border-bottom: solid 1px #666;
  }
}

/* スマホナビボタン */
.navbtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 10001;
  position: relative;
  width: 30px;
  height: 30px;
}

/*アクセシビリティ対策*/
.navbtn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ハンバーガーメニュー */
.navbtn .hamburger,
.navbtn .hamburger::before,
.navbtn .hamburger::after {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.navbtn .hamburger {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.navbtn .hamburger::before,
.navbtn .hamburger::after {
  content: '';
  width: 100%;
}

.navbtn .hamburger::before {
  top: -8px;
}

.navbtn .hamburger::after {
  bottom: -8px;
}

/* アクティブ時 */
.navbtn.active .hamburger {
  background: transparent;
}

.navbtn.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.navbtn.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Responsive Layout */
@media only screen and (min-width: 1025px) {
  .navbtn {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  body {
    padding-top: 88px;
  }
  .h_tool_smp {
    background-color: var(--color-theme);
    padding: 15px;
    width: 71px;
    height: auto;
    min-height: 71px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
  }
}

/* スマホグローバルナビ */
@media only screen and (max-width: 1024px) {
  .navbtn {
    display: block;
  }

  .g-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    display: grid;
    grid-template-rows: 1fr 330px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 9000;
    justify-content: center;
    justify-items: center;
  }

  .g-nav.show {
    opacity: 1;
    visibility: visible;
    overflow: auto;
  }

  .g-nav > ul:first-child {
    margin-top: 10vh;
    margin-bottom: 2.5rem;
  }
  .g-nav > ul {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    gap: initial;
  }

  .g-nav > ul > li {
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    overflow: hidden;
  }

  .g-nav > ul > li > a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 1.6rem;
    border-bottom: 1px solid #666;
  }

  .g-nav.show > ul > li {
    opacity: 1;
    padding: 0;
  }

  .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
    background-color: #f8f8f8;
    padding-left: 20px;
    border-top: 0px solid #e0e0e0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .g-nav > ul > li.open > .sub-menu {
    max-height: 1000px;
  }

  .sub-menu > li > a {
    font-size: 1.4rem;
    padding: 15px 20px;
    color: #333;
  }

  /* Submenu Toggle */
  /* サブメニューがある項目に+マークを表示 */
  .g-nav > ul > li > a .submenu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
  }

  .g-nav > ul > li > a .submenu-toggle::before,
  .g-nav > ul > li > a .submenu-toggle::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease;
  }

  .g-nav > ul > li > a .submenu-toggle::before {
    width: 2px;
    height: 20px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .g-nav > ul > li > a .submenu-toggle::after {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .g-nav > ul > li.open > a .submenu-toggle::before {
    transform: translateX(-50%) rotate(90deg);
  }
  .g-nav > ul > li > a .submenu-toggle {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    position: absolute;
    right: 0;
  }

  .g-nav > ul > li > a .submenu-toggle::before,
  .g-nav > ul > li > a .submenu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s;
  }

  .g-nav > ul > li > a .submenu-toggle::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .g-nav > ul > li > a .submenu-toggle::after {
    transform: translate(-50%, -50%);
  }

  .g-nav > ul > li.open > a .submenu-toggle::before {
    transform: translate(-50%, -50%) rotate(0);
  }
}

/*パンくず*/
.breadcrumb-nav {
  padding: 1.5rem 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.breadcrumb li {
  font-size: 1.6rem;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5em;
}

/* Main Content */
main {
  position: relative;
  /* min-height: 100vh; */
  /* overflow-x: hidden; stickyを機能させるため削除 */
}

.right-nav {
  position: fixed;
  top: 100px;
  right: 0px;
  z-index: 10;
  /* 初期状態：非表示で少し右に配置 */
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition:
    opacity 0.4s var(--easing),
    transform 0.4s var(--easing);
}

.right-nav.fixed {
  /* 表示状態：所定の位置に移動 */
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.right-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* リンク間の余白 */
}

.right-nav .right-nav-mail,
.right-nav .right-nav-line {
  writing-mode: vertical-rl;
  min-width: 56px;
}

.right-nav .right-nav-mail {
  text-orientation: mixed;
  padding: 2rem 1rem;
  background-color: var(--color-blue);
  color: #fff;
  border-radius: 1rem 0 0 1rem;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.5;
  transition: var(--transition);
}

.right-nav .right-nav-mail::before {
  content: '';
  display: inline-block;
  background-image: url(../images/mail_icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 25px;
  aspect-ratio: 30/30;
  margin-bottom: 0.5rem;
}

.right-nav .right-nav-line {
  padding: 2rem 1rem;
  background-color: var(--color-line);
  color: #fff;
  border-radius: 1rem 0 0 1rem;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  transition: var(--transition);
}
.right-nav .right-nav-line span {
  writing-mode: horizontal-tb;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
}
.right-nav .right-nav-line::before {
  content: '';
  display: inline-block;
  background-image: url(../images/line_icon_mark.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  aspect-ratio: 44/44;
  margin-bottom: 0.5rem;
}

.right-nav .right-nav-mail:hover,
.right-nav .right-nav-line:hover {
  opacity: 0.5;
}

.foot-fixed-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 120px;
  z-index: 1;
  padding: 1rem;
  background-color: var(--color-accent);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  /* 初期状態：非表示で画面下に配置 */
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.4s var(--easing),
    transform 0.4s var(--easing);
}

@media only screen and (max-width: 599px) {
  .right-nav,
  .foot-fixed-nav {
    display: none;
  }
}

.foot-fixed-nav.fixed {
  /* 表示状態：スライドアップして表示 */
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.foot-nav-inner {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  width: 70vw;
  margin: 0 auto;
}

@media only screen and (max-width: 599px) {
  .menu-tel-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    padding: 0;
    background-color: var(--color-theme);
    color: #fff;
  }

  .menu-tel-info .h-sns-list > li a {
    border-radius: 6px;
  }

  /* メニュー内Instagram：ピンク背景＋白アイコン（PCヘッダーと同型） */
  .menu-tel-info .h-sns-list {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .menu-tel-info .h-sns-list > li {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    justify-content: center;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta,
  .menu-tel-info .h-sns-list > li a.insta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5.6rem;
    height: 5.6rem;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
    border-radius: 6px !important;
    background-color: var(--color-insta, #ff0069) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.25s ease;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta i,
  .menu-tel-info .h-sns-list > li a.insta i {
    font-size: 2.8rem;
    color: #fff;
    line-height: 1;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta span {
    display: none;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta:hover,
  .menu-tel-info .h-sns-list > li a.insta:hover {
    transform: translateY(-2px);
  }

  .menu-tel-info-inner {
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    width: 100vw;
    margin: 0 auto;
  }

  .menu-tel-info-inner {
    gap: 1rem;
    padding: 1rem;
  }
  .menu-tel-info-item {
    width: 100%;
    text-align: center;
  }

  .menu-tel-info-item > .contact-bt {
    padding: 1rem 2.5rem;
    margin: 1rem auto;
  }
}

.menu-tel-info-item > .tel_no {
  text-align: center;
  margin: 1rem 0;
}

/* スマホメニュー内Instagram（〜1024pxでも同型） */
@media only screen and (max-width: 1024px) {
  .menu-tel-info .h-sns-list {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
  }

  .menu-tel-info .h-sns-list > li {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    justify-content: center;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta,
  .menu-tel-info .h-sns-list > li a.insta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5.6rem;
    height: 5.6rem;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
    border-radius: 6px !important;
    background-color: var(--color-insta, #ff0069) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.25s ease;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta i,
  .menu-tel-info .h-sns-list > li a.insta i {
    font-size: 2.8rem;
    color: #fff;
    line-height: 1;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta span {
    display: none;
  }

  .menu-tel-info .h-sns-list > li a.h-instagram-cta:hover,
  .menu-tel-info .h-sns-list > li a.insta:hover {
    transform: translateY(-2px);
  }
}

.menu-tel-info-item > .tel_no > a {
  font-size: 3.6rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  line-height: 1;
  margin: 1.5rem 0;
}

.menu-tel-info-item > .tel_no > a::after {
  color: var(--color-theme);
}

.menu-tel-info-item > .tel_txt {
  text-align: center;
  transition: all 0.3s ease;
}

.menu-tel-info-item > .tel_txt {
  font-size: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

.menu-tel-info-item > .tel_txt {
  text-align: center;
}

.menu-tel-info-item > .tel_subtxt {
  font-size: 1.2rem;
  text-align: center;
}

.main-content {
  margin: 0 auto;
  padding: 4rem 0;
  line-height: 1.5;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
  overflow-wrap: break-word;
  word-break: break-word;
}

.main-content p,
.main-content > dl > dd {
  margin-bottom: 1.5rem;
}

.main-content ol {
  margin-left: 3.5rem;
  margin-top: 2rem;
}

.main-content ol li {
  list-style-type: decimal;
  margin-bottom: 1.5rem;
}
.post-single__content a,
.education-single__content a,
.spot-single__content a,
.property-details__content a {
  text-decoration: underline;
}

/* Main Content Responsive */

@media only screen and (max-width: 1024px) {
  .main-content {
    width: 100%;
    padding: 20px;
  }
}

@media only screen and (max-width: 599px) {
  .main-content {
    padding: 30px;
  }
}

/*MARK:mainimage*/

.mainimage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mainimage::before {
  content: '';
  display: block;
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.mainimage::before {
  top: -30px;
  left: -40px;
  width: 1033px;
  aspect-ratio: 1033 / 148;
  background-image: url(../images/jr_group_gothic.png);
}

.mainimage-inner {
  width: 100%;
  margin: 0 auto;
}

.mainimage-catchcopy {
  padding: 2rem;
  position: absolute;
  left: 0;
  bottom: 140px;
  z-index: 1;
  background-color: rgba(56, 47, 8, 0.4);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.swiper-slide-active .mainimage-catchcopy,
.mainimage-catchcopy.en {
  opacity: 1;
}

.mainimage-title,
.mainimage-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.5;
  color: #fff;
}

@media only screen and (max-width: 599px) {
  .mainimage-subtitle {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
}

@media only screen and (max-width: 1024px) {
  .mainimage {
    height: 600px;
  }
  .mainimage::before {
    top: -12px;
    left: -16px;
    width: min(78vw, 480px);
    aspect-ratio: 1033 / 148;
    background-size: contain;
  }
  .mainimage-catchcopy {
    bottom: 80px;
  }

  .mainimage-title {
    font-size: 2.4rem;
    margin-bottom: 0;
  }
  .mainimage-subtitle {
    font-size: 2.4rem;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 375px) {
  .mainimage {
    height: 720px;
  }
  .mainimage-sub-box::after {
    display: none;
  }
  .tab {
    display: inline-block !important;
  }
  .submenu-toggle {
    display: none;
  }
  .g-nav > ul:first-child {
    margin-top: 25vh;
    margin-bottom: 2.5rem;
  }
}

@media only screen and (max-width: 768px) {
  .mainimage {
    height: 760px;
  }
}

@media only screen and (max-width: 599px) {
  .mainimage {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    height: 360px;
  }
  .mainimage::before {
    top: -8px;
    left: -12px;
    width: min(82vw, 340px);
  }
  .mainimage-catchcopy {
    width: 100vw;
    padding: 4rem 2rem 2rem 2rem;
  }

  .mainimage-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: 20px;
  }
}

/* トップスライダー：横幅基準（PC）／高さ確保（スマホ） */
.home .mainimage {
  height: auto;
  overflow: hidden;
  position: relative;
}

.home .mainimage-inner,
.home .mainimage-inner .swiper,
.home .main-image-swiper,
.home .main-image-swiper .swiper-wrapper {
  height: auto;
  overflow: hidden;
}

.home .main-image-swiper {
  position: relative;
}

.home .main-image-swiper .swiper-slide {
  height: auto;
  position: relative;
  overflow: hidden;
}

.home .main-image-swiper .swiper-slide img {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: unset;
}

.home .main-image-pagination {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 2rem;
  left: 0;
  margin: 0;
  padding: 0;
  transform: none;
  z-index: 20;
}

.home .mainimage-catchcopy {
  bottom: 6rem;
}

@media only screen and (max-width: 1024px) {
  .home .mainimage,
  .home .mainimage-inner,
  .home .mainimage-inner .swiper,
  .home .main-image-swiper,
  .home .main-image-swiper .swiper-wrapper,
  .home .main-image-swiper .swiper-slide {
    height: 42vh;
    min-height: 280px;
    max-height: 460px;
  }

  .home .main-image-swiper .swiper-slide {
    position: relative;
  }

  .home .main-image-swiper .swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home .mainimage-catchcopy {
    bottom: 4rem;
    padding: 1.2rem 1.4rem;
  }

  .home .main-image-pagination {
    bottom: 1.2rem;
  }
}

@media only screen and (max-width: 599px) {
  .home .mainimage,
  .home .mainimage-inner,
  .home .mainimage-inner .swiper,
  .home .main-image-swiper,
  .home .main-image-swiper .swiper-wrapper,
  .home .main-image-swiper .swiper-slide {
    height: 38vh;
    min-height: 250px;
    max-height: 400px;
  }

  .home .mainimage-catchcopy {
    bottom: 3.2rem;
    left: 0;
    right: 0;
    padding: 1rem 1.2rem;
  }

  .home .mainimage-title {
    font-size: 2rem;
    line-height: 1.45;
  }
}

.mainimage-sub {
  height: 300px;
  background-image: url(../images/mainimage_sub.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mainimage-sub-inner {
  width: 1350px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
}

@media only screen and (max-width: 768px) {
  .mainimage-sub {
    height: 160px;
  }

  .mainimage-sub-inner {
    width: 100%;
    font-size: 2.2rem;
    padding: 0 1.6rem;
    box-sizing: border-box;
  }
}

/* Footer */
#footer {
  width: 100%;
  margin: 0;
  background: #fff;
}

.footer-inner {
  font-size: 1.6rem;
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
  padding: 4rem 0;
}

.f_logo_wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media only screen and (max-width: 1024px) {
  .f_logo_wrap {
    grid-template-columns: 1fr;
    padding: 2rem;
    justify-items: center;
  }
}

.f_logo {
  display: block;
  width: 100%;
  transition:
    var(--transition),
    transform 0.3s ease;
}

.f_logo img {
  display: block;
  transition: all 0.3s ease;
}

.f_logo:hover {
  transform: translateY(-5px);
}

.f_nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.f_nav-block {
  min-width: 0;
}

.f_nav-title {
  margin: 0 0 1.5rem;
  font-weight: 900;
  line-height: 1.4;
}

.f_nav ul {
  margin: 0;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: solid 1px #ccc;
}

.f_nav ul li {
  padding-left: 0;
}

.f_nav ul li a {
  position: relative;
  text-decoration: none;
  color: #000;
  display: inline-block;
  transition: color 0.3s ease;
  font-size: 1.4rem;
  padding: 1rem 0;
}

.f_nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-theme);
  transition: width 0.3s ease;
}

.f_nav ul li a:hover {
  color: var(--color-theme);
}

.f_nav ul li a:hover::after {
  width: 100%;
}

@media only screen and (max-width: 1024px) {
  .footer-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .f_nav-title {
    font-size: 1.4rem;
  }

  .f_nav ul li a {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 599px) {
  .f_nav {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .f_nav-title {
    margin-bottom: 1rem;
  }

  .f_nav ul {
    padding-left: 12px;
  }

  .f_nav ul > li {
    display: inline-block;
    vertical-align: top;
    margin: 0 1.6rem 0 0;
  }

  .f_nav ul > li a {
    padding: 0.6rem 0;
  }
}

.address_txt {
  text-align: center;
  padding: 5px;
  min-height: 42px;
  font-style: normal;
  font-size: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: var(--color-theme);
  color: #fff;
}

.f_lang_sns_wrap {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
}

.lang-link {
  display: flex;
  gap: 10px;
  font-size: 2.4rem;
  margin: 2rem 0;
}

.lang-link li a {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #000;
}

.lang-link li a.lang-link-active {
  color: var(--color-accent);
}

.lang-link li a:hover {
  color: var(--color-accent);
}

.lang-link li:first-child::after {
  content: '|';
  margin-left: 10px;
}

.f_right_link ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.f_right_link ul li a {
  transition: var(--transition);
}
.f_right_link ul li a:hover {
  opacity: 0.6;
}

@media only screen and (max-width: 599px) {
  #footer {
    padding-bottom: 0;
  }
  .footer-inner {
    width: 100%;
    padding: 1rem;
  }
}

/*MARK:サブコンテンツ*/
.main-grid-wrap {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 6rem;
  box-sizing: border-box;
}

@media only screen and (max-width: 599px) {
  .main-grid-wrap {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.main-box {
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.side-parts {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media only screen and (max-width: 599px) {
  .side-parts {
    padding: 0 3rem 3rem 3rem !important;
  }
}

#about {
  position: relative;
}

#about .main-content {
  background-image: url(../images/about-bg.png);
  background-position: right 230px;
  background-repeat: no-repeat;
  position: relative;
}

.about-title {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.side-bn-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media only screen and (max-width: 599px) {
  .side-bn-list {
    margin-top: 2rem;
  }
}

.side-bn-list li a img {
  display: block;
  width: 100%;
  height: auto;
}

.side-about {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 280px;
}
@media only screen and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-cta {
    width: 100%;
  }
  .side-about {
    width: 100%;
    max-width: 100%;
    position: static;
  }
  .side-about .fb-page {
    width: 100% !important;
    max-width: 100% !important;
  }
  .side-about .fb-page > span:last-of-type,
  .side-about .fb-page iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.about-cta h3 {
  background-color: var(--color-theme);
  padding: 1rem !important;
  font-size: 1.6rem !important;
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0 !important;
  border-radius: 0.5rem 0.5rem 0 0;
}

.about-cta-btn-box {
  padding: 2rem;
  font-size: 1.4rem;
  border: solid 1px #ccc;
  border-radius: 0 0 0.5rem 0.5rem;
  width: 100%;
}

.about-cta-btn-box .tel-txt {
  margin-bottom: 1rem;
}

.about-cta-btn-box .tel-txt p {
  margin: 0 !important;
}

.about-cta-btn-box .tel-txt a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
}

.about-cta-btn-box .tel-txt span {
  font-size: 1.2rem;
}

.about-cta-btn-box a.bt01 {
  min-width: 100%;
  font-size: 1.4rem;
  padding: 1rem;
}

.about-cta-txt {
  padding: 0.5rem;
  border: solid 1px #ccc;
  text-align: center;
  margin: 1rem 0;
  background-color: #ccc;
}

.side-about .fb-page {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: 0;
}

.side-about .fb-page > span:last-of-type,
.side-about .fb-page iframe {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

@media only screen and (max-width: 599px) {
  .side-about .fb-page > span:last-of-type,
  .side-about .fb-page iframe {
    min-width: 0 !important;
  }
}

@media only screen and (max-width: 1024px) {
  #about .main-content::before {
    display: none;
  }
}
.about-title h2 {
  font-size: 4.8rem;
  font-weight: 500;
}

.about-subtitle {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.about-subtitle span {
  display: inline-block;
  background-color: var(--color-theme);
  color: #fff;
  margin: 0.8rem 0;
  padding: 1rem;
}

.about-big-txt {
  font-size: 3.8rem;
  font-weight: 400;
}

@media only screen and (max-width: 599px) {
  #about::after {
    bottom: 0;
    left: initial;
    transform: initial;
    right: 0;
    width: 200px;
  }
  #about .main-content {
    background-image: none;
    padding-bottom: 0;
  }
  .about-title {
    gap: 10px;
  }
  .about-title::after {
    width: 300px;
  }
  .about-subtitle {
    font-size: 2.4rem;
    margin: 2rem 0;
    position: relative;
  }

  .about-subtitle::after {
    content: '';
    display: block;
    background-image: url(../images/about-bg.png);
    aspect-ratio: 546/584;
    width: 300px;
    background-size: cover;
    margin-inline: auto;
  }

  .about-big-txt {
    font-size: 2.8rem;
  }

  .about-big-txt:last-of-type {
    margin-bottom: 3rem;
  }
}

/* MARK:News */
#news {
  background-image: url(../images/news_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#news .main-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 4rem;
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
}

#news .main-content h3 {
  color: var(--color-theme);
  font-size: 3.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-bottom: 2rem;
}

#news .main-content .news-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media only screen and (max-width: 599px) {
  #news .main-content .news-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.news_list {
  margin-bottom: 3rem;
}

.news_list .news_item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  border-bottom: solid 1px var(--color-theme);
  padding: 1.5rem 0;
  position: relative;
}
.news_list .news_item::after {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f054';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--color-theme);
}

.news_list .news_item dt {
  width: 90px;
}

.news_list .news_item dt a {
  display: block;
  overflow: hidden;
  width: 90px;
  aspect-ratio: 4 / 3;
  height: auto;
  background: #e9eef5;
}

.news_list .news_item dt a img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.news_list .news_item dt a:hover img {
  transform: scale(1.08);
}

.news_list .news_item dd time {
  display: block;
  font-size: 1.2rem;
}

.news_list .news_item dd a {
  text-decoration: none;
}

.news_list .news_item dd a h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.news_list .news_item dd a h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-theme);
  transition: width 0.3s ease;
}

.news_list .news_item dd a h4:hover::after {
  width: 100%;
}

.news_list .news_item dd a p {
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 1rem;
}

.home section .main-content h2,
#flow .main-content h2 {
  margin-bottom: 3rem;
  position: relative;
}

.home section .main-content h2 .ja,
#flow .main-content h2 .ja {
  display: block;
  font-size: 4.8rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: var(--color-theme);
  line-height: 1.5;
}

.home section .main-content h2 .en,
#flow .main-content h2 .en {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  font-style: normal;
  color: #000;
  white-space: nowrap;
  /* letter-spacing: 2px; */
}

@media only screen and (max-width: 599px) {
  .home section .main-content h2 .ja,
  #flow .main-content h2 .ja {
    line-height: 1;
    font-size: 4rem;
  }
  .home section .main-content h2 .en,
  #flow .main-content h2 .en {
    position: relative;
    white-space: pre-wrap;
    left: 0;
    font-size: 4rem;
    list-style: 1.2;
  }
}

.home section .main-content h3,
#flow .main-content h3 {
  font-size: 3rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-bottom: 2rem;
}

/* MARK: Home compact layout */
.home {
  --home-section-gap: 4rem;
}

.home .main-grid-wrap {
  align-items: start;
  gap: 4rem;
  margin-bottom: 0;
}

@media screen and (max-width: 599px) {
  .home .main-grid-wrap {
    gap: 2rem;
  }
}

.home .side-parts {
  padding-top: var(--home-section-gap);
  padding-bottom: var(--home-section-gap);
}

.home section > .main-content,
#flow > .main-content {
  padding-top: var(--home-section-gap, 2.5rem);
  padding-bottom: var(--home-section-gap, 2.5rem);
}

/* 2カラム＋サイドバー直後のみ：上セクションの padding-bottom と重ねない */
.home .main-grid-wrap + section > .main-content {
  padding-top: 0;
}

.home #about .bt-list {
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0;
}

.home .main-content p,
.home .main-content > dl > dd,
#flow .main-content p {
  margin-bottom: 1rem;
}

.home section .main-content h2,
#flow .main-content h2 {
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.home section .main-content h2 .ja,
#flow .main-content h2 .ja {
  font-size: 4rem;
  line-height: 1.3;
}

.home section .main-content h2 .en,
#flow .main-content h2 .en {
  font-size: 3.2rem;
}

.home section .main-content h3,
#flow .main-content h3 {
  font-size: 2.4rem;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.home .txt-img-wrap,
#flow .txt-img-wrap {
  gap: 2.5rem;
  margin: 2.5rem 0;
}

/* .home .txt-img-wrap .img-box {
  max-width: 380px;
} */

.home .img-wrap {
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.home .choose-list li {
  margin-bottom: 2rem;
}

.home .choose-list li span {
  font-size: 2rem;
}

.home .san-francisco-life-wrap {
  gap: 2rem;
  margin: 3rem 0;
}

.home .san-francisco-life-wrap .img-box {
  width: 320px;
}

.home .san-francisco-life-wrap .txt-box {
  width: calc(100% - 320px - 2rem);
}

.home .san-francisco-life-wrap .txt-box h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.home #news .main-content {
  padding: 2.5rem;
}

.home #news .main-content h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.home #news .main-content .news-wrap {
  gap: 2.5rem;
}

.home .news_list {
  margin-bottom: 2rem;
}

.home .news_list .news_item {
  gap: 1.5rem;
  padding: 1rem 0;
}

/* .home .pickup-list {
  gap: 2rem;
  margin-bottom: 2.5rem;
} */

.home #pickup .pickup-item__title {
  margin: 1.5rem 0 1rem;
}

.home .flow-title,
.home .life-title,
#flow .flow-title {
  margin-top: 5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.home .life-sub-title {
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.home .flow-subtitle,
#flow .flow-subtitle {
  font-size: 3rem !important;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.home .flow-mini-title,
#flow .flow-mini-title {
  font-size: 2.2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.home .flow-title-wrap,
#flow .flow-title-wrap {
  gap: 2rem;
  margin-top: 4rem;
}

.home .flow-box,
#flow .flow-box {
  padding: 2rem;
}

.home .grid-3,
#flow .grid-3 {
  gap: 1.5rem;
}

.home .things-marquee {
  padding: 3rem 0;
  margin-top: 3rem;
  min-height: 18rem;
}

.home .things-list {
  gap: 2rem;
  margin-right: 2rem;
}

.home .things-list li:nth-last-child(even) {
  margin-top: -4rem;
}

.home #contact {
  padding: 6rem 0;
}

.home #contact .contact-tel-wrap {
  margin: 2rem auto;
  gap: 1.5rem;
}

.home .bt-list-center {
  margin-top: 2rem;
}

@media only screen and (max-width: 1280px) {
  .home .san-francisco-life-wrap .txt-box,
  .home .san-francisco-life-wrap .img-box {
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 599px) {
  .home .main-content,
  #flow .main-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home section .main-content h2 .ja,
  .home section .main-content h2 .en,
  #flow .main-content h2 .ja,
  #flow .main-content h2 .en {
    font-size: 3.2rem;
  }

  .home .flow-title,
  .home .life-title,
  #flow .flow-title {
    margin-top: 3.5rem;
  }

  .home .life-sub-title {
    font-size: 2rem;
    margin-top: 2.5rem;
  }

  .home .life-mini-title {
    font-size: 1.6rem;
  }

  .home .things-list li:nth-last-child(even) {
    margin-top: 0;
  }

  .home #contact {
    padding: 4rem 0;
  }
}

.img-wrap,
.choose-img-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0;
}

@media only screen and (max-width: 599px) {
  .img-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
  }

  .choose-img-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
  }
}

.img-wrap .img-box {
  width: 100%;
  height: 100%;
}

.img-wrap .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txt-img-wrap {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 4rem;
  margin: 4rem 0;
}

@media only screen and (max-width: 1024px) {
  .txt-img-wrap {
    grid-template-columns: 1fr;
  }
  .txt-img-wrap .img-box {
    max-width: 450px;
    margin: 0 auto;
  }
}

.txt-img-wrap .img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* blanc 2026-09-01: 文章が写真の下まで回り込む形（トップの #about だけ）。
   grid の2カラム固定だと文章が写真の下へ入れず、写真の下に白い余白が出るため。
   書き方は同ファイルの #choose .img-box.float-r に合わせている。
   HTML 側で .img-box を .txt-box より前に置いてある（float は先行する
   通常フローの要素より上には行けないため）。1024px以下は flex の order で
   従来どおり「文章→写真」の並びに戻す＝モバイルは無変更。 */
.txt-img-wrap--float {
  display: block;
}

.txt-img-wrap--float .img-box {
  width: 450px;
  float: right;
  margin: 0 0 2rem 4rem;
}

.txt-img-wrap--float::after {
  content: '';
  display: block;
  clear: both;
}

/* テーマ既定の h1〜h6 { clear: both } が効いていると、見出しが float を避けて
   写真の下へ落ちる（＝写真の左が空く）。このブロックだけ解除する。 */
.txt-img-wrap--float .txt-box h3 {
  clear: none;
}

@media only screen and (max-width: 1024px) {
  .txt-img-wrap--float {
    display: flex;
    flex-direction: column;
  }
  .txt-img-wrap--float .txt-box {
    order: 1;
  }
  .txt-img-wrap--float .img-box {
    order: 2;
    float: none;
    width: auto;
    max-width: 450px;
    margin: 0 auto;
  }
  .txt-img-wrap--float::after {
    display: none;
  }
}

.nyukoku-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media only screen and (max-width: 599px) {
  .nyukoku-grid {
    grid-template-columns: 1fr;
    gap: initial;
  }
}

#choose .img-box.float-r {
  width: 360px;
  float: right;
  margin-left: 30px;
}

@media only screen and (max-width: 599px) {
  #choose .img-box.float-r {
    width: 100%;
    float: none;
    margin-left: 0;
  }
}

#choose .main-content,
#vision .main-content,
#key-message .main-content,
#flow .main-content,
#san-francisco-life .main-content,
#san-jose-life .main-content,
#things .main-content {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
}

/* サブページ（サイドバー付き）内の #flow はカラム幅に合わせる */
.main-grid-wrap #flow .main-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
  box-sizing: border-box;
}

@media only screen and (max-width: 599px) {
  #choose .main-content,
  #vision .main-content,
  #key-message .main-content,
  #flow .main-content,
  #san-francisco-life .main-content,
  #san-jose-life .main-content,
  #things .main-content {
    width: 100%;
    max-width: 100%;
  }
}

/* トップ：入国フロー導入（短い案内＋イメージ） */
.home #flow.flow-teaser > .main-content {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.flow-teaser__main {
  gap: 4rem;
  margin: 2rem 0 0;
}

.flow-teaser__main .txt-box p {
  margin-bottom: 1.6rem;
  line-height: 1.85;
}

.flow-teaser__main .img-box img {
  display: block;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1.6rem rgba(11, 49, 143, 0.12);
}

.flow-teaser__cta {
  margin: 2.4rem 0 0 !important;
}

.flow-teaser__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.flow-teaser__gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.8rem;
}

@media only screen and (max-width: 767px) {
  .home #flow.flow-teaser > .main-content {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    box-sizing: border-box;
  }

  .flow-teaser__main {
    gap: 2.4rem;
    margin-top: 1.2rem;
  }

  .flow-teaser__cta {
    text-align: center;
  }

  .flow-teaser__gallery {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 2.4rem;
  }
}

/* MARK: キーフレーズ訴求 */
.key-message {
  background: linear-gradient(120deg, var(--color-theme-second) 0%, var(--color-theme) 55%, var(--color-theme-light) 100%);
  color: #fff;
}

.key-message .main-content {
  padding-top: 3.2rem !important;
  padding-bottom: 3.2rem !important;
  text-align: center;
}

.key-message__text {
  margin: 0 !important;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

@media only screen and (max-width: 599px) {
  .key-message .main-content {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* MARK: Vision 強調リード */
#vision .vision-lead {
  margin: 0 0 2rem;
  padding: 1.6rem 1.8rem;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-theme-second);
  background-color: rgba(var(--color-theme-rgb), 0.08);
  border-left: 4px solid var(--color-theme);
}

@media only screen and (max-width: 599px) {
  #vision .vision-lead {
    padding: 1.4rem 1.4rem;
  }
}

#things {
  background-color: var(--color-theme);
  color: #fff;
  overflow: hidden;
}

#things .main-content h2 .ja {
  color: #fff;
}

#things .main-content h2 .en {
  color: #ccc;
}

#things .main-content h2 .en {
  color: #fff;
}

.choose-list li::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f138';
  display: inline-block;
  margin-right: 1rem;
  font-size: 2.4rem;
  margin-left: -4.5rem;
}

.choose-list li {
  padding-left: 4rem;
  margin-bottom: 3rem;
}

.choose-list li span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-theme);
}

.san-francisco-inner {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
}

.flow-box {
  padding: 3rem;
  background-color: #f5f5f5;
  border-radius: 1rem;
}
.flow-title,
.life-title {
  padding-bottom: 2.4rem;
  margin-top: 10rem;
  margin-bottom: 3rem;
  position: relative;
}

.flow-subtitle {
  font-size: 3.6rem !important;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: solid 8px #000;
  padding-bottom: 2rem;
  margin-top: 3rem;
}

.flow-title::after,
.life-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, var(--color-theme), var(--color-theme) 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, var(--color-theme), var(--color-theme) 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.life-sub-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding: 0 0 0 1.6rem;
  position: relative;
}

.life-sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 6px;
  border-radius: 3px;
  background: var(--color-theme);
}

.life-mini-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  position: relative;
  border-bottom: solid 3px var(--color-theme-second);
}

.life-txt-box {
  padding: 1.5rem;
  border: solid 5px #ccc;
  background-color: #f5f5f5;
}

.life-txt-box p:last-of-type {
  margin-bottom: 0;
}

.flow-title .en {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-theme);
}

.flow-title .ja {
  font-size: 2.4rem;
  font-weight: 900;
}

.flow-mini-title {
  font-size: 2.6rem;
  font-weight: bold;
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 0 0 2rem;
}

.flow-mini-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 5px;
  background: var(--color-theme-second);
}

.flow-title-wrap {
  display: flex;
  gap: 3rem;
  margin-top: 8rem;
}

.flow-title-wrap .txt-box {
  width: calc(100% - 250px - 3rem);
}
.flow-title-wrap .img-box {
  width: 250px;
}
.flow-title-wrap .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media only screen and (max-width: 599px) {
  .flow-title-wrap {
    flex-direction: column;
  }
  .flow-title-wrap .txt-box {
    width: 100%;
  }
}

@media only screen and (max-width: 599px) {
  .flow-title-wrap .img-box {
    width: 100%;
  }
}

#san-francisco-life {
  position: relative;
}

#san-jose-life {
  position: relative;
}

@media only screen and (max-width: 1024px) {
  #san-francisco-life::before {
    display: none;
  }
}
.san-francisco-life-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 6rem 0;
}

.san-francisco-life-wrap:nth-of-type(even) {
  flex-direction: row-reverse;
}

.san-francisco-life-wrap .txt-box {
  width: calc(100% - 400px - 3rem);
}

.san-francisco-life-wrap .img-box {
  width: 400px;
}

.san-francisco-life-wrap .img-box img {
  width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1280px) {
  .san-francisco-life-wrap {
    flex-direction: column;
  }

  .san-francisco-life-wrap:nth-of-type(2),
  .san-francisco-life-wrap:nth-of-type(4) {
    flex-direction: column;
  }
  .san-francisco-life-wrap .txt-box {
    width: 100%;
  }
  .san-francisco-life-wrap .img-box {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
  }
}

.san-francisco-life-wrap .txt-box h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 1024px) {
  .san-francisco-life-wrap .txt-box {
    width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  .san-francisco-life-wrap .img-box {
    width: 100%;
  }
  .san-francisco-life-wrap .img-box img {
    max-width: 450px;
    margin: 0 auto;
    object-fit: contain;
  }
}

#things {
  position: relative;
}

#things .main-content {
  width: 100%;
  max-width: 100%;
}

.things-marquee {
  overflow: hidden;
  padding: 6rem 0;
  margin-top: 6rem;
  min-height: 22rem;
}

.things-marquee__track {
  display: flex;
  width: max-content;
  animation: things-marquee-scroll var(--things-marquee-duration, 80s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes things-marquee-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.things-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 3rem;
  flex-shrink: 0;
  margin: 0 3rem 0 0;
  padding: 0;
  list-style: none;
}

.things-list li {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.things-list li img {
  display: block;
  width: 28rem;
  max-width: none;
  height: auto;
}

.things-list li:nth-last-child(even) {
  margin-top: -6rem;
}

@media only screen and (max-width: 599px) {
  .things-marquee {
    padding: 3rem 0;
    margin-top: 2rem;
    min-height: 16rem;
  }

  .things-list {
    gap: 1.6rem;
    margin-right: 1.6rem;
  }

  .things-list li img {
    width: 18rem;
    max-width: 70vw;
  }

  .things-list li:nth-last-child(even) {
    margin-top: 0;
  }
}

#pickup {
  position: relative;
}

.pickup-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 599px) {
  .pickup-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.pickup-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pickup-item__thumb {
  overflow: hidden;
  flex-shrink: 0;
}

.pickup-item__thumb-link {
  display: block;
  line-height: 0;
}

.pickup-item__thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto;
  max-width: none;
}

/* 旧マークアップ用（archive-property など） */
.pickup-item > a {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.pickup-item > a img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto;
  max-width: none;
}

.pickup-item__title {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 2rem 0 1rem;
  flex-shrink: 0;
}

.pickup-item__title-link {
  color: #000;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.pickup-item__title-link:hover {
  color: var(--color-theme);
}

.cat-list {
  display: flex;
  gap: 1rem;
}

.cat-list li a {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  display: inline-block;
  background-color: var(--color-theme);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition:
    var(--transition),
    transform 0.3s ease;
}

.cat-list li a:hover {
  background-color: var(--color-accent);
}

#contact {
  background-image: url(../images/contact_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0;
  position: relative;
}

#contact .main-content {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(var(--color-theme-rgb), 0.7);
  text-align: center;
  z-index: 1;
}

#contact .main-content > h2,
#contact .main-content > h3,
#contact .main-content > p {
  color: #fff;
}

#contact .main-content > h2,
#contact .main-content > h3 {
  margin: 20px 0;
}

#contact .main-content > h2 {
  font-size: 2.4rem;
}

#contact .main-content > h3 {
  font-size: 1.8rem;
}

#contact .contact-tel-wrap {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #fff;
  width: 700px;
  margin: 40px auto;
  grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 599px) {
  #contact .contact-tel-wrap {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

#contact .contact-tel-wrap > .tel-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contact .contact-tel-wrap > .tel-txt > p,
#contact .contact-tel-wrap > .tel-txt > span {
  margin-bottom: 0;
  font-size: 1.4rem;
}

#contact .contact-tel-wrap > .tel-txt > a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
}

#subpage {
  background-color: #fff;
}

.error404 .main-content {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
}

#subpage .main-content h2 {
  margin: 3rem 0;
  position: relative;
  padding-bottom: 2rem;
}

#subpage .main-content h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#subpage .main-content h2:not(:first-of-type) {
  margin-top: 6rem;
}

#subpage .main-content h2.menu-title span {
  font-size: 4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: var(--color-theme);
}

#subpage .main-content h3,
.property-details__title {
  font-size: 2.6rem;
  font-weight: bold;
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 0 0 2rem;
}

#subpage .main-content h3::before,
.property-details__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 5px;
  background: var(--color-theme-second);
}

/* MARK:Tables */
.nomal_table {
  border-collapse: collapse;
  width: 100%;
  margin: 2rem auto;
  padding: 0;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.nomal_table th {
  text-align: left;
  background-color: #f5f5f5;
  vertical-align: top;
  padding: 13px 15px;
  border-right: 1px solid #ccc;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
}

.nomal_table td {
  padding: 13px 15px;
  border-right: 1px solid #ccc;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
}

.postid-37 .nomal_table th:first-child,
.postid-37 .nomal_table th:last-child {
  width: 20%;
}

.spotDetail_table_area td {
  background-color: var(--color-theme-second);
  font-weight: 700;
  color: #fff;
  font-size: 1.8rem;
}

.legal_notice {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-left: 0px solid #e3e3e3;
  border-top: 1px solid #ccc;
}

.legal_notice th {
  text-align: left;
  vertical-align: top;
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
  width: 15%;
}

.legal_notice td {
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
}

.form {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-left: 0px solid #e3e3e3;
  border-top: 0px solid #ccc;
  margin-bottom: 20px;
}
.form th {
  text-align: left;
  vertical-align: middle;
  padding: 20px 15px;
  border-right: 0px solid #e3e3e3;
  background: initial;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
  position: relative;
  width: 25%;
}

.form td {
  padding: 20px 15px;
  border-right: 0px solid #e3e3e3;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
}

.hissu {
  display: inline-block;
  background-color: #dc3545;
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.form th .hissu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.know .wpcf7-list-item,
.kikkake .wpcf7-list-item {
  display: block;
}

.life_table {
  border-collapse: collapse;
  width: 100%;
  margin: 2rem auto;
  padding: 0;
  border-top: 1px solid var(--color-theme);
  table-layout: fixed;
}

.life_table th,
.life_table td {
  width: calc(100% / 3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.life_table th {
  text-align: left;
  background-color: var(--color-theme);
  vertical-align: top;
  padding: 13px 15px;
  color: #fff;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--color-theme);
}

.life_table td {
  padding: 13px 15px;
  color: #000;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--color-theme);
}

@media only screen and (max-width: 1024px) {
  .life_table th,
  .life_table td {
    padding: 10px 12px;
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 599px) {
  .life_table {
    table-layout: auto;
    border-top: 0;
  }

  .life_table thead {
    display: none;
  }

  .life_table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-theme);
  }

  .life_table td {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-gray);
  }

  .life_table td:last-child {
    border-bottom: 0;
  }

  .life_table td[data-label]::before {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--color-theme);
    font-size: 1.2rem;
    content: attr(data-label);
  }
}

@media only screen and (max-width: 1024px) {
  .legal_notice th {
    width: 20%;
  }
}

@media only screen and (max-width: 599px) {
  .legal_notice th,
  .form th {
    display: block;
    width: 100%;
    border-bottom: 0;
  }

  .legal_notice th {
    padding: 1rem 0 0 0;
  }

  .legal_notice td,
  .form td {
    display: block;
    width: 100%;
  }

  .legal_notice td {
    padding: 1rem 0;
  }

  .form th {
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 599px) {
  .form td {
    padding: 10px;
  }

  .form th .red {
    margin-left: 5px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .form input[type='text'],
  .form input[type='tel'],
  .form input[type='email'] {
    width: 90%;
    max-width: 400px;
  }
}

/* Page Top Button */
#page-top {
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 1.2rem;
  z-index: 5;
  margin: 0 !important;
}

#page-top a {
  background: var(--color-theme);
  text-decoration: none;
  color: #fff;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

@media only screen and (min-width: 1281px) {
  #page-top a:hover {
    text-decoration: none;
    background: var(--color-theme-light);
  }
}

@media only screen and (max-width: 599px) {
  #page-top {
    bottom: 57px;
  }
}

/*MARK:gmap*/
@media only screen and (max-width: 599px) {
  .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9の比率 */
    overflow: hidden;
  }

  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.bg-gray {
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 1rem;
  margin: 2rem 0;
}

/*MARK:Margin Padding*/
.mt20 {
  margin-top: 2rem;
}
.mt30 {
  margin-top: 3rem;
}
.mt40 {
  margin-top: 4rem;
}
.mt60 {
  margin-top: 6rem;
}

.mt100 {
  margin-top: 10rem;
}

.mb20 {
  margin-bottom: 2rem;
}

.mb30 {
  margin-bottom: 3rem;
}

.mb40 {
  margin-bottom: 4rem;
}

/* Button Style */

.arrow_list li {
  padding: 1rem;
  color: var(--color-green-dark);
  font-size: 1.6rem;
  position: relative;
}

.arrow_list li::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f054';
  font-weight: 900;
  margin-right: 10px;
}

.link-list,
.link_list_center {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 3rem 0;
}

@media only screen and (max-width: 599px) {
  .link-list,
  .link_list_center {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
  }
}

.link_list_center {
  justify-content: center;
}
.link-list li::before,
.link_list_center li::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f138';
  font-weight: 900;
  margin-right: 10px;
  color: var(--color-theme);
  font-size: 1.8rem;
}
.link-list li a,
.link_list_center li a {
  display: inline-block;
  color: #000;
  font-size: 1.4rem;
  position: relative;
  text-decoration: none;
  padding-bottom: 2px;
  padding-left: 0;
}

.link-list li a::after,
.link_list_center li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-theme);
  transition: width 0.3s ease;
}

.link-list li a:hover::after,
.link_list_center li a:hover::after {
  width: 100%;
}

.link-bt-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  margin: 1.5rem 0;
}

.bt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 1.5rem 0;
}

.bt-list-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 1.5rem 0;
}

.bt01,
.bt02,
.bt-item,
.insta_bt,
.form_bt {
  display: inline-block;
  transition:
    var(--transition),
    transform 0.3s ease;
  font-weight: bold;
  text-decoration: none !important;
}

.bt01 {
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 5px;
  font-size: 1.8rem;
  padding: 15px 30px;
  border-radius: 5px;
  position: relative;
  text-align: center;
  border-bottom: solid 4px var(--color-theme-dark);
}

.bt01:hover {
  transform: translateY(-5px);
}

.bt01::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  padding-left: 1rem;
  color: var(--color-white);
  font-size: 1.4rem;
  text-decoration: none !important;
  vertical-align: middle;
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.bt02 {
  background-color: var(--color-green);
  color: #fff;
  border-radius: 5px;
  font-size: 1.8rem;
  padding: 15px 30px;
  border-radius: 5px;
  position: relative;
  text-align: center;
  border-bottom: solid 4px var(--color-green-dark);
}

.bt02:hover {
  transform: translateY(-5px);
}

.bt02::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  padding-left: 1rem; /*文字との隙間*/
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  vertical-align: middle; /* 縦中央に配置 */
  display: inline-block; /* インラインブロック要素に変更 */
  transition:
    var(--transition),
    transform 0.3s ease;
}

.bt02:hover::after {
  color: #fff;
}

.bt-item {
  border: solid 1px var(--color-red);
  color: #fff;
  min-width: 250px;
  padding: 10px 20px;
  font-weight: 400;
  position: relative;
  background-color: var(--color-red);
  opacity: 1;
  text-align: center;
  border-radius: 100px;
}

.bt-item:hover {
  background-color: var(--color-red);
  color: #fff;
  transform: translateY(-5px);
}

.bt-item::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  padding-left: 1rem; /*文字との隙間*/
  color: var(--color-theme-second);
  font-size: 1.4rem;
  text-decoration: none;
  vertical-align: middle; /* 縦中央に配置 */
  display: inline-block; /* インラインブロック要素に変更 */
  transition:
    var(--transition),
    transform 0.3s ease;
}

.bt-item:hover::after {
  color: #fff;
}

.contact-bt {
  font-size: 2rem;
  color: var(--color-theme);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
  background-color: #fff;
  padding: 2rem 4rem;
  border-radius: 0.5rem;
  position: relative;
  line-height: 1;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
}

.contact-bt::after {
  display: inline-block;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 3rem;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.line_icon {
  transition:
    var(--transition),
    transform 0.3s ease;
}

.contact-bt:hover,
.line_icon:hover {
  transform: translateY(-5px);
}

@media screen and (min-width: 1025px) {
  .bt01 {
    min-width: 260px;
  }
}

@media only screen and (max-width: 1024px) {
  .bt_list li a {
    width: 100%;
  }
}

@media only screen and (max-width: 599px) {
  .bt_list li {
    width: 100%;
  }
}

@media only screen and (max-width: 599px) {
  .gmap {
    margin: 20px 0;
  }
}

.disc-list {
  list-style: disc;
  margin-left: 3.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.disc-list li::marker {
  color: var(--color-theme);
  font-size: 2.4rem;
}

.disc-list.men li::marker {
  color: var(--color-blue);
  font-size: 2.4rem;
}

.check-list {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.check-list li::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f058';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-green);
  font-size: 2rem;
}

.sub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  line-height: 1;
  margin-right: 2rem;
}

.sub-list li::before {
  content: '•'; /* 必要に応じてアイコンや記号を変更 */
  color: var(--color-theme);
  font-size: 3rem;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-list li {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery-list li img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* FAQ */
.faq_box div dt {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 3rem 5rem 3rem 3rem;
  background: #f5f5f5;
  border-radius: 5px;
  position: relative;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  font-size: 2rem;
  font-family: var(--font-base);
  font-weight: 700;
  line-height: 1.8;
}

.faq_box div dt::after {
  content: '\2b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq_box div dt.active::after {
  content: '\f068';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.faq_box div dd {
  max-height: 0;
  overflow: hidden;
  padding: 0 3rem 0 6rem; /* 横のパディングは維持、縦は0に */
  background: #fff;
  margin: 0; /* マージンを0に */
  opacity: 0;
  transition: all 0.3s ease-in-out;
  visibility: hidden; /* 完全に非表示に */
  font-family: var(--font-base);
  line-height: 1.8;
}

.faq_box div dt::before {
  content: 'Q';
  color: var(--color-theme);
  font-size: 3rem;
  font-family: var(--font-base);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15em;
}

.faq_box div dd::before {
  content: 'A';
  color: var(--color-green);
  font-size: 3rem;
  font-family: var(--font-base);
  font-weight: 900;
  margin-right: 1rem;
  vertical-align: baseline;
  margin-left: -3rem;
}

.faq_box div dd.show {
  max-height: 500px;
  padding: 3rem 3rem 3rem 6rem; /* 開いた時は全方向にパディング */
  margin-bottom: 1.5rem;
  opacity: 1;
  visibility: visible; /* 表示状態に */
}

.faq_box div {
  margin-bottom: 1rem;
}

@media only screen and (max-width: 599px) {
  .faq_box div dt {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 4rem 1rem 1.5rem;
    background: #f5f5f5;
    border-radius: 5px;
    position: relative;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-size: 1.6rem;
    font-family: var(--font-base);
    font-weight: 700;
    line-height: 1.8;
  }
  .faq_box div dt::before {
    content: 'Q';
    color: var(--color-theme);
    font-size: 2.4rem;
    font-family: var(--font-base);
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1em;
  }
  .faq_box div dt::after {
    content: '\2b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .faq_box div dd {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem 0 5rem; /* 横のパディングは維持、縦は0に */
    background: #fff;
    margin: 0; /* マージンを0に */
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden; /* 完全に非表示に */
    font-size: 1.4rem;
  }
  .faq_box div dd::before {
    content: 'A';
    color: var(--color-green);
    font-size: 2.4rem;
    font-family: var(--font-base);
    font-weight: 900;
    margin-right: 1rem;
    vertical-align: baseline;
    margin-left: -3.2rem;
  }

  .faq_box div dd.show {
    max-height: 500px;
    padding: 1.5rem 1.5rem 1.5rem 5rem; /* 開いた時は全方向にパディング */
    margin-bottom: 1.5rem;
    opacity: 1;
    visibility: visible; /* 表示状態に */
  }
}

.marker {
  background: linear-gradient(transparent 55%, #fff100 55%);
}

/* Voice Section */
#voice {
  padding: 6rem 0;
  position: relative;
}

.voice-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin: 3rem 0;
  text-align: center;
}

.voice-swiper-container {
  position: relative;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#user-voice .main-content {
  position: relative;
}

.voice-swiper {
  overflow: visible !important;
  padding: 2rem 0;
}

.voice-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.voice-swiper .swiper-slide .voice-card {
  max-width: 900px;
  width: 100%;
}

.voice-swiper-container {
  /* overflow: hidden; */
  padding: 0 2rem;
}

.voice-card {
  background: #fff;
  border-radius: 1.6rem;
  margin: 0 1rem;
  padding: 2rem;
  border: 4px solid #e8f4fd;
  transition: all 0.5s ease;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  opacity: 0.6;
  transform: scale(0.9);
}

.voice-swiper .swiper-slide-active .voice-card {
  opacity: 1;
  transform: scale(1);
  border-color: var(--color-theme);
}

.voice-swiper .swiper-slide-active .voice-card:hover {
  transform: scale(1.02) translateY(-0.5rem);
  border-color: var(--color-theme);
}

.voice-image {
  flex-shrink: 0;
}

.voice-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.voice-badge {
  background: var(--color-theme);
  color: white;
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  width: fit-content;
  letter-spacing: 0.05em;
}

.voice-name {
  font-size: 2.2rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1.5rem;
}

.voice-text p {
  font-size: 1.4rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.voice-text p:first-child {
  font-weight: 600;
  color: #222;
}

.voice-text p:last-child {
  margin-bottom: 0;
}

.voice-navigation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1060px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 99;
}

.voice-prev,
.voice-next {
  width: 5.6rem;
  height: 5.6rem;
  background: var(--color-theme);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 150, 218, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  border: none;
  z-index: 100;
  position: relative;
}

.voice-prev:hover,
.voice-next:hover {
  background: var(--color-theme-dark);
  transform: scale(1.1);
  box-shadow: 0 1.2rem 3.6rem rgba(0, 150, 218, 0.35);
}

.voice-prev i,
.voice-next i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.voice-prev:hover i,
.voice-next:hover i {
  color: white;
}

.voice-button {
  text-align: center;
}

/* Voice page (/voice/) sample layout */
.voice-page__lead {
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 0 0 3rem;
}

.voice-page__sample-note {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 1.3rem;
  color: #666;
}

.voice-page__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin: 0 0 4rem;
}

.voice-page .voice-card--static {
  opacity: 1;
  transform: none;
  margin: 0;
  max-width: none;
  width: 100%;
}

.voice-page .voice-card--static:hover {
  transform: translateY(-0.3rem);
  border-color: var(--color-theme);
}

.voice-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e8f4fd;
  color: var(--color-theme, #2176d7);
}

.voice-avatar i {
  font-size: 4.8rem;
}

.voice-page__cta {
  margin: 2rem 0 1rem;
}

@media only screen and (max-width: 767px) {
  .voice-page .voice-card--static {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .voice-page .voice-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .voice-avatar {
    width: 96px;
    height: 96px;
  }

  .voice-avatar i {
    font-size: 3.6rem;
  }
}

/* Tablet Styles */
@media only screen and (max-width: 1024px) {
  #user-voice {
    padding: 4rem 0;
  }

  .voice-title {
    font-size: 2.8rem;
  }

  .voice-card {
    padding: 2.5rem;
    margin: 0 0.5rem;
    min-height: 24rem;
    gap: 2rem;
  }

  .voice-image {
    width: 10rem;
    height: 10rem;
  }

  .voice-badge {
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  .voice-name {
    font-size: 1.5rem;
  }

  .voice-text p {
    font-size: 1.3rem;
  }

  .voice-prev,
  .voice-next {
    width: 4.5rem;
    height: 4.5rem;
  }

  .voice-prev i,
  .voice-next i {
    font-size: 1.6rem;
  }

  .voice-prev {
    margin-left: 3rem;
  }

  .voice-next {
    margin-right: 3rem;
  }
}

/* Mobile Styles */
@media only screen and (max-width: 599px) {
  #voice {
    padding: 3rem 0;
  }

  .voice-header {
    margin-bottom: 3rem;
  }

  .voice-subtitle {
    font-size: 1.2rem;
  }

  .voice-title {
    font-size: 2.4rem;
  }

  .voice-swiper-container {
    margin-bottom: 3rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .voice-swiper .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .voice-swiper .swiper-slide .voice-card {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: end;
  }

  .voice-card {
    padding: 2rem;
    margin: 0;
    min-height: 20rem;
    opacity: 0.6;
    transform: scale(0.9);
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
  }

  .voice-swiper .swiper-slide-active .voice-card {
    opacity: 1;
    transform: scale(1);
  }

  .voice-image {
    margin: 0 auto;
    height: initial;
    align-self: center;
  }

  .voice-badge {
    font-size: 1rem;
    padding: 0.3rem 0.8rem;
  }

  .voice-name {
    font-size: 1.8rem;
  }

  .voice-text p {
    font-size: 1.4rem;
  }

  .voice-navigation {
    position: static;
    transform: none;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .voice-prev,
  .voice-next {
    width: 4rem;
    height: 4rem;
    margin: 0;
    z-index: 100;
  }

  .voice-prev i,
  .voice-next i {
    font-size: 1.4rem;
  }
}

/* FAQ Section */
#faq {
  background-color: var(--color-theme-light);
  padding: 8rem 0;
}

.faq-title {
  font-size: 3.6rem;
  text-align: center;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 6rem;
}

.faq-item {
  background-color: #fff;
  border: 3px solid var(--color-theme);
  border-radius: 15px;
  margin-bottom: 3rem;
  padding: 2.5rem 3rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  padding-bottom: 2rem;
  gap: 2rem;
  border-bottom: 2px solid var(--color-theme);
  position: relative;
}

.faq-question::before {
  content: 'Q';
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-theme);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: bold;
  flex-shrink: 0;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  padding-top: 2rem;
  gap: 2rem;
  position: relative;
}

.faq-answer::before {
  content: 'A';
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-gray-darken);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: bold;
  flex-shrink: 0;
}

.faq-question {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-theme);
  line-height: 1.8;
}

.faq-answer {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
}

@media only screen and (max-width: 1024px) {
  #faq {
    padding: 6rem 0;
  }

  .faq-container {
    margin-top: 4rem;
  }

  .faq-question {
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .faq-answer {
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .faq-question::before,
  .faq-answer::before {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1.8rem;
  }

  .faq-answer {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 599px) {
  #faq {
    padding: 4rem 0;
  }

  .faq-container {
    margin-top: 3rem;
  }

  .faq-question {
    padding-bottom: 1.5rem;
    gap: 1rem;
  }

  .faq-answer {
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .faq-question::before,
  .faq-answer::before {
    width: 3rem;
    height: 3rem;
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1.6rem;
  }

  .faq-answer {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .faq-item {
    margin-bottom: 2rem;
  }
}

/* Flow Section */

.flow-wrap {
  margin: 3rem auto;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 20px;
}
.flow-item:last-child {
  margin-bottom: 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

@media only screen and (max-width: 599px) {
  .flow-step {
    margin-right: 0;
  }
}

.step-circle {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 3px solid var(--color-theme);
  background-color: var(--color-theme);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
}
@media only screen and (max-width: 1024px) {
  .step-circle {
    width: 7rem;
    height: 7rem;
    font-size: 2rem;
  }
}

@media only screen and (max-width: 599px) {
  .step-circle {
    width: 6rem;
    height: 6rem;
    font-size: 1.8rem;
  }
}

.flow-line {
  width: 3px;
  height: calc(4rem + 4rem);
  background-color: var(--color-theme);
}

.flow-item:nth-of-type(3) .flow-line {
  height: 14rem;
}

@media only screen and (max-width: 599px) {
  .flow-item:nth-of-type(3) .flow-line {
    height: 20rem;
  }
}

.flow-txt {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  line-height: 1.4;
}

@media only screen and (max-width: 1024px) {
  .flow-txt {
    font-size: 2rem;
  }
}

.flow-detail {
  font-size: 1.8rem;
}

.mainimage.pseudo-hidden::before,
.mainimage.pseudo-hidden::after {
  display: none;
}

.mainimage .swiper-container {
  position: absolute;
  top: 0;
}

/*記事ページ関連*/
.posttitle {
  margin-bottom: 15px;
}
.posttitle h3 {
  position: relative;
  padding: 2rem 0;
  font-size: 2.4rem;
}

.posttitle h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.post-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.post-content .menu-title {
  background-color: var(--color-theme);
  padding: 2rem;
  font-size: 3rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: #fff;
  border-radius: 5px;
}

/* 記事メタ（カテゴリ・投稿日） */
.post-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
  margin: 1.6rem 0 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #e0e0e0;
}

.post-single__meta .cat_list,
.post-single__meta .post-single__terms {
  margin: 0;
}

.post-single__date {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.4rem 0;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-gray-darken);
  letter-spacing: 0.02em;
}

.post-single__date .fa-calendar-alt {
  color: var(--color-theme);
  font-size: 1.3rem;
}

.post-single__date-value {
  color: var(--color-gray-darken);
}

/* 記事本文内見出し（旧サイト準拠） */
#postpage .post-single__content h2 {
  margin: 3rem 0;
  position: relative;
  padding-bottom: 2rem;
  font-size: 2.4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  line-height: 1.5;
}

#postpage .post-single__content h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#postpage .post-single__content h2:not(:first-of-type) {
  margin-top: 6rem;
}

#postpage .post-single__content h3 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 0 0 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.5;
}

#postpage .post-single__content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 5px;
  background: var(--color-theme-second);
}

/* アイキャッチ画像（横幅一杯／元サイズ） */
#postpage .post-single__thumbnail {
  margin: 3rem 0;
  text-align: center;
}

#postpage .post-single__thumbnail img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* 記事本文内リスト（.disc-list 準拠） */
#postpage .post-single__content ul {
  list-style: disc;
  margin-left: 3.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

#postpage .post-single__content ul li::marker {
  color: var(--color-theme);
  font-size: 2.4rem;
}

/* 記事本文内画像（WordPress block） */
#postpage .post-single__content figure.wp-block-image {
  margin: 3rem auto;
  text-align: center;
}

#postpage .post-single__content figure.wp-block-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

#postpage .post-single__content figure.wp-block-image figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.4rem;
  color: #666;
}

/* 投稿ナビゲーション（前後記事ボタン） */
.post-single__nav {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid #ddd;
}

.post-single__nav .post-navigation {
  margin: 0;
}

.post-single__nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.post-single__nav .nav-previous,
.post-single__nav .nav-next {
  /* 片方だけのときも、2枚並び時の片側と同じ幅感にする */
  flex: 0 1 calc(50% - 1rem);
  width: calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  min-width: 0;
  display: flex;
}

.post-single__nav .nav-previous a,
.post-single__nav .nav-next a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 5px;
  padding: 1.5rem 3.5rem;
  font-weight: bold;
  text-decoration: none !important;
  position: relative;
  border-bottom: solid 4px var(--color-theme-dark);
  transition:
    var(--transition),
    transform 0.3s ease;
  line-height: 1.6;
  box-sizing: border-box;
}

.post-single__nav .nav-previous a:hover,
.post-single__nav .nav-next a:hover {
  transform: translateY(-3px);
  color: #fff;
}

.post-single__nav .nav-subtitle {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.post-single__nav .nav-title {
  display: block;
  font-size: 1.6rem;
}

.post-single__nav .nav-previous a {
  padding-left: 3.5rem;
  align-items: flex-start;
}

.post-single__nav .nav-next a {
  padding-right: 3.5rem;
  align-items: flex-end;
  text-align: right;
}

.post-single__nav .nav-previous a::before,
.post-single__nav .nav-next a::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.4rem;
}

.post-single__nav .nav-previous a::before {
  content: '\f0d9';
  left: 1.5rem;
}

.post-single__nav .nav-next a::after {
  content: '\f0da';
  right: 1.5rem;
}

@media only screen and (max-width: 599px) {
  #postpage .post-single__content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  #postpage .post-single__content h2:not(:first-of-type) {
    margin-top: 4rem;
  }

  #postpage .post-single__content h3 {
    font-size: 1.8rem;
    margin-top: 3rem;
    padding-left: 1.5rem;
  }

  #postpage .post-single__content h3::before {
    width: 6px;
  }

  .post-single__nav .nav-previous,
  .post-single__nav .nav-next {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .post-single__nav .nav-next a {
    align-items: flex-start;
    text-align: left;
    padding-right: 3.5rem;
  }
}

@media not all and (min-width: 767px) {
  .post-wrap {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.sidebar-wrap {
  position: relative;
  align-self: start;
}

.sidebar-wrap aside {
  position: sticky;
  top: 85px;
}
.side-parts h2.widget-title {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  margin: 30px 0;
  position: relative;
  color: var(--color-theme-second);
}
.side-parts h2.widget-title::after {
  display: inline-block;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 58px;
  border-bottom: dotted 2px #000;
  content: '';
}

.widget ul,
.widget ol {
  background-color: #f5f5f5;
  padding: 20px !important;
  border-radius: 10px;
  font-size: 1.4rem;
  margin-left: 0;
}

.widget li {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}
.widget li:last-child {
  margin-bottom: 0;
}
.widget li a {
  color: #000;
  position: relative;
  padding: 0 5px 5px 5px;
}

.widget li a::after {
  border-bottom: solid 1px #000;
  padding-bottom: 0px;
  left: 0;
  content: '';
  display: block;
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
}

.widget li a:hover::after {
  width: 100%;
}
.widget li::marker {
  color: #ccc;
}

.cat_list,
.education-archive__category-list,
.spot-archive__category-list {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.post-archive__item .cat_list,
.education-archive__item .cat_list,
.spot-archive__item .cat_list {
  margin: 0 0 10px;
}
.post-archive__thumbnail-link,
.education-archive__thumbnail-link,
.spot-archive__thumbnail-link {
  display: block;
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  overflow: hidden;
  margin-bottom: 0;
}

.post-archive__thumbnail,
.education-archive__thumbnail,
.spot-archive__thumbnail {
  width: 100%;
  height: 100%;
}

.post-archive__thumbnail img,
.education-archive__thumbnail img,
.spot-archive__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-archive__title a,
.education-archive__title a,
.spot-archive__title a {
  color: inherit;
  text-decoration: none;
}
.post-archive__title a:hover,
.education-archive__title a:hover,
.spot-archive__title a:hover {
  text-decoration: underline;
}
.education-archive__category-list > li,
.spot-archive__category-list > li,
.cat_list > li {
  margin-right: 10px;
}

.cat_list > li > a,
.education-archive__category-list > li > a,
.spot-archive__category-list > li > a {
  background-color: #ccc;
  display: inline-block;
  font-size: 1.2rem;
  color: #000;
  min-width: 60px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 3px 10px;
  line-height: 1.5;
}
.cat_list > li:hover {
  opacity: 0.6;
}
.cat_list > li.cat01 > a,
.cat_list > li.cat-what-s-news > a,
.cat_list > li.cat-news > a {
  background-color: #b30022;
  color: #fff;
}
.cat_list > li.cat02 > a,
.cat_list > li.cat-waterproofing > a {
  background-color: #5ec618;
  color: #fff;
}
.cat_list > li.cat03 > a,
.cat_list > li.cat-living-in-bay-area > a {
  background-color: #11739d;
  color: #fff;
}

.news_txt .cat {
  margin: 0 10px;
}

.post_eyecatch_img,
.post_content {
  margin: 40px 0;
}

.post_eyecatch_img img {
  margin: 0 auto;
}

.blog_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}
.blog_list .blog_cat_box {
  width: calc((100% - 20px * 1) / 2);
  padding: 10px;
}
.blog_list .blog_cat_box img {
  border-radius: 15px;
  transition: all 0.3s;
}
.blog_list .blog_cat_box img:hover {
  opacity: 0.5;
}
.blog_list .blog_cat_box .blog_txt {
  padding: 10px 0 0 0;
}
.blog_list .blog_cat_box .blog_txt time {
  font-size: 1.2rem;
  display: block;
}
.blog_list .blog_cat_box .blog_txt a {
  display: inline-block;
  color: #000;
  position: relative;
  padding: 0 0 5px 0;
}

.blog_list .blog_cat_box .blog_txt a::after {
  border-bottom: solid 1px #000;
  padding-bottom: 0px;
  left: 0;
  content: '';
  display: block;
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
}

.blog_list .blog_cat_box .blog_txt a:hover::after {
  width: 100%;
}

.education-archive__list,
.spot-archive__list
/* .post-archive__list */ {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.education-archive__item,
.spot-archive__item,
.post-archive__item {
  padding: 2rem;
  border: 3px solid var(--color-theme);
  border-radius: 5px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
}

.education-archive__body h3,
.spot-archive__body h3,
.post-archive__body h3 {
  margin-top: 0 !important;
}

/*pagenavi*/
.wp-pagenavi {
  clear: both;
  text-align: center;
  font-size: 14px;
  padding: 25px 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
  color: #fff;
  background-color: var(--color-theme-second);
  border: 1px solid var(--color-theme-second);
  padding: 5px 15px;
  margin: 0 2px;
  white-space: nowrap;
  border-radius: 3px;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-pagenavi a:hover {
  background-color: #fff;
  color: var(--color-theme-second);
  border-color: var(--color-theme-second);
}
.wp-pagenavi span.current {
  color: var(--color-theme-second);
  background-color: #fff;
  border-color: var(--color-theme-second);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .wp-pagenavi a,
  .wp-pagenavi span {
    color: #fff;
    background-color: var(--color-theme-second);
    border: 1px solid var(--color-theme-second);
    padding: 1% 3%;
    margin: 2% 2px;
    white-space: nowrap;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
}

.page-numbers {
  clear: both;
  text-align: center;
}
.page-numbers li {
  display: inline-block;
}
.page-numbers a,
.page-numbers span {
  color: #fff;
  background-color: var(--color-theme-second);
  border: 1px solid var(--color-theme-second);
  padding: 8px 15px;
  margin: 0 2px;
  white-space: nowrap;
  border-radius: 3px;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
}
.page-numbers a:hover {
  background-color: #fff;
  color: var(--color-theme-second);
  border-color: var(--color-theme-second);
}
.page-numbers span.current {
  color: var(--color-theme-second);
  background-color: #fff;
  border-color: var(--color-theme-second);
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .page-numbers a,
  .page-numbers span {
    color: #fff;
    background-color: var(--color-theme-second);
    border: 1px solid var(--color-theme-second);
    padding: 5px 13px;
    margin: 2% 2px;
    white-space: nowrap;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
}

/* Error 404 */
.error404 .widget_recent_entries li,
.error404 .widget_categories li {
  list-style-type: disc;
  margin-bottom: 15px;
  /* margin-left: 35px; */
  display: inline-flex;
  background-color: #f5f5f5;
  padding: 10px 20px;
  list-style-position: inside;
  border-radius: 10px;
  position: relative;
  /* align-content: center; */
  align-items: center;
}

.error404 .widget_recent_entries li::before,
.error404 .widget_categories li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #666;
  border-radius: 50%;
  display: inline-flex;
  margin-right: 10px;
}
.error404 .widget_recent_entries li a,
.error404 .widget_categories li a {
  color: #333;
}
.error404 .widget_recent_entries li a:hover,
.error404 .widget_categories li a:hover {
  opacity: 0.5;
}

/* Grid */
.grid-1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.grid-3 > div {
  min-width: 0;
}

.grid-3 img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 599px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.max-w800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mtb-2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mtb-4 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.mtb-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.center-img img {
  margin-inline: auto;
}

/* Property Category More Button */

.property-category__main-title,
.category-title {
  margin: 3rem 0;
  position: relative;
  padding-bottom: 2rem;
  font-size: 4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: var(--color-theme);
}

.property-category__main-title::after,
.category-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.property-category__title {
  font-size: 3rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 0 0 2rem;
}

.property-category-group {
  padding: 2rem 0;
}

.property-category-group:not(:first-of-type) {
  margin-top: 6rem;
}

.property-category__title::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 5px;
  background: var(--color-theme-second);
}

.property-category__map {
  margin: 3rem 0;
}

.property-category__content {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 2rem;
  background-color: var(--color-gray-light);
  padding: 2rem;
  margin: 2rem 0;
}

.property-category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-archive__category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.property-archive__category-list li {
  list-style: none;
}

.property-archive__category-list li a {
  background-color: var(--color-theme);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: var(--transition);
}

.property-archive__category-list li a.is-active {
  background-color: var(--color-accent);
}

.property-single__title {
  background-color: var(--color-theme);
  padding: 2rem;
  font-size: 2.4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: #fff;
  border-radius: 5px;
}

.property-details__list {
  width: 100%;
  border-top: 1px dotted #000;
}

.property-details__list .property-details__item {
  border-bottom: 1px dotted #000;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.property-details__list .property-details__item dt {
  font-weight: bold;
  font-size: 1.6rem;
}

.property-details__list .property-details__item dd {
  font-size: 1.6rem;
}

.property-category__more {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.button-more {
  display: inline-block;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 5px;
  font-size: 1.6rem;
  padding: 12px 40px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  border-bottom: solid 4px var(--color-theme-dark);
  transition:
    var(--transition),
    transform 0.3s ease;
}

.button-more:hover {
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}

.button-more::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  margin-left: 0.8rem;
  font-size: 1.4rem;
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (max-width: 599px) {
  .property-category__more {
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .button-more {
    font-size: 1.4rem;
    padding: 10px 30px;
  }
}

.property-single__details_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media only screen and (max-width: 599px) {
  .property-single__details_wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.relocation-service-wrap {
  padding: 3rem;
  border: 5px solid var(--color-theme-second);
  border-radius: 2rem;
  margin: 3rem 0;
}

.relocation-service-wrap h4 {
  margin: 2rem 0;
  position: relative;
  padding-bottom: 2rem;
  font-size: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
}

.relocation-service-wrap h4::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, var(--color-theme-second), var(--color-theme-second) 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, var(--color-theme-second), var(--color-theme-second) 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.relocation-setsumei-wrap {
  background-color: var(--color-gray-light);
  padding: 3rem;
  margin: 4rem 0;
  text-align: center;
  font-size: 1.8rem;
}

.relocation-setsumei-wrap .bt-list {
  justify-content: center;
}

.bayarea-network {
  width: 700px;
  margin: 3rem auto;
}

.network-img {
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 2rem 2rem 0 0;
}

.bayarea-network h4 {
  background-color: var(--color-theme);
  padding: 2rem;
  color: #fff;
  border-radius: 0 0 2rem 2rem;
  font-size: 1.6rem;
  text-align: center;
}

.relocation-case-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2rem;
  border: solid 3px var(--color-theme-light);
  margin: 3rem 0;
  border-radius: 1rem;
}

.relocation-case-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relocation-case-title {
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: solid 3px #ccc;
  margin-bottom: 2rem;
}

.chukai-wrap {
  padding: 2rem;
  background-color: var(--color-gray-light);
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
}

.chukai-wrap dt {
  color: var(--color-theme-second);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.chukai-wrap dd {
  font-size: 1.6rem;
  margin: 0 !important;
}
.relocation-subtitle {
  border-bottom: solid 3px var(--color-theme-second);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 900;
}

/* Contact Form 7 確認画面スタイル */
.cf7-confirm-screen {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 2px solid #e0e0e0;
}

.cf7-confirm-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.cf7-confirm-description {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.cf7-confirm-content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
}

.cf7-confirm-row {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.cf7-confirm-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cf7-confirm-label {
  font-weight: bold;
  min-width: 200px;
  color: #333;
  font-size: 14px;
  padding-right: 20px;
}

.cf7-confirm-value {
  flex: 1;
  color: #555;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.cf7-form-buttons p {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cf7-form-buttons .wpcf7-submit {
  display: inline-block !important;
}

.cf7-confirm-btn,
.cf7-back-btn,
.cf7-submit-btn {
  padding: 15px 50px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.cf7-confirm-btn {
  background: var(--color-theme);
  color: white;
}

.cf7-confirm-btn:hover {
  transform: translateY(-2px);
}

.cf7-back-btn {
  background: #6c757d;
  color: white;
}

.cf7-back-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.cf7-submit-btn {
  background: var(--color-orange);
  color: white;
}

.cf7-submit-btn:hover {
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cf7-confirm-screen {
    padding: 20px 15px;
  }

  .cf7-confirm-row {
    flex-direction: column;
  }

  .cf7-confirm-label {
    min-width: auto;
    margin-bottom: 8px;
    padding-right: 0;
  }

  .cf7-form-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7-confirm-btn,
  .cf7-back-btn,
  .cf7-submit-btn {
    width: 100%;
    min-width: auto;
  }
}

/* バリデーションエラー表示 */
/* 入力要素に直接.wpcf7-not-validがついている場合：背景色を変更 */
.wpcf7-not-valid input,
.wpcf7-not-valid select,
.wpcf7-not-valid textarea {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
  animation: shake 0.3s ease-in-out;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  border: solid 1px #dc3545;
}

/* 入力要素自体に.wpcf7-not-validがついている場合 */
input.wpcf7-not-valid,
select.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
  animation: shake 0.3s ease-in-out;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  border: solid 1px #dc3545;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* .wpcf7-form-control-wrapに.wpcf7-not-validがついている場合：余白と枠線のみ */
.wpcf7-form-control-wrap.wpcf7-not-valid {
  padding: 10px;
  border: solid 2px #dc3545;
  border-radius: 5px;
  margin-bottom: 5px;
}

.wpcf7-form-control-wrap.wpcf7-not-valid::after {
  content: attr(data-error-message);
  color: #dc3545;
  font-size: 13px;
  font-weight: bold;
  display: block;
  margin-top: 8px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* data-error-messageがない場合のデフォルトメッセージ */
.wpcf7-form-control-wrap.wpcf7-not-valid:not([data-error-message])::after {
  content: 'この項目は必須です';
}

/* チェックボックス・ラジオボタン内の入力要素には背景色を適用しない */
.wpcf7-form-control-wrap.wpcf7-not-valid input[type='checkbox'],
.wpcf7-form-control-wrap.wpcf7-not-valid input[type='radio'] {
  background-color: transparent !important;
  border: none !important;
}

/* エラーサマリーメッセージ */
.cf7-error-summary {
  background: #dc3545;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  animation: slideDown 0.4s ease-out;
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

/* スクロール時に固定表示 */
.cf7-error-summary.is-fixed,
.cf7-error-summary.sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 0 20px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
}

/* sticky時の追加アニメーション */
.cf7-error-summary.sticky {
  animation: slideDownFromTop 0.3s ease-out;
}

@keyframes slideDownFromTop {
  0% {
    top: -100px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cf7-error-summary .error-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cf7-error-summary .error-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.cf7-error-summary .error-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.cf7-error-summary .error-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* エラーサマリー固定時のフォーム上部余白 */
.wpcf7-form:has(.cf7-error-summary.is-fixed),
.wpcf7-form:has(.cf7-error-summary.sticky) {
  padding-top: 80px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cf7-error-summary {
    padding: 12px 15px;
  }

  .cf7-error-summary.is-fixed,
  .cf7-error-summary.sticky {
    border-radius: 0;
    width: 100%;
    margin: 0;
  }

  .cf7-error-summary .error-icon {
    font-size: 20px;
  }

  .cf7-error-summary .error-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .cf7-error-summary .error-close {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .wpcf7-form:has(.cf7-error-summary.is-fixed),
  .wpcf7-form:has(.cf7-error-summary.sticky) {
    padding-top: 70px;
  }
}

/* フォーム項目の横並びレイアウト */
.cf7-field-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cf7-field-row .cf7-field-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px; /* エラーメッセージ表示用のスペース確保 */
}

.cf7-field-row .cf7-field-item:last-child {
  margin-bottom: 0;
}

.cf7-field-row .cf7-field-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.cf7-field-row .cf7-field-label .required {
  color: #dc3545;
  margin-left: 3px;
}

.cf7-field-row .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

.cf7-field-row input[type='text'],
.cf7-field-row input[type='email'],
.cf7-field-row input[type='tel'],
.cf7-field-row input[type='date'] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.cf7-field-row input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 予算の範囲表示 */
.cf7-field-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf7-field-range .range-separator {
  color: #666;
  font-weight: bold;
  flex-shrink: 0;
}

.cf7-field-range .wpcf7-form-control-wrap {
  flex: 1;
}

/* tableレイアウト用のスタイル */
.wpcf7-form table {
  width: 100%;
  border-collapse: collapse;
}

.wpcf7-form table th {
  text-align: left;
  vertical-align: middle;
  font-weight: bold;
}

.wpcf7-form table td {
  vertical-align: middle;
}

/* エラーがある場合は下に余白を追加 */
.wpcf7-form table td:has(.wpcf7-not-valid) {
  padding-bottom: 35px;
}

/* tableレイアウトでのエラー表示を下に配置 */
.wpcf7-form table td .wpcf7-form-control-wrap.wpcf7-not-valid::after {
  display: block;
  position: static;
  margin-top: 5px;
  white-space: normal;
  width: 100%;
}

/* 横並びフィールドのエラー表示調整 */
.cf7-field-row .wpcf7-form-control-wrap.wpcf7-not-valid::after {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 3px;
  white-space: normal;
  z-index: 10;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cf7-field-row {
    flex-direction: column;
    gap: 20px;
  }

  .cf7-field-range {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7-field-range .range-separator {
    text-align: center;
    padding: 5px 0;
  }

  .wpcf7-form table,
  .wpcf7-form table tbody,
  .wpcf7-form table tr,
  .wpcf7-form table td {
    display: block;
    width: 100%;
  }

  /* .input-smallがついていない要素はスマホ時に横幅100% */
  /* ただし、ラジオボタン、チェックボックス、labelは除外 */
  /* .wpcf7-form .wpcf7-form-control-wrap:not(.input-small):not(:has(.wpcf7-checkbox)):not(:has(.wpcf7-radio)) {
    width: 100%;
    max-width: 100%;
  } */

  .wpcf7-form .wpcf7-form-control-wrap:not(.input-small) input:not([type='checkbox']):not([type='radio']),
  .wpcf7-form .wpcf7-form-control-wrap:not(.input-small) select,
  .wpcf7-form .wpcf7-form-control-wrap:not(.input-small) textarea {
    width: 100%;
    max-width: 100%;
  }

  /* チェックボックス・ラジオボタンを含むwrap要素は除外 */
  .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-checkbox),
  .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-radio) {
    width: auto;
    max-width: none;
  }

  /* labelは除外 */
  .wpcf7-form .wpcf7-form-control-wrap:not(.input-small) label {
    width: auto;
    max-width: none;
  }

  /* .input-smallがついている要素はスマホ時も180pxの最大幅を維持 */
  .wpcf7-form .wpcf7-form-control-wrap.input-small,
  .wpcf7-form .wpcf7-form-control-wrap.input-small input,
  .wpcf7-form .wpcf7-form-control-wrap.input-small select,
  .wpcf7-form .wpcf7-form-control-wrap.input-small textarea,
  .wpcf7-form .input-small,
  .wpcf7-form .input-small input,
  .wpcf7-form .input-small select,
  .wpcf7-form .input-small textarea {
    max-width: 100px !important;
    width: auto !important;
  }
}

/* Contact Form 7 送信ボタンを最初は非表示 */
.wpcf7-form .wpcf7-submit {
  display: none !important;
  padding: 15px 50px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  background: var(--color-orange);
  color: white;
}

/* 確認画面表示時の送信ボタン */
.wpcf7-form .wpcf7-submit.cf7-show-submit {
  display: inline-block !important;
}

.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
}

/* Contact Form 7のデフォルトエラーメッセージを非表示 */
.wpcf7-not-valid-tip {
  display: none !important;
}

/* Contact Form 7の自動挿入されたpタグのスタイルをリセット */
.wpcf7-form p {
  margin: 0;
  padding: 0;
}

.wpcf7-form table p {
  display: inline;
  margin: 0;
  padding: 0;
}

/* wpcf7-form-control-wrapのブロック表示を無効化 */
.wpcf7-form-control-wrap {
  display: inline-block;
  vertical-align: middle;
}

/* tableレイアウト内でも基本はインライン表示 */
.wpcf7-form table .wpcf7-form-control-wrap {
  display: inline-block;
  vertical-align: middle;
}

/* テーブル内のフォームコントロールのスタイル調整 */
.wpcf7-form table select,
.wpcf7-form table input[type='text'],
.wpcf7-form table input[type='email'],
.wpcf7-form table input[type='tel'],
.wpcf7-form table input[type='date'] {
  vertical-align: middle;
}

/* Contact Form 7の自動挿入されたbrタグを非表示（table外のみ） */
.wpcf7-form > br {
  display: none;
}

.wpcf7-form > p > br {
  display: none;
}

/* table内やtd内のbrタグは有効 */
.wpcf7-form table br {
  display: block;
}

/* 必要に応じてbrタグを有効にするクラス */
.wpcf7-form .allow-br br {
  display: block;
}

/* 条件分岐フィールド：初期状態で非表示 */
.wpcf7-form input[name='taizaikoku-other'] {
  display: inline-block;
}

.wpcf7-form .wpcf7-form-control-wrap[data-name='taizaikoku-other'] {
  display: none;
}

/* 確認画面やエラー時には表示されるようにJavaScriptで制御 */

/* .input-smallクラスがついている要素の最大幅を制限 */
.wpcf7-form .input-small-name,
.wpcf7-form .input-small,
.wpcf7-form .wpcf7-form-control-wrap.input-small,
.wpcf7-form .input-small input,
.wpcf7-form .input-small select,
.wpcf7-form .input-small textarea {
  max-width: 180px;
}

.wpcf7-list-item label {
  padding: 0.5rem 1rem;
  background: #e3e3e3;
  border-radius: 5px;
  margin: 0 1rem 1rem 0;
  display: inline-block;
}

input[type='text'].input-small-name {
  margin-right: 10px;
}

@media only screen and (max-width: 1024px) {
  input[type='text'].input-small-name {
    margin-right: 0px;
  }
}

/* MARK: CTAバナー（トップ） */
.cta-banners {
  background-color: var(--color-gray-light);
  overflow: hidden;
}

/* 他セクションと同じ幅。各バナー ≒ 半分＋中央gap */
.cta-banners .main-content {
  width: 90vw;
  max-width: 1350px;
}

/*
  PC: ステージをほぼ全幅にし、各バナー ≒ 半分＋中央gap
      矢印は左右の細い列のみ
  SP: 中央＋左右見切れ／下に ◀ ページャー ▶
*/
.cta-banners-swiper-wrap {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) 3.6rem;
  grid-template-areas:
    'prev stage next'
    '. pager .';
  align-items: center;
  column-gap: 1.2rem;
  row-gap: 2.8rem;
}

.cta-banners-stage {
  grid-area: stage;
  width: 100%;
  min-width: 0;
}

.cta-banners-swiper {
  overflow: hidden;
  width: 100%;
}

.cta-banners-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.cta-banner {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  background-color: var(--color-theme-second);
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-banner:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.12);
}

.cta-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 1rem 1.8rem 1.1rem 1.6rem;
  color: #fff;
  background-color: var(--color-theme-second);
  border-radius: 0 0.8rem 0 0;
}

.cta-banner__en {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.cta-banner__ja {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* Swiperが absolute を付けるため !important でグリッド配置を維持 */
.cta-banners-prev,
.cta-banners-next {
  --swiper-navigation-size: 3.6rem;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 3.6rem !important;
  height: 3.6rem !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background-color: var(--color-theme);
  border: none;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0.2rem 0.8rem rgba(33, 118, 215, 0.35);
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  justify-self: center;
}

.cta-banners-prev {
  grid-area: prev;
}

.cta-banners-next {
  grid-area: next;
}

.cta-banners-prev::after,
.cta-banners-next::after {
  content: '' !important;
  font-size: 0 !important;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 !important;
  border-style: solid;
  border-color: #fff;
  border-width: 0 2px 2px 0;
  display: block;
  position: static !important;
}

.cta-banners-prev::after {
  transform: rotate(135deg);
  margin-left: 0.25rem !important;
}

.cta-banners-next::after {
  transform: rotate(-45deg);
  margin-right: 0.25rem !important;
}

.cta-banners-prev:hover,
.cta-banners-next:hover {
  background-color: var(--color-theme-dark);
}

.cta-banners-pagination,
.cta-banners .swiper-pagination {
  grid-area: pager;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  justify-content: center;
  justify-self: center;
  align-items: center;
  gap: 0.6rem;
}

.cta-banners-pagination .swiper-pagination-bullet {
  width: 2.4rem;
  height: 0.4rem;
  margin: 0 !important;
  border-radius: 0.2rem;
  background-color: #c5c5c5;
  opacity: 1;
}

.cta-banners-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-theme);
}

/* スマホ：中央バナー＋左右見切れ／下に ◀ ページャー ▶ */
@media only screen and (max-width: 767px) {
  .cta-banners .main-content {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .cta-banners-swiper-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      'stage stage stage'
      'prev pager next';
    column-gap: 1.2rem;
    row-gap: 1.8rem;
    padding: 0 1.6rem;
  }

  .cta-banners-stage {
    margin: 0 -1.6rem;
    width: calc(100% + 3.2rem);
  }

  /* slidesPerView:auto 用。中央1枚＋前後見切れ */
  .cta-banners-swiper .swiper-slide {
    width: 82%;
  }

  .cta-banners-prev,
  .cta-banners-next {
    --swiper-navigation-size: 3.6rem;
    width: 3.6rem !important;
    height: 3.6rem !important;
  }

  .cta-banner {
    aspect-ratio: 16 / 9;
  }

  .cta-banner__body {
    padding: 1rem 1.2rem;
  }

  .cta-banner__en {
    font-size: 1rem;
  }

  .cta-banner__ja {
    font-size: 1.35rem;
  }

  .cta-banners-prev::after,
  .cta-banners-next::after {
    width: 0.75rem;
    height: 0.75rem;
  }
}

@media only screen and (min-width: 768px) {
  /* PCは slidesPerView:2 に任せる */
  .cta-banners-swiper .swiper-slide {
    width: auto;
  }
}

/* MARK: 入居までの流れ（#subpage / 海外移転ページ寄せ） */
.move-in-flow-page .move-in-flow__lead {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-theme-second);
  margin: 0 0 2rem;
}

.move-in-flow-list .flow-item {
  margin-bottom: 0;
  align-items: stretch;
}

.move-in-flow-list .flow-step {
  align-self: stretch;
}

.move-in-flow-list .flow-line {
  flex: 1;
  min-height: 4rem;
  height: auto;
}

.move-in-flow-list .flow-item:nth-of-type(3) .flow-line {
  height: auto;
}

.move-in-flow-list .flow-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 3rem;
}

.move-in-flow-list .flow-item:last-child .flow-content {
  padding-bottom: 0;
}

.move-in-flow-list .flow-txt {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-theme-second);
}

.move-in-flow-list .flow-txt .fas {
  color: var(--color-theme);
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
}

.move-in-flow-list .flow-detail {
  margin: 0;
  line-height: 1.7;
}

.move-in-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(90deg, var(--color-theme-second), var(--color-theme));
  color: #fff;
  border-radius: 1rem;
  padding: 2rem 2.4rem;
  margin: 4rem 0;
}

.move-in-bridge__text {
  margin: 0 !important;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.55;
  flex: 1 1 28rem;
}

.move-in-bridge__text .fa-plane {
  margin-right: 0.6rem;
}

.move-in-bridge__badge {
  margin: 0 !important;
  background: #fff;
  color: var(--color-theme-second);
  font-weight: 900;
  font-size: 1.7rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.move-in-bridge__badge .fa-home {
  margin-right: 0.4rem;
  color: var(--color-theme);
}

.move-in-support-wrap {
  margin-top: 2rem;
}

.move-in-support {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.main-content .move-in-support,
.main-content .move-in-support > li {
  list-style: none !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0;
}

.move-in-support__item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.6rem 1.4rem;
}

.move-in-support__icon {
  flex: 0 0 4.4rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.9rem;
}

.move-in-support__icon--blue {
  background: var(--color-theme);
}
.move-in-support__icon--navy {
  background: var(--color-theme-second);
}
.move-in-support__icon--sky {
  background: #3aa0e8;
}
.move-in-support__icon--teal {
  background: #00a89a;
}
.move-in-support__icon--orange {
  background: #f37a0c;
}
.move-in-support__icon--green {
  background: #2e9e5b;
}
.move-in-support__icon--purple {
  background: #6b5ce7;
}
.move-in-support__icon--red {
  background: #e25555;
}
.move-in-support__icon--cyan {
  background: #1aa6c5;
}
.move-in-support__icon--brown {
  background: #8b6b4a;
}

.move-in-support__body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.move-in-support__title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1.2rem !important;
  padding-bottom: 1.2rem;
  font-size: 1.8rem !important;
  font-weight: 900;
  color: var(--color-theme-second);
  line-height: 1.35;
}

.move-in-support__body .disc-list {
  margin: 0;
  font-size: 1.5rem;
}

.move-in-meta.move-in-meta,
.relocation-setsumei-wrap.move-in-meta {
  text-align: left;
}

.move-in-meta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  margin-bottom: 0;
}

.move-in-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  text-align: left;
}

.move-in-meta__icon {
  flex: 0 0 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 2.2rem;
}

.move-in-meta__icon--map {
  background: var(--color-theme);
}

.move-in-meta__icon--lang {
  background: var(--color-theme-second);
}

.move-in-meta__icon--users {
  background: var(--color-orange);
}

.move-in-meta__body {
  flex: 1;
  min-width: 0;
}

.move-in-meta__label {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-theme-second);
}

.move-in-meta__item p {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.6;
}

.move-in-meta__cta-title {
  font-size: 2rem !important;
  font-weight: 900;
  color: var(--color-theme);
  margin-bottom: 0.8rem !important;
  text-align: center;
}

.move-in-meta .bt-list-center {
  justify-content: center;
}

.move-in-meta__actions {
  margin-top: 2rem;
}

@media only screen and (max-width: 1024px) {
  .move-in-support {
    grid-template-columns: 1fr;
  }

  .move-in-meta__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

@media only screen and (max-width: 767px) {
  .move-in-bridge {
    padding: 1.6rem;
  }

  .move-in-bridge__badge {
    white-space: normal;
    width: 100%;
    text-align: center;
  }

  .move-in-flow-list .flow-txt {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Bay Area Guide (top page draft 2026-09-10 / test page)
   ========================================================================== */
.bay-top-test-notice {
  margin: 0 0 2rem;
  padding: 1.2rem 1.6rem;
  background: #fff8e8;
  border: 1px solid #f0d59a;
  border-left: 4px solid var(--color-orange);
  color: #5c4a1f;
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: left;
}

.bay-area-guide {
  padding: 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 55%, #f5f8fc 100%);
}

.bay-area-guide > .main-content {
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
  padding-top: var(--home-section-gap, 4rem);
  padding-bottom: var(--home-section-gap, 4rem);
  box-sizing: border-box;
}

.bay-area-guide__lead {
  margin-bottom: 3.2rem;
}

/* ①②は縦並び。他セクションと同程度の余白で積み上げる */
.bay-area-guide__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.bay-area-guide__fig {
  margin: 0;
}

.bay-area-guide__cap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-theme-second);
  margin-bottom: 1rem;
}

.bay-area-guide__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-theme);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bay-area-guide__img-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(33, 118, 215, 0.15);
  background: #fff;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.bay-area-guide__img-link:hover {
  box-shadow: 0 8px 24px rgba(11, 49, 143, 0.12);
  transform: translateY(-2px);
}

.bay-area-guide__img-link img {
  display: block;
  width: 100%;
  height: auto;
}

.bay-area-guide__img-link--recommend {
  max-width: 920px;
  margin: 0 auto;
}

.bay-area-guide__note {
  margin: 0.8rem 0 0;
  font-size: 1.4rem;
  color: var(--color-gray-darken);
  line-height: 1.6;
}

.bay-area-guide__note--center {
  text-align: center;
  margin-bottom: 1.6rem;
}

.bay-area-guide__recommend {
  margin-bottom: 3.6rem;
}

.bay-area-guide__areas {
  margin-top: 4rem;
}

.bay-area-guide__recommend h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  font-size: 2rem;
  color: var(--color-theme-second);
  margin-bottom: 1.2rem;
}

.bay-area-area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.bay-area-area-list > li {
  display: flex;
  min-height: 0;
}

.bay-area-area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 100%;
  min-height: 13.5rem;
  padding: 1.6rem 1rem;
  text-decoration: none;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(160deg, #3d8be0 0%, #2167bc 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.bay-area-area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  color: #fff;
  filter: brightness(1.05);
}

.bay-area-area-card.is-active {
  background: linear-gradient(160deg, #0b318f 0%, #1958a1 100%);
  border-color: #0b318f;
  box-shadow: 0 12px 24px rgba(11, 49, 143, 0.28);
  outline: none;
  filter: none;
}

.bay-area-area-card:focus-visible {
  outline: 3px solid var(--color-theme-second);
  outline-offset: 3px;
}

.bay-area-area-card__icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  opacity: 0.95;
}

.bay-area-area-card__en {
  font-family: 'Montserrat', 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.bay-area-area-card__ja {
  font-size: 1.2rem;
  opacity: 0.92;
  text-align: center;
  line-height: 1.35;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bay-area-guide__areas-more {
  margin-top: 2.4rem;
}

.bay-area-guide__note a {
  color: var(--color-theme-dark);
  text-decoration: underline;
}

.bay-area-area-card--sf,
.bay-area-area-card--peninsula,
.bay-area-area-card--sc,
.bay-area-area-card--sj,
.bay-area-area-card--east {
  background: linear-gradient(160deg, #3d8be0 0%, #2167bc 100%);
}

.bay-area-area-card--sf.is-active,
.bay-area-area-card--peninsula.is-active,
.bay-area-area-card--sc.is-active,
.bay-area-area-card--sj.is-active,
.bay-area-area-card--east.is-active {
  background: linear-gradient(160deg, #0b318f 0%, #1958a1 100%);
}

.bay-area-tabs {
  margin-top: 2.8rem;
}

.bay-area-tabs__panel {
  display: none;
  padding: 2rem 0 0.4rem;
  border-top: 1px solid rgba(33, 118, 215, 0.15);
}

.bay-area-tabs__panel.is-active {
  display: block;
}

.bay-area-tabs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem 1.6rem;
  margin-bottom: 1.6rem;
}

.bay-area-tabs__title {
  margin: 0;
  font-size: 2rem;
  color: var(--color-theme-second);
}

.bay-area-tabs__more {
  font-size: 1.4rem;
  color: var(--color-theme-dark);
  text-decoration: underline;
}

.bay-area-tabs__list {
  margin-bottom: 1.6rem;
}

.bay-area-tabs__empty {
  margin: 1.2rem 0 2rem;
  padding: 1.6rem;
  background: #f7f9fc;
  border: 1px dashed rgba(33, 118, 215, 0.25);
  text-align: center;
  color: var(--color-gray-darken);
}

.bay-area-tabs__footer {
  margin-top: 0.8rem;
  margin-bottom: 0;
}

/* ③おすすめ物件カード（サンプル寄せ） */
.bay-rec-hero {
  margin: 0 0 2.4rem;
  border-radius: 0.8rem;
  overflow: hidden;
}

.bay-rec-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.bay-rec-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 2.4rem 2.8rem;
  align-items: end;
}

.bay-rec-hero__title {
  margin: 0 0 0.6rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.3;
}

.bay-rec-hero__lead {
  margin: 0;
  font-size: 1.6rem;
  opacity: 0.95;
}

.bay-rec-hero__text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.7;
  opacity: 0.95;
}

.bay-rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

/* About内「今月のおすすめ」：3件表示 */
.bay-rec-grid--picks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bay-rec-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid rgba(11, 49, 143, 0.12);
  border-radius: 0.8rem;
  box-shadow: 0 8px 20px rgba(11, 49, 143, 0.06);
}

.bay-rec-card__area {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--color-theme-second);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.bay-rec-card__name {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.45;
  color: var(--color-theme-second);
}

.bay-rec-card__name a {
  color: inherit;
  text-decoration: none;
}

.bay-rec-card__name a:hover {
  text-decoration: underline;
}

.bay-rec-card__catch {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--color-gray-darken);
}

.bay-rec-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bay-rec-card__photo {
  display: block;
  overflow: hidden;
  border-radius: 0.4rem;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
}

.bay-rec-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bay-rec-card__rent {
  padding: 0.9rem 1rem;
  background: #f6f8fc;
  border-radius: 0.5rem;
}

.bay-rec-card__rent-title {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-theme-second);
}

.bay-rec-card__rent-list {
  margin: 0;
}

.bay-rec-card__rent-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(11, 49, 143, 0.08);
  font-size: 1.25rem;
}

.bay-rec-card__rent-row:first-of-type {
  border-top: 0;
}

.bay-rec-card__rent-row dt {
  color: #667;
  font-weight: 600;
}

.bay-rec-card__rent-row dd {
  margin: 0;
  color: #222;
  font-weight: 700;
}

.bay-rec-card__plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bay-rec-card__plan {
  overflow: hidden;
  border: 1px solid rgba(11, 49, 143, 0.12);
  border-radius: 0.4rem;
  background: #fff;
  aspect-ratio: 4 / 3;
}

.bay-rec-card__plan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.bay-rec-card__amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.bay-rec-card__amenities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.bay-rec-card__amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(33, 118, 215, 0.1);
  color: var(--color-theme-dark);
  font-size: 1.3rem;
}

.bay-rec-card__amenity-label {
  font-size: 1.05rem;
  color: var(--color-gray-darken);
  line-height: 1.3;
}

.bay-rec-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  padding: 1rem 1.2rem;
  border-radius: 0.45rem;
  background: var(--color-theme-second);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.bay-rec-card__cta:hover {
  background: var(--color-theme-dark);
  transform: translateY(-1px);
}

.bay-rec-actions {
  justify-content: center;
}

.property-single__floorplans {
  margin: 2.4rem 0;
}

.property-single__floorplans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.property-single__floorplan {
  border: 1px solid rgba(11, 49, 143, 0.12);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fff;
}

.property-single__floorplan img {
  display: block;
  width: 100%;
  height: auto;
}

#news.news--after-about {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(33, 118, 215, 0.12);
}

@media only screen and (max-width: 1200px) {
  .bay-rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 1024px) {
  .bay-area-area-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bay-rec-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 2rem;
  }
}

@media only screen and (max-width: 767px) {
  .bay-area-guide > .main-content {
    width: 100%;
    max-width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .bay-area-guide__pair {
    gap: 2.4rem;
    margin-bottom: 3.2rem;
  }

  .bay-area-area-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bay-area-area-card {
    min-height: 10.5rem;
  }

  .bay-rec-grid {
    grid-template-columns: 1fr;
  }

  .bay-rec-card__amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .property-single__floorplans-grid {
    grid-template-columns: 1fr;
  }
}
