/* ▼ 追加CSSの最上行に貼るだけで読み込み完了 --------------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho&display=swap');


/* ▼ 適用したい範囲を指定（例：全体） ----------------------- */
body,
button,
a,
h1, h2, h3, h4, h5, h6 {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;}


/* —————— フロントページLP 完全全幅化 —————— */
.front-page,
.home {
  margin: 0 !important;
  padding: 0 !important;
}

.logo {
  width: clamp(80px, 20%, 150px);  /* 画面サイズに応じて柔軟に変わる */
  height: auto;
  padding-bottom: 3%;
}

@media (max-width: 768px) {
  .logo {
    width: 100px;  /* スマホでは固定サイズにするのが安全 */
  }
}


/* 主要なラップ／コンテナをすべて全幅に */
.front-page .l-container,
.front-page .l-container--inner,
.front-page .l-content,
.front-page .l-main,
.front-page .l-site,
.front-page .l-wrap,
.front-page .wrap,
.front-page .content-area,
.front-page .site-content .wrap,
.front-page .site-inner,
.front-page .entry-content,
.front-page .container,
.front-page .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* セクション上下の余白だけ確保 */
.front-page section {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}





/* 例: LP 用カスタム CSS */
.landing-page img {
  display: block !important;
  margin: 0 auto !important;
  width: 33.333% !important;
  height: auto !important;
}


.media-divider{
  display:flex;
  align-items:center;
  margin:2rem 0;
  color:#555;
  font-weight:600;
  font-size:0.9rem;
  letter-spacing:0.05em;
}
.media-divider::before,
.media-divider::after{
  content:"";
  flex:1 1 0;
  border-top:1px solid #ddd;
}
.media-divider__label{
  display:flex;
  align-items:center;
  gap:0.4em;
  padding:0 1rem;
  white-space:nowrap;
}
.media-divider__label svg{
  width:1em;
  height:1em;
  fill:currentColor;
}



/* ---- WordPress が自動で入れていたリセットを再現 ---- */
html,body{
  margin:0;
  padding:0;
  overflow-x: hidden; /* スマホ横スクロール抑止（応急） */
  /* 上下スクロール時の余白抑制 */
  min-height: 100vh;
  position: relative;
}

/* すべての要素を border-box に統一して幅計算のはみ出しを防止 */
*,*::before,*::after{ box-sizing: border-box; }

/* メディア要素のはみ出し防止 */
img,svg,video,canvas,iframe{ max-width:100%; height:auto; }



/* --- レイアウト --- */
.process {padding:2.5rem 1rem;background:#fff;text-align:center;}
.process h2{margin-bottom:2rem;font-size:1.6rem;}
.process .cards{display:flex;flex-wrap:wrap;gap:1.2rem;justify-content:center;max-width:960px;margin:0 auto;}
.process .card{
  flex:1 1 260px;        /* 3 枚で折返し対応 */
  border-radius:16px;
  padding:2rem 1.2rem 1.8rem;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
  position:relative;
  text-align:left;
}

.card{
  text-align:center;        /* 文字中央寄せ */
  display:flex;             /* アイコン＋本文を縦センター */
  flex-direction:column;
  align-items:center;
  background: rgba(0, 43, 92, 0.08); /* 5〜10%くらいの透過で淡く */
  color: #002b5c;
}

.card .badge{
  position:absolute;top:1.2rem;left:1.2rem;
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:1.1rem;
  background:#002b5c;
}

.card .icon{
  font-size:56px;line-height:1;margin-bottom:1rem;
  margin:0 auto 1rem;
}

.card h3{margin:0 0 .5rem;font-size:1.25rem;font-weight:700;}
.card p{margin:0;font-size:.95rem;line-height:1.6;}

.fade-in { 
  opacity: 0; 
  transform: translateY(10px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.fade-in.is-visible { 
  opacity: 1;
  transform: translateY(0);
}


    .lp-case-nav{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-top:1rem;}
    .lp-case-btn{
      display:flex;align-items:center;gap:.45rem;justify-content:center;
      min-width:94px;padding:.7rem 1.4rem;border-radius:9999px;
      font-weight:600;font-size:.95rem;line-height:1;color:#fff;text-decoration:none;
      box-shadow:0 2px 4px rgba(0,0,0,.08);transition:transform .15s,box-shadow .15s;
    }
    .lp-case-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.12);}

    .lp-case-shared   {background:#002b5c;}  /* 青 */
    .lp-case-sokochi  {background:#002b5c;}  /* オレンジ：底地 */
    .lp-case-saiken   {background:#002b5c;}  /* 緑   ：再建不可 */
    .lp-case-shakuchi {background:#002b5c;}  /* 紫   ：借地権   */
    .lp-case-dbl   {background:#E3B82F;color:#222;} /* 黄：ダブル訳あり */

    .lp-case-btn svg{width:22px;height:22px;flex:0 0 22px;fill:currentColor;}



      /*—— 汎用 ——*/
  .case-sec          {padding:2rem 1rem;background:#fff;}
  .case-sec.alt      {background:#fefefe;}             /* 交互カラー */
  .case-title        {font-size:1.5rem;margin:0 0 1.2rem;border-top:3px solid #1e73be;padding-top:.6rem;}
  .case-body         {line-height:1.7;font-size:1rem;}
  /*—— 成功事例カード ——*/
  .case-card         {border:1px solid #e0e7ef;border-radius:16px;padding:1.2rem;margin:1.5rem 0;}
  .case-card h3      {display:flex;align-items:center;font-size:1.1rem;margin:0 0 .8rem;}
  .case-card h3 svg  {width:24px;height:24px;fill:#1e73be;margin-right:.4rem;}
  .case-list         {margin:0;padding-left:1.2rem;list-style:none;}
  .case-list li      {margin-bottom:.4rem;font-size:.95rem;}
  .case-list li::before{content:'✔';color:#24b574;margin-right:.35rem;}
  /*—— CTA ——*/
  .case-cta          {text-align:center;margin-top:1.6rem;}
  .case-cta a        {display:inline-block;width:90%;max-width:420px;padding:1.1rem;
                       border-radius:9999px;font-weight:700;font-size:1rem;color:#fff;text-decoration:none;
                       background:linear-gradient(90deg,#17c73e 0%,#0aab34 100%);}


/* ====== 会社情報スタイル ====== */
.company-info {
  background: #fff;
  padding: 2rem 1rem;
  font-size: .95rem;
  color: #333;
}
.company-info__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.company-info__details p {
  margin: .4rem 0;
  line-height: 1.8;
}
.company-info__details a {
  color: #0054b4;
  text-decoration: none;
}
.company-info__map {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}
.company-info__map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}


 .contact-wrap{background:#f1f6fc;padding:2.5rem 1rem;margin-top:3rem;}
  .contact-heading{background:#002b5c;color:#fff;padding:.6rem 1rem;border-radius:4px;
    font-size:1.4rem;margin:0 0 1.8rem;text-align:left;}
  .contact-form{max-width:960px;margin:0 auto;font-size:.95rem;}
  .form-block{margin-bottom:1.6rem;}
  .form-label{font-weight:700;margin-bottom:.4rem;}
  .required{background:#c23b3b;color:#fff;font-size:.75rem;padding:.1rem .4rem;border-radius:3px;}
  .options{display:flex;flex-wrap:wrap;gap:.8rem;}
  .options label{white-space:nowrap;}
  .address{display:flex;flex-wrap:wrap;gap:.8rem;}
  .half{flex:1 1 160px;}
  .full{flex:1 1 100%;}
  textarea.full{resize:vertical;padding:.6rem;}
  .files input{display:block;margin-bottom:.6rem;}
  .submit-block{text-align:center;margin-top:2.5rem;}
  .submit-btn{background:#002b5c;color:#fff;padding:1rem 3.5rem;border:none;border-radius:50px;
    font-weight:700;font-size:1rem;cursor:pointer;transition:opacity .2s;}
  .submit-btn:hover{opacity:.85;}

  /* ---- 見出し（お客様情報） ---- */
  .contact-subheading{
    background:#002b5c;
    color:#fff;
    padding:.55rem 1rem;
    border-radius:4px;
    font-size:1.3rem;
    margin:0 0 1.8rem;
    text-align:left;
  }

/* 既存の .contact-heading を上書き */
.contact-heading {
  font-size: 2rem;       /* もとの1.4remくらいから2remにアップ */
  line-height: 1.3;      /* お好みで調整してください */
  margin-bottom: 1.5rem; /* 下との余白をちょい広げたい場合 */
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
  z-index: 9999;}

  .bottom-fixed-btns {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #002b5c; /* ネイビー */
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-sizing: border-box;
    z-index: 1000;
  }
  .bottom-fixed-btns .btn {
    color: #002b5c; /* ボタン文字色はネイビー */
    background-color: #fff; /* ボタン背景は白 */
    padding: 12px 20px;
    border-radius: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    flex: 1 1 45%;
    margin: 0 5px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  }
  .bottom-fixed-btns .btn:hover {
    background-color: #f0f0f0;
  }



.cta-container {
  /* ↓ Flex を完全に外してブロックに */
  display: block;         
  text-align: center;     /* 子要素のインラインを中央揃え */
  margin: 1rem 0;         /* 上下マージンだけ */
  /* フェードインアニメーション */
  opacity: 0; 
  transform: translateY(10px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.cta-container.is-visible { 
  opacity: 1;
  transform: translateY(0);
}

/* ヒーロー要素のフェードイン */
.logo, .hero-text, .hero2-container {
  opacity: 0; 
  transform: translateY(10px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.logo.is-visible, .hero-text.is-visible, .hero2-container.is-visible { 
  opacity: 1;
  transform: translateY(0);
}


.cta-btn-line {
  display: inline-block;
  background: linear-gradient(135deg, #06c755 0%, #05b94f 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}
.cta-btn-phone {
  display: inline-block;
  background: linear-gradient(135deg, #002b5c 0%, #001e42 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 43, 92, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 43, 92, 0.4);
}

.cta-btn-phone-white {
  display: inline-block;
  background: #fff;
  color: #002b5c;
  padding: 1rem 2rem;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
}


.case-double {
  /* 1. 町並み写真＋カバー表示 2. ネイビーの半透明オーバーレイ  */
  background:
    linear-gradient(rgba(0,38,66,0.8), rgba(0,38,66,0.8)),
    url('tokyo.jpg') center/cover no-repeat;
  padding: 2rem 1rem;
  color: #fff; /* 文字を白くして可読性キープ */
}


.badge-container {
  display: flex;
  flex-wrap: nowrap;        /* 改行しない */
  justify-content: flex-start;  /* 左寄せ */
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0;
  margin: 0;                /* 左寄せ用 */
  overflow: auto;           /* はみ出し対応 */
}

/* 見出しの下余白とレスポンシブ調整（改行しない） */
.hero-badges {
  padding-top: 3%; /* 上部に3%の余白 */
}

.hero-badges h2 {
  margin-bottom: 5px;
  white-space: nowrap;
  font-size: 24px;  /* デフォルトは24px */
  line-height: 1.2;
}

/* 380px以下でのみ縮小 */
@media (max-width: 380px) {
  .hero-badges h2 { font-size: 20px; }
}

/* アイテム自体は幅に合わせて縮む */
.badge-container > .fade-in {
  flex: 0 1 auto;
}

/* バッジ（SVG）をレスポンシブに。最大120px、最小65pxで画面幅に応じて縮む */
.badge-container svg {
  width: clamp(65px, 25vw, 120px);
  height: auto;
}


.company-intro {
  color: #002b5c; /* 希望のネイビー系の色を指定 */
  padding: 10px 0 40px; /* 上:10px 左右:0 下:40px */

}

.company-intro p {
  line-height: 1.8;        /* 行間を広めに */
  margin-left: 1.7rem;     /* 左の余白 */
  margin-right: 1.7rem;    /* 右の余白 */
}

.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 32px;
  background: #002b5c;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.faq-section h2 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 24px;
}

.faq-section h3 {
  font-size: 1.2em;
  margin: 32px 0 8px;
  font-weight: 700;
}

.faq-list {
  margin: 0;
}

.faq-list dt {
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
  padding: 12px 16px;
  background: #f7f7f7;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
}

.faq-list dt::after {
  content: "＋";
  position: absolute;
  right: 24px;
  font-size: 1.2em;
  color: #888;
  transition: transform 0.2s;
}

.faq-list dt.open::after {
  content: "－";
  color: #444;
}

.faq-list dd {
  margin-left: 16px;
  margin-bottom: 10px;
  padding: 8px 16px 16px 16px;
  background: #f9f9f9;
  border-radius: 8px;
  line-height: 1.7;
  display: none;
  transition: max-height 0.3s, opacity 0.3s;
}

.faq-list dd.open {
  display: block;
}


/* セクション全体を flex 配置しつつ、背景画像は右寄せ */
.top-woman {
  position: relative;
  justify-content: flex-start;
  background:
    linear-gradient(rgba(0,38,66,0.75), rgba(0,38,66,0.75)),
    url('city.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5%;
}

/* テキストブロックは幅を絞って左側にだけ配置 */
.hero-text {

  font-weight: 900; 
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1.5;
  text-align: left;
  white-space: pre-line;
}

.hero2 {
  font-weight: 600; 
  font-size: clamp(0.58rem, 2.8vw, 0.95rem);
  line-height: 1.6;
}

/* スマホではもう少し幅を広げておくと読みやすい */
@media (max-width: 600px) {
  .hero-text {
    font-size: clamp(2rem, 12vw, 4rem);
  }
  .hero2 {
    font-size: clamp(0.6rem, 3.2vw, 0.9rem);
  }
}

.hero2-container {
    padding: clamp(9px, 10vh, 30px) 0;
}

.no-bother {
  background: #002b5c;
  color:#fff;
  padding: 2rem 1rem 3.2rem;
  text-align: center;
  position: relative;
  /* 下端を矢印型(中央が尖る)にカット */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
}

.no-bother-content {
  max-width: 668px;
  margin: 0 auto;
}


.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  width: 95%;
}

.signature {
  display: block;
  margin-left: auto;
  margin-right: 1.7rem;
  max-width: 300px;
  width: 60%;
}

.free {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  max-width: 500px;
  width: 60%;
}


.underline-hand {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.underline-hand::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: 0.1em;
  width: 105%;
  height: 0.3em;
  background: rgba(211, 183, 42, 0.9); /* ←白マーカー */
  transform: rotate(-2deg) skewX(-8deg);
  border-radius: 4px;
  z-index: -1;
  pointer-events: none;
}

/* ===== フッターの会社情報: 改行させずに可変フォントサイズ ===== */
.footer-inline {
  margin-top: 1.5rem;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;                     /* 折り返し禁止 */
  font-size: clamp(11px, 1.9vw, 14px);     /* 画面幅で縮小・拡大 */
  color: #fff;
}

#line .footer-inline a {
  color: #fff;
  text-decoration: underline;
}