/* 基本設定 */
:root {
  --primary-color: #5bc0de; /* ロゴの水色 */
  --primary-dark: #31b0d5;
  --accent-color: #ff7f50; /* 暖色系アクセント */
  --accent-yellow: #fff9c4; /* ポスターの黄色イメージ */
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8fcfd;
  --bg-white: #ffffff;
  --font-main: "Noto Sans JP", sans-serif;
}

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  line-height: 1.8; /* 読みやすく少し広めに */
  color: var(--text-color);
  background-color: var(--bg-light);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* 画像の下の余白を消す */
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  color: #2c3e50;
}

/* セクション共通 */
.section-padding {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-bg-light {
  background-color: #eef7fc;
}

/* ポスターの黄色い雰囲気を表現するためのクラス */
.section-bg-yellow {
  background-color: #fffde7;
  background-image: radial-gradient(#fff59d 1px, transparent 1px);
  background-size: 20px 20px;
}

h2.section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 15px;
}

h2.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px; /* 丸みを持たせて優しく */
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ヘッダー */
.site-header {
  background-color: #fff;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* ヘッダーの固定表示（スクロールしても上についてくる動作）は以下3行 */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-branding {
  margin-bottom: 0cqmin;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: bold;
}

.site-logo img {
  height: 60px; /* ロゴの高さはそのまま */
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav ul li {
  margin: 0 10px;
}

.main-nav ul li a {
  color: #2c3e50;
  font-weight: bold;
  padding: 5px 0;
  position: relative;
  font-size: 0.95em;
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}

/* ヒーローセクション */
.hero-section {
  /* ポスターの「空」のイメージ */
  background: linear-gradient(
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.6)
    ),
    url("images/sky.jpg") no-repeat center center/cover;

  padding: 50px 0;
  text-align: center;
  color: #333;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 雲のような背景装飾（簡易的） */
.hero-section::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8fcfd" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,150,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-sub-text {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.hero-main-copy {
  font-size: 2.8em;
  line-height: 1.3;
  margin-bottom: 25px;
  color: #2c3e50;
  font-weight: 700;
}

.hero-description {
  font-size: 1.1em;
  margin-bottom: 35px;
  color: #555;
}

/* About & Thoughts セクション (ポスター内容反映) */
.text-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-text h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px dashed #ddd;
  padding-bottom: 10px;
  display: inline-block;
}

.story-text p {
  text-align: justify;
}

/* 画像プレースホルダー */
.img-placeholder {
  background-color: #eee;
  width: 100%;
  height: 300px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-weight: bold;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.img-placeholder::after {
  /* content: "写真・イラスト"; */
  position: absolute;
}

/* 紅葉の枠風装飾 */
.momiji-frame {
  border: 8px solid #e57373; /* 紅葉色 */
  padding: 40px;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
}

.momiji-frame::before {
  /* 四隅の飾り（簡易的） */
  content: "🍁";
  position: absolute;
  top: -20px;
  left: -15px;
  font-size: 2rem;
  background: #fff;
  padding: 0 5px;
}
.momiji-frame::after {
  content: "🍁";
  position: absolute;
  bottom: -20px;
  right: -15px;
  font-size: 2rem;
  background: #fff;
  padding: 0 5px;
}

/* Vision / Kitchen Car セクション */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.kitchen-car-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  transform: rotate(-2deg); /* 少し傾けてポップに */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.kitchen-car-box img,
.kitchen-car-box .img-placeholder {
  height: 350px;
  background-color: #81d4fa; /* キッチンカーの色イメージ */
}

.vision-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.vision-points li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-weight: bold;
  color: #444;
}

.vision-points li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 2px;
}

/* スタッフ（ポスターの似顔絵イメージ） */
.staff-faces {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.staff-face {
  width: 120px;
  text-align: center;
}
.staff-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 auto 10px;
  border: 4px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* 既存のサービス・Flowなど */
.services-grid,
.flow-steps {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.flow-steps {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-item,
.flow-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.service-icon {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.flow-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -40px auto 15px auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 会社概要・アクセス */
.company-details {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.company-details dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 15px;
  font-size: 1.05em;
  margin: 0;
}

.company-details dt {
  font-weight: bold;
  color: #2c3e50;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.company-details dd {
  margin: 0;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.company-details dd:last-child,
.company-details dt:last-of-type {
  border-bottom: none;
}

/* お問い合わせ */
.contact-section {
  background-color: var(--primary-color);
  color: #fff;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-box {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  margin-bottom: 10px;
}

.tel-number {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
  margin: 10px 0;
}

/* フッター */
.site-footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 40px 0 20px; /* 余白を調整して広々と */
  font-size: 0.9em;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px; /* メニュー間の間隔 */
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  font-weight: bold;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  opacity: 0.6;
  font-size: 0.85em;
}

/* 基本設定 */
/* Instagramボタン */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.btn-instagram:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #fff;
}

.btn-instagram svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- 情報公開ページ用スタイル --- */
.page-header {
  background-color: var(--bg-light);
  padding: 60px 0 30px;
  text-align: center;
}

.disclosure-title {
  font-size: 1.5em;
  color: #2c3e50;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
  margin-top: 60px;
  margin-bottom: 20px;
}

.disclosure-table-wrapper {
  overflow-x: auto; /* スマホで表がはみ出た場合に横スクロールさせる */
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: #fff;
}

.disclosure-table th,
.disclosure-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

.disclosure-table th {
  background-color: #f0f8ff;
  color: #2c3e50;
  width: 30%;
  font-weight: bold;
  white-space: nowrap; /* 見出しを折り返さない */
}

.disclosure-text {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  line-height: 1.8;
}

.disclosure-text ol,
.disclosure-text ul {
  padding-left: 20px;
  margin-top: 10px;
}

.disclosure-text li {
  margin-bottom: 10px;
}

.disclosure-text dt {
  font-weight: bold;
  margin-top: 15px;
  color: var(--primary-dark);
}

.disclosure-text dd {
  margin-left: 0;
  margin-bottom: 10px;
}

/* --- PDFダウンロードエリア --- */
.pdf-download-area {
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 20px;
  margin-bottom: 50px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.pdf-buttons {
  display: flex;
  flex-direction: column; /* スマホで見やすいように縦並びを基本に */
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* 親要素いっぱいに広げる */
}
.btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #fff;
  color: #d32f2f; /* PDFっぽい赤色 */
  border: 2px solid #d32f2f;
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  width: 100%;       /* 幅を100%にして親要素に合わせる */
  max-width: 350px;
  text-align: center;
  box-sizing: border-box; /* パディングを含めた幅計算にする */
}
.btn-pdf:hover {
  background-color: #d32f2f;
  color: #fff;
}
.btn-pdf svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0; /* アイコンが縮まないようにする */
}

/* --- お知らせセクション用スタイル --- */
.news-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap; /* スマホで縦並びにするため */
  align-items: baseline;
  gap: 10px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: monospace;
  color: #666;
  font-weight: bold;
  min-width: 100px;
}

.news-category {
  font-size: 0.8em;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  background-color: #999; /* デフォルトのラベル色 */
  margin-right: 10px;
  white-space: nowrap;
}

/* カテゴリごとの色分け例 */
.news-category.お知らせ { background-color: var(--primary-color); }
.news-category.重要 { background-color: #e57373; }
.news-category.イベント { background-color: #ffb74d; }

.news-title {
  flex: 1; /* 残りの幅を埋める */
  color: var(--text-color);
  font-weight: 500;
}

/* リンクがある場合のホバー設定 */
.news-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}
.news-title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-main-copy {
    font-size: 2em;
  }
  .story-block,
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .header-content {
    text-align: center;
  }

  /* --- 修正箇所：スマホでロゴを1行に収める設定 --- */
  
  /* スマホでロゴが2行にならないように、画面幅に合わせて縮小する */
  .site-logo a {
    font-size: 3.8vw; /* 画面幅に応じて文字サイズを自動調整（推奨） */
    gap: 5px;         /* 画像と文字の間隔を少し詰める */
  }

  /* ロゴ画像も合わせて少し小さくする */
  .site-logo img {
    height: 40px; /* 45pxから変更 */
    width: auto;
  }

  /* 強制的に1行で表示する設定（そのまま維持） */
  .site-title-text {
    white-space: nowrap;
  }
  
  /* お知らせをスマホで見やすく */
  .news-item {
    flex-direction: column; /* 縦並び */
    gap: 5px;
  }
  .news-date {
    font-size: 0.9em;
  }
}

/* PC表示の時は横並びにする（レスポンシブ設定の外に追加） */
@media (min-width: 768px) {
  .pdf-buttons {
    flex-direction: row;
    justify-content: center;
  }
}