:root{
  --header-h: 60px;
  --ink: #3a2f34;
  --brand: #273861;
  --line: #e5e7eb;
  --cta: #fde047;
  --cta-ink: #111827;
  --accent: #1F6F93;
  --muted: #666;
  --bg: #fff;
  --font-base: 'LINE Seed JP_OTF', sans-serif;
  /* --card-bg: #F1F2F3; */
  --outdent: 40px;
  --radius: 6px;
  --ink-weak: #9aa3ac;
  --panel: #eef1f4;
  --border: #e5e9ee;
  --shadow: 0 2px 8px rgba(0,0,0,.04);
  --footer-text: #ffffff;
  --footer-text-weak: #e6eef5;
  --footer-gap: 28px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,"LINE Seed JP_OTF",sans-serif}
a{text-decoration:none;color:var(--ink)}
.container{max-width:1140px;margin:0 auto;padding:0 16px}
/* Accessibility: nav menu font size */
.menu a,
#globalMenu a {
  font-size:0.875rem; /* 14px relative to 16px root */
  line-height: 1.6;
}
img{
  width: 100%;
}
.mb{
  margin-bottom: 2em;
}
.mb4{
  margin-bottom: 4em;
}
.mt{
  margin-top: 4em;
}
.mt2{
  margin-top: 2em;
}
.pt2{
  padding: 1em 2em 0 2em;
}

/* Header */
header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--line)}
.nav{min-height:var(--header-h);display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;padding:8px 0}
.brand img{height:36px;width:auto;display:block}

.menu{display:flex;gap:16px}
.menu a{color:var(--ink);padding:8px 0}
@media (max-width:960px){.menu{display:none}}

/* Hamburger (pixel-perfect to X) */
.hamburger{position:relative;width:40px;height:40px;display:none;align-items:center;justify-content:center;padding:6px;border:0;background:transparent;cursor:pointer}
.hamburger span{position:absolute;left:8px;right:8px;height:2px;background:var(--brand);border-radius:2px;transition:transform .22s ease, opacity .18s ease, top .22s ease}
.hamburger span:nth-child(1){top:12px}
.hamburger span:nth-child(2){top:19px}
.hamburger span:nth-child(3){top:26px}
@media (max-width:960px){.hamburger{display:flex}}

/* X state via body class */
body.menu-open .hamburger span:nth-child(1){top:19px;transform:rotate(45deg)}
body.menu-open .hamburger span:nth-child(2){opacity:0}
body.menu-open .hamburger span:nth-child(3){top:19px;transform:rotate(-45deg)}

/* Overlay */
#overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:900}
body.menu-open #overlay{opacity:1;pointer-events:auto}
@media (min-width:961px){#overlay{display:none}}

/* Mobile panel (fixed) */
#mobileMenu{position:fixed;left:0;right:0;top:var(--header-h);background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.08);z-index:1100;transform:translateY(-8px);opacity:0;pointer-events:none;transition:opacity .18s ease, transform .18s ease;padding:12px 16px}
#mobileMenu a{display:block;margin:3px 0;font-weight:400;color:var(--ink)}
#mobileMenu .menu-cta{display:grid;gap:10px;margin-top:20px;margin-bottom: 30px;}
#mobileMenu .btn{display:flex;justify-content:center;align-items:center;gap:8px;border-radius:999px;padding:20px 16px;font-weight:700;border:0}
#mobileMenu .btn-call{background: linear-gradient(90deg, #7fe3ff 0%, #5cc3ff 100%);color:var(--cta-ink)}
#mobileMenu .btn-mail{background:#2f6a99;color:#fff}
@media (min-width:961px){#mobileMenu{display:none}}

body.menu-open #mobileMenu{transform:translateY(0);opacity:1;pointer-events:auto}

/* Demo content below */
main{padding:0 0 24px}
.card{padding:16px;border:1px solid var(--line);border-radius:12px;margin:12px 0;color:var(--muted)}

/* ====== MV (Main Visual) ====== */
.mv{position:relative; overflow:clip;}
.mv .bg{position:relative}

.mv .bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.15));
}
/* MV配置調整 */
.mv .inner {
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center;
  justify-content:flex-start; /* 上寄せ */
  padding-top:10%; /* 上からの余白を調整（スマホは20%でも可） */
  text-align:center;
  color:#fff;
}

.mv-logo {
  width:68px; height:auto; margin-bottom:20px;
}

.mv .catch {
  margin:0 0 12px;
  font-weight:900;
  font-size:clamp(24px, 5vw, 40px);
  line-height:1.4;
}

.mv .subcatch {
  margin:0;
  font-size:clamp(14px, 3vw, 20px);
  font-weight:500;
}
.cont_inner{
  padding: 1em;
}
.menu a:hover {
  color: #1f6f93;
}
.menu a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #1f6f93;
  text-decoration: underline; /* 必要に応じて削除も可 */
}




/* PC幅で横並び・余白拡大 */
@media (min-width: 961px){
  .mv-call__inner{ padding: 16px 24px; gap:16px; }
  
  
  
}

/* MVを“1画面内に収める”設定と両立（既に入れている場合はOK） */
@media (max-width: 960px){
  .mv{ min-height: calc(min(100dvh, 100svh) - var(--header-h)); }
  
}
/* スマホ表示調整 */
@media (max-width: 960px){
  .mv-call__inner{
    flex-direction: column;       /* 縦並び */
    align-items: center;          /* 中央寄せ */
    text-align: center;           /* テキスト中央揃え */
    gap: 8px;
  }

  .mv-call__text{
    margin-bottom: 6px;           /* 電話番号との間隔 */
  }

  

  

  
}




/* PC時：MVのテキストをやや左寄せに */
@media (min-width:961px){
  .mv .inner{ padding-left: 24px; padding-right: 24px; }
}
/* === Fit MV to first viewport on smartphones === */
@media (max-width: 960px){
  .mv{min-height: calc(min(100dvh, 100svh) - var(--header-h));}
  
  .mv .inner{align-content: end; padding-bottom: 16px;}
}

/* ====== Mobile Menu List Style ====== */
.menu-list {
  list-style:none;
  margin:0; padding:0;
}
.menu-list li {
  border-bottom:1px solid #e5e5e5;
}
.menu-list a {
  display:flex;
  align-items:center;          /* 縦方向中央揃え */
  justify-content:space-between; /* 左テキストと右矢印を左右に分ける */
  padding:16px;
  font-size:1em;
  font-weight:500;
  color:var(--ink);
  text-decoration:none;
}

.menu-list .arrow {
  flex:0 0 auto;
  width:1em;
  height:1em;
  /* display:flex; */
  align-items:center;
  justify-content:center;
  margin-left:8px;             /* テキストとの間隔 */
}

.menu-list .arrow::before {
  content:"›";                 /* シンプルな右矢印 */
  font-size:1em;
  line-height:1;
  color:var(--ink);
}



/* ===== Hero ===== */
.hero{
  position:relative;
  min-height:100svh;          /* モバイルのURLバー対策 */
  width:100%;
  overflow:hidden;
  isolation:isolate;          /* overlayのブレンドを閉じ込める */
}

.hero__bg{
  position:absolute; inset:0;
  background-image: url(../img/mv.jpg);
  background-size:cover;
  background-position:center top; /* 必要に応じて left/center/right 調整 */
  will-change:transform;
  transform:translateZ(0);
}

.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.25) 100%);
  pointer-events:none;
  mix-blend-mode:multiply;    /* 写真のコントラストを軽く強調（不要なら削除） */
}

.hero__inner{
  position:relative;
  z-index:2;
  min-height:100%;
  display:grid;
  place-items:center;
  padding:clamp(32px,2vw,100px);
  text-align:center;
  padding-top: clamp(100px, 10vh, 180px); 
}

.hero__title{
  color:#fff;
  font-weight:700;
  line-height:1.35;
  letter-spacing:0.02em;
  text-wrap:balance;
  font-size:clamp(26px, 3.6vw, 56px);
  text-shadow:0 2px 16px rgba(0,0,0,.35);
}

/* 通常（PCなど）ではヒーロー内に配置 */
.hero__tel{
  position:absolute;
  /* left:20%; */
  right: 0;
  /* bottom:clamp(12px, 2.4vw, 28px); */
  bottom: 0;
  /* transform:translateX(-50%); */
  z-index:3;
  display:block;
  max-width:min(92vw, 450px);
}

.hero__tel img{
  width:100%;
  height:auto;
  display:block;
}



/* --- スマホ：右下固定・全部見えるように --- */
@media (max-width: 768px){
  .hero__tel{
    /* position: fixed; */
    /* inset-inline-end: max(12px, env(safe-area-inset-right)); 
    inset-block-end:  max(12px, env(safe-area-inset-bottom)); */
    width: min(80vw, 520px);   /* 80%を上限520pxに制限 */
    max-width: calc(100vw - 24px); /* 画面外にはみ出さない保険 */
    transform: none; 
    z-index: 999;
  }

  

  /* CTAが下の本文を隠さないための余白（画像の高さぶんの目安） */
  /* body{
    padding-bottom: 150px; 
  }*/
} 


/* カードセクション */
section#cont_btn {
    margin-top: 2em;
}

/* カード全体をリンクに */
.cta-card{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:end;
  /* gap:clamp(16px,2vw,24px); */
  padding:clamp(20px,3vw,36px);
  background:var(--card-bg);
  color:var(--ink);
  border-radius:var(--radius);
  text-decoration:none;
  box-shadow:0 2px 0 rgba(0,0,0,.04) inset;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid #ccc;
}

.cta-card:hover,
.cta-card:focus-visible{
  background:#e9ecef;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transform:translateY(-2px);
  outline:none;
}

/* 本文部分 */
.card-box {
    margin-bottom: 2em;
}
.cta-card__title{
  margin:0 0 .4em;
  font-weight:700;
  color:var(--accent);
  font-size:clamp(20px,3vw,18px);
}
.cta-card__desc{
  margin:0;
  color:var(--ink);
  opacity:.9;
  line-height:1.8;
  font-size:clamp(14px,2.2vw,20px);
}

/* 右下のアクション部 */
.cta-card__action{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  margin-left:auto;
}
.cta-card__label{
  font-weight:700;
  font-size:clamp(16px,2.4vw,16px);
  white-space:nowrap;
}
.cta-card__icon{
  width:20px;
  height:auto;
  flex-shrink:0;
  transition:transform .18s ease;
}
.cta-card:hover .cta-card__icon{
  transform:translate(2px,-2px);
}

/* 丸み・レスポンシブ調整 */
.cta-card{ border-radius:10px; }
@media (max-width:640px){
  .cta-card{
    grid-template-columns:1fr;
    align-items:start;
    gap:16px;
    border: 1px solid #ccc;
  }
  .cta-card__action{
    justify-content:flex-end;
  }
}

/* 動きが苦手な環境対応 */
@media (prefers-reduced-motion:reduce){
  .cta-card, .cta-card__icon{ transition:none; }
}






/* セクション余白 */
.sec-head{
padding: clamp(20px, 1.5vw, 72px) 0;
}

/* 横幅制御 */
.sec-head__wrap{
  max-width:min(1100px, 92vw);
  margin:0 auto;
  position:relative;
  margin-top: 2em;
}

/* 英字見出し（左にルール） */
.sec-head__en{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0;
  color:var(--accent);
  font-family:"LINE Seed JP_OTF","Noto Sans JP",sans-serif;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.05;
  font-size: clamp(36px, 2vw, 95px);
}

/* 左の短いライン */
.sec-head__rule{
  display:inline-block;
  width:56px;
  height:4px;
  background:var(--accent);
  /* 見出し左からさらに外へ突き出す */
  margin-left: calc(var(--outdent) * -1);
}

/* 和文サブ */
.sec-head__ja{
  margin:.4em 0 0 1em;
  color:var(--ink);
  font-family:"LINE Seed JP_OTF","Noto Sans JP",sans-serif;
  font-weight:700;
  letter-spacing:.06em;
  font-size: clamp(18px, 2.4vw, 30px);
}

/* レスポンシブ微調整 */
@media (max-width:768px){
        /* スマホは突き出し量を短く */
  .sec-head__rule{ width:40px; height:3px; }
}

/* ===== 共通デザイン（01・02） ===== */
.products__01,
.products__02{
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 60px) 0;
  width: 100%;
  margin-bottom: 5em;
}

.products__01 > *{
  position: relative;
  z-index: 1;
  max-width: min(760px, 92vw);
  /* margin-left: auto; */
  margin-right: auto;
}
.products__02 > *{
  position: relative;
  z-index: 1;
  max-width: min(760px, 92vw);
  margin-left: auto;
  /* margin-right: auto; */
}

/* ===== .products__01 → 左白・右ブルー ===== */
.products__01::before{
  content:"";
  position:absolute;
  inset:0 0 0 120px;   /* 左に白余白を残す */
  background: var(--bg-panel);
  z-index:0;
}

/* ===== .products__02 → 右白・左ブルー ===== */
.products__02::before{
  content:"";
  position:absolute;
  inset:0 120px 0 0;   /* 右に白余白を残す（左右逆） */
  background: var(--bg-panel);
  z-index:0;
}

/* ===== 内部の共通スタイル ===== */
.products__01 img,
.products__02 img{
  width:100%;
  height:auto;
  display:block;
  /* border-radius:6px; */
  /* margin-bottom:clamp(20px,3vw,36px); */
}

.products__01 h3,
.products__02 h3{
  margin:0 0 clamp(12px,2vw,20px);
  text-align:center;
  color:var(--accent);
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.3;
  font-size:clamp(20px,4vw,28px);
  margin: 0 auto;
  padding-top: 1.5em;
}

.products__01 p,
.products__02 p{
  max-width:680px;
  margin:0 auto clamp(20px,3vw,40px);
  color:var(--ink);
  font-size:clamp(15px,2.2vw,18px);
  line-height:2;
  letter-spacing:.02em;
  text-align:left;
  padding: 2em 3em;
  text-align: justify;
}

/* ===== ボタン（共通） ===== */
.btn-wrap {
    margin-left: auto;
    text-align: center;
    margin-right: auto;
}
.btn-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 28px;
  border:1px solid #ccc;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  color:var(--ink);
  font-size:clamp(15px,2vw,18px);
  font-weight:500;
  font-family:"LINE Seed JP_OTF","Noto Sans JP",sans-serif;
  transition:all .25s ease;
}
.btn-link img{
  width:1.2em;
  height:auto;
  flex-shrink:0;
  transition:transform .25s ease;
}
.btn-link:hover{
  border-color:var(--accent);
  background:#f8fafc;
}
.btn-link:hover img{
  transform:translate(2px,-2px);
}

/* ===== スマホで左右の余白を少し狭く ===== */
@media (max-width:768px){
  .products__01::before{ inset:0 0 0 15px; }
  .products__02::before{ inset:0 15px 0 0; }
}

section#cont_land {
    padding: 0 1.2em;
}

/* コンテナ：中央寄せ＋縦並び＋適度な余白 */
.merit{
  max-width: min(980px, 94vw);
  margin: 1em auto;
  padding: clamp(8px, 2vw, 12px) 0;
  display: grid;
  gap: clamp(16px, 2.8vw, 28px);
}

/* 画像を“カード風”に見せる */
.merit img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;                     /* 角丸 */
  border: 1px solid #D9DEE3;               /* 薄い枠線 */
  box-shadow: 0 1px 0 rgba(0,0,0,.03) inset;
  background: #F6F8FA;                     /* 透過PNG対策の下地 */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* ほんのりホバー演出（PC向け） */
@media (hover:hover){
  .merit img:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    border-color: #C9D2DA;
  }
}

/* 2カラムにしたい場合（任意） */
/* @media (min-width: 960px){
  .merit{
    grid-template-columns: 1fr 1fr;
  }
} */
/*  */

/* コンテナ */
.intro-card{
  max-width: min(980px, 94vw);
  margin: 0 auto clamp(24px, 3vw, 48px);
  margin-top: 5em;
}

/* 画像ラッパー：オーバーレイのベース */
.intro-card__media{
  position: relative;
  margin: 0;
}

/* 背景写真 */
.intro-card__media > img:first-child{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}



/* デフォルト（奇数：右上配置） */
.intro-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: auto;
  object-fit: contain;
}

/* 偶数番目だけ反転（左上） */
.intro-card:nth-of-type(even) .intro-card__badge {
left: auto;
right: 20%;
}


/* スマホでの微調整 */
@media (max-width: 520px){
  .intro-card__badge{
    left: 50px;
    top: clamp(-16px, -3vw, -8px);
    width: min(92%, 420px);
  }
}

.btn-container {
  margin-top: 50px; 
}

/* .intro-card:last-of-type {
  margin-bottom: 6em;
} */
#cont_strengths{
  padding: 3em 1.2em;
}



.news-list{
  max-width: 960px;
  margin: 0 0 0 auto;  
  padding: 0 0 0 40px;
}

.news-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration:none;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  margin: 0 0 28px;
  border:1px solid var(--border);
  display: block;
}

.news-card:last-of-type{
  margin-bottom: 3em;
}

/* .news-card:hover{
  background:#f4f7f9;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
} */
.news-card:active{ transform:translateY(1px); }

.news-card__body{
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.news-card__date{
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-weak);
  line-height:1.2;
}

.news-card__title{
  margin:0;
  font-size: clamp(16px, 3.6vw, 18px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  /* word-break: keep-all; */
}

.news-card__icon{
  flex: 0 0 auto;
  display:grid; place-items:center;
  width: 36px; height: 36px;
}

.news-card__icon img{
  display:block;
  width: 22px;
  height: 22px;
}


.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 48px 16px 24px;
  margin-top: 2em;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--footer-gap);
}

/* ロゴ */
.footer-logo img {
  width: min(80px, 45vw);
  height: auto;
  display: block;
}

/* ナビゲーション */
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--footer-gap);
  
}

.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(14px, 2.6vw, 20px);
  letter-spacing: 0.08em;
  padding: 8px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--footer-text-weak);
  text-decoration: underline;
  text-underline-offset: 6px;
  outline: none;
}

/* コピーライト */
.footer-copy {
  margin-top: 16px;
  color: var(--footer-text-weak);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 64px 24px 32px;
  }

  .footer-nav ul {
    gap: 20px;
  }
}

/* 768px以上：本文(main)を600px中央寄せ */
@media (min-width: 768px) {
  main {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Consolidated MV background image block */
.mv .bg img{
  width:100%;
  height: calc(min(100dvh, 100svh) - var(--header-h));
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.mv-call__headline{
  font-size: 16px;
}

.mv-call__hours{
  font-size: 13px;
}

.mv-call__number{
  display:flex;
  flex-direction: row;
  justify-content: center;
  font-size: clamp(20px, 6vw, 32px);
}

/* ===== Footer base（スマホ：縦積み） ===== */
.site-footer{
  padding: 32px 20px;
  font-size: 13px;        
  line-height: 1.8;
  background: var(--footer-bg, #006ba0);
  color: var(--footer-ink, #fff); 
  padding-bottom: 100px;
}
.footer-inner{
  max-width: 600px;     
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ロゴ */
.footer-logo img{
  max-width: 180px;
  height: auto;
  display: block;
}

/* ナビ：スマホは1列 */
.footer-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 16px;
}
.footer-nav a{
  color: inherit;
  text-decoration: none;
  font-size: 14px;        
  line-height: 1.8;
}
.footer-nav a:hover{ text-decoration: underline; }
.footer-nav a:focus-visible{
  outline: 2px solid color-mix(in srgb, currentColor, #000 20%);
  outline-offset: 2px;
}

/* コピーライト */
.footer-copy{
  text-align: center;
  font-size: 12px;
  color: #fff;           
  margin-top: 8px;
}

/* ===== 768px以上：フォント14px＋横2列レイアウト ===== */
@media (min-width: 768px){
  .site-footer{
    font-size: 14px;
    padding: 48px 24px;
  }

  /* 横2列（左：ロゴ／右：ナビ）、コピーは下段で全幅 */
  .footer-inner{
    display: grid;
    grid-template-columns: auto 1fr; 
    align-items: start;
    column-gap: 40px;
    row-gap: 24px;
  }
  .footer-logo{ grid-column: 1; }
  .footer-nav { grid-column: 2; }

  /* ナビ内リンクを2カラム化（読み順維持のまま自然に分割） */
  .footer-nav ul{
    display: block;         
    column-count: 2;
    column-gap: 32px;
  }
  .footer-nav li{
    break-inside: avoid;      /* 行の途中で切れないように */
    -webkit-column-break-inside: avoid;
    padding: 0; margin: 0;
  }

  /* コピーは最下段で2列ぶち抜き */
  .footer-copy{
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 13px;
  }
}

/* ===== intro-card__badge が 521px 以上で消える問題の対処 ===== */

/* 基本：常に表示（既存の display:none を打ち消す） */
.intro-card__badge{
  display: block;
  width: auto;
  height: auto;
  max-width: 85%;
  opacity: 1;
  visibility: visible;
}

/* 521px 以上でも必ず表示を維持 */
@media (min-width: 521px){
  .intro-card__badge{
    display: block;        /* 既存の display:none を上書き */
  }
}

/* もし重なりで見えない場合は z-index を付与（親を相対配置） */
.intro-card{ position: relative; }
.intro-card__badge{
  position: absolute;      /* 固定配置しているなら */
right: auto;
    left: 20%;
    top: -35px;
  z-index: 2;              /* オーバーレイや背景の上に */
}

/* ===== WORKS Hero ===== */
.works-hero{ width:100%; }

.works-hero__top{
  background:#eaf4fb;                     /* 上部の薄い水色帯 */
  padding: clamp(28px, 8vw, 72px) 16px 40px; /* 下はバッジ分ゆとり */
  position: relative;
}

.works-hero__inner{
  margin:0 auto;
  max-width: 100%;
  position: relative;
}

/* 768px以上は本文ルールに揃えて左端位置もきれいに */
@media (min-width:768px){
  .works-hero__inner{ max-width: 600px; }
}

.works-hero__title{
  font-weight: 800;
  letter-spacing:.06em;
  line-height:1;
  color:#3b6f8e;                           
  font-size: clamp(36px, 12vw, 88px);    
  margin: 0;
}

/* 水色グラデーションの帯（事業案内） */
.works-hero__badge{
  position: absolute;
  left: 0;
  bottom: -60px;                          
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(90deg, #7fe3ff 0%, #5cc3ff 100%);
  color:#000;
  font-weight: 400;
  font-size: clamp(14px, 3.5vw, 18px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  white-space: nowrap;
}

/* 下の写真 */
.works-hero__image{ margin:0; }
.works-hero__image img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* グリッド配置：スマホ縦／≥768pxで2列 */
#cont_btn{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}
@media (min-width:768px){
  #cont_btn{
    /* grid-template-columns: repeat(2, minmax(0,1fr)); */
    gap:24px;
  }
}

/* 共通ボタン */
.cta-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 18px 24px;
  border-radius: 10px;            
  letter-spacing:.05em;
  line-height:1.4;
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  height: 72px;                   

  /* 長文対策 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 左：濃ブルー＋白文字 */
.cta-pill.is-primary{
  background:#2f6a99;
  color:#fff;
}
.cta-pill.is-primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}

/* 右：薄グレー＋青文字 */
.cta-pill.is-ghost{
  background:#eeeeee;
  color:#2f6a99;
}
.cta-pill.is-ghost:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* 600〜680px幅サイトに合わせた密度微調整（任意） */
@media (min-width:768px){
  .cta-pill{ height: 80px; padding: 20px 28px; }
}

/* 常に横2列（スマホ含む） */
#cont_btn{
  display: grid;
  /* grid-template-columns: repeat(2, minmax(0,1fr)); */
  gap: 12px;          /* モバイルは間隔やや狭め */
}

/* ボタン共通の詰め調整（横2列でも窮屈に見せない） */
.cta-pill{
  padding: 14px 12px;         /* 以前より少しタイトに */
  height: 64px;               /* 高さ低めで収まりUP */
  font-size: clamp(13px, 3.4vw, 16px);
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: center;
}

/* 超狭幅端末（~360px）での崩れ防止 */
@media (max-width: 360px){
  #cont_btn{ gap: 8px; }
  .cta-pill{ height: 58px; padding: 12px 8px; font-size: 13px; }
}

/* セクション骨格 */
.case{
  background:#eaf4fb;             /* スクショの淡い水色 */
  padding: 24px 16px 32px;
  margin-top: 3em;
}
@media (min-width:768px){
  .case{ padding: 32px 20px 40px; }
}

/* 見出し */
.case__title{
    text-align: center;
    color: #3b6f8e;
    font-weight: 800;
    letter-spacing: .08em;
    font-size: clamp(36px, 4.5vw, 32px);
    margin-bottom: 1.5em;
    margin-top: -44px;
}
.case__subtitle{
  text-align:center;
  font-weight:700;
  font-size: clamp(20px, 3.6vw, 36px);
  margin: 0 0 18px;
}

/* 吹き出しラベル */
.case__label{
  width:max-content;
  margin: 16px auto 8px;
  padding: 10px 70px;
  border-radius: 6px;
  background:#bdbdbd;             /* 導入前のグレー */
  color:#fff; font-weight:700;
  position:relative;
}
.case__label::after{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:-8px; width:0; height:0;
  border:8px solid transparent; border-top-color:#bdbdbd;
}
.case__label--after{
  background:#2f6a99;            /* 導入後のブルー */
}
.case__label--after::after{
  border-top-color:#2f6a99;
}

/* 画像 */
.case__image{ margin:0 0 16px; }
.case__image img{
  width:100%; height:auto; display:block;
  border-radius:10px;
}

/* 矢印（SVGそのまま使用） */
.case__arrow{
  display:flex; justify-content:center; align-items:center;
  margin: 10px 0 16px;
}
.case__arrow img{
  width: clamp(28px, 6vw, 44px);   /* 端末に応じて自動調整 */
  height:auto; display:block;
}

/* 説明文 */
.case__desc{
  margin-top: 16px;
  line-height: 1.9;
  font-size: clamp(14px, 3.4vw, 16px);
}

/* セクションを画面端まで引き伸ばす */
.case{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #eaf4fb;
  padding: 24px 16px 32px;
}

/* iOS等でのスクロールバー幅差対策（対応していれば使う） */
@supports (width: 100svw){
  .case{
    width: 100svw;
    margin-left: calc(50% - 50svw);
    margin-right: calc(50% - 50svw);
  }
}

/* 中身は本文幅で中央寄せ */


.case__inner{
  max-width: 600px;      /* サイト方針に合わせる（680pxなら680に） */
  margin: 0 auto;
}

.balloon {
  position: relative;
 display: block;   
 width: fit-content;  
margin: 1.5em auto;     
  padding: 7px 65px;
  min-width: 120px;
  max-width: 100%;
  color: #fff;
  font-size: 16px;
  background: #bdbdbd;
  text-align: center;
}

.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #bdbdbd;
}
.balloon-ao {
  --c1:#67e8f9;        
  --c2:#44a6e8; 
  position: relative;
 display: block;   
 width: fit-content;  
margin: 1.5em auto;     
  padding: 7px 65px;
  min-width: 120px;
  max-width: 100%;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  text-align: center;

}

.balloon-ao:before {
  content:"";
  position: absolute;
  left: 50%;
  bottom: -15px;                     /* ノッチの突き出し量 */
  width: 30px;
  height: 16px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--c1), var(--c2)); /* 本体と同グラデ */
  clip-path: polygon(50% 100%, 0 0, 100% 0);   
}

#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #1f6f93; /* ブランドカラーに合わせる */
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

#toTop:hover {
  background-color: #15566e;
}

/* 初期状態：少し下＋薄く */
.sec-title{
  position: relative;

  /* font-size: clamp(20px, 3vw, 34px); */
  line-height: 1.3;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}



/* 表示時の状態 */
.sec-title.in-view{
  transform: translateY(0);
  opacity: 1;
}
.sec-title.in-view::after{
  transform: scaleX(1);
}

/* 低モーション配慮 */
@media (prefers-reduced-motion: reduce){
  .sec-title,
  .sec-title::after{
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* 初期状態：少し下にズラして透明に */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示されたときの状態 */
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ベース：横幅と余白 */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: min(5vw, 24px);
}

.usecase {
padding-block: clamp(20px, 5vw, 35px);
  /* background: #fff; */
}

/* レイアウト：PCはグリッド、SPは縦並び */
.usecase__inner {
  display: grid;
  /* gap: 28px 28px; */
}
/* @media (min-width: 960px) {
  .usecase__inner {
    grid-template-columns: 1fr minmax(420px, 560px);
    align-items: start;
  }
} */

/* H2（USE CASE-1） */
.usecase__eyebrow {
  grid-column: 1 / -1;
  font-family: "LINE Seed JP_OTF", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.1;
  color: var(--brand);
}

/* 黒帯の2段見出し */
.usecase__lead {
  display: grid;
  gap: 10px;
  align-content: start;
  z-index: 2;
  margin-bottom: -12px;
}

.usecase__lead span {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.5;
  letter-spacing: .02em;
  width: fit-content;
  font-weight: bold;
}

/* 右側イメージ（PCで“重なり気味”に） */
.usecase__media {
  margin: 0;
}
.usecase__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px 8px 0px 0px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
@media (min-width: 960px) {
  .usecase__lead { grid-column: 1; }
  /* .usecase__media { grid-column: 2; margin-top: 16px; } */
  .usecase__lead { margin-bottom: -12px; }
}

/* 説明ボックス（淡いグレーの帯） */
.usecase__desc {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: clamp(18px, 3.5vw, 28px) clamp(18px, 4vw, 32px);
}
.usecase__desc p {
  margin: 0;
  font-size: clamp(14px, 2.1vw, 18px);
  line-height: 1.9;
}
.usecase__desc strong { font-weight: 700; }


.usecase__lead span:first-child {
  font-size: 18px;
}
/* 前に usecase がある usecase の“前”に矢印＝ボックス間に常に表示 */
.usecase + .usecase::before {
  content:"";
  display:block;
  width:clamp(40px, 8vw, 80px);
  aspect-ratio:1/1;
  margin:clamp(24px,4vw,48px) auto;
  background:url("../img/work_arrow.svg") no-repeat center / contain;
  opacity:0.9;
}


/* ===== オーナー紹介ブロック ===== */
.owner-intro {
  position: relative;
  padding: clamp(12px, 2vw, 24px) 0;
  /* background: #fff; */
  overflow: hidden; /* 念のためはみ出し防止 */
}

/* 右側の縦帯 */
.owner-intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* ← これが重要。右端に固定 */
  bottom: 0;
  width: clamp(24px, 7vw, 40px);
  background: var(--brand, #273861);
  z-index: 0;
}

/* 内容 */
.owner-intro__in {
  position: relative;
  z-index: 1;
}

/* 白カード */
.owner-intro__card {
  /* background: #fff; */
  border-radius: 12px;
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); */
  padding: clamp(15px, 1vw, 20px);
  margin-bottom: clamp(16px, 4vw, 24px);

}
.owner-intro__card p {
  margin: 0;
  /* font-weight: 700; */
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  color: var(--ink, #222);
    text-align: justify;
  padding-right: 1em;
}

/* 右下ブロック */
.owner-intro__photo {
  position: relative;
  margin: 0;
}
.owner-intro__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}


/* デスクトップで少し広げる */
@media (min-width: 961px) {
  .owner-intro {
    padding: 30px 0;
  }
  .owner-intro__card {
    border-radius: 14px;
  }
  .owner-intro__photo img {
    border-radius: 20px;
  }
}

section.philosophy {
    padding: 0 1.2em;
}
section.company{
    padding: 0 1.2em;
}


.philosophy-logo {
    width: 120px;
    margin: 0 auto;
    padding-bottom: 2em;
}

/* 見出し本体 */
.sec-title-philosophy{
  position:relative;
  margin:50px 0 28px;
  color:var(--brand);
  font-weight:900;
  font-size:clamp(22px, 4.8vw, 36px);
  line-height:1.2;
  text-align:center;                  
}

/* アクセントライン */
.sec-title-philosophy::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-14px;                      
  width:clamp(80px, 24vw, 180px);    
  height:4px;                        
  background:var(--brand);
  border-radius:4px;                
  transform:translateX(-50%);         
}


.values3{
  padding: var(--space-lg) 0;

}
.values3 .container{ max-width:960px; margin:0 auto; padding:0 16px; }

.values3__item{
  text-align:center;
  margin: 0 auto var(--space-lg);
  max-width: 760px;
}

.values3__title{
  margin:0 0 16px;
  color: var(--brand);
  font-weight:900;
  letter-spacing:.05em;
  font-size: clamp(28px, 7vw, 44px);
  line-height:1.1;
}

.values3__text{
  margin:0;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 2.0;          
    padding-bottom: 3em;
}

/* 既存のフェードを使うなら（なければ省略OK） */
.fade-up{ opacity:0; transform:translateY(24px); transition:.6s ease; }
.in-view{ opacity:1; transform:none; }

.company {
  /* background: #fff; */
  padding: clamp(32px, 6vw, 80px) 0;
  font-family: var(--font-base, 'Noto Sans JP', sans-serif);
}

.company__title {
  text-align: center;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 900;
  color: var(--brand, #273861);
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* リスト全体 */
.company__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  max-width: 720px;
  /* padding: 0 16px; */
}

/* 各項目 */
.company__item {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
}

/* 見出し（dt） */
.company__item dt {
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 18px);
  color: var(--brand, #273861);
  margin-bottom: 8px;
}

/* 本文（dd） */
.company__item dd {
  margin: 0;
  color: #222;
  font-weight: 500;
  line-height: 1.8;
  font-size: clamp(15px, 3.5vw, 17px);
}

/* TEL リンク */
.company__item dd a {
  color: var(--brand, #273861);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.company__item dd a:hover {
  text-decoration: underline;
}
.company__item img {
    width: 45%;
}

/* PCレイアウト */
@media (min-width: 961px) {
  .company__list {
    gap: 36px;
  }
  .company__item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    align-items: start;
  }
  .company__item dt {
    /* text-align: right; */
    margin-bottom: 0;
  }
}

:root {
  --accent: #1f6f93;
  --line: #2b6587;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 min(5vw, 24px);
}

.benefit {
  padding: clamp(20px, 3vw, 35px) 0;
  /* background: #fff; */
}

.benefit__title {
  text-align: center;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: clamp(20px, 3.6vw, 28px);
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.benefit__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
}

.benefit__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: clamp(14px, 2.6vw, 20px) clamp(16px, 3vw, 24px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.benefit__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.benefit__icon img {
  width: 100%;
  height: auto;
  display: block;
}

.benefit__text {
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  color: #111;
  line-height: 1.7;
}

/* ===== オーナー様お悩み解決セクション ===== */
.solution {
  /* background:#fff; */
  text-align:center;
  padding:clamp(24px, 4vw, 50px) 16px;
}

.solution__icon {
  display: flex;             
  justify-content: center;   
  align-items: center;      
  margin: 0 auto clamp(20px, 4vw, 40px);
  width: 100%;         
}

.solution__icon img {
  display:block;
  width:clamp(80px, 10vw, 140px);
  height:auto;
}

.solution__text {
  font-size:clamp(20px, 5vw, 28px);
  font-weight:700;
  line-height:1.8;
  color:#111;
}

/* 画像（figure） */
.solution > figure {
  display:block;
  max-width:640px;          
  margin:0 auto;
  border-radius:10px;
  overflow:hidden;
}
.solution > figure img {
  width:100%;
  height:auto;
  display:block;
  margin-bottom: 2em;
  margin-top: 2em;
}
.solution p {
  text-align: justify;
  margin: 0 auto;
  max-width: 640px; 
  line-height: 1.8;
}

:root {
  --brand: #273861;       /* 指定の強調色 */
  --panel: #f4f6f8;
  --card-bg: #fff;
  --card-line: #d2dbe5;
  --shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 min(5vw, 24px);
}

/* .services {
  padding: clamp(32px, 5vw, 56px) 0;
} */

/* service-card本体 */
.service-card {
  background: var(--card-bg);
  /* border: 1px solid var(--card-line); */
  border-radius: 14px;
  /* box-shadow: var(--shadow); */
  overflow: hidden;
  margin-bottom: clamp(16px, 2.4vw, 24px);
  position: relative;
}

/* 左の縦グラデーション帯 */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  /* background: linear-gradient(#47e7f3, #00b6d8); */
}

/* 英語タイトル画像 */
.service-card__title {
  display: block;
  width: 100%;
  height: auto;
  background: var(--panel);
}

/* 本文 */
.service-card__body {
  padding: clamp(16px, 3.2vw, 24px);
   font-size: clamp(15px, 2vw, 17px); 
  line-height: 1.9;
  background: #f6f7f9;
}
.service-card__body p {
  margin: 0;
}

.em-brand {
  color: var(--brand);
  font-weight: 700;
}

:root {
  --brand: #273861;
  --text: #222;
  --bg-card: #fff;
  --shadow: 0 8px 24px rgba(0,0,0,.1);
}

.business-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 min(5vw, 24px);
}

.business-card {
  padding: clamp(32px, 5vw, 56px) 0;
}

.business-card__inner {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.business-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}
.business-card__img {
  width: 100%;
  margin: 0;
}

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


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

.business-card__body {
  padding: clamp(16px, 3vw, 24px);
}

.business-card__title {
  font-size: clamp(20px, 2.4vw, 20px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 8px;
  text-align: center;
}

.business-card__company {
  font-size: 14px;
  color: #555;
  margin: 0;
}

section.services {
    margin-top: 2em;
}
.introduction {
    margin-bottom: 4em;}

:root{
  --brand:#273861;
  --ink:#273861;       /* 枠線と数字の色 */
  --bg:#fff;
}

/* ベース */
.pager{ display:flex; justify-content:center; }
.pager__list{
  list-style:none; margin:0; padding:0; display:flex; gap:12px;
}

/* 各ボタン */
.pager__list a{
  display:grid; place-items:center;
  width:48px; height:48px;
  border:2px solid var(--ink);
  border-radius:12px;
  color:var(--ink);
  font-weight:700;
  text-decoration:none;
  background:var(--bg);
  transition:background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* 現在のページ */
.pager__list .is-current a{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

/* hover / focus */
.pager__list a:hover{ box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 20%, transparent); }
.pager__list a:focus-visible{ outline:3px solid color-mix(in oklab, var(--brand) 35%, white); outline-offset:2px; }

/* 矢印（添付の left.svg を右向きに使用） */
.pager__next img{
  width:18px; height:18px; display:block;
  /* transform:rotate(180deg);  */
  filter:none;              /* そのままの色で表示 */
}

/* 小さめ端末用の縮小（任意） */
@media (max-width: 360px){
  .pager__list a{ width:44px; height:44px; border-radius:10px; }
  .pager__next img{ width:16px; height:16px; }
}

nav.pager {
    margin-top: 3em;
}

:root{
  --brand:#273861;
  --card:#fff;
  --ink:#333;
  --line:#e5e8ee;
  --bg:#f6f7f9;
}

.faq{ background:var(--bg); padding:24px 12px; }
.faq-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:10px;
  margin:16px auto;
  max-width:680px;
  overflow:hidden; /* アニメーション中のはみ出し防止 */
}

/* ボタン部分 */
.faq-summary{
  -webkit-appearance:none; appearance:none;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  width:100%;
  padding:18px 16px;
  background:transparent;
  border:0;
  text-align:left;
  cursor:pointer;
}
.faq-summary:focus-visible{
  outline-offset:2px;
}

/* Q */
.faq-q{
  color:var(--brand);
  font-weight:900;
  font-size:20px;
}

/* タイトル */
.faq-title{
  color:#1a1a1a;
  font-weight:800;
  line-height:1.6;
  font-size:clamp(16px,4.2vw,18px);
  text-align: justify;
}

/* アイコン */
.faq-icon{
  position:relative; width:24px; height:24px;
  display:grid; place-items:center; color:var(--brand);
}
.faq-icon::before{ content:"+"; font-size:22px; line-height:1; transform:translateY(-1px); }
.faq-summary[aria-expanded="true"] .faq-icon::before{ content:"–"; }

/* コンテンツ部分（アニメーション） */
.faq-content{
  overflow:hidden;
  max-height:0;
  transition:max-height 0.4s ease, padding 0.4s ease;
  padding:0 16px 0 52px;
  color:var(--ink);
  line-height:1.9;
  font-size:16px;
  border-top:1px solid var(--line);
}
.faq-content p{ margin:16px 0; }

/* 開いた状態 */
.faq-content.is-open{
  max-height:500px; /* 想定最大高さ。長文なら大きめに */
  padding:16px 16px 18px 52px;
}

:root {
  --brand: #273861;
  --ink: #222;
  --card-bg: #fff;
  --line: #e5e8ee;
}

/* カード全体 */
.news-card {
  background: var(--card-bg);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 20px;
}
 .news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
} 
.news-card a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px; 
  text-decoration: none;
  color: inherit;
  position: relative;
}
.news-card .news-title {
  margin-bottom: 4px; /* ← デフォルトを詰める */
}
.news-card p {
  margin-top: 0;       /* ← ブラウザデフォルトの余白を消す */
  margin-bottom: 0;    /* ← 下も調整 */
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  text-align: left;
}
.news-excerpt figure {
    margin-top: 1rem;
}

/* 日付＋タグ部分 */
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.news-meta time {
  color: #9ca3af; /* 薄めのグレー */
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* タグ */
.tag {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

/* タイトル */
.news-title {
  font-size: clamp(16px, 4.2vw, 18px);
  /* font-weight: 800; */
  color: var(--ink);
  line-height: 1.6;
}

/* 右端の外部リンクアイコン */
.news-icon {
  position: absolute;
  top: 24px;
  right: 20px;
}
.news-icon img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(28%) saturate(1357%) hue-rotate(183deg) brightness(95%) contrast(92%);
}

section.inner {
    padding: 0 1.2em;
}
section.inner .news-card {
    border-radius: 8px;
}

.pager__list img {
  width: 10px;  
  height: auto;
  vertical-align: middle;
}

/* フェード演出 */
.fade-up {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}
.in-view {
  opacity:1;
  transform:none;
}




/* ===== スクロールアニメーション：fade-left ===== */
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* 他の方向も欲しい場合の汎用セット */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

:root{
  --brand:#273861;      /* 既定のブランド色 */
  --ink:#222;
  --muted:#9aa3af;
  --line:#e6e8ec;
  --focus:#79c2d0;      /* フォーカス色（ボタン系） */
  --danger:#d64545;
  --radius:10px;
}

.contact{ padding:24px 16px; }
.contact__title{ font-weight:900; font-size:22px; margin:0 0 16px; color:var(--ink); }

.contact__form{ max-width:720px; margin:0 auto; }

.field{ margin:18px 0 20px; }
.field label{
  display:block; margin-bottom:8px; font-weight:700; color:#222;
}
.req{
  display:inline-block; margin-left:6px; padding:2px 6px;
  font-size:12px; background:#e35b5b; color: #fff; border-radius:5px;font-weight: normal;
}
.field input,
.field textarea{
  width:100%;
  padding:14px 12px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  color:var(--ink);
  font-size:16px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder,
.field textarea::placeholder{ color:#c7ccd3; }

.field input:focus,
.field textarea:focus{
  border-color:#b9c6ff;
  box-shadow:0 0 0 3px rgba(39,56,97,.10);
}


.note{
  display:flex; justify-content:space-between; gap:8px;
  margin-top:6px; color:var(--muted); font-size:12px;
}
.note .count::before{ content:"現在の文字数 "; }
.error{
  margin-top:6px; color:var(--danger); font-size:13px; min-height:1em;
}

/* ボタン */
.actions{ margin-top:24px; }
.btn-primary{
  width:100%;
  padding:14px 16px;
  background:#67c1d0;  
  color:#fff; font-weight:800; font-size:18px;
  border:none; border-radius:12px; cursor:pointer;
  transition:filter .2s ease, transform .02s ease;
}
.btn-primary:hover{ filter:brightness(0.97); }
.btn-primary:active{ transform:translateY(1px); }


.menu-cta{
  display:flex; gap:12px; flex-wrap:wrap;
}
.menu-cta .btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 16px; border-radius:10px;
  text-decoration:none; font-weight:800; line-height:1;
  color:#fff; background:var(--brand);
}
.menu-cta .btn .ico{
  width:20px; height:20px; display:block;
}
.menu-cta .btn.btn-mail{ background:#e84855; } /* 任意：メールだけ色分けする場合 */
.menu-cta .btn:hover{ filter:brightness(.98); }
.menu-cta .btn:active{ transform:translateY(1px); }

#toTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brand, #273861);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#toTop img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1); /* 白抜き風に見せる */
}

#toTop:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

#toTop:active {
  transform: translateY(0);
}




/* .news-card:hover,
.news-card__body:hover {
  background: none;
  box-shadow: none;
  transform: none;
  cursor: default;
} */
.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* 行数を調整：2〜4で好みに */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: right;
}

.news-card__excerpt a {
  color: var(--brand, #273861);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
/* .news-card__excerpt a:hover { color: #000; } */

/* どちらでも共通で当たるように */
.news-excerpt a {
  color: var(--brand, #273861);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}
.news-excerpt a:hover { color: var(--brand); }

/* キーボード操作のアクセシビリティ */
.news-excerpt a:focus-visible {
  outline: 2px solid var(--brand, #273861);
  outline-offset: 2px;
}

/* 2〜3行で見切る（レイアウト安定） */
.news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* 2〜3で調整 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 一覧＆トップ共通で hover を殺す（id不要） */
/* .news-card:is(:hover, :active, :focus, :focus-within),
.news-card__body:is(:hover, :active, :focus, :focus-within) {
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: inherit !important;
  opacity: 1 !important;
  filter: none !important;
  border-color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
  transition: none !important;
} */
.news-card:hover *,
.news-card__body:hover * {
  color: inherit !important;
  text-decoration: none !important;
}
.news-card::before,
.news-card::after,
.news-card__body::before,
.news-card__body::after {
  content: none !important;
  /* pointer-events: none !important; */
}
/* 親カードはマウス反応を無効化 */
.news-card,
.news-card__body {
  pointer-events: none !important;
}

/* 本文内リンクだけは有効化 */
.news-excerpt a {
  pointer-events: auto !important;
  cursor: pointer;
}
/* 親 hover / 子リンク hover 連動の両方を殺す */
.news-card:hover,
.news-card:active,
.news-card:focus,
.news-card:focus-within,
.news-card:has(a:hover),
.news-card:has(.news-excerpt a:hover) {
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  color: inherit !important;
  border-color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
  transition: none !important;
}

/* 親 hover 時に子の色が変わる指定も無効化 */
.news-card:hover *,
.news-card:has(a:hover) * {
  color: inherit !important;
  text-decoration: none !important;
}

/* 擬似要素のオーバーレイも無効化 */
.news-card::before,
.news-card::after {
  content: none !important;
  pointer-events: none !important;
}

.news-card__excerpt a {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 1;
}

/* PC・タブレット（680px以上）のとき */
@media screen and (min-width: 680px) {
  .works-hero {
    width: 100vw;              /* ビューポート全体の幅に */
    margin-left: 50%;          /* 中央基準にずらして… */
    transform: translateX(-50%); /* 左右中央揃え */
  }

  .works-hero__image img {
    width: 100%;
    height: 300px;          /* 高さ固定 */
    object-fit: cover;      /* 画像をトリミングして収める */
    object-position: bottom;   /* ← トップから表示スタート！ */
    display: block;
  }
  .works-hero__top {
    background: #eaf4fb;
    padding: clamp(28px, 8vw, 20px) 16px 20px;
    position: relative;
}
 /* newsページだけ中央寄せ */
  .works-hero--news .works-hero__image img {
    object-position: top;
  }
/* 土地活用ページだけ中央寄せ */
  .works-hero--landuse .works-hero__image img {
    object-position: center;
  }
/* 駐輪・駐車ページだけ中央寄せ */
  .works-hero--work .works-hero__image img {
    object-position: center;
  }
/* 施設駐輪・駐車ページだけ中央寄せ */
  .works-hero--facility .works-hero__image img {
    object-position: center;
  }

/* FLOW */
  .works-hero--flow .works-hero__image img {
    object-position: top;
  }

}


/* ニュース一覧：本文中の画像を表示 */
.news-card .news-excerpt figure.wp-block-image {
  display: block;
  margin: 24px 0;
}

.news-card .news-excerpt img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ニュース一覧：本文中の画像を表示 */
.news-card .news-excerpt figure.wp-block-image {
  display: block;
  margin: 24px 0;
}

.news-card .news-excerpt img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* スマホ用：ニュースを強制的に全部見せる */
@media (max-width: 768px) {

  .news-card {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .news-card .news-excerpt {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }

  .news-card .news-excerpt figure,
  .news-card .news-excerpt img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
/* NEWSカード内の画像を横幅100%にする */
.news-card .news-excerpt figure.wp-block-image,
.news-card .news-excerpt figure.wp-block-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
