/*
Theme Name: Jinsei Shokudou-animated
Description: A simple theme providing the Jinsei Shokudou landing page and basic post templates.
Author: AutoGenerated
Version: 1.0.0
*/
/* ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Times New Roman", Times,    /* 英語用：こちらが優先される */
    "はんなり明朝", "Hannari", "Hannari Mincho",
    "游明朝", "Yu Mincho",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
    "MS PMincho", "MS 明朝",
    serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.8;
}

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

.site {
  background: #000000;
  min-height: 100vh;
}

/* 汎用レイアウト */

.section {
  padding: 80px 0;
  background: #000000;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 28px;
  letter-spacing: 0.12em;
  margin: 0 0 32px;
  text-align: center;
}

.section-title span {
  font-size: 22px;
}

/* HERO：画像１枚のみ */

.hero {
  background: #000000;
  padding: 0;
}

.hero-image {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* コンセプト */

.section-concept {
}

.concept-heading {
  text-align: center;
}

/* ▼ コンセプト見出しをより大きく */
.section-concept .section-title {
  font-size: 44px;       /* 以前より大きめ */
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.section-concept .section-title span {
  font-size: 44px;       /* 「人生食堂」も少し大きく */
}

/* ▼ 画像(pic2)とテキストのレイアウト調整 */
.section-concept-inner {
  display: flex;
  gap: 80px;
  align-items: stretch;  /* 左の画像の高さに合わせて右側も同じ高さに */
}

/* 左画像はそのまま */
.concept-image {
  flex: 2;
}

/* 右テキストを画像の縦に対して中央に揃える */
.concept-text {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 縦方向の中央揃え */
}

/* 本文も少し大きく */
.concept-text p {
  font-size: 20px;       /* 1pt ほどアップ */
  line-height: 1.9;
}

.concept-image img {
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
}

/* 来店条件（pic3 全幅＋左上テキスト） */

.section-conditions {
  padding: 0;
  background: #000000;
}

.conditions-visual {
  position: relative;
  width: 100%;
  margin: 0;
}

.conditions-visual img {
  width: 100%;
  height: auto;
}

/* pic3 の下側だけフェード */
.conditions-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,      /* 下端から真っ黒でスタート */
    rgba(0, 0, 0, 0.65) 40%,
    transparent 100%
  );
  pointer-events: none;
}


.conditions-overlay {
  position: absolute;
  top: 32px;
  left: 72px;
  max-width: 60%;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.conditions-title {
  margin: 0 0 0px;
  font-size: 32px;
  letter-spacing: 0.16em;
}

.conditions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.7;
}

.conditions-list li {
  position: relative;
  padding-left: 1.4em;
}

.conditions-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* 当店のルール：左テキスト＋右寄せ画像（pic4） */

.section-rules {
  padding: 40px 0 40px;   /* もともと 0 だった場合はこれに変更 */
  background: #000000;
}


.rules-visual {
  position: relative;
  width: 100%;
  margin: 0;
  background: #000000;
  overflow: hidden;
}

/* 画像は右寄せ・横幅 3/4 のまま */
.rules-visual img {
  width: 75vw;
  max-width: none;
  margin-left: auto;
  display: block;
}

/* 左側を黒～透明にするグラデーション（既存） */
.rules-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, #000 30%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* 上下にフェードを追加（新規） */
.rules-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,      /* 上端真っ黒 */
    rgba(0, 0, 0, 0.6) 25%,
    rgba(0, 0, 0, 0) 50%,     /* 中央は写真そのまま */
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 1) 100%     /* 下端も真っ黒 */
  );
  pointer-events: none;
  z-index: 1;
}


/* テキストを左側にオーバーレイ */
.rules-overlay {
  position: absolute;
  top: 50%;
  left: 5vw;
  transform: translateY(-50%);
  z-index: 2;
  color: #ffffff;
  max-width: 28vw;
}

.rules-title {
  margin: 0 0 16px;
  font-size: 32px;
  letter-spacing: 0.18em;
}

.rules-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 2.1;
}

.rules-overlay li {
  position: relative;
  padding-left: 1.4em;
}

.rules-overlay li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* ここより下の .section-team 以降のスタイルはそのままでOK */

/* 運営 */

.section-team {
  /* ページ背景の黒をそのまま使う */
}

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

/* カード自体には枠・背景をつけない */
.member-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* 顔写真＋黒フェード＋テキストオーバーレイ */
.member-photo {
  position: relative;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* 下側に黒いグラデーションをかける */
.member-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,      /* いちばん下を真っ黒に */
    rgba(0, 0, 0, 0.6) 40%,
    transparent 100%
  );
  pointer-events: none;
}



/* 役職・名前を画像左下に配置 */
.member-overlay {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
}

.member-role {
  font-size: 8px;              /* さらに小さく */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;              /* 白に変更 */
  margin: 0 0 4px;
}

.member-name-en {
  font-size: 20px;
  margin: 0;
}

/* 日本語名を少しだけ小さく */
.member-name-ja {
  font-size: 10px;             /* 以前 13px → 少し小さく */
  margin: 2px 0 0;
  color: #f1f1f1;
}

/* 行間を詰める指定はそのまま使えます */
.member-overlay p {
  line-height: 1.3;
}


.member-name-ja {
  font-size: 13px;
  margin: 2px 0 0;
  color: #f1f1f1;
}

/* プロフィール文は画像の下に */
.member-body {
  padding: 18px 0 22px;
}

.member-copy {
  font-size: 12px;
  color: #c3c3c3;
  line-height: 1.6;
  margin: 0;
}


/* 各地の人生食堂：カードの見た目調整 */
.location-card {
  position: relative;
  border-radius: 0;     /* 角丸なし */
  overflow: hidden;
  margin: 0;
  border: none;
  box-shadow: none;
}

/* 画像を「全体表示」させる：トリミングしない */
.location-card img {
  width: 100%;
  height: auto;         /* 固定高さをやめる */
  display: block;
  border-radius: 0;
}

/* 後ろの画像を暗くする（濃いめ） */
.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);  /* もっと暗く */
  pointer-events: none;
  z-index: 0;
}

/* キャプション中央寄せ */
.location-card figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #ffffff;
  z-index: 1;
}


/* 各地の人生食堂：2×2 のグリッド配置 */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;   /* ここはすでに 15px にしているのでそのままで大丈夫 */
}



/* News */

.section-news {
  text-align: center;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  text-align: left;
}

.news-item {
  border-bottom: 1px solid #2b2b2b;
  padding: 18px 0;
}

.news-date {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 12px;
  color: #c3c3c3;
  letter-spacing: 0.04em;
}

.news-title {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.news-title:hover,
.news-title:focus {
  color: #d0b36f;
}

.news-excerpt {
  margin: 8px 0 0;
  font-size: 14px;
  color: #c3c3c3;
}

.news-single .section-title {
  margin-bottom: 8px;
}

.news-content {
  text-align: left;
  color: #eaeaea;
}

.news-placeholder {
  font-size: 14px;
  color: #bbbbbb;
}

/* Contact */

/* Contact セクション全体 */
.section-contact {
  position: relative;
  padding: 0;              /* 余白はいったん 0 に */
  min-height: 340px;       /* 画像の高さの目安。必要に応じて調整 */
  overflow: hidden;
  background: #000000;
}

/* 写真の“上”に文字を重ねる＆中央の高さに配置 */
.contact-inner {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  max-width: 1100px;
}

/* Contact の見出し：大きく左寄せ */
.contact-title {
  margin: 0 0 12px;
  font-size: 40px;          /* さらに少し大きめにしてもOK */
  letter-spacing: 0.12em;
}

/* サブテキスト */
.contact-text {
  margin: 0;
  font-size: 14px;
  color: #f3f3f3;
}

/* Contact 背景画像（暗く） */
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);   /* 0.4 → 0.25 にしてより暗く */
}


/* フェードイン */

.js-fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: none;
}

/* レスポンシブ */

@media (max-width: 960px) {
  .section-concept-inner,
  .section-rules-inner {
    flex-direction: column;
  }

  .concept-image {
    order: -1;
  }

  .rules-image {
    flex-basis: 100%;
  }

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

  .conditions-overlay {
    top: 24px;
    left: 20px;
    max-width: 80%;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-photo img {
    height: 220px;
  }

  .location-card img {
    height: 200px;
  }

  .conditions-title {
    font-size: 24px;
  }

  .conditions-list {
    font-size: 16px;
  }
}
