/* ===========================================================
   シマライズ サイトスタイル
   reset.css の後に読み込むこと
   配色・フォントは https://abcom.jp/ の実際のテーマカラーに準拠
   （紺: primary、オレンジ: accent、Noto Sans JP）
   =========================================================== */

:root{
  --bg:#ffffff;
  --bg-muted:#f5f5f5;
  --text:#1c1f2a;
  --muted:#6b7280;
  --line:#e6e6e6;
  --navy:#303b58;        /* プライマリー紺 */
  --navy-dark:#262f46;   /* 濃い紺 */
  --navy-vivid:#354161;  /* 明るめの紺 */
  --accent:#d87f27;      /* オレンジ */
  --card:#ffffff;
  --shadow:0 6px 18px rgba(0,0,0,.05);
  --navy-tint:rgba(48,59,88,.08);
  --accent-tint:rgba(216,127,39,.1);
  --radius:12px;
  --max:1180px;
  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

html{
  scroll-behavior:smooth;
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

body{
  font-family: var(--font-jp);
  color:var(--text);
  background:var(--bg);
  line-height:1.8;
  font-weight:400;
}

img{max-width:100%; display:block}

.container{width:min(var(--max), 92vw); margin-inline:auto}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--navy-dark);
  color:#fff;
  padding:.6rem 1rem;
  z-index:100;
}
.skip-link:focus{left:1rem; top:1rem}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.8rem 1.4rem;
  border-radius:4px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  font-size:.95rem;
  white-space:nowrap;
  transition:.15s transform, .15s filter;
}
.btn:hover{transform:translateY(-1px); filter:brightness(.96)}
.btn--primary{background:var(--navy); border-color:transparent; color:#fff}
.btn--accent{background:var(--accent); border-color:transparent; color:#fff}
.btn--ghost{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5); color:#fff}
.btn--outline{background:#fff; border-color:var(--navy); color:var(--navy)}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}

.btn-spinner{
  width:14px;
  height:14px;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;
  border-radius:50%;
  margin-right:.55rem;
  animation:btn-spinner-rotate .6s linear infinite;
}
@keyframes btn-spinner-rotate{
  to{transform:rotate(360deg)}
}

.link-more{
  color:var(--navy);
  font-weight:700;
  border-bottom:1px solid var(--navy);
  padding-bottom:.15rem;
}

/* ========== Header ========== */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header__inner{
  display:flex;
  align-items:center;
  gap:1.5rem;
  padding:.9rem 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:.65rem;
}
.brand__mark{
  width:40px; height:40px;
  display:grid; place-items:center;
  overflow:hidden;
  flex-shrink:0;
}
.brand__mark img{width:100%; height:100%; object-fit:cover}
.brand__name{height:26px; width:auto; display:block}

.gnav{
  margin-left:auto;
}
.gnav ul{
  display:flex;
  gap:1.6rem;
  flex-wrap:wrap;
  font-weight:500;
  font-size:.92rem;
}
.gnav a:hover{color:var(--navy)}

.site-header__cta{
  display:flex;
  align-items:center;
  gap:.7rem;
}

.hamburger{
  display:none;
  width:42px; height:42px;
  border-radius:4px;
  border:1px solid var(--line);
  align-items:center;
  justify-content:center;
  background:#fff;
  flex-shrink:0;
}
.hamburger span{
  width:18px; height:2px; background:var(--navy); display:block; position:relative;
}
.hamburger span::before,
.hamburger span::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:var(--navy);
}
.hamburger span::before{top:-6px}
.hamburger span::after{top:6px}

.mobile-nav{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  max-height:calc(100vh - 100%);
  overflow-y:auto;
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:.6rem 0 1rem;
  box-shadow:var(--shadow);
}
.mobile-nav.is-open{display:block}
.mobile-nav ul{
  display:grid;
  gap:.4rem;
  font-weight:700;
  width:min(var(--max), 92vw);
  margin-inline:auto;
}
.mobile-nav a{
  display:block;
  padding:.75rem .9rem;
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
}

/* ========== Hero（写真＋紺の暗幕オーバーレイ） ========== */
.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.hero__dim{
  position:absolute;
  inset:0;
  background:var(--navy-dark);
  opacity:.45;
}
.hero__inner{
  position:relative;
  z-index:1;
  color:#fff;
  text-align:center;
  padding:4rem 0;
}
.hero__title{
  font-size:clamp(1.8rem, 4vw, 2.7rem);
  line-height:1.5;
  font-weight:700;
  letter-spacing:.03em;
  margin-bottom:1.3rem;
  text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.hero__lead{
  color:rgba(255,255,255,.9);
  font-weight:500;
  max-width:640px;
  margin-inline:auto;
  margin-bottom:2rem;
  text-shadow:0 1px 8px rgba(0,0,0,.25);
}
.hero__actions{
  display:flex;
  justify-content:center;
  gap:.9rem;
  flex-wrap:wrap;
}
.hero__actions .btn{min-width:9.5rem}

/* ========== Features（シマライズの特徴） ========== */
.features{
  position:relative;
  padding:4.4rem 0;
  overflow:hidden;
  background:#faf8f4;
}
.features__heading{
  position:relative;
  z-index:1;
  text-align:center;
  margin-bottom:2.6rem;
}
.features__eyebrow{
  display:inline-block;
  padding:.4rem 1.2rem;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.16em;
  margin-bottom:.9rem;
}
.features__title{
  font-size:clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight:700;
  color:var(--navy);
  margin:0;
  line-height:1.4;
}
.features__title mark{
  background:transparent;
  color:inherit;
  background-image:linear-gradient(transparent 62%, rgba(216,127,39,.4) 62%);
  padding:0 .12em;
}
.features__inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:3rem;
}
.features__list{
  display:grid;
  gap:1.7rem;
  flex:1;
  max-width:420px;
}
.feature{
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.feature__head{
  display:flex;
  align-items:center;
  gap:.9rem;
}
.feature__num{
  flex-shrink:0;
  width:2.6rem; height:2.6rem;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:1rem;
  box-shadow:0 4px 10px rgba(48,59,88,.25);
}
.feature__title{
  font-size:1.55rem;
  font-weight:700;
  color:var(--navy);
  margin:0;
}
.feature__text{
  color:var(--text);
  font-size:.92rem;
  line-height:1.8;
}
.features__visual{
  position:relative;
  flex-shrink:0;
  width:560px;
  height:456px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.features__shape{
  position:absolute;
  inset:0;
  background:linear-gradient(160deg, var(--navy), var(--navy-dark));
  clip-path:polygon(14% 0%, 86% 0%, 100% 100%, 0% 100%);
  z-index:0;
}
.features__img{
  position:relative;
  z-index:1;
  width:360px;
  max-width:100%;
  filter:drop-shadow(0 12px 20px rgba(0,0,0,.18));
}

/* ========== Breadcrumb（子ページ用） ========== */
.breadcrumb{padding:1.1rem 0}
.breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  list-style:none;
  margin:0;
  padding:0;
  font-size:.82rem;
  color:var(--muted);
}
.breadcrumb li{display:flex; align-items:center}
.breadcrumb li:not(:last-child)::after{
  content:"›";
  margin:0 .5rem;
  color:var(--muted);
}
.breadcrumb a{color:var(--navy); font-weight:700}
.breadcrumb [aria-current="page"]{color:var(--muted)}

/* ========== Section common ========== */
.section{padding:4.4rem 0; scroll-margin-top:90px}
.section--muted{background:var(--bg-muted)}
.section__more{text-align:center; margin-top:2.2rem}
.cta{scroll-margin-top:90px}

/* ========== Heading component（コーナー装飾つき2階層見出し） ========== */
.deco-heading{
  position:relative;
  width:fit-content;
  max-width:100%;
  margin:0 auto 2.6rem;
  padding:1.6rem 4.4rem;
  text-align:center;
}
.deco-heading::before,
.deco-heading::after{
  content:"";
  position:absolute;
  width:44px; height:28px;
  border:2.5px solid var(--navy);
}
.deco-heading::before{top:0; left:0; border-right:none; border-bottom:none}
.deco-heading::after{bottom:0; right:0; border-left:none; border-top:none}
.deco-heading__en{
  display:block;
  font-size:.85rem;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--accent);
  margin-bottom:.6rem;
}
.deco-heading__ja{
  font-size:1.7rem;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--navy);
}

/* ========== News ========== */
.news-list{
  display:grid;
  gap:.8rem;
}
.news-item{
  display:grid;
  grid-template-columns:120px 90px 1fr;
  align-items:center;
  gap:1rem;
  padding:1rem 1.1rem;
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
}
.news-item__date{color:var(--navy); font-weight:700}
.news-item__tag{
  display:inline-flex;
  justify-content:center;
  width:5.2em;
  box-sizing:border-box;
  padding:.25rem 0;
  border-radius:999px;
  background:var(--navy-tint);
  color:var(--navy);
  font-weight:700;
  font-size:.78rem;
}
.news-item__text{font-weight:500; color:var(--text)}
a.news-item__text{text-decoration:none}
a.news-item__text:hover{color:var(--navy); text-decoration:underline}

.news-article{max-width:760px; margin:0 auto}
.news-article__meta{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-bottom:1.2rem;
}
.news-article__date{color:var(--navy); font-weight:700; font-size:.9rem}
.news-article__title{
  font-size:1.5rem;
  font-weight:700;
  color:var(--navy);
  margin:0 0 1.8rem;
  line-height:1.6;
}
.news-article__body{color:var(--text); font-size:.95rem; line-height:1.9}
.news-article__body p{margin:0 0 1.2rem}
.news-article__body p:last-child{margin-bottom:0}
.news-article__back{margin-top:2.8rem; text-align:center}

/* ========== Service ========== */
.service-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.4rem;
}
.service-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:2rem 1.5rem 2.1rem;
  text-align:center;
  box-shadow:var(--shadow);
}
.service-card__title{
  font-size:1.25rem;
  font-weight:700;
  margin-bottom:1.2rem;
  color:var(--navy);
}
.service-card__img{
  width:100%;
  height:auto;
  border-radius:6px;
  margin-bottom:1.2rem;
}
.service-card__text{
  color:var(--muted);
  font-weight:400;
  font-size:.86rem;
  line-height:1.8;
  margin-bottom:1.3rem;
}
.service-card__divider{
  border:none;
  border-top:2px dotted var(--line);
  margin:0 0 1.3rem;
}
.service-card__list{
  display:grid;
  gap:.7rem;
  text-align:left;
}
.service-card__list-item{
  display:flex;
  align-items:center;
  gap:.7rem;
  font-size:.86rem;
  font-weight:500;
  color:var(--text);
}
.service-card__list-icon{
  flex-shrink:0;
  width:2rem; height:2rem;
  border-radius:50%;
  background:var(--bg-muted);
  display:grid;
  place-items:center;
  font-size:1rem;
}

/* ========== Sample & Price ========== */
.sample-card-list{
  display:grid;
  gap:1.8rem;
  max-width:900px;
  margin:0 auto;
}
.sample-card{
  display:flex;
  align-items:center;
  gap:2.6rem;
  padding:1.6rem;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.sample-card__thumb-wrap{
  flex:0 0 380px;
  border-radius:8px;
  overflow:hidden;
}
.sample-card__thumb{
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
}
.sample-card__body{flex:1}
.sample-card__cat{color:var(--accent); font-weight:700; font-size:.8rem; margin-bottom:.4rem}
.sample-card__title{font-size:1.3rem; font-weight:700; color:var(--navy); margin-bottom:.8rem}
.sample-card__text{color:var(--muted); font-weight:400; font-size:.9rem; line-height:1.9; margin-bottom:1.1rem}
.sample-card__price{font-size:.9rem; color:var(--text); margin-bottom:1.4rem}
.sample-card__price strong{color:var(--accent); font-size:1.3rem; font-weight:700; margin-left:.4rem}
.sample-card__actions{display:flex; gap:.9rem; flex-wrap:wrap}

/* ========== Sample list（/samples/） ========== */
.sample-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.8rem;
}
.sample-list-card{
  display:block;
  border-radius:var(--radius);
  border:1px solid var(--line);
  overflow:hidden;
  background:var(--card);
  box-shadow:var(--shadow);
  color:inherit;
  text-decoration:none;
  transition:.2s transform, .2s box-shadow;
}
.sample-list-card:hover{transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.1)}
.sample-list-card__thumb{
  width:100%;
  height:260px;
  object-fit:cover;
}
.sample-list-card__body{padding:1.5rem 1.6rem 1.7rem}
.sample-list-card__cat{
  display:inline-block;
  background:var(--navy-tint);
  color:var(--navy);
  font-weight:700;
  font-size:.75rem;
  padding:.3rem .8rem;
  border-radius:999px;
  margin-bottom:.9rem;
}
.sample-list-card__title{font-size:1.25rem; font-weight:700; color:var(--navy); margin-bottom:.7rem}
.sample-list-card__text{color:var(--muted); font-weight:400; font-size:.88rem; line-height:1.8; margin-bottom:1.1rem}
.sample-list-card__price{font-size:.85rem; color:var(--text)}
.sample-list-card__price strong{color:var(--accent); font-size:1.1rem; font-weight:700; margin-left:.3rem}

/* ========== Sample detail（/samples/<slug>/） ========== */
.sample-detail{max-width:760px; margin:0 auto}
.sample-detail__cat{
  display:inline-block;
  background:var(--navy-tint);
  color:var(--navy);
  font-weight:700;
  font-size:.8rem;
  padding:.3rem .9rem;
  border-radius:999px;
  margin-bottom:1rem;
}
.sample-detail__title{font-size:1.9rem; font-weight:700; color:var(--navy); margin-bottom:1rem; line-height:1.5}
.sample-detail__lead{color:var(--muted); font-size:1rem; line-height:1.9; margin-bottom:1.8rem}
.sample-detail__actions{display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.4rem}
.sample-detail__thumb-wrap{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); margin-bottom:2.8rem}
.sample-detail__notice{
  background:var(--accent-tint);
  border:1px solid var(--accent);
  border-radius:8px;
  padding:1rem 1.3rem;
  color:var(--navy);
  font-size:.85rem;
  line-height:1.8;
  margin-bottom:2.6rem;
}
.sample-detail__thumb{width:100%; height:auto; display:block}
.sample-detail__section{margin-bottom:2.6rem}
.sample-detail__heading{font-size:1.2rem; font-weight:700; color:var(--navy); margin-bottom:1rem}
.sample-detail__section p{color:var(--text); font-size:.92rem; line-height:1.9}
.sample-detail__list{display:grid; gap:.7rem}
.sample-detail__list li{
  position:relative;
  padding-left:1.4rem;
  color:var(--text);
  font-size:.92rem;
  line-height:1.8;
}
.sample-detail__list li::before{
  content:"";
  position:absolute;
  left:0; top:.65em;
  width:8px; height:8px;
  border-radius:50%;
  background:var(--accent);
}
.sample-detail__tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}
.sample-detail__tag-list li{
  background:var(--navy-tint);
  color:var(--navy);
  font-weight:700;
  font-size:.85rem;
  padding:.5rem 1.1rem;
  border-radius:999px;
}
.sample-detail__price-box{
  border:2px solid var(--navy);
  border-radius:var(--radius);
  padding:1.8rem;
  text-align:center;
  margin-bottom:2.6rem;
}
.sample-detail__price-label{color:var(--muted); font-size:.85rem; font-weight:700; margin-bottom:.5rem}
.sample-detail__price-value{color:var(--accent); font-size:2rem; font-weight:700}
.sample-detail__price-value span{font-size:1.2rem}
.sample-detail__price-note{color:var(--muted); font-size:.8rem; margin-top:.8rem}
.sample-detail__back{text-align:center}

/* ========== Works ========== */
.works-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.2rem;
}
.work-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
}
.work-card__thumb{
  height:170px;
  width:100%;
  object-fit:cover;
}
.work-card__body{padding:1.1rem}
.work-card__cat{color:var(--accent); font-weight:700; font-size:.8rem; margin-bottom:.3rem}
.work-card__title{font-size:1rem; font-weight:700; color:var(--navy)}

/* ========== Coverage Area（対応エリア） ========== */
.area__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:3rem;
}
.area__text{
  flex:1;
  font-weight:700;
  color:var(--navy);
  font-size:1.3rem;
  line-height:1.9;
}
.area__highlight{
  color:var(--accent);
  font-size:1.25em;
}
.area__img{
  width:340px;
  flex-shrink:0;
  border-radius:50%;
}
.area-tags-box{
  margin-top:3rem;
  padding:1.6rem;
  border:2px solid var(--line);
  border-radius:var(--radius);
}
.area-tags__group{margin-bottom:1.3rem}
.area-tags__group:last-child{margin-bottom:0}
.area-tags__pref{
  font-weight:700;
  color:var(--navy);
  font-size:.9rem;
  margin:0 0 .72rem;
  padding-bottom:.4rem;
  border-bottom:2px solid var(--line);
}
.area-tags__list{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  list-style:none;
  margin:0;
  padding:0;
}
.area-tags__list li{
  padding:.4rem .8rem;
  border:2px solid var(--navy);
  border-radius:4px;
  color:var(--navy);
  font-size:.78rem;
  font-weight:700;
  background:#fff;
}

/* ========== Case (導入実績) ========== */
.case-jumpnav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.6rem;
  margin:0 auto 3.2rem;
}
.case-jumpnav a{
  display:inline-flex;
  align-items:center;
  padding:.55rem 1.2rem;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
  color:var(--navy);
  background:#fff;
  transition:.15s background;
}
.case-jumpnav a:hover{background:var(--bg-muted)}
.case-category{margin-bottom:3.2rem; scroll-margin-top:90px}
.case-category:last-child{margin-bottom:0}
.case-category__heading{
  display:flex;
  align-items:center;
  gap:.7rem;
  font-size:1.25rem;
  font-weight:700;
  color:var(--navy);
  padding-bottom:.7rem;
  margin-bottom:1.5rem;
  border-bottom:2px solid var(--line);
}
.case-category__heading::before{
  content:"";
  width:6px;
  height:1.2rem;
  border-radius:2px;
  background:var(--accent);
  flex-shrink:0;
}
.case-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.6rem;
}
.case-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.case-card__thumb{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.case-card__thumb-wrap{position:relative}
.case-card__thumb-badge{
  position:absolute;
  right:.6rem;
  bottom:.6rem;
  padding:.25rem .6rem;
  border-radius:4px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.03em;
}
.case-card__body{padding:1.8rem}
.case-card__title{font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:1.3rem; line-height:1.5}
.case-card__steps{display:grid; gap:.9rem}
.case-card__step{display:flex; gap:.9rem; align-items:baseline}
.case-card__step-label{
  flex-shrink:0;
  width:3.6rem;
  text-align:center;
  font-size:.78rem;
  font-weight:700;
  color:#fff;
  background:var(--navy-vivid);
  border-radius:4px;
  padding:.25rem 0;
}
.case-card__step--result .case-card__step-label{background:var(--accent)}
.case-card__step-text{font-size:.9rem; color:var(--text); line-height:1.75}

/* ========== Company ========== */
.company__table{
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}
.company__row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:1rem;
  padding:.9rem 0;
  border-bottom:1px solid var(--line);
}
.company__row dt{font-weight:700; color:var(--navy)}
.company__row dd{color:var(--muted); font-weight:400}

/* ========== Founder message（代表あいさつ） ========== */
.founder-message{
  display:flex;
  align-items:center;
  gap:2.6rem;
  max-width:760px;
  margin:0 auto 3.4rem;
  padding:2rem;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.founder-message__photo{
  width:160px;
  height:160px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
.founder-message__body{flex:1}
.founder-message__eyebrow{
  color:var(--accent);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  margin-bottom:.5rem;
}
.founder-message__title{
  font-size:1.2rem;
  font-weight:700;
  color:var(--navy);
  margin-bottom:1rem;
  line-height:1.6;
}
.founder-message__text{
  color:var(--text);
  font-size:.9rem;
  line-height:1.9;
}
.founder-message__name{
  margin-top:1.2rem;
  font-weight:700;
  color:var(--navy);
  display:flex;
  align-items:center;
}
.founder-message__name img{
  width:200px;
  height:auto;
  vertical-align:middle;
}
.founder-message__role{
  color:var(--muted);
  font-weight:400;
  font-size:.85rem;
  margin-right:.6rem;
}

/* ========== Directory listing（事業概要ページ） ========== */
.directory-table{max-width:640px; margin:0 auto 3rem}

/* ========== Activity timeline（代表の活動） ========== */
.activity{max-width:640px; margin:0 auto 3.4rem}
.activity__title{
  text-align:center;
  font-size:1.2rem;
  font-weight:700;
  color:var(--navy);
}
.activity__title::after{
  content:"";
  display:block;
  width:32px;
  height:2px;
  background:var(--navy);
  margin:.9rem auto 2rem;
}
.timeline{position:relative; padding-left:1.8rem}
.timeline::before{
  content:"";
  position:absolute;
  left:.3rem;
  top:.4rem;
  bottom:.4rem;
  width:1px;
  background:var(--line);
}
.timeline__item{position:relative; padding-bottom:2rem}
.timeline__item:last-child{padding-bottom:0}
.timeline__dot{
  position:absolute;
  left:-1.8rem;
  top:.3rem;
  width:.7rem; height:.7rem;
  border-radius:50%;
  background:#fff;
  border:2px solid var(--navy);
  box-sizing:border-box;
}
.timeline__date{color:var(--muted); font-size:.85rem; margin-bottom:.4rem}
.timeline__headline{font-weight:700; color:var(--text); line-height:1.7}
.timeline__headline a{color:var(--navy)}
.timeline__desc{margin-top:.5rem; color:var(--muted); font-size:.88rem; line-height:1.8}

/* ========== FAQ ========== */
.faq-list{
  display:grid;
  gap:.8rem;
  max-width:760px;
  margin-inline:auto;
}
.faq-item{
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
  padding:1rem 1.2rem;
}
.faq-item__q{
  cursor:pointer;
  font-weight:700;
  color:var(--navy);
  list-style:none;
}
.faq-item__q::-webkit-details-marker{display:none}
.faq-item__q::before{
  content:"Q. ";
  color:var(--accent);
  font-weight:700;
}
.faq-item__a{
  margin-top:.7rem;
  padding-top:.7rem;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-weight:400;
}

/* ========== CTA ========== */
.cta{
  background:var(--navy);
  color:#fff;
  padding:3.8rem 0;
}
.cta__inner{
  text-align:center;
  display:grid;
  gap:.9rem;
  justify-items:center;
}
.cta__title{font-size:1.5rem; font-weight:700}
.cta__text{color:rgba(255,255,255,.85); font-weight:400}

.contact-form{
  display:grid;
  gap:1.4rem;
  max-width:640px;
  margin:2.2rem auto 0;
  padding:2.2rem;
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.contact-form--plain{
  margin:0 auto;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.contact-form__done{
  margin:0;
  padding:.8rem 1rem;
  border-radius:6px;
  background:var(--navy-tint);
  color:var(--navy);
  font-weight:700;
  text-align:center;
}
.form-field{display:grid; gap:.4rem}
.form-field label{font-weight:700; color:var(--navy); font-size:.9rem}
.form-field input,
.form-field textarea{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  font:inherit;
  padding:.7rem .9rem;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  color:var(--text);
  resize:vertical;
}
.form-field input:focus,
.form-field textarea:focus{
  outline:2px solid var(--accent);
  outline-offset:1px;
}
.contact-form .btn{justify-self:center; margin-top:.4rem}
#formStepInput,
#formStepConfirm,
#formStepComplete{display:grid; gap:1.4rem}
#formStepInput[hidden],
#formStepConfirm[hidden],
#formStepComplete[hidden]{display:none}
.form-steps{
  display:flex;
  justify-content:center;
  gap:1.6rem;
  max-width:640px;
  margin:0 auto 1.4rem;
  padding:0;
  list-style:none;
  font-size:.85rem;
  font-weight:700;
  color:var(--muted);
}
.form-steps__step.is-current{color:var(--navy)}
.recaptcha-wrap{display:grid; gap:.6rem; justify-items:center}
.recaptcha-error{color:#c0392b; font-size:.85rem; margin:0}
.form-actions{
  display:flex;
  justify-content:center;
  gap:.9rem;
  flex-wrap:wrap;
}
.form-actions .btn{margin-top:0}

/* ========== Footer ========== */
.site-footer{
  background:var(--navy-dark);
  color:rgba(255,255,255,.85);
  padding:3rem 0 1.6rem;
}
.site-footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2rem;
  text-align:center;
}
.site-footer__heading{font-weight:700; color:#fff; margin-bottom:.9rem}
.site-footer__links ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.6rem 1.6rem;
}
.site-footer__links a{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:rgba(255,255,255,.75);
}
.site-footer__links a svg{flex-shrink:0}
.site-footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:2.2rem;
  padding-top:1.2rem;
  color:rgba(255,255,255,.55);
  font-size:.85rem;
  text-align:center;
}

/* ========== 404 ========== */
.not-found-section{
  min-height:60vh;
  display:flex;
  align-items:center;
}
.not-found{
  max-width:480px;
  margin:0 auto;
  text-align:center;
}
.not-found__code{
  font-size:4.5rem;
  font-weight:700;
  color:var(--navy);
  line-height:1;
  letter-spacing:.05em;
  margin-bottom:.5rem;
}
.not-found__img{
  width:200px;
  margin:0 auto 1.6rem;
}
.not-found__title{
  font-size:1.3rem;
  font-weight:700;
  color:var(--navy);
  margin-bottom:.9rem;
}
.not-found__text{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:2.2rem;
}

/* ========== Scroll to top button ========== */
.scroll-top-btn{
  position:fixed;
  right:1.2rem;
  bottom:1.2rem;
  width:70px;
  height:70px;
  border:none;
  padding:0;
  background:transparent;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s, transform .25s, visibility .25s;
  z-index:60;
}
.scroll-top-btn img{
  width:100%;
  height:100%;
  display:block;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.22));
}
.scroll-top-btn.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.scroll-top-btn:hover{transform:translateY(-3px)}
@media (prefers-reduced-motion:reduce){
  .scroll-top-btn{transition:opacity .01s}
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width:980px){
  .gnav{display:none}
  .hamburger{display:inline-flex}
  .site-header__cta{margin-left:auto}
  .service-grid{grid-template-columns:repeat(2, 1fr)}
  .works-grid{grid-template-columns:repeat(2, 1fr)}
  .features__visual{width:400px; height:336px}
  .features__img{width:256px}
  .sample-card{flex-direction:column; align-items:stretch; gap:1.6rem}
  .sample-card__thumb-wrap{flex:none; width:100%}
  .sample-list-card__thumb{height:220px}
}

@media (max-width:640px){
  .site-header__inner{padding:.7rem 0}
  .brand__name{height:20px}
  .site-header__cta .btn{padding:.55rem .9rem; font-size:.82rem}
  .scroll-top-btn{width:57px; height:57px; right:.8rem; bottom:.8rem}
  .founder-message{flex-direction:column; text-align:center; padding:1.6rem}
  .founder-message__photo{width:120px; height:120px}
  .founder-message__name{justify-content:center}
  .founder-message__name img{width:150px}
  .hero{min-height:440px}
  .hero__actions .btn{min-width:0; flex:1}
  .features__inner{flex-direction:column; text-align:center}
  .features__list{max-width:100%}
  .features__visual{width:230px; height:200px}
  .features__img{width:150px}
  .feature{align-items:flex-start; text-align:left}
  .feature__head{justify-content:flex-start}
  .area__inner{flex-direction:column; text-align:center; gap:1.6rem}
  .area__img{width:220px}
  .section{padding:3.2rem 0}
  .deco-heading{padding:1.2rem 1.6rem}
  .deco-heading__ja{font-size:1.4rem}
  .news-item{grid-template-columns:auto 1fr; gap:.35rem .6rem}
  .news-item__date{grid-column:1 / -1}
  .service-grid{grid-template-columns:1fr}
  .works-grid{grid-template-columns:1fr}
  .sample-card{padding:1.2rem}
  .sample-card__title{font-size:1.15rem}
  .sample-grid{grid-template-columns:1fr}
  .sample-list-card__thumb{height:200px}
  .sample-detail__title{font-size:1.4rem}
  .sample-detail__actions .btn{flex:1}
  .company__row{grid-template-columns:1fr}
  .case-grid{grid-template-columns:1fr}
  .site-footer__links a{font-size:.85rem}
}
