@charset "UTF-8";
/* =========================================================
   予祝だるま 共通スタイルシート
   index.html / company.html / contact.html で共通利用
   ---------------------------------------------------------
   1. 色・書体の設定
   2. 基本
   3. 共通パーツ（見出し・ボタン・飾りなど）
   4. ヘッダー
   5. トップページ
   6. 会社情報ページ
   7. お申込み・お問い合わせページ
   8. フッター
   9. スマホ・タブレット対応
   ========================================================= */


/* =========================================================
   1. 色・書体の設定（ここを変えると全ページに反映されます）
   ========================================================= */
:root {
  --red:        #B8322A; /* 祝い紅：ボタン・強調 */
  --gold:       #7E622C; /* 金茶：英字ラベル・小見出し */
  --gold-line:  #A8874A; /* 金茶の飾り線 */
  --gold-light: #E2C78E; /* 濃い背景の上で使う金色 */
  --cream:      #F6E7C8; /* 紅の背景の上で使う淡い金色 */
  --ink:        #1C1A17; /* 墨黒：基本の文字・フッター */
  --text:       #3A3630; /* 本文 */
  --text-sub:   #4F4A42; /* 補足文 */
  --text-muted: #5B554C; /* 注釈 */
  --brown:      #59441B; /* こげ茶：ベージュ面の上の文字 */
  --kinari:     #F6F1E7; /* 生成り：ヘッダー・シーン背景 */
  --beige:      #EBE3D4; /* ベージュ：作家紹介など */
  --greige:     #F2EEE8; /* グレージュ：ストーリー・FAQなど */
  --stone:      #EBE8E1; /* 石色：商品詳細・事業内容 */
  --taupe:      #B5AD9E; /* トープ：特徴・ページタイトル帯 */
  --charcoal:   #4F4A42; /* 濃いグレー：ギャラリー */
  --line:       #E2D9C6; /* 罫線 */

  --font-sans:  'Zen Kaku Gothic New', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
  --font-en:    'Cormorant Garamond', serif;
}


/* =========================================================
   2. 基本
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* ページ内リンクで固定ヘッダーに隠れないように */
}

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--ink); }
a:hover { color: var(--red); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}


/* =========================================================
   3. 共通パーツ
   ========================================================= */

/* --- セクションの外枠 --- */
.section {
  padding: 120px 24px;
}

/* --- 中身の最大幅 --- */
.container     { max-width: 1180px; margin: 0 auto; }
.container--l  { max-width: 1080px; }
.container--m  { max-width: 880px; }
.container--s  { max-width: 820px; }
.container--xs { max-width: 780px; }

/* --- 背景色 --- */
.bg-greige { background: var(--greige); }
.bg-stone  { background: var(--stone); }
.bg-kinari { background: var(--kinari); }

/* --- セクション見出し（英字ラベル＋見出し＋飾り） --- */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  text-align: center;
}

.sec-head--left {
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  margin-bottom: 48px;
}

.en-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.sec-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* 紅色の小さな見出し（「予祝だるまとは」など） */
.sec-sub {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--red);
}

/* --- 飾り（金の線＋紅のひし形＋金の線） --- */
.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold-line);
}

.ornament span {
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}

.ornament--left::after { display: none; }   /* 左側だけの飾り */

.ornament--light::before,
.ornament--light::after,
.ornament--light span { background: var(--cream); }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid transparent;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

.btn--red {
  background: var(--red);
  color: #FFFFFF;
  font-weight: 700;
}
.btn--red:hover { color: #FFFFFF; opacity: 0.85; }

.btn--outline {
  background: #FFFFFF;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #FFFFFF; }

.btn--white {
  background: #FFFFFF;
  color: var(--red);
  font-weight: 700;
}
.btn--white:hover { color: var(--red); opacity: 0.9; }

.btn--outline-white {
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn--outline-white:hover { background: #FFFFFF; color: var(--red); }

.btn--small {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
}

/* 2行のボタン（お申し込み／ご相談） */
.btn--2line {
  padding: 14px 40px;
  line-height: 1.6;
}

/* ヘッダー右上のボタン */
.btn--header {
  min-height: 48px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* --- 紅色のテキストリンク --- */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
}

/* --- 漢数字・番号付きカード（シーン／事業内容） --- */
.num-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 32px;
  background: #FFFFFF;
}

.num-card__num {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--red);
}

.num-card__title {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--gold);
}

.num-card__text {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-sub);
}

/* --- ご注文の流れ --- */
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 26px;
  background: var(--greige);
}

.flow__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1;
}

.flow__num small {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.flow__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.flow__text {
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}

.flow__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* お申込みページ用（白いカード＋大きな数字） */
.flow--simple .flow__item {
  background: #FFFFFF;
  padding: 32px 28px;
}

.flow--simple .flow__num {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 44px;
}

.flow--simple .flow__title { font-size: 18px; }

/* --- 項目と内容の表（会社概要・特定商取引法） --- */
.data-table {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  border-top: 2px solid var(--red);
  font-size: 15px;
}

.data-table dt,
.data-table dd {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
}

.data-table dt {
  background: var(--greige);
  color: var(--gold);
  font-weight: 700;
}

.data-table--law {
  grid-template-columns: 13em minmax(0, 1fr);
  border-top: 1px solid var(--ink);
  font-size: 14px;
}

.data-table--law dt,
.data-table--law dd { padding: 16px; }

.data-table--law dt { color: var(--text-muted); }


/* =========================================================
   4. ヘッダー（全ページ共通）
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--kinari);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid #E5D9BF;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  width: 38px;
  height: 44px;
}

.site-logo__ja {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.site-logo__en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  line-height: 1.2;
  color: var(--gold);
}

.global-nav ul {
  display: flex;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.global-nav a {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

/* 表示中のページ */
.global-nav a.is-current {
  border-bottom-color: var(--red);
  color: var(--red);
  font-weight: 700;
}


/* =========================================================
   5. トップページ（index.html）
   ========================================================= */

/* --- メインビジュアル --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 0 24px;
  /* 左ほど白くなるグラデーション＋写真 */
  background:
    linear-gradient(90deg,
      rgba(250, 249, 246, 0.97) 0%,
      rgba(250, 249, 246, 0.9) 26%,
      rgba(250, 249, 246, 0.55) 44%,
      rgba(250, 249, 246, 0) 62%),
    url(../img/hero.png) right center / cover no-repeat #E9EAE6;
}

.hero__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 0;
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}

.hero__en {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.4em;
}

.hero__en::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--ink);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero__lead {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.9;
}

.hero__text {
  font-size: 15px;
  line-height: 2.1;
  color: #2E2B26;
}

.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero__price-tag {
  padding: 6px 12px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero__price-num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
}

.hero__price-num small { font-size: 18px; }

/* --- 予祝だるまとは --- */
.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.about .sec-sub { font-weight: 500; }

.about__catch {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.about__icon {
  width: 40%;
    max-width: 100px;
  height: auto;
    margin-bottom: 2em;
}

.about__box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 40px 32px;
  background: var(--kinari);
}

.about__box-title {
  padding-bottom: 6px;
  border-bottom: 3px solid var(--red);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--red);
}

.about__box-lead {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--brown);
}

.about__box-text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--brown);
}

.about__message {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  color: var(--red);
}

.about__text {
  font-size: 16px;
  line-height: 2.3;
  color: var(--text);
}

/* --- 予祝だるま誕生のストーリー --- */
.story__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.story__body {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.story__catch {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.story__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
}

.story__quote {
  padding: 22px 26px;
  background: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--brown);
}

.story__message {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
}

.story__photo { flex: 1 1 42%; }

.story__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* --- 3つの特徴 --- */
.features { background: var(--taupe); }
.features .en-label { color: var(--ink); }
.features .sec-title { color: #FFFFFF; }

.features__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.feature {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.feature__photo { position: relative; }

/* 写真は3枚ともだるまの大きさ・位置をそろえた正方形（feature-01〜03.jpg） */
.feature__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature__num {
  position: absolute;
  left: 24px;
  bottom: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 22px;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 28px 32px;
}

.feature__title {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.feature__text {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-sub);
}

/* --- こんなシーンに --- */
.scenes__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* --- 作品ギャラリー --- */
.gallery {
  background: var(--charcoal);
  color: var(--kinari);
}

.gallery .en-label { color: var(--gold-light); }

.gallery .ornament::before,
.gallery .ornament::after { background: #D4B26E; }

.gallery__lead {
  font-family: var(--font-serif);
  font-size: 18px;
}

.gallery__text {
  font-size: 14px;
  line-height: 2;
  color: #D9D2C3;
}

.gallery__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery__item--front img { object-position: center 40%; }
.gallery__item--back img  { object-position: center 45%; }

.gallery__note {
  margin-top: 48px;
  font-size: 13px;
  text-align: center;
  color: #D9D2C3;
}

/* --- 作家紹介 --- */
.artist__card {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 56px;
  background: var(--beige);
}

.artist__photo {
  flex: 0 0 240px;
  width: 240px;
  height: 240px;
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  object-fit: cover;
}

.artist__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.artist .sec-sub { font-weight: 500; }

.artist__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.artist__name small {
  margin-right: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.artist__catch {
  font-family: var(--font-serif);
  font-size: 18px;
}

.artist__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text);
}

.artist__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}

.artist__link svg {
  width: 18px;
  height: 18px;
}

/* --- 商品詳細 --- */
.product__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #FFFFFF;
}

/* 写真2枚（正面・背面）：PCでは上下に並べる */
.product__photos {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.product__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 44px;
}

.product__tag {
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.product__name {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.1em;
}

.product__copy {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold);
}

.product__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text);
}

.product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.product__price-label {
  font-size: 13px;
  color: var(--text-muted);
}

.product__price-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--red);
}

.product__price-num small { font-size: 19px; }

.product__price-tax {
  font-size: 13px;
  color: var(--text-sub);
}

.spec-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
}

.spec {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  border-top: 1px dotted #C9B78F;
  font-size: 14px;
}

.spec dt,
.spec dd {
  padding: 11px 0;
  border-bottom: 1px dotted #C9B78F;
}

.spec dt { color: var(--gold); }

.product__note {
  font-size: 12px;
  color: var(--text-muted);
}

.product__body .btn--2line { align-self: stretch; }

/* --- よくあるご質問（クリックで開閉） --- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item { background: #FFFFFF; }

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-line);
  transition: transform 0.2s;
}

.faq__item[open] .faq__q::after { transform: rotate(45deg); }

.faq__mark {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--red);
}

.faq__q-text { flex: 1; }

.faq__a {
  display: flex;
  gap: 10px;
  padding: 0 22px 22px 36px;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

.faq__a::before {
  content: "A.";
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1.6;
  color: var(--gold);
}

/* --- 締め（祝い紅の帯） --- */
.closing {
  padding: 128px 24px;
  background: var(--red);
  color: #FFFFFF;
  text-align: center;
}

.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.closing .en-label { color: var(--cream); }

.closing__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.closing__lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 2;
}

.closing__text { line-height: 2.2; }

.closing__copy {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.closing__btn { margin-top: 8px; }

/* --- ギャラリーの拡大表示（ライトボックス） --- */
.gallery__item a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__item a img { transition: transform 0.4s, opacity 0.3s; }
.gallery__item a:hover img { transform: scale(1.04); opacity: 0.92; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  background: rgba(20, 18, 16, 0.92);
}

.lightbox.is-open { display: flex; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox__caption {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__btn:hover { background: var(--red); border-color: var(--red); }

.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }

body.is-lightbox-open { overflow: hidden; }


/* =========================================================
   6. 会社情報ページ（company.html）
   ※ページタイトル帯はお申込みページと共通
   ========================================================= */

/* --- ページタイトル帯 --- */
.page-title {
  padding: 25px 20px 20px;
  background: var(--taupe);
}

.page-title__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
}

.page-title__en {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--kinari);
}

.page-title__en::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}

.page-title__ja {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

/* --- ブレーン株式会社について --- */
.company-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.company-intro__logo {
  flex: 0 1 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
  border: 1px solid #E5D9BF;
}

.company-intro__mark { width: 280px; }
.company-intro__name { width: 230px; }

.company-intro__body {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.company-intro__catch {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
}

.company-intro__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
}

/* --- 主な事業内容 --- */
.business__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business__list .num-card { padding: 44px 40px; gap: 16px; }
.business__list .num-card__title { font-size: 22px; padding-bottom: 8px; }
.business__list .num-card__text { font-size: 15px; color: var(--text); }

/* --- 会社概要 --- */
.profile__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.profile__inner .sec-head { margin-bottom: 0; }

.profile__btn { align-self: center; }

/* --- 関連サイト（テキストリンク） --- */
.related {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.related__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.related__title::before,
.related__title::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}

.related__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 17px;
}

.related__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.related__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
}


/* =========================================================
   7. お申込み・お問い合わせページ（contact.html）
   ========================================================= */

/* --- 冒頭の文章と2つの入口 --- */
.contact-intro { padding: 104px 24px 96px; }

.contact-intro__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 56px;
  text-align: center;
}

.contact-intro__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-intro__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
}

/* --- 共通：お申込み・お問い合わせ各セクション --- */
.contact-block { padding: 104px 24px; }

/* 商品の小さな紹介 */
.product-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  padding: 32px;
  background: #FFFFFF;
}

.product-mini__photo {
  position: relative;
  flex: 0 0 160px;
}

.product-mini__photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center 40%;
}

.product-mini__body {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-mini__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-mini__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.product-mini__price-num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: var(--red);
}

.product-mini__price-num small { font-size: 17px; }

.product-mini__price-tax,
.product-mini__text {
  font-size: 13px;
  color: var(--text-sub);
}

.product-mini__text { font-size: 14px; }

/* 左：説明　右：フォームへのボタン */
.mail-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
}

.mail-guide__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-title {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.mail-guide__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text);
}

.mail-guide__note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 2;
  color: var(--text-sub);
}

/* 相談の例 */
.examples {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.examples li {
  padding: 14px 20px;
  background: var(--beige);
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--brown);
}

/* フォームへの案内（右側） */
.form-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 32px;
  border-top: 4px solid var(--red);
  background: #FFFFFF;
  text-align: center;
}

.form-cta__icon {
  width: 56px;
  height: auto;
}

.form-cta__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-cta__text {
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}

.form-cta__btn {
  align-self: stretch;
  margin-top: 8px;
}

.form-cta__note {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- お申込みにあたって／特定商取引法／個人情報 --- */
.info-block { padding: 56px 24px; }
.info-block--first { padding-top: 104px; }
.info-block--last { padding-bottom: 104px; }

.info-block__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.info-block__text {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
}

.info-block__text--small { font-size: 14px; }

.back-top {
  align-self: center;
  margin-top: 40px;
}


/* =========================================================
   7-2. 特定商取引法・プライバシーポリシー
   （transactions.html / privacy-policy.html）
   ========================================================= */
.legal .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal__lead,
.legal__section p,
.legal__section li {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text);
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal__section .sub-title { font-size: 19px; }

.legal__section ul {
  padding-left: 1.4em;
  list-style: disc;
}

.legal__small {
  font-size: 13px;
  color: var(--text-muted);
}

.legal__date {
  font-size: 14px;
  text-align: right;
  color: var(--text-sub);
}

/* お申込みページ下部の規約リンク */
.info-block__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}


/* =========================================================
   8. フッター（全ページ共通）
   ========================================================= */
.site-footer {
  padding: 72px 24px 40px;
  border-top: 4px solid var(--gold-line);
  background: var(--ink);
  color: var(--kinari);
  text-align: center;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer__icon {
  width: 64px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-footer__catch {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #D9D2C3;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.site-footer__nav + .site-footer__nav { margin-top: 24px; }

.site-footer__head {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #D4B26E;
}

.site-footer__nav ul {
    width: fit-content;
    margin: 0 auto 1em auto;
}

/* 特定商取引法・プライバシーポリシーへのリンク */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin-top: 40px;
  font-size: 12px;
}

.site-footer__legal a { color: #D9D2C3; }

.site-footer a { color: var(--kinari); }
.site-footer a:hover { color: var(--gold-light); }

.site-footer__copy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--taupe);
}


/* =========================================================
   9. スマホ・タブレット対応
   ========================================================= */

/* --- 幅1000px以下（タブレット） --- */
@media (max-width: 1000px) {
  /* メニューはロゴとボタンの下の段へ */
  .global-nav {
    order: 3;
    width: 100%;
  }

  .global-nav ul {
    justify-content: center;
    gap: 20px;
    font-size: 13px;
  }

  .scenes__list { grid-template-columns: minmax(0, 1fr); }

  .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 幅800px以下：メイン・ストーリー・特徴・ギャラリー・作家紹介・商品詳細 --- */
@media (max-width: 800px) {
  /* メインビジュアル：だるまが中央の写真（hero-sp.png）を上、文字を下に
     写真の比率は 1600×1000 → 高さ＝横幅の62.5% */
  .hero {
    min-height: 0;
    padding: 62.5vw 24px 0;
    background: url(../img/hero-sp.png) center top / 100% auto no-repeat #FAF9F6;
  }

  .hero__inner { padding: 36px 0 72px; }

  /* ストーリー：文章の下に写真 */
  .story__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .story__photo img { aspect-ratio: 4 / 3; }

  /* 特徴：1列 */
  .features__list { grid-template-columns: minmax(0, 1fr); }

  /* ギャラリー：2列 */
  .gallery__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 作家紹介：写真の下に文章 */
  .artist__card {
    flex-direction: column;
    gap: 32px;
    padding: 48px 32px;
  }

  .artist__photo { flex: none; }

  /* 商品詳細：写真2枚を横に並べ、その下に文章 */
  .product__card { grid-template-columns: minmax(0, 1fr); }

  .product__photos {
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product__photos img { aspect-ratio: 3 / 4; }

  /* 拡大表示：前後ボタンは下に */
  .lightbox { padding: 64px 16px 88px; }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* --- 幅720px以下（スマホ） --- */
@media (max-width: 720px) {
  .section,
  .contact-block { padding: 80px 20px; }

  .contact-intro { padding: 72px 20px; }
  .info-block { padding: 40px 20px; }
  .info-block--first { padding-top: 72px; }
  .info-block--last { padding-bottom: 72px; }

  .sec-head { margin-bottom: 40px; }
  .sec-title { font-size: 26px; }

  /* ヘッダー：ロゴとボタンを1段に収める */
  .site-header__inner { padding: 10px 16px; }
  .site-logo { gap: 8px; }
  .site-logo img { width: 32px; height: 37px; }
  .site-logo__ja { font-size: 18px; }
  .site-logo__en { font-size: 9px; letter-spacing: 0.24em; }
  .btn--header {
    min-height: 44px;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .hero__title { font-size: 32px; }

  .about__catch,
  .story__catch { font-size: 26px; }

  .about__box { padding: 32px 20px; }
  .about__box-title { font-size: 21px; letter-spacing: 0.2em; }

  .about__text br,
  .about__message br,
  .contact-intro__text br { display: none; }

  .story__inner { gap: 40px; }

  .business__list,
  .mail-guide { grid-template-columns: minmax(0, 1fr); }

  .product__body { padding: 32px 24px; }
  .btn--2line { padding: 14px 20px; }

  .artist__card { padding: 40px 24px; }

  .flow__list { grid-template-columns: minmax(0, 1fr); }

  .closing { padding: 88px 20px; }
  .closing__title { font-size: 26px; }

  .page-title__ja { font-size: 28px; }
}

/* --- 幅600px以下：表を縦並びに --- */
@media (max-width: 600px) {
  .data-table,
  .data-table--law { grid-template-columns: minmax(0, 1fr); }

  .data-table dt {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .data-table dd { padding-top: 12px; }
}
