/* 全体 */
:root{
  --bg:#f3ead8;
  --ink:#2e2a20;
  --muted:#6f664f;
  --card:#d9cfb7;
  --card2:#e7dfc8;
  --gold:#caa24f;
  --gold2:#b98f36;
  --line:rgba(0,0,0,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;
}
a{color:inherit}

.container{
  /* 変更: 横幅制御は.containerに統一 */
  width:min(1200px, calc(100% - 36px));
  margin:0 auto;
}

/* ヘッダー風（スクショはここが薄いので控えめ） */
.page{
  padding:26px 0 64px;
}

/* セクション */
.section{
  margin-top:44px;
  /* 変更: 各セクションを中央基準で配置 */
  display:flex;
  flex-direction:column;
  align-items:center;
}
.section__title{
  text-align:center;
  color:var(--gold2);
  font-weight:800;
  letter-spacing:.12em;
  font-size: clamp(16px, 2vw, 32px);
  margin:0 0 14px;
}
.section__subtitle{
  margin:0 0 18px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

/* BRAND CONCEPT見出しだけ左上配置 */
.section--brand{
  align-items:stretch;
}
.section--brand .section__title{
  color:#978e6f;
  text-align:left;
  align-self:flex-start;
}

/* 変更: セクション内の主要コンテンツは幅を維持して中央配置 */
.section > .benefits,
.section > .timeline-wrap,
.section > .brand,
.section > .dual-content,
.section > .contact-card{
  width:100%;
  max-width:100%;
  margin-inline:auto;
  align-self:stretch;
}

/* インロ（上段） */
.hero{
  display:flex;
  gap:28px;
  align-items:flex-start;
  width:100%;
  justify-content:center;
}

.hero-intro{
  display:flex;
  gap:32px;
  align-items:center;
  justify-content:center;
  width:100%;
}
.hero-intro__copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.hero-intro__title{
  margin:0;
  color:var(--gold2);
  font-size:28px;
  font-weight:300;
  line-height:1.35;
  text-align:center;
}
.hero-intro__tag{
  display:inline-block;
  margin:12px 0 0;
  padding:8px 16px;
  color:var(--gold2);
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-align:center;
  background:#d6cfa6;
  border-radius:999px;
}

.hero-intro__image{
  display:block;
  width:300px;
  max-width:100%;
  aspect-ratio:3/4;
  height:auto;
  border-radius:26px;
  object-fit:cover;
  background:#ddd;
}
.pill{
  display:inline-block;
  background:rgba(255,255,255,.45);
  border:1px solid rgba(0,0,0,.06);
  color:var(--gold2);
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
}
.hero__kuro{
  text-align: center;
  margin:10px 0 0;
  font-size:24px;
  font-weight:900;
}
.hero__brand{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.8;
  font-size:13px;
}

.hero-product{
  margin-top:18px;
  display:flex;
  justify-content: center;
  gap:18px;
  align-items:flex-start;
  width:100%;
}
.hero-product__card{
  flex:1;
  background:rgba(255,255,255,.32);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:14px 14px;
}

.hero-product__image{
  display:block;
  width:300px;
  max-width:100%;
  aspect-ratio:3/4;
  height:auto;
  border-radius:26px;
  object-fit:cover;
  background:#ddd;
}
.hero-product__text{
  color:var(--muted);
  font-size:13px;
  line-height: 3;
  text-align:center;
}
.hero-product__media{
  align-self:center;
}

/* ベネフィットカード */
.benefits{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  /* 変更: 各セクションは幅100%、中央寄せ解除 */
  width:100%;
}
.benefit{
  background:rgba(255,255,255,.22);
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  padding:14px 12px 12px;
  text-align:center;
}
.benefit__image{
  display:block;
  width:100%;
  aspect-ratio:3/2;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  background:rgba(0,0,0,.06);
}
.benefit__label{
  margin-top:10px;
  font-weight:900;
  font-size:13px;
  color:var(--ink);
}
.benefit__text{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  text-align:center;
}

/* タイムライン（新着最大5件・横並びカード） */
.timeline-wrap{
  margin-top:8px;
}
.timeline-empty{
  margin:0;
  padding:18px 16px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  background:rgba(255,255,255,.28);
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
}
.timeline-cards{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
  width:100%;
}
.timeline-card-item{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.22));
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}
.timeline-card-item__media{
  border-radius:12px;
  overflow:hidden;
  background:rgba(0,0,0,.06);
}
.timeline-card-item__img{
  display:block;
  width:100%;
  aspect-ratio:3/2;
  height:auto;
  object-fit:cover;
}
.timeline-card-item__title{
  margin:10px 0 0;
  font-weight:900;
  font-size:12px;
  color:var(--ink);
  text-align:center;
  line-height:1.4;
}
.timeline-card-item__body{
  margin-top:8px;
  font-size:11px;
  line-height:1.65;
  color:var(--muted);
  white-space:pre-wrap;
  word-break:break-word;
  text-align:center;
  flex:1;
}

/* ブランド */
.brand{
  display:flex;
  gap:18px;
  align-items:flex-start;
  /* 変更: 各セクションは幅100%、中央寄せ解除 */
  width:100%;
}
.brand__image{
  display:block;
  width:300px;
  max-width:100%;
  aspect-ratio:3/4;
  height:auto;
  border-radius:26px;
  object-fit:cover;
  background:rgba(0,0,0,.06);
  flex:0 0 auto;
  align-self:center;
}
.brand__text{
  flex:1;
  background:rgba(255,255,255,.28);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:14px 14px;
}
.brand__paragraph{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height: 3;
  text-align:center;
}

/* BRAND CONCEPT下の2カラムセクション */
.section--dual .section__title{
  width:100%;
}
.dual-content{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.dual-content__item{
  background:rgba(255,255,255,.28);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:16px;
}
.dual-content__title{
  margin:0 0 8px;
  color:var(--gold2);
  font-size:13px;
  font-weight:900;
}
.dual-content__text{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}

/* お問い合わせ（簡易） */
.contact-card{
  /* 変更: 各セクションは幅100%、中央寄せ解除 */
  margin:0;
  width:100%;
  max-width:none;
  background:rgba(255,255,255,.26);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:16px 16px;
}
.contact-card__text{
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  flex:1;
  min-width:0;
  text-align:center;
}
.contact-card__link{
  text-decoration:underline;
  color:var(--gold2);
  font-weight:900;
}
.contact-left{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  width:100%;
}
.contact-card__icon{
  display:block;
  width:80px;
  height:80px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.5);
}
.contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}
.contact-layout__left,
.contact-layout__right{
  width:100%;
}
.contact-layout__left{
  justify-self:stretch;
}
.contact-map{
  display:block;
  width:100%;
  min-height:280px;
  border:0;
  border-radius:14px;
}

/* 変更: 画像のレスポンシブ安定化 */
img{
  max-width:100%;
  height:auto;
}

/* 管理画面 */
.admin-wrap{
  padding:22px 0 80px;
}
.admin-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px;
}
table{
  width:100%;
  border-collapse:collapse;
}
th,td{
  padding:10px 8px;
  border-bottom:1px solid rgba(0,0,0,.08);
  text-align:left;
  vertical-align:top;
  font-size:13px;
}
th{color:#5b5346}
.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
}
.btn--gold{
  background:linear-gradient(180deg, #e7d9b3, #d6bf78);
  border-color:rgba(0,0,0,.1);
}
.btn--danger{
  background:#fff1f1;
  border-color:#d77;
  color:#8a1b1b;
}
input[type="text"], textarea, input[type="number"], input[type="password"]{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.14);
  font-size:13px;
}
textarea{min-height:120px}
.form-row{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.form-row label{
  color:#5b5346;
  font-size:12px;
  font-weight:800;
}
.muted{color:#6b6254}

@media (max-width: 1100px){
  .timeline-cards{grid-template-columns:repeat(3, minmax(0, 1fr))}
}

@media (max-width: 860px){
  .hero{flex-direction:column}
  .hero__left{flex:1}
  .hero-intro{flex-direction:column}
  .hero-intro__image{width:100%}
  .hero-product{flex-direction:column}
  .hero-product__image{width:100%}
  .benefits{grid-template-columns:1fr}
  .brand{flex-direction:column}
  .brand__image{width:100%}
  .dual-content{grid-template-columns:1fr}
  .contact-layout{grid-template-columns:1fr}
  .timeline-cards{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 520px){
  .timeline-cards{grid-template-columns:1fr}
  .contact-left{
    flex-direction:column;
    align-items:flex-start;
  }
  .contact-card__text{
    flex:none;
    width:100%;
  }
}

