/*
Theme Name: follow-takasaki
Theme URI: https://follow-takasaki.com
Author: follow高崎
Author URI: https://follow-takasaki.com
Description: 不動産管理会社サイト向けオリジナルテーマ
Version: 1.0.0
Text Domain: follow-takasaki
*/

/* reset */
html{box-sizing:border-box;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0;color:inherit}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer;color:inherit}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}a:focus,button:focus,input:focus,select:focus,textarea:focus{outline-width:0}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}img{border-style:none}progress{vertical-align:baseline}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true]{cursor:default}

/* =========================
  Base Font
  ========================= */
html,
body {
  font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

/* 基本のリビール挙動（このクラスを付けた要素がアニメ対象） */
.js-reveal {
  /* 見え始めの状態 */
  --reveal-scale: 1.2; /* 参考値 */
  --hover-scale: 1;    /* 初期はホバー 1倍 */
  opacity: 0;
  transform: scale(var(--reveal-scale));
  transition:
    transform 1.5s cubic-bezier(0.3, 0.86, 0.58, 1),
    opacity   1s ease-out;
  will-change: transform, opacity;
}

.js-reveal.is-inview {
  /* 画面に入ったら最終状態へ */
  --reveal-scale: 1;
  opacity: 1;
  transform: scale(var(--reveal-scale));
}

/* 1度きりでなく、画面外に出たら再び元に戻したい場合は下を有効化 */
.js-reveal:not(.is-inview){
  --reveal-scale: 1.2;
  opacity: 0;
  transform: scale(var(--reveal-scale));
}

.js-reveal-up {
  --reveal-ty: 35px; /* 初期の持ち上がり距離 */
  --reveal-delay: 0s;
  opacity: 0;
  transform: translateY(var(--reveal-ty));
  transition:
    transform 1.9s cubic-bezier(0.3,0.86,0.58,1) var(--reveal-delay),
    opacity   0.8s ease-out                      var(--reveal-delay);
  will-change: transform, opacity;
}
.js-reveal-up.is-inview {
  --reveal-ty: 0px;
  opacity: 1;
  transform: translateY(var(--reveal-ty));
}



/* =========================
  Header 共通（PC基準）
  ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.is-drawer-open .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 57px;
  width: auto;
  display: block;
}

@media (max-width: 1130px) {
  .site-logo img {
    height: 44px;
  }
}

/* ========== PC navigation ========== */
.global-nav {
  position: relative;
}

.menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > .menu-item > a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu > .menu-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #29b6f6;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
  }
  .menu > .menu-item:hover > a::after,
  .menu > .menu-item > a:focus-visible::after { transform: scaleX(1); }
  .menu > .menu-item:hover > a,
  .menu > .menu-item > a:focus-visible { color: #111; }
}

/* お問い合わせ（指定色＆ホバー反転） */
.menu > .menu-item--contact > a {
  padding: 8px 16px;
  border: 2px solid #ff7a00;
  background: #ff7a00;
  color: #fff;
  border-radius: 0;
  line-height: 1;
  transition: all .4s;
}
.menu > .menu-item--contact > a:hover {
  border-color: #ff7a00;
  background: #fff;
  color: #ff7a00;
}
.menu > .menu-item--contact > a::after { content: none; }

/* ========== Hamburger button ========== */
.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  position: relative;
  background: #fff;
  border: 0;
  padding: 0;
}
.nav-toggle .bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: #222;
  transition: transform .36s cubic-bezier(.22, .61, .36, 1), opacity .25s cubic-bezier(.22, .61, .36, 1);
}
.nav-toggle .bar:nth-child(1) { top: 12px; }
.nav-toggle .bar:nth-child(2) { top: 21px; }
.nav-toggle .bar:nth-child(3) { top: 30px; }
/* 開いたときのX形状 */
.nav-toggle.is-active .bar:nth-child(1) { transform: translate(-50%, 10px) rotate(45deg); }
.nav-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .bar:nth-child(3) { transform: translate(-50%, -8px) rotate(-45deg); }

/* ========== SP: ヘッダーは残し、その“下”にドロワー展開 ========== */
@media (max-width: 1130px) {
  .header-inner { min-height: 64px; } /* ヘッダー帯の高さを64px基準に */
  .menu-inline { display: none; }
  .nav-toggle { display: block; z-index: 1002; }

  /* ヘッダーは暗くしない：オーバーレイはヘッダーの“下”だけ */
  .drawer-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1100;
    background: rgba(0,0,0,0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.22,.61,.36,1), backdrop-filter .45s cubic-bezier(.22,.61,.36,1);
    backdrop-filter: blur(0);
  }
  .is-drawer-open .drawer-overlay {
    background: rgba(0,0,0,.38);
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(2px);
  }

  /* ドロワー本体：ヘッダー直下〜下端。ここがスクロール親 */
  .drawer {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;     /* ← ヘッダーの高さに合わせる（変更するなら両方同じ値に） */
    bottom: 0;
    z-index: 1200; /* ← ヘッダー(1300)より下、オーバーレイ(1100)より上 */
    background: #fff;

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* 右上から円で広がるアニメ（既存のまま or お好みで） */
    opacity: 0;
    transform: translate3d(4px, -4px, 0) scale(.98);
    transform-origin: 100% 0%;
    -webkit-clip-path: circle(0.001px at 100% 0);
    clip-path: circle(0.001px at 100% 0);
    will-change: clip-path, transform, opacity;
    transition:
      -webkit-clip-path .80s cubic-bezier(.22,.61,.36,1),
      clip-path .80s cubic-bezier(.22,.61,.36,1),
      transform .80s cubic-bezier(.22,.61,.36,1),
      opacity .45s ease-out;
    pointer-events: none;
  }
  .is-drawer-open #drawer {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
    -webkit-clip-path: circle(180% at 100% 0);
    clip-path: circle(180% at 100% 0);
    pointer-events: auto;
  }

  /* 《メニュー＋CTA》を“ひとかたまり”で上下中央寄せ（スクロール対応） */
  .menu-drawer {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 16px 0;
    text-align: center;
    margin-top: auto;     /* 上余白を吸収 → 下にも余白が生まれて中央に */
  }
  .menu-drawer .menu-item a {
    display: block;
    padding: 10px 18px;
    color: #222;
    text-decoration: none;
    font-size: clamp(16px, 3.2vw, 20px);
    line-height: 1.35;
  }

  .drawer-cta {
    padding: 14px 16px 18px;
    background: #fff;
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-bottom: auto;
  }
  .drawer-cta .cta-contact {
    width: min(92%, 320px);
    min-height: 44px;
    padding: 12px 16px;
    border: 2px solid #ff7a00;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    display: inline-grid;
    place-items: center;
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.1;
    transition: all .3s ease;
  }
  .drawer-cta .cta-contact:hover { background: #fff; color: #ff7a00; }

  .drawer-cta .cta-phone {
    width: min(92%, 320px);
    min-height: 44px;
    padding: 12px 16px;
    border: 2px solid #29b6f6;
    background: #eaf7ff;
    color: #29b6f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .drawer-cta .cta-phone .tel {
    font-weight: 700;
    font-size: clamp(16px, 4.8vw, 24px);
    line-height: 1.1;
    white-space: nowrap;
  }

  .drawer-cta .cta-line {
    width: min(92%, 320px);
    min-height: 44px;
    padding: 12px 16px;
    border: 2px solid #06C755;
    background: #06C755;
    color: #fff;
    text-decoration: none;
    display: inline-grid;
    place-items: center;
    font-size: clamp(14px, 3.8vw, 16px);
    transition: all .3s ease;
  }
  .drawer-cta .cta-line:hover { background: #fff; color: #06C755; }

  /* クリップ未対応フォールバック（任意） */
  @supports not (clip-path: circle(50% at 50% 50%)) {
    .drawer {
      -webkit-clip-path: none;
      clip-path: none;
      transform: translateY(8px) scale(.985);
      transition: transform .36s cubic-bezier(.22,.61,.36,1), opacity .45s ease-out;
    }
    .is-drawer-open #drawer { transform: translateY(0) scale(1); }
  }

  /* レデュースモーション（任意） */
  @media (prefers-reduced-motion: reduce) {
    .drawer {
      transition: none;
      -webkit-clip-path: none;
      clip-path: none;
      transform: none;
      opacity: 1;
    }
    .is-drawer-open #drawer {
      opacity: 1;
      transform: none;
    }
  }
}

/* ========== PCでは Drawer/Overlay を非表示（保険） ========== */
@media (min-width: 1131px) {
  #drawer { display: none !important; }
  .drawer-overlay { display: none !important; }
}

/* ========== 開いている間のスクロール抑止（既存JSが付与） ========== */
html.no-scroll,
body.no-scroll { overflow: hidden; }


/* =========================
  Footer
  ========================= */

/* 共通 */
.line-contact {
  position: fixed;
  z-index: 3;
  pointer-events: auto;
  font-family: inherit;
}

/* PC：右側に縦の追従ボタン */
@media (min-width: 768px) {
  .line-contact {
    bottom: 10%;
    right: 20px;
  }

  .line-contact__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: #06C755;
    border: 2px solid #06C755;
    border-radius: 10px;
    color: #fff;
    padding: 12px 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: all .4s;
    writing-mode: vertical-rl;
  }

  .line-contact__link:hover {
    /* background: #fff;
    color: #06C755; */
    opacity: 0.7;
  }

  .line-contact__icon img {
    display: block;
    width: 50px;
    height: 50px;
  }

  .line-contact__text {
    font-size: 14px;
    line-height: 1;
    letter-spacing: .1em;
  }
}

/* スマホ：下部100%幅の追従バー（フッター手前で持ち上げる） */
@media (max-width: 767px) {
  .line-contact {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .line-contact__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 60px;
    padding: 5px 0;
    background: #06C755;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
  }

}

.footer-cta {
  background: url(./assets/img/contact_back.png);
  color: #fff;
}

.footer-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  text-align: center;
}

.footer-cta__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.footer-cta__lead {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.9;
}

.footer-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
}

.cta-phone .ico {
  display: block;
}

.cta-phone .tel {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cta-mail {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

.cta-mail__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid #fff;
  position: relative;
}

.cta-mail__inner .ico {
  display: block;
}

.cta-mail__inner .label {
  font-weight: 700;
  letter-spacing: .02em;
}

.cta-mail::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #fff;
  opacity: .6;
  transform: translate(6px, 6px);
  transition: transform .25s ease, opacity .25s ease;
}

.cta-mail:hover::after {
  opacity: .35;
  transform: translate(0px, 0px);
}

.footer-city {
  background: #f5f7fb url("./assets/img/footer_bg.png") center bottom / cover no-repeat;
  color: #fff;
}

.footer-city__inner {
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 32px;
}

.footer-addres {
  justify-self: end;
  padding-right: 2em;
}

.footer-addres span {
  display: block;
}

.footer-divider {
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, .8);
}

.footer-nav {
  position: static;
  justify-self: start;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  list-style: none;
  text-align: left;
  padding-left: 2em;
}

.footer-menu .menu-item {
  width: calc(100% / 3);
}

.footer-menu .menu-item a {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.footer-menu .menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: rgba(255, 255, 255, .0);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s ease, background .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-menu .menu-item a:hover::after {
    background: rgba(255, 255, 255, .9);
    transform: scaleX(1);
  }
}

.footer-bottom {
  background: #fff;
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  text-align: center;
  color: #000;
  font-size: 14px;
}

@media (max-width: 980px) {
  .footer-cta__title {
    font-size: 24px;
  }

  .footer-cta__lead {
    font-size: 15px;
  }

  .footer-city__inner {
    padding: 28px 16px;
    display: block;
    text-align: center;
  }

  .footer-addres {
    justify-self: auto;
    padding-right: 0;
  }

  .footer-divider {
    display: none;
  }

  .footer-nav {
    margin: 30px auto 0;
  }

  .footer-menu {
    text-align: center;
    padding-left: 0;
    gap: 20px 0;
  }

  .footer-menu .menu-item {
    width: calc(100% / 2);
  }

  .footer-menu .menu-item a::after {
    left: 50%;
    right: 50%;
    transform: translateX(-50%) scaleX(0);
  }

  .footer-menu .menu-item a:hover::after {
    left: 0;
    right: 0;
    transform: scaleX(1);
  }
}


/* =========================
  Hero base
  ========================= */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;  
  background: #000;     
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
  代表ご挨拶（背景＋重ねカード）
  ========================= */
.tm {
  position: relative;
  padding: 100px 20px 0;
  overflow: hidden;
  background: #fff;
}

.tm-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 460px;
  overflow: hidden;
}

.tm-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  width: 60%;
  margin-left: auto;
  overflow: hidden;
}

.tm-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  width: min(92%, 620px);
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .14);
  border: 1px solid #eee;
  padding-top: 10px;
}

.tm-card-img {
  display: block;
  width: 100%;
  height: auto;
}

.tm-card-title {
  position: absolute;
  left: 0;
  top: 40px;
  z-index: 3;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #1e88e5;
  padding: 6px 10px;
}

.tm-card-body {
  padding: 18px 20px 20px;
}

.tm-card-heading {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 10px;
}

.tm-card-body p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0;
}

.marker { 
  background: linear-gradient(transparent 0%, #f0a60b 0%);
}

.tm-card-body p.tm-bold {
  font-weight: bold;
  font-size: 16px;
}

@media (max-width: 980px) {
  .tm {
    padding: 86px 0;
  }

  .tm-bg {
    position: static;
    width: 100%;
    opacity: .95;
    padding-left: 50px;
  }

  .tm-card {
    position: static;
    margin: -50px 0 0 0;
    box-shadow: none;
    border: none;
    padding-left: 5%;
  }

  .tm-card-title {
    left: 6%;
    top: 6%;
    font-size: 26px;
  }

  .tm-card-body {
    border-left: 1px solid #1e88e5;
    padding: 0;
    padding-left: 6px;
    margin: 16px 16px 16px 10px;
  }

  .tm-card-heading {
    font-size: 16px;
  }

  .tm-card-body p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  }
}


/* =========================
  Estate : 不動産情報
  ========================= */
.estate {
  background: #fff;
  position: relative;
  padding-top: 220px;
  /* 不動産を売るがない間の余白 */ 
  /* padding-bottom: 100px; */
}

.estate-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 360px;
  z-index: 0;
  pointer-events: none;
}

.estate-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.estate-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.75) 25%,
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

.estate-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.estate-head {
  position: relative;
  padding-left: 16px;
  width: fit-content;
  margin: 0 auto;
}

.estate-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: #184aa9;
}

.estate-title {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: .03em;
  color: #184aa9;
}

.estate-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #d7d7d7;
}

.estate-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.estate-photo img.estate-photo-main {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s ease;
}

.estate-card:hover .estate-photo img.estate-photo-main {
  transform: scale(1.1);
}

.estate-photo img.estate-photo-corner {
  position: absolute;
  top: 3px;
  left: 4px;
}


.estate-cta {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #184aa9;
  color: #fff;
  transform: translate(0, 0);
  transition: transform .25s ease;
}

.estate-cta .ico {
  display: block;
}

@media (max-width: 980px) {
  .estate {
    padding-top: 60px;
    /* 不動産を売るがない間の余白 */
    /* padding-bottom: 40px; */
  }

  .estate-bg {
    display: none;
  }

  .estate-head {
    margin-bottom: 8px;
  }

  .estate-caption {
    left: 10px;
    bottom: 10px;
    padding: 5px 8px;
  }

  .estate-cta {
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .estate-card {
    width: 85%;
    max-width: 340px;
    margin: 0 auto;
  }
}


/* =========================
  不動産を売るセクション
   ========================= */

.sell-section {
  padding-top: 250px;
  padding-bottom: 40%;
}

.sell-bg {
  width: 90vw;
  margin-left: auto;
  position: relative;
  aspect-ratio: 4 / 1;
}

.sell-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sell-heading {
  position: absolute;
  top: 40%;
  left: 5%;
  color: #fff;
}

.sell-heading::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  bottom: 5px;
  width: 4px;
  background: #fff;
}

.sell-heading h2 {
  font-size: clamp(20px, 3.2vw, 28px);
}

.sell-banner-link-box {
  display: inline-block;
  overflow: hidden;
  width: 85%;
  position: absolute;
  top: 72%;
  left: 5%;
}

.sell-banner-link {
  display: block;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.sell-banner-link picture,
.sell-banner-link picture img {
  display: block;
  width: 100%;
  height: auto;
}

.sell-banner-link picture img {
  transform-origin: center;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.sell-banner-link:hover picture img {
  transform: scale(1.06);
}

.sell-word-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  width: 53%;
  max-width: 370px;
}

.sell-word-img img {
  width: 100%;
}


@media (max-width: 980px) {
  .sell-section {
    padding-top: 90px;
    padding-bottom: 47%;
  }

}


/* =========================
  その他事業
  ========================= */

.others-section {
  position: relative;
  padding-bottom: 25%;
  padding-top: 78px;
}

.others-stage {
  position: relative;
}

.others-bg {
  width: 80%;
  margin-right: auto;
  position: relative;
}

.others-heading {
  position: absolute;
  top: 10%;
  left: 40%;
  z-index: 2;
  font-size: clamp(20px, 3.2vw, 28px);
  color: #fff;
}

.others-heading::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  bottom: 5px;
  width: 4px;
  background: #fff;
}

.others-grid {
  position: absolute;
  top: 20%;
  left: 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  z-index: 3;
  width: 90%;
}

.others-grid img {
  width: 100%;
}

.others-grid-img {
  overflow: hidden;
}

.others-grid-right img:first-of-type {
  margin-bottom: 2%;
}

/* ============ レスポンシブ ============ */
@media (max-width: 980px) {
  .others-section {
    padding-top: 64px;
  }
  
  .others-grid {
    top: 30%;
    left: 3%;
    width: 97%;
  }
}

/* =========================
  会社概要
  ========================= */

.co-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  text-decoration: none; 
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
}

.co-media {
  overflow: hidden;
}

.co-img { 
  display:block; 
  width:100%; 
}

.co-panel {
  position: relative;
  background: #081f5b;
  display: flex; 
  flex-direction: column; 
  min-height: 100%;
}

.co-title {
  color: #fff;
  font-size: clamp(16px, 3.2vw, 22px);
  letter-spacing: .06em;
  margin-top: 30px;
  margin-left: 30px;
}

.co-cta {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #081f5b;
  transform: translate(0, 0);
}

.co-card .co-media img {
  transition: transform .35s ease, filter .35s ease;
}

.co-card:hover .co-media img {
  transform: scale(1.1);
}

@media (max-width: 980px) {
  .co-title {
    margin-top: 20px;
    margin-left: 20px;
  }

  .co-cta {
    width: 25px;
    height: 25px;
  }
}


/* =========================
  お客様の声
  ========================= */

.voices {
  padding-top: 100px;
}

.voices-wrapper {
  background: #f2fcff;
}

.voices-container {
  width: 87%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0 30px;
}

.voices-heading {
  position: relative;
  font-size: clamp(20px, 3.2vw, 28px);
  color: #014bb1;
  width: fit-content;
  margin: 0 auto;
}

.voices-heading::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 5px;
  bottom: 2px;
  width: 4px;
  background: #014bb1;
}

.voices-wrapper {
  position: relative;
}

.voices-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 25px;

  /* 画像をカードの真ん中に固定（高さ可変でもOK） */
  background-image: url("./assets/img/house_img.png"); /* ←画像パスに変更 */
  background-repeat: no-repeat;
  background-position: 50% 50%;   /* 中央 */
  background-size: clamp(120px, 45%, 240px); /* 画像の見え方を調整 */

  /* デフォは2行分の高さを確保 */
  --title-lines: 2;
}

.voices-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 33.333%;
  height: 3px;
  background: #2563eb;
}

.voices-card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.voices-card-title {
  line-height: 1.4;
   /* N行ぶんの高さを確保（1行でも3行でも本文の始点は同じ） */
  min-height: calc(var(--title-lines) * 1.4em);
  color: #f6a815;
  text-align: center;
  font-size: 1.15rem;
}

.voices-card .mt-auto {
  margin-top: auto;
}


.voices-prev,
.voices-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #1e88e5;
  width: 44px;
  height: 44px;
  z-index: 10;
}

.voices-prev {
  left: -60px;
}

.voices-next {
  right: -60px;
}

/* アイコンサイズ */
.voices-prev::after,
.voices-next::after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-pagination {
  display: none;
}

/* ドットの色等（お好みで） */
.voices .voices-pagination .swiper-pagination-bullet {
  background: #1e88e5;
  opacity: .4;
}

.voices .voices-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* --- スマホ切替（矢印非表示、ドット主役） --- */
@media (max-width: 767.98px) {
  .voices-prev,
  .voices-next {
    display: none;
  }

  .voices .voices-pagination {
    display: block;
  }

  .swiper-pagination {
    position: static;
  }
}

/* スライド内のカード高さを揃える */
.voices-swiper .swiper-wrapper {
  align-items: stretch;
}

.voices-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.voices-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 画像の高さは固定 or 統一（必要に応じて調整） */
.voices .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* 本文は可変、フッター情報を下に寄せる */
.voices .voices-card-body {
  display: flex;
  flex-direction: column;
}

.voices .voices-card-text {
  flex: 1 1 auto;
}


.voices .fw-bold.small {
  margin-top: auto;
}


/* =========================
  会社概要
  ========================= */
.company-overview {
  padding-top: 100px;
}

/* =========================
  アクセス
  ========================= */

.company-map iframe {
  width: 100%;
}

.company-map {
  padding-top: 100px;
}


/* =========================
  会社概要ページ
  ========================= */
/* 会社概要ページ基本 */

.company-profile {
  padding-bottom: 100px;
}

.company-container {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 16px;
}

.company-head {
  position: relative;
  padding-left: 16px;
  width: fit-content;
  margin: 0 auto 40px;
}

.company-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: #222;
}

.company-title {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: .03em;
  color: #222;
}

/* 表（ボーダーなし、行間と下線のみ軽く） */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.company-table th,
.company-table td {
  padding: 14px 0;
  vertical-align: top;
}

.company-table th {
  width: 180px;
  font-weight: 700;
  color: #222222;
  text-align: left;
}

.company-table td {
  color: #333333;
}

.company-table tr + tr th,
.company-table tr + tr td {
  border-top: 1px solid #eeeeee; /* うっすら下線 */
}

/* 電話／FAXの横並び（折り返し対応） */
.company-telfax {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.company-telfax .tel,
.company-telfax .fax {
  line-height: 1.6;
}

/* Mapセル（テーブル全幅） */
.row-map .map-cell {
  padding: 16px 0 0; /* 住所行と地図の間に余白 */
  border-top: none;  /* 住所行の区切りだけを活かす */
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;         /* レスポンシブ比率 */
  overflow: hidden;             /* はみ出し防止 */
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* アクセシビリティ：スクリーンリーダー専用テキスト */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 980px) {
  .company-profile {
    padding-bottom: 80px;
  }
}


/* =========================
  ミタスプラス
  ========================= */

.sibling-biz {
  padding-bottom: 100px;
}

.sibling-biz .sibling-biz-container { 
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sibling-title {
  max-width: 455px;
  margin: 0 auto 33px;
}

.sibling-title-img {
  max-width: 100%;
}

.sibling-banner-img {
  width: 100%;
  height: auto;
  transform-origin: center;
  transition: transform .35s ease, filter .35s ease;
}
.sibling-banner:hover .sibling-banner-img,
.sibling-banner:hover .sibling-biz-txt {
  transform: scale(1.03);
}

.sibling-biz-img {
  position: relative;
}

.sibling-biz-txt {
  width: 250px;
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  padding: 8px;
  background: #ffc75d;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  box-shadow: 1px 1px 1px #f46b08;
  transition: transform .35s ease, filter .35s ease;
}

@media (max-width: 980px) {
  .sibling-biz {
    padding-bottom: 80px;
  }

  .sibling-biz-txt {
    display: none;
  }
}

.sp-br {
  display: none;
}


/* 物件情報 */
.company-props {
  margin-top: 40px;
}

.props-title {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
  font-weight: 700;
  color: #111111;
}

.props-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prop-card {
  display: flex;
  flex-direction: column;
}

.prop-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  margin-bottom: 0;
}

.prop-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* はみ出し防止＋トリミング */
  display: block;
}

.prop-meta {
  margin-top: 10px;
}

.prop-addr {
  font-weight: 700;
  color: #222222;
  line-height: 1.6;
}

.prop-plan {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}


@media (max-width: 980px) {
  .company-table th {
    width: 110px;
    padding-right: 12px;
  }

  .address-two-col {
    grid-template-columns: 1fr; /* 縦積み */
  }

  .props-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
}
@media (max-width: 540px) {
  .company-table th, .company-table td {
    padding: 12px 0;
  }

  .map-wrap {
    aspect-ratio: 3 / 1;
  }

  .props-grid { 
    grid-template-columns: 1fr; 
  }
  .props-title { 
    font-size: 20px; 
  }

  .sp-br {
    display: block;
  }
}


/* =========================
  不動産を買うページ
  ========================= */

.estate-controls {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 16px;
}

.filter-group, .sort-group { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex-wrap: wrap; 
}

.label { 
  color: #6b7280; 
  font-size: 13px; 
}

.chips { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}
.chip {
  display: inline-block; 
  padding: 6px 12px; 
  border: 1px solid #d1d5db; 
  border-radius: 9999px;
  font-size: 14px; 
  text-decoration: none; 
  color: #111; 
  background: #fff;
}

.chip:hover { 
  border-color: #9ca3af; 
}

.chip.is-active { 
  background: #eef2ff; 
  border-color: #6366f1; 
  color: #3730a3; 
  font-weight: 600; 
}

.chip.is-disabled { 
  opacity: 0.45; 
  pointer-events: none;
}

.result-count { 
  color: #6b7280; 
  font-size: 14px; 
}

.result-count strong { 
  color: #111; 
}

.estate-card-body {
  padding: 15px;
}

.estate-badge {
  background: #ffa82e;
  color: #fff;
  font-size: 14px;
}

.estate-price {
  color: #ffa82e;
}

.estate-btn {
  color: #ffa82e;
  border: 1px solid #ffa82e;
}

.estate-btn:hover {
  color: #fff;
  background: #ffa82e;
}

.estate-thumb-img {
  transition: transform .5s ease;
  will-change: transform;
}

.estate-card:hover .estate-thumb-img,
.estate-link:hover .estate-thumb-img,
.estate-link:focus-visible .estate-thumb-img {
  transform: scale(1.08);
}

.estate-link {
  display: block;
  color: inherit;
  text-decoration: none;
}


@media (max-width: 768px) {
  .estate-controls { 
    grid-template-columns: 1fr; 
  }

  .label { 
    color: #6b7280; 
    font-size: 13px; 
    width: 100%;
  }
}


/* =========================
  お問い合わせページ
  ========================= */

.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.wpcf7-list-item {
  margin: 0 16px 10px 0;
}

.form-check-input {
  border: none;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 .wpcf7-form-control-wrap {
  position: relative;
  display: block;
  padding-bottom: 1.25rem;
}

.wpcf7 .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 0.875rem;
  line-height: 1.2;
  pointer-events: none;
}

.wpcf7 .wpcf7-checkbox .wpcf7-form-control-wrap,
.wpcf7 .wpcf7-acceptance .wpcf7-form-control-wrap {
  padding-bottom: 1.25rem;
}

.wpcf7 form .wpcf7-not-valid-tip {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  background: transparent !important;
}

.contact-form-wrap .btn {
  background: #ff7a00;
  border: 1px solid #ff7a00;
  color: #fff;
}

.contact-form-wrap .btn:hover {
  background: #fff;
  border: 1px solid #ff7a00;
  color: #ff7a00;
}


/* =========================
プライバシーポリシーページ
========================= */

.privacy-wrap {
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
}


/* =========================
不動産を売るページ
========================= */

.sale-page .company-head {
  display: none;
}

.sale-page .sec1 {
  padding-top: 30px;
  background: #f8f8f8;
}

.sec1 img {
  width: 100%;
}

.sec2 {
  margin-top: 100px;
}

.sec2 .sec2_title_bg {
  position: relative;
	background: #313a90;
}

.sec2 .sec2_title_bg h2 {
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
  color: #fff;
}

.sec2 .sec2_title_bg h2 .sec2_title_span1 {
  color: #59d1c1;
  font-size: 1.5em;
}

.sec2 .sec2_title_bg h2 .sec2_title_span2 {
  color: #e60080;
  font-size: 1.5em;
}

.sec2 .sec2_title_bg::after {
	content: "";
	display: block;
	position: relative;
	height: 320px;
	background-color: #fff;
	clip-path: polygon(0% 101%, 100% 101%, 50% 50%);
}

.sec2_img_block {
  display: flex;
  justify-content: space-between;
}

.sec2_img_block .sec2_img {
  width: 30%;
}

.sec2_img_block .sec2_img img {
  width: 100%;
}


@media (max-width: 768px) {
  .sec2 {
    margin-top: 60px;
  }

  .sec2 .sec2_title_bg h2 {
    top: 20px;
    font-size: 20px;
  }

  .sec2 .sec2_title_bg::after {
    height: 145px;
    clip-path: polygon(0% 101%, 100% 101%, 50% 66%);
  }

  .sec2_img_block {
    display: block;
    margin-top: 20px;
  }

  .sec2_img_block .sec2_img {
    width: 65%;
    max-width: 350px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
  }
}

.sec3 {
  background: #ededf9;
  margin-top: 200px;
  padding-bottom: 100px;
}

.sec3 .sec3_title_bg {
  position: relative;
}

.sec3 .sec3_title_bg::after {
  content: "";
	display: block;
	position: relative;
	height: 130px;
	background-color: #fff;
	clip-path: ellipse(50% 100% at 50% 0%);
}

.sec3 .sec3_title_bg h2 {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding-bottom: 10px;
  width: fit-content;
  color: #000;
  z-index: 1;
  color: #212295;
  font-size: 2.5rem;
  font-weight: bold;
  border-bottom: 3px solid #212295;
}

.sec3_img {
  padding-top: 100px;
}

.sec3_img img {
  width: 100%;
}

@media (max-width: 768px) {
  .sec3 {
    margin-top: 100px;
    padding-bottom: 50px;
  }

  .sec3 .sec3_title_bg::after {
    height: 80px;
  }

  .sec3 .sec3_title_bg h2 {
    font-size: 20px;
    padding-bottom: 7px;
    border-bottom: 2px solid #212295;
  }

  .sec3_img {
    padding-top: 10px;
  }
}


.sec4 {
  margin-top: 100px;
}

.sec4 .container {
  padding-bottom: 50px;
  background: #dbdbe7;
  border-radius: 15px;
}

.sec4 .sec4_title {
  font-size: 2.5rem;
  color: #525252;
  text-align: center;
  padding: 50px 0;
}

.sec4 .sec4_title h2 {
  font-weight: bold;
}

.sec4 .sec4_title .sec4_title_span1 {
  color: #2133a5;
  margin: 0 3px;
  font-size: 1.2em;
}

.sec4 .sec4_title .sec4_title_span2 {
  color: #f6a815;
  margin: 0 3px;
  font-size: 1.2em;
}

.accordion-item {
  border: none;
  border-top: 2px solid #b1b1b1;
  border-bottom: 2px solid #b1b1b1;
}

/* ヘッダー部分 */
.accordion-header {
  position: relative;
  padding: 20px 40px 20px 20px;
  cursor: pointer;
  background: #dbdbe7;
  font-size: 18px;
}

.accordion-title {
  font-weight: bold;
  margin: 0;
  display: flex;
  color: #2133a5;
}

.accordion-q {
  padding-right: 10px;
}

/* 開閉アイコン */
.accordion-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #2133a5;
  transition: transform .3s;
}

/* 縦線 */
.accordion-icon::before {
  width: 2px;
  height: 16px;
  margin-left: -1px;
  transform: translateY(-50%);
}

/* 横線 */
.accordion-icon::after {
  width: 16px;
  height: 2px;
  margin-top: -1px;
  transform: translateX(-50%);
}

/* 開いているときは縦線を非表示に */
.accordion-item.is-active .accordion-icon::before {
  transform: translateY(-50%) rotate(90deg);
}

/* コンテンツ部分 */
.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height .3s;
}

.accordion-content__inner {
  padding: 20px 40px 20px 20px;
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  color: #525252;
  display: flex
}

.accordion-content__inner .accordion-a {
  padding-right: 10px;
  color: #f6a815;
}

@media (max-width: 768px) {
  .sec4 {
    margin-top: 60px;
  }

  .sec4 .container {
    width: 96%;
    margin: 0 auto;
    padding-bottom: 30px;
  }

  .sec4 .sec4_title {
    padding: 30px 0 20px;
  }

  .sec4 .sec4_title h2 {
    font-size: 20px;
  }

  .accordion-header {
    padding: 20px 50px 20px 20px;
    font-size: 16px;
  }

  .accordion-content__inner {
    padding: 20px;
    font-size: 16px;
  }
}


.sec5 {
  margin-top: 100px;
}

.sec5 .sec5_title h2 {
  font-weight: bold;
  color: #2133a5;
  text-align: center;
  margin-bottom: 30px;
}

.sec5 .sec5_title h2 .sec5_title_span1 {
  color: #f6a815;
}

.sec5 .required-text {
  text-align: right;
  margin-bottom: 5px;
  font-size: 0.8em;
  color: #f6a815;
}

/* フォーム全体をボーダーで囲む */
.sec5 .contact-form-table {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden; /* 角丸からはみ出さないように */
}

/* 1行：左タイトル／右フィールド（PC） */
.sec5 .contact-form-table .form-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr); /* 左カラム幅はお好みで */
  column-gap: 0; /* ボーダーをきれいに見せたいので余白なし */
  border-bottom: 1px solid #ddd;
}


.sec5 .contact-form-table .form-row:last-of-type {
  border-bottom: none;
}

/* 左側タイトルセル */
.sec5 .contact-form-table .form-title {
  background-color: #313a90;
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* タイトル内の p の余白をリセット */
.sec5 .contact-form-table .form-title p {
  margin: 0;
}

/* タイトル内の p の余白をリセット */
.sec5 .contact-form-table .form-title .form-label {
  margin-bottom: 0;
}

/* 右側フィールドセル */
.sec5 .contact-form-table .form-field {
  background-color: #fff;
  padding: 0.75rem 1rem;
}

/* 右側の中の sub-field を縦に間隔を空ける */
.sec5 .contact-form-table .form-field .sub-field {
  margin-bottom: 0.5rem;
}

.sec5 .contact-form-table .form-field .sub-field:last-child {
  margin-bottom: 0;
}

/* CF7 の入力系を横幅100%に */
.sec5 .contact-form-table .form-field .wpcf7-form-control {
  width: 100%;
}

/* 〒番号と都道府県の入力欄は短めに設定 */
.sec5 .contact-form-table .form-field .short-input input,
.sec5 .contact-form-table .form-field .short-input select {
  max-width: 210px;
}

/* 住所の補足テキストなど */
.sec5 .contact-form-table .form-field small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

/* 必須ラベル（※必須）を黄色にする */
/* .text-danger はBootstrap全体に効くので、フォームタイトル内だけスコープ */
.sec5 .contact-form-table .form-title .required-mark {
  color: #f6a815;
  font-size: 1.25em;
  font-weight: 700;
}

.sec5 .contact-form-table .form-field p {
  margin-bottom: 0;
}

.sec5 .contact-form-table .form-field span {
  padding-top: 1.25rem;
}

.sec5 .contact-form-table .form-field .sub-field span {
  padding-top: 0;
}

.sec5 .wpcf7 form.validating .wpcf7-response-output {
    display: none;
}


/* =========================
   スマホレイアウト
   ========================= */
@media (max-width: 768px) {
  .sec5 .sec5_title h2 {
    font-size: 20px;
  }

  /* 1カラムにして、タイトル→項目の縦並びにする */
  .sec5 .contact-form-table .form-row {
    grid-template-columns: 1fr;
  }

  /* タイトルとフィールドの間に少し間隔 */
  .sec5 .contact-form-table .form-title {
    border-bottom: 1px solid #ddd;
  }

  .sec5 .contact-form-table .form-field {
    padding-top: 0.75rem;
  }

  .sec5 .contact-form-table .form-field span {
    padding-top: 0.75rem;
  }

  /* スマホでも入力は100%幅 */
  .sec5 .contact-form-table .form-field .wpcf7-form-control {
    width: 100%;
  }
}

.sale-line {
  max-width: 1200px;
  margin: 100px auto 0;
}

.sale-line img {
  width: 100%;
}

.sale-cta-line {
  transition: opacity 0.2s;
}

.sale-cta-line:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .sale-line {
    margin-top: 60px;
  }
}