@charset "utf-8";

/* ── Page background ── */
#contents {
  background: #d7b98e26;
  max-width: 100%;
}

/* ── Hero ── */
section.hero {
  background: #d7b98e26;
  padding-bottom: 0;
}

section.hero .h-contents {
  display: none;
}

section.hero .box-inner {
  max-width: 860px;
  margin: 0 auto;
}

section.hero .breadcrumb {
  font-size: 0.8rem;
}

section.hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  margin: 2.4em 1.6em 1.6em;
}

section.hero .box.trim-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 7 / 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

section.hero .box.trim-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Article container ── */
#main {
  display: block;
}

#main .box-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 64px;
}

/* ── List page container width ── */
.method-list #main .box-inner {
  max-width: 1000px;
}

/* ── Person / company name (introduction.html only) ── */
#main .box-inner>h2 {
  margin: 0;
}

/* ── Category tag (introduction.html only) ── */
p.category {
  margin: 0 0 1.6em;
}

/* ── Article card ── */
.box-interview-single,
.box-method-single {
  background: #fff;
  border-radius: 12px;
  padding: 48px 56px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  color: #444;
}

/* ── Body text ── */
.box-interview-single p,
.box-method-single p {
  margin-bottom: 1.2em;
}

/* ── Section headings ── */
.box-interview-single h3,
.box-method-single h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  background: #f0f7f3;
  border-left: 4px solid #5eac80;
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  margin: 2.5em 0 1em;
  line-height: 1.5;
  text-align: left;
}

.box-interview-single h3:first-child,
.box-method-single h2:first-child {
  margin-top: 0;
}

/* ── Interview questions（ー で始まる質問段落） ── */
.box-interview-single p:has(> strong),
.box-method-single p:has(> strong) {
  background: #faf6f0;
  border-left: 3px solid #d7b98e;
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.2em;
  color: #333;
  font-size: 0.9rem;
}

/* ── Images ── */
.box-interview-single figure.wp-block-image,
.box-method-single figure.wp-block-image {
  margin: 1.6em 0;
  text-align: center;
  line-height: 0;
}

.box-interview-single figure.wp-block-image a,
.box-method-single figure.wp-block-image a {
  display: inline-block;
}

.box-interview-single figure.wp-block-image img,
.box-method-single figure.wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Footnote ── */
.box-interview-single font,
.box-method-single font {
  font-size: 0.8rem;
  color: #666;
}

/* ── Page navigation section ── */
.section-action {
  background: #d7b98e26;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(215, 185, 142, 0.3);
  text-align: center;
}

.section-action .box-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ────────────────────────────────────────────
   introduction.html 向け上書き修正
   （詳細ページと同じ interview.css を読み込むため
     広範なセレクターが一覧ページに影響しないよう復元）
──────────────────────────────────────────── */

/* Hero — .hero-introduction クラスで区別 */
section.hero.hero-introduction {
  background: transparent;
}

section.hero.hero-introduction .h-contents {
  display: block;
}

section.hero.hero-introduction .box-inner {
  max-width: 1000px;
}

section.hero.hero-introduction h1 {
  font-size: 2.125rem;
  color: #766d1c;
  margin: 1em 0;
  line-height: inherit;
  font-weight: bold;
}

/* #contents 幅と背景を復元 */
#contents.introduction {
  background: transparent;
  max-width: 1120px;
}

/* #main .box-inner の幅・padding を復元 */
#contents.introduction #main .box-inner {
  max-width: 1000px;
  padding: 0;
}

/* h2 のマージンを復元 */
#contents.introduction #main .box-inner>h2 {
  margin: 3em 0 1em;
}

/* .section-action（#contents.introduction の後続兄弟）を復元 */
#contents.introduction~.section-action {
  background: #f7f7f7;
  padding: 2em 0;
  border-top: none;
  text-align: unset;
}

#contents.introduction~.section-action .box-inner {
  max-width: 1000px;
  padding: 0;
}



/* ── Responsive ── */
@media screen and (max-width: 768px) {
  section.hero h1 {
    font-size: 1.2rem;
  }

  .box-interview-single,
  .box-method-single {
    padding: 28px 20px;
  }

  .page-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .page-navigation li.backward {
    margin-left: 0;
    text-align: left;
  }
}