
/* =============================
   共通設定
============================= */
body {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #fffdf8;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

main, main.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1em;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #fffdf8;
  color: #4b3e2e;
  line-height: 1.8;
}

ul {
  list-style: none;
  padding-left: 0;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #999;
  padding: 30px 0;
  background: #f5f5f5;
  margin-top: 60px;
}

footer a {
  color: #d17d00;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 10px;
}

footer a:hover {
  color: #b35c00;
  text-decoration: underline;
}

/* =============================
   見出し・テキスト共通
============================= */
h1, h2 {
  color: #d17d00;
  margin-bottom: 1em;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8em;
}

p, li {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* =============================
   ヘッダー
============================= */
header.main-header {
  background-color: #fabe63;
  padding: 40px 20px;
  text-align: center;
  color: #4a2c1d;
}

.main-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.main-header p {
  font-size: 1.2rem;
  margin: 0;
  color: #fffdf5;
}

/* =============================
   バナー画像
============================= */
.main-banner {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* =============================
   トップページ目次
============================= */
.toc {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
}

.toc h2 {
  text-align: center;
  color: #f57c00;
}

.toc li {
  background: #fff3e0;
  margin: 10px 0;
  padding: 15px;
  border-left: 5px solid #ffa726;
  transition: background-color 0.3s;
}

.toc li:hover {
  background: #ffe0b2;
}

.toc a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* =============================
   ポートフォリオ一覧
============================= */
ul.portfolio-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  ul.portfolio-list {
    grid-template-columns: 1fr 1fr;
  }
}

ul.portfolio-list li {
  background: #fff3e0;
  padding: 20px;
  border-left: 5px solid #fab64f;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  line-height: 1.6;
  color: #4b3e2e;
}

ul.portfolio-list li p {
  margin: 0 0 8px;
}

ul.portfolio-list a {
  color: #d17d00;
  font-weight: bold;
  text-decoration: none;
}

ul.portfolio-list a:hover {
  text-decoration: underline;
}

/* よくある質問（FAQ）改善 */
main.faq {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

main.faq h2 {
  color: #f57c00;
  border-left: 6px solid #fab64f;
  padding-left: 10px;
  margin-top: 40px;
  font-size: 1.6rem;
}

dl.faq-list {
  margin: 30px 0;
}

dl.faq-list dt {
  font-weight: bold;
  margin-top: 25px;
  font-size: 1.1rem;
  color: #4b3e2e;
}

dl.faq-list dd {
  background-color: #fff8e1;
  border-left: 4px solid #fab64f;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0 30px 0;
  line-height: 1.7;
  color: #4b3e2e;
}
.faq-box {
  background: #fff3e0;
  padding: 15px;
  border-left: 5px solid #ffa726;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.label-a {
  font-weight: bold;
  color: #5c3b00;
  min-width: 2em;
  margin-top: 2px;
}

.faq-text {
  line-height: 1.6;
}
dl {
  margin: 20px 0;
}

dt {
  font-weight: bold;
  margin-top: 20px;
  color: #444;
}

dd {
  margin-left: 0;
  margin-top: 5px;
  margin-bottom: 20px;
}


/* モバイル最適化 */
@media screen and (max-width: 599px) {
  main.faq {
    padding: 0 15px;
  }

  dl.faq-list dt {
    font-size: 1rem;
  }

  dl.faq-list dd {
    font-size: 0.95rem;
    padding: 12px;
  }
}


/* =============================
   ボタン・リンク共通
============================= */
.button-link {
  display: inline-block;
  background-color: #ffe3b3;
  color: #4b3e2e;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.2s;
}

.button-link:hover {
  background-color: #f9cf86;
  transform: translateY(-2px);
}

.notice-link {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #d17d00;
  text-decoration: none;
  background-color: #fff3e0;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, color 0.3s;
}

.notice-link:hover {
  background-color: #ffe0b2;
  color: #b35c00;
}

/* =============================
   レスポンシブ調整
============================= */
@media screen and (max-width: 599px) {
  .main-header h1 { font-size: 1.3rem; }
  .main-header p { font-size: 0.95rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  p, li { font-size: 1rem; }
}

@media screen and (min-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 2em; }
}

@media screen and (min-width: 1024px) {
  main, main.content {
    padding: 3em 2em;
  }
  h2 { font-size: 1.7rem; }
}




/* =============================
   ご依頼の流れ（flow.html）
============================= */
.flow {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.flow h2 {
  color: #f57c00;
  border-left: 6px solid #fab64f;
  padding-left: 10px;
  margin-bottom: 30px;
}

.flow-steps {
  list-style: none;
  padding-left: 0;
}

.flow-steps li {
  background-color: #fff3e0;
  border-left: 5px solid #ffa726;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.flow-steps h3 {
  margin-top: 0;
  font-size: 18px;
  color: #d17d00;
}

.flow-steps p {
  margin: 8px 0 0;
  line-height: 1.6;
  color: #4b3e2e;
}


  /* =============================
     その他
  ============================= */
  .content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    color: #4b3e2e;
  }
  
  .content h2 {
    margin-top: 40px;
    color: #d17d00;
    font-size: 20px;
    border-bottom: 2px solid #fab64f;
    padding-bottom: 5px;
  }
  
  .content ul {
    margin: 15px 0;
    padding-left: 20px;
  }
  
  .checklist li::before {
    content: "✔︎";
    color: #fab64f;
    margin-right: 8px;
  }
  
  .option-list {
    list-style: none;
    padding-left: 0;
  }
  
  .option-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #e0c89d;
  }
  
  .price-plan {
    text-align: center;
    margin-top: 40px;
  }
  
  .highlight-price {
    font-size: 22px;
    font-weight: bold;
    color: #d17d00;
    background: #fff3e0;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .price-plan ul li {
    padding: 5px 0;
  }

  /* =============================
   オプション料金・契約ボックス
============================= */
.option-section {
  text-align: center;
  background-color: #fffaf2;
  padding: 60px 20px;
  margin: 60px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.option-title {
  font-size: 26px;
  color: #d17d00;
  margin-bottom: 10px;
}

.option-lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.option-list {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #4b3e2e;
  text-align: left;
}

.option-list li {
  background: #fff3e0;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-left: 5px solid #fab64f;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  border-bottom: none; /* dotted が不要なら */
}

.option-list a {
  color: #d17d00;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
}

/* 契約ボックス（共通） */
section.contract-box {
  background: #fff0e0;
  border-radius: 12px;
  padding: 2em 1.5em;
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contract-box h2 {
  color: #ff8000;
  margin-bottom: 0.5em;
}

.contract-box p {
  margin-bottom: 1em;
}

.contract-box a {
  display: inline-block;
  padding: 0.5em 1.2em;
  background: #ffa94d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contract-box a:hover {
  background: #ff8c00;
}



/* =============================
   お問い合わせボックス
============================= */
.contact-box {
  background-color: #fff3e0;
  border: 1px solid #f6c389;
  border-radius: 12px;
  padding: 30px;
  margin: 40px auto;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4b3e2e;
  line-height: 1.8;
  font-size: 16px;
}

.contact-box code {
  display: inline-block;
  margin-top: 10px;
  background: #fff8e1;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: #5c3b00;
}

.email-link {
  display: inline-block;
  background: #fff8e1;
  color: #5c3b00;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.email-link:hover {
  background: #ffe0b2;
}

/* 注意事項リスト */
.contact-notes {
  max-width: 700px;
  margin: 30px auto;
  padding-left: 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* =============================
   お知らせボックス（汎用）
============================= */
.notice-box {
  background-color: #fff8e1;
  border: 1px solid #f6c389;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 700px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.notice-lead {
  font-size: 18px;
  font-weight: bold;
  color: #b35c00;
  margin-bottom: 10px;
}

.notice-link {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #d17d00;
  text-decoration: none;
  background-color: #fff3e0;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, color 0.3s;
}

.notice-link:hover {
  background-color: #ffe0b2;
  color: #b35c00;
}

/* =============================
   リンク・ボタン共通
============================= */
a {
  color: #b35c00;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #8c4500;
}

.button-link {
  display: inline-block;
  background-color: #ffe3b3;
  color: #4b3e2e;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.2s;
}

.button-link:hover {
  background-color: #f9cf86;
  transform: translateY(-2px);
}




/* =============================
   ベース設定（全体共通）
============================= */
body {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #fffdf8;
  color: #4b3e2e;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* =============================
   見出し・文章スタイル
============================= */
h1, h2 {
  color: #d17d00; /* 優しいオレンジ */
  margin-bottom: 1em;
  text-align: center;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.2rem;
}

p, li {
  font-size: 1rem;
  line-height: 1.7;
}

/* =============================
   セクション共通スタイル
============================= */
section {
  padding: 1.5em 1em;
  margin-bottom: 60px;
}

/* =============================
   メインコンテンツ幅
============================= */
main.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1em;
  background-color: #fffdf8;
}

/* =============================
   ボタン共通スタイル
============================= */
.button-link {
  display: inline-block;
  background-color: #ffe3b3;
  color: #4b3e2e;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.2s;
}

.button-link:hover {
  background-color: #f9cf86;
  transform: translateY(-2px);
}

/* =============================
   リンク共通スタイル
============================= */
a {
  color: #b35c00;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #8c4500;
  text-decoration: underline;
}

/* =============================
   レスポンシブ対応
============================= */
@media screen and (min-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 1.1rem;
  }

  section {
    padding: 2em;
  }
}

@media screen and (min-width: 1024px) {
  main.content {
    max-width: 1000px;
    padding: 3em 2em;
  }

  h2 {
    font-size: 1.7rem;
  }
}





/* === モバイル対応（1カラム→2カラムへ）=== */
@media screen and (min-width: 768px) {
  ul.portfolio-list {
    grid-template-columns: 1fr 1fr;
  }
}
.menu-headings {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px; /* 最大横幅の調整 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* 各項目の間の余白 */
}

.menu-headings li {
  width: 100%;
  text-align: center;
}

.menu-headings li a {
  display: inline-block;
  width: 100%;
}

.menu-headings li img {
  width: 100%;
  max-width: 1200px; /* 画像の最大表示サイズ */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* 角を少し丸く（好みで調整OK） */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* 軽い影で立体感 */
  transition: transform 0.2s ease;
}

.menu-headings li img:hover {
  transform: scale(1.02); /* ホバー時に少し拡大 */
}
.main-header {
  background-color: #fffaf5; /* 明るく優しい背景色（変更可） */
  text-align: center;
  padding: 60px 20px;
  color: #4a2c1d; /* 優しい茶色系（変更可） */
}

.main-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.main-header p {
  font-size: 1.2rem;
  margin: 0;
}

/* テキストをSEO対策として残すけど画面上には非表示にする */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* バナー画像のスタイル */
.main-banner {
  width: 100%;
  height: auto;
  max-height: 400px; /* ←必要に応じて調整、350pxくらいでもOK */
  object-fit: cover;
  display: block;
}
