@charset "UTF-8";
/*
aバリアブル 
------------------------------ */
:root {
    --white: #FDFAF0;
    --gray: #CFD1D7;
    --dark-blue: #000928;
    --blue: #204CB3;
    --gold: #EABB20;
    --red: #F5583B;
}



/*
リセットCSS
------------------------------ */
html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ul {
  list-style: none;
  list-style-type: "・"; /* 中黒を直接指定 */
  padding-left: 1em;
}

ol {
  padding-left: 1em;
}

#ul-nonstyle {
  list-style: none!important;
  list-style-type: none!important;
  padding-left: 0em!important;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

h1 {
  font-size: 32px;
  font-weight: 600;
}
h2 {
  font-size: 28px;
  font-weight: 600;
}
h3 {
  font-size: 24px;
  font-weight: 600;
}
h4 {
  font-size: 18px;
  font-weight: 600;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select,
button {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-size: 100%;
  border-radius: 0;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  background-color: inherit;
}

input,
textarea,
select {
  font-size: 16px;
}

textarea {
  resize: vertical;
  display: block;
}

button {
  padding: 0;
  cursor: pointer;
}

legend {
  color: var(--dark-blue);
}

main {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

svg {
  display: block;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}



/*
全体共通のスタイル
------------------------------ */
html {
  background-color: var(--white);
}

body {
  line-height: 1.75;
  color: var(--dark-blue);
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

@supports (-webkit-tap-highlight-color: transparent) {
  /* Android/Chrome向けの設定 */
  strong, b, .card-excerpt {
    -webkit-text-stroke: 0.2px currentColor; 
  }
}

strong, b, h1, h2, h3, h4, .font-bold, .card-excerpt, .ingredients-title {
  font-weight: 700 !important;
}

.h2-normal {
  margin: 40px 0 ;
}


/*
記事 全体共通のスタイル
------------------------------ */
/* H2: 上下にゴールドの線があるスタイル */
.post-body h2 {
  color: var(--dark-blue);
  padding: 16px 0;
  margin: 40px 0 24px 0;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

/* H2: 上下に紺の線があるスタイル */
.h2-policy {
  color: var(--dark-blue);
  padding: 16px 0;
  margin: 40px 0 24px 0;
  border-top: 4px solid var(--dark-blue);
  border-bottom: 4px solid var(--dark-blue);
}

/* H3: 左側にブルーの縦棒があるスタイル */
.post-body h3 {
  color: var(--dark-blue);
  padding-left: 16px;
  margin: 24px 0 16px;
  border-left: 4px solid var(--blue);
}

/* H4: グレーの背景がついた帯状のスタイル */
.post-body h4 {
  background-color: var(--gray);
  padding: 8px 16px ;
  margin: 16px 0 8px 0 ;
  border-radius: 4px;
}

/* テキストリンク */
.post-body a {
  color: #d5a300;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px dotted var(--blue);
  transition: all 0.3s ease;
  padding-bottom: 1px;
}
.post-body a:hover {
  opacity: 0.7;
  border-bottom: 2px solid var(--blue);
  transition: all 0.3s ease;
}

/* 太字を青色に */
.post-content-area strong {
  color: var(--blue);
  font-weight: bold;
}

/* 青いボタン */
.more-btn-container {
  text-align: center;
  margin-top: 40px;
}

/* ボタン本体のスタイル */
.btn-primary,
.btn-primary-left  {
  display: inline-flex; 
  align-items: center;
  padding: 8px 16px;
  background-color: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border: 1px solid var(--gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ホバー時の状態 */
.btn-primary:hover,
.btn-primary-left:hover {
  background-color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* くの字アイコンのスタイル */
.btn-primary::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  margin-left: 8px;
  transition: border-color 0.3s ease;
}

/* くの字アイコンのスタイル */
.btn-primary-left::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(-135deg);
  margin-right: 8px;
  transition: border-color 0.3s ease;
}

/* テキストの調整 */
.btn-primary span,
.btn-primary-left {
  position: relative;
  z-index: 2;
}



main {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}



/*
ローディング
----------------------------- */
#loading {
  background-color: var(--gray);
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;

}

#loading-screen {
  background-color: var(--blue);
  position: fixed;
  inset: 0;
  z-index: 9998;
  translate: 0 100vh;
}

#loading img {
  padding: 0 24px;
}



/*
header
------------------------------ */
.header {
  background-color: var(--dark-blue);
  color: var(--gray);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 2px solid var(--gold);
}

.header-sp {
  display: none;
  background-color: var(--dark-blue);
  color: var(--gray);
  text-align: center;
  padding: 8px 8px;
  font-size: 12px;
}

.header-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-group img {
  height: 24px;
  width: auto;
  display: block;
}

.header-logo-group p {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
}

.header-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: var(--gold);
}

/* ターゲットをこの一本に絞る */
.header .header-list .header-item a {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: opacity 0.3s ease !important; /* !importantを追加 */
  cursor: pointer !important;
}

/* ホバー時の処理 */
.header .header-list .header-item a:hover {
  opacity: 0.7 !important;
}

/* アイコン画像の設定 */
.header-item img {
  width: 16px; 
  height: auto;
  display: block;
}



/*
header hbg
------------------------------ */
#menu-three-lines {
  margin-left: 16px;
  display: flex;
  align-items: center;   /* 上下中央 */
  justify-content: center; /* 左右中央 */
}

/* 開閉ボタン共通 */
.btn-menu {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

/* ホバーした時 */
.btn-menu:hover {
  opacity: 0.7;
}

.btn-menu svg {
  fill: var(--gold);
  height: 24px;
  width: 24px;
  display: block;
}

/* 閉じるボタン */
#menu-close {
  position: fixed;
  top: 48px;
  right: 24px;
}
#menu-close svg {
  fill: var(--gold);
}

/* スライドメニューパネル */
#menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 80px 24px 24px;
  width: max(32vw, 320px);
  height: 100vh;
  background-color: var(--dark-blue);
  box-shadow: 0 0 24px var(--dark-blue);
  translate: 100vw;
}

.menu-list li {
  margin: 16px 0;
  opacity: 0;
}

.menu-list a {
  color: var(--gold);
}

.menu-group h3 {
  font-size: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gray);
}

/* アコーディオンの基本設定 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 16px;
  /* transitionの対象に不透明度と高さを指定 */
  transition: max-height 0.4s ease, opacity 0.3s ease; 
  list-style: none !important;
}

/* アクティブな時だけ表示 */
.menu-group.is-active .accordion-content {
  opacity: 1;
  padding-top: 8px; /* 少し余白を持たせるとアットホームな印象に */
  padding-bottom: 8px;
}

.menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0; /* 少しクリックしやすく */
}

/* iconクラス自体の設定 */
.icon {
  font-size: 18px;
  font-weight: bold;
}


/*
パンくずリスト
------------------------------ */
.breadcrumbs-outer {
  width: 100%;
  background-color: var(--gray);
  padding: 10px 0;
}

.breadcrumbs-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  text-decoration: none;
  display: inline-block;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item::after {
  content: ">";
  margin-left: 12px;
  cursor: default;
}

.breadcrumb-item-current {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}



/*
タグ・ボタン
------------------------------ */
.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--dark-blue);
  border: 1px solid var(--dark-blue);
  padding: 1px 6px;
  margin-bottom: 4px;
  border-radius: 2px;
}



/*
フッター
------------------------------ */
.footer {
  background-color: var(--dark-blue);
  color: var(--gold);
  padding: 80px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 24px;
}

.footer-sns {
  display: flex;
  gap: 24px;
}

.footer-sns a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer-sns a:hover {
  opacity: 0.7;
}

.footer-sns img {
  width: 24px;
  height: auto;
}

.footer-sns svg path {
  fill: var(--gold);
}

/* 3つのカラムを横並びにする */
.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-column {
  flex: 1;
}

.footer-column h3 {
  font-size: 16px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 8px;
  margin-bottom: 16px;
  color: var(--gray);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 16px;
}

.footer-column a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-menu-list {
  display: block;
}
.accordion-icon {
  display: none;
}



/*
トップへ戻るボタン
------------------------------ */
/* トップへ戻るボタンの基本スタイル */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 25, 254, 0.4);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

/* 表示された時のクラス */
.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

/* 矢印のデザイン */
.pagetop-arrow {
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--white);
  border-right: 3px solid var(--white);
  transform: rotate(-45deg);
  margin-top: 4px;
}

/* ホバー時の挙動 */
.pagetop:hover {
  background-color: var(--gold);
  transform: translateY(-5px);
}



/*
検索フォーム
------------------------------ */
/* 検索フォームのスタイル */
.search-box {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  padding: 5px;
  margin-top: 16px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background-color: var(--white);
}

.search-box input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px;
  outline: none;
  font-size: 1rem;
  color: #333;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  color: #d1b272;
  padding: 5px 10px;
  transition: transform 0.3s ease;
}

.search-box button:hover {
  transform: scale(1.2);
}

/* 検索結果0件時の検索窓レイアウト */
.search-no-results-form {
  margin: 80px auto 40px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.search-no-results-form p {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

/* フォーム自体の枠組みを強調する場合 */
.search-no-results-form .search-box {
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: var(--white);
    margin-top: 0;
}




/*
404ページ
------------------------------ */
.error-404 {
  padding: 100px 24px;
  background-color: var(--white);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-title {
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  margin: 40px 0 16px 0;
}

.error-subtitle {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 30px;
}

.error-description {
  margin-bottom: 40px;
}

.error-actions {
  margin-bottom: 60px;
}

/* 検索フォームの簡易スタイル */
.error-search p {
  font-weight: bold;
}
.error-search form {
  justify-content: center;
}
.error-search input[type="text"] {
  padding: 10px;
  border-radius: 4px;
}
.error-search input[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.h1-search-title {
  margin: 40px 0 ;
}
.h2-search {
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  margin: 0 auto;
  width: 100%;
}
.p-search {
  margin-bottom: 40px;
}









/* 768px以上 */
@media screen and (min-width: 768px) {

  body {
    font-size: 16px;
  }

}


/* 767px以下 */
@media screen and (max-width: 767px) {

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 16px;
    font-weight: 600;
  }

  .h2-normal {
  margin: 24px 0 ;
  }

  /*
  ヘッダー
  ------------------------------ */
  .header-pc {
    display: none;
  }

  .header-sp {
    display: block;
  }

  .header-container {
    padding: 0 16px 8px 16px;
  }

  .header-logo-group img {
    height: 16px;
  }
  .header-list {
    gap: 24px;
  }


  /*
  パンくずリスト
  ------------------------------ */
  .breadcrumbs-inner {
    font-size: 11px;
    gap: 8px;
  }
  .breadcrumb-item::after {
    margin-left: 8px;
  }


  /*
  フッター
  ------------------------------ */
  /* フッター全体の隙間を調整 */
  .footer-nav {
    flex-direction: column;
    gap: 0;
  }

  /* 1. リストを初期状態で隠す（クラス名指定に変更） */
  .footer-menu-list {
    display: none !important; 
    padding: 0 0 20px 10px;
  }

  /* 2. JSで .is-open がついた時に表示 */
  .footer-menu-list.is-open {
    display: block !important;
  }

  /* タイトル部分（クリックエリア） */
  .footer-menu-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray);
    padding: 15px 0;
  }
  
  /* アイコンのアニメーション設定（＋からーへ） */
  .accordion-icon {
    display: block;
    position: relative;
    width: 14px;
    height: 14px;
  }
  .accordion-icon::before,
  .accordion-icon::after {
    content: "";
    position: absolute;
    background-color: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
  }
  .accordion-icon::before { width: 100%; height: 2px; } /* 横棒 */
  .accordion-icon::after { width: 2px; height: 100%; }  /* 縦棒 */

  /* アクティブ時（縦棒を回転させて横棒に重ねてマイナスにする） */
  .footer-menu-title.is-active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }

}