:root{
  /* カラー設計：オフホワイト基調、暖かみのあるグレー */
  --bg:#fafaf9;
  --bg-pure:#ffffff;
  --fg:#1c1917;
  --muted:#57534e;
  --line:#e7e5e4;
  --soft:#f5f5f4;
  --accent:#78716c;

  --radius:8px;
  --shadow:0 1px 3px rgba(28, 25, 23, .04);

  --max:720px;
  --max-wide:960px;

  /* section spacing scale */
  --space-section-lg: 96px;
  --space-section-md: 72px;
  --space-section-sm: 48px;
}

@media (max-width: 768px){
  :root{
    --space-section-lg: 72px;
    --space-section-md: 56px;
    --space-section-sm: 36px;
  }
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body{
  margin:0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color:var(--fg);
  background:var(--bg);
  line-height:1.9;
  font-size:15px;
  letter-spacing:.02em;
  font-feature-settings:"palt";
}
a{
  color:var(--fg);
  text-decoration:none;
  transition:color .15s ease;
}
a:hover{color:var(--muted)}
p{margin:0 0 1.5em}
small{
  color:var(--muted);
  font-size:13px;
}
hr{
  border:none;
  border-top:1px solid var(--line);
  margin:2.5rem 0;
}

/* レイアウト */
.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}
.container-wide{
  width:min(var(--max-wide), calc(100% - 48px));
  margin:0 auto;
}

/* スキップリンク */
.skip{
  position:absolute;
  left:-9999px;
  top:auto;
}
.skip:focus{
  left:24px;
  top:24px;
  background:var(--bg-pure);
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  z-index:9999;
}

/* ヘッダー */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,250,249,.92);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:inline-flex;
  align-items:center;
  padding:8px 0;
  text-decoration:none;
}
.brand__logo{
  height:24px;
  width:auto;
  display:block;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.06));
}
@media (max-width:820px){
  .brand__logo{height:20px;}
}
.navlinks{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  font-size:13px;
  color:var(--muted);
  padding:8px 12px;
  border-radius:var(--radius);
  transition:background .15s ease, color .15s ease;
}
.navlinks a:hover{
  background:var(--soft);
  color:var(--fg);
}

/* ヒーローセクション */
.hero{
  padding:80px 0 48px;
}
.hero--with-bg{
  position:relative;
  background-image:url('../images/hero-bg.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.kicker{
  color:var(--muted);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:16px;
  font-weight:500;
}
.h1{
  font-size:clamp(24px, 3.5vw, 32px);
  line-height:1.5;
  letter-spacing:0;
  margin:0 0 24px;
  font-weight:600;
}
.sub{
  font-size:15px;
  color:var(--muted);
  line-height:2;
  max-width:60ch;
}
.lead{
  font-size:16px;
  color:var(--muted);
  line-height:1.8;
  margin-bottom:12px;
}
.lead--bold{
  font-weight:500;
  color:var(--fg);
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:32px;
  align-items:center;
}

/* ボタン */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--line);
  background:var(--bg-pure);
  color:var(--fg);
  padding:10px 16px;
  border-radius:var(--radius);
  font-size:13px;
  font-weight:500;
  transition:box-shadow .15s ease, border-color .15s ease;
  cursor:pointer;
}
.btn:hover{
  border-color:var(--muted);
  box-shadow:var(--shadow);
  color:var(--fg);
}
.btn.primary{
  border-color:var(--fg);
  background:var(--fg);
  color:var(--bg-pure);
}
.btn.primary:hover{
  opacity:.88;
  color:var(--bg-pure);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--muted);
  padding:6px 12px;
  border-radius:999px;
  background:var(--soft);
}

/* セクション */
.section{
  padding-block: var(--space-section-md);
}
.section--lg{ padding-block: var(--space-section-lg); }
.section--md{ padding-block: var(--space-section-md); }
.section--sm{ padding-block: var(--space-section-sm); }
.section > *:last-child{ margin-bottom: 0; }
.section-title{
  font-size:16px;
  font-weight:600;
  margin:0 0 12px;
  letter-spacing:.01em;
}
.section-desc{
  color:var(--muted);
  margin:0 0 32px;
  max-width:60ch;
  line-height:2;
}

/* グリッド */
.grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:20px;
}
.two-col{
  grid-column:span 6;
}
.full{
  grid-column:1 / -1;
}
@media (max-width:820px){
  .two-col{grid-column:1 / -1}
  .nav{flex-direction:column; align-items:flex-start}
  .navlinks{justify-content:flex-start}
  .hero{padding:56px 0 32px}
  .section{padding:48px 0}
}

/* カード */
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  background:var(--bg-pure);
}
.card.soft{
  background:var(--soft);
  border-color:transparent;
}
.card h3{
  margin:0 0 12px;
  font-size:15px;
  font-weight:600;
}
.card p{
  color:var(--muted);
  margin:0;
  line-height:1.9;
}
.card .meta{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.pill{
  font-size:11px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:5px 10px;
  border-radius:999px;
  background:var(--bg-pure);
  letter-spacing:.02em;
}

/* 引用 */
.quote{
  border-left:2px solid var(--muted);
  padding:16px 20px;
  background:var(--soft);
  border-radius:0 var(--radius) var(--radius) 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}

/* フッター */
.footer{
  margin-top:48px;
  border-top:1px solid var(--line);
  padding:40px 0;
  color:var(--muted);
  font-size:13px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.footer a{
  color:var(--muted);
}
.footer a:hover{
  color:var(--fg);
}
.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.copyright{
  margin-top:24px;
  font-size:12px;
  color:var(--muted);
}

/* フォーム */
.form{
  display:grid;
  gap:20px;
  max-width:560px;
}
.field{
  display:grid;
  gap:8px;
}
label{
  font-size:13px;
  color:var(--muted);
  font-weight:500;
}
input, textarea, select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font:inherit;
  font-size:15px;
  background:var(--bg-pure);
  transition:border-color .15s ease;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color:var(--muted);
}
textarea{
  min-height:160px;
  resize:vertical;
  line-height:1.8;
}
.help{
  font-size:12px;
  color:var(--muted);
}
.notice{
  font-size:13px;
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:var(--radius);
  padding:16px;
  background:var(--soft);
  line-height:1.8;
  margin-bottom:24px;
}

/* プロダクトセクション用 */
.product-section{
  padding:80px 0;
}
.product-section + .product-section{
  border-top:1px solid var(--line);
}

/* ========================================
   セクションのリズム・背景色切り替え
   ======================================== */

/* 背景色付きセクション（白背景） */
.section-alt{
  background:var(--bg-pure);
  padding:72px 0;
  margin:0 -9999px;
  padding-left:9999px;
  padding-right:9999px;
}
.section-alt > .container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

/* フルブリードセクション（コンテナ幅を超える背景） */
.section-full{
  background:var(--bg-pure);
  padding-block: var(--space-section-md);
  padding-inline: 24px;
}
.section-full--lg{ padding-block: var(--space-section-lg); }
.section-full--md{ padding-block: var(--space-section-md); }
.section-full--sm{ padding-block: var(--space-section-sm); }
.section-full > *:last-child{ margin-bottom: 0; }

/* ========================================
   ビジュアルブレイク（セクション間の"間"）
   ======================================== */

.visual-break{
  padding:64px 24px;
  text-align:center;
}

/* 写真なしの場合：静かな区切り線 */
.visual-break--line{
  padding:32px 24px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.visual-break--line::before{
  content:"";
  width:48px;
  height:1px;
  background:var(--line);
}

/* 写真プレースホルダー */
.visual-break__image{
  width:100%;
  max-width:var(--max-wide);
  margin:0 auto;
  aspect-ratio:21/9;
  background:var(--soft);
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
  overflow:hidden;
}
.visual-break__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ========================================
   プロダクト画面キャプチャ表示
   ======================================== */

.product-visual{
  margin-top:40px;
  margin-bottom:8px;
  padding:24px;
  background:var(--soft);
  border-radius:var(--radius);
  text-align:center;
}
.product-visual__image{
  width:100%;
  max-width:640px;
  margin:0 auto;
  aspect-ratio:16/10;
  background:var(--line);
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
  overflow:hidden;
  box-shadow:0 4px 24px rgba(28, 25, 23, .06);
}
.product-visual__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.94) contrast(0.96);
}
.product-visual__caption{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
}

/* ========================================
   ユーティリティ
   ======================================== */

.mt-0{margin-top:0}
.mb-0{margin-bottom:0}
.text-center{text-align:center}

/* ========================================
   動画埋め込み（YouTube iframe）
   ======================================== */

.video-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  max-width:var(--max-wide);
}
.video-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--bg-pure);
  overflow:hidden;
}
.video-card__thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/9;
  background:var(--fg);
  overflow:hidden;
}
.video-card__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .2s ease;
}
.video-card__thumb:hover img{
  opacity:.85;
}
.video-card__play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:64px;
  height:64px;
  background:rgba(28, 25, 23, .7);
  border-radius:50%;
  transition:background .2s ease;
}
.video-card__play::after{
  content:"";
  position:absolute;
  top:50%;
  left:54%;
  transform:translate(-50%, -50%);
  border-style:solid;
  border-width:10px 0 10px 18px;
  border-color:transparent transparent transparent #fff;
}
.video-card__thumb:hover .video-card__play{
  background:rgba(28, 25, 23, .9);
}
.video-card__body{
  padding:20px 24px;
}
.video-card__title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:600;
}
.video-card__desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}

/* ========================================
   代表者プロフィール
   ======================================== */

.profile{
  display:flex;
  gap:24px;
  align-items:flex-start;
}
.profile__photo{
  flex-shrink:0;
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  background:var(--soft);
}
.profile__photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.profile__body{
  flex:1;
  min-width:0;
}
@media (max-width:600px){
  .profile{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .profile__photo{
    width:100px;
    height:100px;
  }
}
