@charset "UTF-8";

/* home
-------------------------------------*/
.index h2 {
  width: 100%;
  max-width: 900px;
  margin: 10px 0 40px;
  padding: 8px 16px;
  font-family: var(--serif-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  border-left: 10px solid #C0C0C0;
  background: linear-gradient(145deg, #fff, #f0f0f0);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.2),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.05);
  }

/* home oshirase */
.index .oshirase {
  margin-bottom: 40px;
}
.oshirase-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #ddd;
}
.oshirase-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); 
}
.oshirase-text time {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #555;
}
.oshirase-text h3 {
  font-weight: bold;
}
.oshirase-text p {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}
.oshirase-text a {
  font-style: italic;
  color: #0056b3;
}

/* ニュース一覧への装飾 */
.news-index-link {
  margin-top: 24px;
  text-align: right;
}
.news-index-link a {
  display: inline-block;
  padding-bottom: 1px;
  position: relative;
  font-family: var(--serif-font);
  font-size: 0.9rem;
  color: #550000;
  text-decoration: none;
  transition: border-color 0.3s ease;
  border-bottom: 1.5px solid rgba(85, 0, 0, 0.3);  
}
.news-index-link__text {
  font-style: italic;
}
.news-index-link__arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.news-index-link a:hover {
  border-bottom-color: rgba(85, 0, 0, 0.7);
}
.news-index-link a:hover .news-index-link__arrow {
  transform: translateX(6px);
}

/* home catalog */
.catalog {
  margin-bottom: 40px;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.catalog-list-area {
  overflow: hidden;
}
.catalog-list {
  display: flex;
  width: max-content;
  animation: catalog-slide-left 60s linear infinite;
}
.catalog-list li {
  display: flex;
  width: calc(100vw / 3);
  height: 250px;
  margin: 6px;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.catalog-list li img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}
.catalog-item {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 10px;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
.catalog-item img {
  max-height: 180px;
  object-fit: contain;
}
.item-caption {
  width: 100%;
  margin-top: 8px;
  padding: 4px 8px;
  font-family: var(--serif-font);
  font-size: 0.9rem;  
  color: #000;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.6),
              inset 0 -1px 2px rgba(0,0,0,0.05);
}

/* アニメーションのキーフレーム */
@keyframes catalog-slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* catalog btn */
.btn-wrapper {
  text-align: center;
}
.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  border-radius: 6px;
  border: 1px solid #aaa;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
}
.btn:hover {
  color: #333;
  text-decoration: none;
  background: linear-gradient(to bottom, #d0d0d0, #b0b0b0);
}

/* home concept */
.concept-block {
  max-width: 1200px;
  min-height: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

/* PC表示 */
.concept-image.pc-img {
  display: block;
}
.concept-image.sp-img {
  display: none;
}

/* 画像1（右上）*/
.concept-image-top {
  width: 38%;
  max-width: 460px;
  position: absolute;
  top: 20px;
  right: 40px;
  z-index: 3;
}

/* 画像2（左下）*/
.concept-image-bottom {
  width: 38%;
  max-width: 460px;
  position: absolute;
  bottom: 100px;
  left: 40px;
  z-index: 1;
}

/* 共通画像スタイル */
.concept-image-top img,
.concept-image-bottom img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

/* 左側：テキスト背景フレーム（グレー）*/
.concept-text-frame {
  max-width: 720px;
  margin-top: 60px;
  padding: 60px 35% 500px 40px; 
  position: relative;
  z-index: 1;
  border-radius: 12px; 
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(to bottom, #fafafa, #f0f0f0, #e5e5e5);
}
/* 左側：テキスト領域全体 */
.concept-text {
  padding-right: 24px;
}

/* 見出し */
.concept-text h3 {
  margin-bottom: 30px;
  font-family: var(--serif-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* 本文（左テキスト・右テキスト共通化）*/
.concept-text p,
.concept-overlay-text p {
  margin-bottom: 12px;
  font-family: var(--serif-font);
  font-size: 1rem;
  color: #333;
  line-height: 2.5;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* 右下：オーバーレイテキスト */
.concept-overlay-text {
  width: 52%;
  max-width: 480px;
  padding: 20px 24px;
  position: absolute;
  right: 0;
  z-index: 4;
  transform: translateX(30%);  /* グレー背景から右へ飛び出す */
}


/* menu
-------------------------------------*/
.menu-category-section {
  margin: 40px 0 50px 0;
}
.menu-category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.menu-category-card {
  display: block;
  width: 160px;
  height: 90px;
  position: relative;  
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 40px / 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.menu-category-card:hover {
  transform: translateY(-0.5px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.menu-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.menu-category-title {
  padding: 4px 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--serif-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: background 0.3s ease;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.45);
}
.menu-category-card:hover .menu-category-title {
  background: rgba(0, 0, 0, 0.65);
}

.item-list li {
  display: flex;
  margin-bottom: 40px;
  padding-bottom: 20px;
  align-items: flex-start;
  gap: 40px;  
  border-bottom: 1px solid #ccc;
}
.item-img img {
  width: 200px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.item-text .info {
  display: grid;
  column-gap: 12px;
  row-gap: 6px;
  grid-template-columns: 100px 1fr;
}
.item-text .info dt {
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}
.item-text .info dd a {
  padding-bottom: 1px;
  font-family: var(--serif-font);
  font-size: 0.9rem;
  font-style: italic;
  text-decoration: none;
  transition: border-color 0.3s ease;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.3);
}
.item-text .info dd a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.7);
}
.item-text .info dd:nth-of-type(3) {
  margin-bottom: 16px;
}

.highlight {
  font-size: 1.1rem;
  font-weight: bold;
}
.price-label {
  font-size: 0.9rem;
  font-weight: bold;
}
.price-area {
  display: flex;
  gap: 10px;
  align-items: center;
}
.price-area .cart-button {
  margin-left: 20px;
}

/* 数量エリア */
.qty-input {
  width: 55px;
  padding: 4px;
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.2s;
  border-radius: 6px;
  border: 1px solid #555;
}
.qty-input:focus {
  border-color: #333;
  box-shadow: 0 0 3px rgba(229, 106, 84, 0.4);
}

/* メニュー専用 カート スタイル */
.menu button,
.menu input[type="submit"],
.menu input[type="reset"],
.menu input[type="button"],
.menu .cart-button {
  display: inline-block;
  padding: 5px 13px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s ease;
  border-radius: 6px;
  border: 1px solid #aaa;
  background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* ホバー時 */
.menu button:hover,
.menu input[type="submit"]:hover,
.menu input[type="reset"]:hover,
.menu input[type="button"]:hover,
.menu .cart-button:hover {
  color: #000;
  text-decoration: none;
  transform: translateY(-1px);
  background: linear-gradient(to bottom, #d0d0d0, #b0b0b0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
/* アクティブ時 */
.menu button:active,
.menu input[type="submit"]:active,
.menu input[type="reset"]:active,
.menu input[type="button"]:active,
.menu .cart-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
/* フォーカス時 共通設定 */
.menu button:focus,
.menu input[type="submit"]:focus,
.menu input[type="reset"]:focus,
.menu input[type="button"]:focus,
.menu .cart-button:focus {
  outline-offset: 3px;
}
/* フォーカス色指定 */
.menu .cart-button:focus,
.menu button:focus {
  outline-color: #550000;
  outline-offset: 3px;
}

/* ご注文へ進む */
.menu a.btn-arrow {
  display: inline-flex;
  font-size: 0.95rem;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}
/* 矢印 */
.menu a.btn-arrow .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
/* テキスト */
.menu a.btn-arrow .text {
  display: inline-block;
  font-family: var(--serif-font);
  font-style: italic;
  transition: transform 0.3s ease;
}

/* ホバー時 */
.menu a.btn-arrow:hover {
  text-decoration: none; 
}
.menu a.btn-arrow:hover .arrow {
  transform: translateX(4px);
}
.menu a.btn-arrow:hover .text {
  transform: translateX(12px);
}


/* guide
-------------------------------------*/
.guide h2,
.privacy h2,
.legal h2 {
  width: 100%;
  max-width: 900px;
  margin: 50px 0 40px;
  padding: 8px 16px;
  font-family: var(--serif-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  border-left: 10px solid #C0C0C0;
  background: linear-gradient(145deg, #fff, #f0f0f0);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.2),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.guide h3,
.privacy h3 {
  margin: 20px 0;
  padding-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 1px solid #555;
}
.guide ul,
.privacy ul {
  margin-left: 24px;
  list-style: disc;
}
.guide p {
  padding: 5px 10px 10px;
  font-size: 1rem;
}

/* delivery  legal テーブル */
.guide-delivery table,
.legal-table {
  width: 100%;
  margin-top: 10px;
  background-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
}
.guide-delivery table caption,
.legal-table caption {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #1a1a1a;
  text-align: left;
}
.guide-delivery table th,
.guide-delivery table td,
.legal-table th,
.legal-table td {
  padding: 10px 12px;
  text-align: right;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}
.guide-delivery table th:first-child,
.guide-delivery table td:first-child,
.legal-table th:first-child,
.legal-table td:first-child {
  text-align: left;
}

/* 奇数行の背景色 */
.guide-delivery tbody tr:nth-child(odd) {
  background: #fafafa;
}
/* chip / badge */
.chip {
  display: inline-block;
  padding: 0.1em 0.6em;
  font-size: 0.75rem;
  color: #0a7a3e;
  background: #e8f7ee;
  border-radius: 999px;  
}
.badge {
  margin-left: 0.4em;
  padding: 0.15em 0.5em;
  font-size: 0.75rem;
  color: #fff;
  background: #16a34a;
  border-radius: 6px;
}
/* guide-delivery card */
.guide-delivery .card {
  margin-top: 16px;
  padding: 16px;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.guide-delivery .card h4 {
  margin-top: 0;
  padding-left: 8px;
  font-size: 1rem;
  font-weight: bold;
  border-left: 3px solid #16a34a;
}
.guide-delivery .note {
  margin: 6px 0;
  font-size: 0.9rem;
  color: #555;
}
/* guide-deliveryの前段落との間隔 */
.guide-delivery {
   margin: 12px 0 24px;
}

/* legal専用テーブル */
.legal-table {
  width: 100%;
  margin-top: 16px;
  background-color: #fff;
  border-collapse: collapse;
}
.legal-table caption {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  text-align: left;
}
.legal-table th,
.legal-table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ccc;
}
.legal-table th {
  background-color: #fff;
}
.legal h4 {
  margin: 24px 0 12px;
  padding-left: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  border-left: 3px solid #ccc;
}
.legal p {
  margin: 6px 0 12px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}


/* news
-------------------------------------*/
.news {
  margin-bottom: 60px;
}
.news-title {
  font-weight: bold;
}
.news-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.news-item {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 20px;
  align-items: center;
  gap: 30px;  
  border-bottom: 1px solid #ddd;
}
.news-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); 
}
.news-text time {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #555;
}
.news-text p {
  font-size: 1rem;
}
.news-item.no-image {
  display: block;
  padding-left: 0;
}
/* 非表示 */
.news-item figcaption {
  width: 1px;
  white-space: nowrap;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* kamei
-------------------------------------*/
.kamei-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
}
.kamei-list article {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.kamei-list h2 {
  margin-bottom: 10px;
  padding-left: 10px;
  font-size: 1.35rem;
  border-left: 5px solid #c5a880;
}
.kamei-list p {
  font-size: 1rem;
}


/* contact
-------------------------------------*/

.contact h2 {
  margin: 40px 0 50px 0;
  font-size: 1.5rem;
  font-weight: bold;
}

/* 鍵マークとコメント */
.ssl-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 40px 0;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: #333;
  border-radius: 6px;
  background: #f7f9fb;
  border-left: 5px solid #4CAF50;
  border-right: 5px solid #4CAF50;
}
.ssl-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}
.ssl-text {
  line-height: 1.5;
}

/* トグルスイッチ 全体 */
.contact-toggle-switch {
  display: flex;
  width: 280px;
  margin: 0 auto 24px;
  flex-direction: column;
  position: relative;
  align-items: center;
}
.contact-toggle-switch legend {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  text-align: center;
}
/* ラジオボタンは非表示 */
.contact-toggle-switch input[type="radio"] {
  display: none;
}
/* トグルの外枠 */
.contact-toggle-switch .toggle-switch {
  display: flex;
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding: 4px;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 4px;
  background-color: #ddd;
  border-radius: 8px;
  box-shadow: inset 0 0 5px #aaa;
}
/* ラベルがボタンになる */
.contact-toggle-switch .toggle-option {
  font-weight: 600;
  flex: 1;
  color: #555;
  text-align: center;
  line-height: 32px;
  z-index: 2;
  user-select: none;
  transition: color 0.3s ease;
}
/* スライダーの背景 */
.contact-toggle-switch .toggle-slider {
  width: calc(50% - 4px);
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  z-index: 1;
  background-color: #550000;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(85, 0, 0, 0.7);
  transition: left 0.3s ease;
}

/* チェック状態によるスライダー移動 */
#contactTypeInquiry:checked ~ .toggle-switch .toggle-slider {
  left: calc(50% + 4px);
}
/* チェック状態による文字色変更 */
#contactTypeOrder:checked ~ .toggle-switch .toggle-option[for="contactTypeOrder"] {
  color: #fff;
}
#contactTypeInquiry:checked ~ .toggle-switch .toggle-option[for="contactTypeInquiry"] {
  color: #fff;
}

/* form */
#contactForm section {
  margin-top: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc; /* 区切り線 */
}
#contactForm section:last-child {
  border-bottom: none;           /* 最後の区切り線 */
}

.form-group {
  display: flex;
  margin: 0 0 30px 25px; /* 上下の入力欄幅調整 */
  align-items: center;   /* ラベルと入力欄の高さを揃える */
  gap: 5px;              /* ラベルと入力欄の間隔 */
}
.form-group label {
  margin-bottom: 0;
  flex: 0 0 180px;       /* ラベルの固定幅 */
  font-weight: bold;
}
.form-group input,
.form-group textarea,
.form-group select {
  flex: 1;               /* 入力欄は残り幅いっぱい */
  padding: 12px 16px;
  font-family: var(--serif-font);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: linear-gradient(145deg, #fff, #f0f0f0);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.2),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #666;
}
.form-group textarea {
  resize: vertical;      /* 高さ調整は縦方向だけ許可 */
}

/* 「ギフト注文」押し込みボタン関連 */

/* チェックボックスは非表示 */
.customer-order-toggle input[type="checkbox"] {
  display: none;
}

/* 贈り物 コンテナ */
.form-switch-wrap {
  display: flex;
  margin: 40px 0 10px 24px; 
  align-items: center;  /* ボタンとテキストの高さを揃える */
  gap: 30px;            /* ボタンとテキストの間隔 */
}

/* 非表示用クラス */
.hidden {
  display: none;
}

/* ギフト注文ボタン */
.proxy-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border: 1px solid #bbb;
  border-radius: 6px;
  background: linear-gradient(to bottom, #f9f9f9, #e0e0e0);
  transition: all 0.2s ease;
}
/* ホバー時 */
.proxy-btn:hover {
  background: linear-gradient(to bottom, #eee, #d6d6d6);
}
/* ON のとき */
#proxyOrder:checked + .proxy-btn {
  color: #fff;
  background: linear-gradient(to bottom, #550000, #330000);
}

/* ボタンとテキスト配置 */
.customer-order-toggle {
  display: flex;
  align-items: center;
}
.proxy-wrapper {
  display: flex;
  align-items: center;       /* ボタンとテキストを縦中央揃え */
  gap: 10px;                 /* ボタンとテキストの間隔 */
}
.proxy-text,
.notice-text {
  flex: 1;                   /* 横に伸ばす */
  margin: 0 0 0 25px;
  padding: 6px 10px;
  font-size: 0.95rem;
  color: #333;
  background: #f7f9fb;
  border-radius: 4px;
  border-left: 4px solid #4CAF50;
  border-right: 4px solid #4CAF50;
  box-sizing: border-box;
}

/* 2.贈り先様 */
.section-desc {
  margin: 0 0 25px 25px;
  font-size: 0.95rem;
  color: #333;
}

/* 3.ご依頼内容 */
.notice-text {
  margin-bottom: 30px;
}
.inline-group-label {
  flex: 0 1 120px;           /* 0:縮まない、1:伸びる、120px:基準幅 */
  font-weight: bold;
}
/* 水引 確認リンク */
.contact-link {
  margin: 0 0 20px;
  text-align: right;
}
.contact-link a {
  padding-bottom: 1px;
  position: relative;
  font-family: var(--serif-font);
  font-size: 0.9rem;
  color: #550000;
  text-decoration: none;
  transition: border-color 0.3s ease;
  border-bottom: 1.5px solid rgba(85, 0, 0, 0.3);
}
.contact-link__text {
  font-style: italic;
}
.contact-link__arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.89rem;
  transition: transform 0.3s ease;
}
.contact-link a:hover {
  border-bottom-color: rgba(85, 0, 0, 0.7);
}
.contact-link a:hover .contact-link__arrow {
  transform: translateX(6px);
}

/* 熨斗・水引き */

/* 外側グループ */
.form-group-inline {
  display: flex;                  /* 熨斗・表書き・水引きを横並び */
  justify-content: space-between; /* ラベルと内側グループを左右に分ける */
  margin: 10px 0 25px 25px;
  align-items: center;            /* 上下中央揃え */
  gap: 20px;
}

/* 内側の熨斗グループ */
.form-group-inline.noshi {   
  flex-wrap: nowrap;
}
.inline-item.noshi {
  display: flex;
  min-width: 0;
  flex: 1 1 0;               /* 3等分のため横幅を均等に伸ばす */
  flex-direction: column;    /* ラベルは上、入力は下 */
  align-items: flex-start;
  gap: 5px;
}
.inline-item.noshi label {
  font-family: var(--serif-font);
  font-size: 0.9rem;
  font-weight: normal;
  color: #333;
}
/* プルダウン装飾 */
.inline-item select {
  width: 100%;
  max-width: none;
  min-width: 140px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #888;
  background-color: #fff;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  appearance: none;
}
/* 熨斗用 select */
.inline-item.noshi select {
  width: 220px;
  border-color: #ccc;
}
/* 連名3人目 */
label[for="noshi-name-3"] {
  margin-top: 12px;
  align-self: flex-start;
}
#noshi-name-3 {
  width: 100%;
  flex: none;
  box-sizing: border-box;  
}
/* 連名下のコメント */
.input-wrap {
  display: flex;
  margin-bottom: 20px;
  flex: 1;  
  flex-direction: column;
}
.input-wrap .form-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
}

/* 商品入力欄 */
#order {
  height: 200px;
  min-height: 160px;
  max-height: 300px;
  resize: vertical;
  color: #000;
}

/* 4.配送指定 */
.confirmation-text {
  display: block;
  margin: 0 0 35px 25px;
  padding: 6px 12px;
  font-size: 0.95rem;
  color: #330000;
  text-align: left;
  line-height: 1.5;
  background-color: #fff1f2;
  border-left: 4px solid #d63333;
  border-right: 4px solid #d63333;
  border-radius: 6px;
  width: calc(100% - 25px);  /* 左マージン分を引いて右端まで広げる */
}

/* 受け取り希望日 装飾 */
input[type="date"] {
  color: #aaa;
}
/* 実際に値が入力されたときだけ文字色を黒くする */
input[type="date"]:valid {
  color: #000;
}
/* お届け時間の下を広げる */
#contactForm #time-group {
  margin-bottom: 50px; /* 下に余白を作る */
}

/* 5.確認事項 */
.message-group label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
  width: auto;
  flex: none;
}
.privacy-check {
  display: block; 
  margin: 60px 0 50px 24px;
  align-items: center;
}
.privacy-check input[type="checkbox"] {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #550000;  
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  border-radius: 4px;
  transition: box-shadow 0.2s, transform 0.1s;
}
/* 押下中の効果 */
.privacy-check input[type="checkbox"]:active {
  transform: translateY(2px);     /* 押した感じ */
}

/* label は縦並び */
.privacy-check label {
  display: block;
  font-size: 1rem;
  cursor: pointer;
}
/* チェックボックスとリンク・テキストを横並びに */
.checkbox-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* リンク装飾 */
.privacy-check label a {
  font-weight: bold;
  color: #0044cc;
  text-decoration: none;
}
.privacy-check label a:hover {
  text-decoration: underline;
}

/* エラー文（同意）は label の下に表示 */
.privacy-check .error {
  display: block;
  margin: 10px 0 0 38px;
  font-size: 0.9rem;
  font-weight: bold;
  font-style: italic;
  color: red;
}

/* 送信 */

/* ボタン横並び */
.form-buttons {
  display: flex;
  margin-top: 15px;
  flex-wrap: wrap;      /* 画面が狭い場合は折り返す */
  gap: 20px;
}

/* クリアボタン */
.btn-clear {
  padding: 12px 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #bbb;
  background: linear-gradient(to bottom, #f0f0f0, #dcdcdc);
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, transform 0.1s;
}
.btn-clear:hover {
  color: #222;
  background: linear-gradient(to bottom, #e0e0e0, #c8c8c8);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.btn-clear:active {
  transform: translateY(3px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* 送信ボタン */
.btn-submit {
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #550000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: background-color 0.3s, transform 0.1s, box-shadow 0.2s;
}
.btn-submit:hover {
  background-color: #330000;
  box-shadow: 0 6px 10px rgba(0,0,0,0.4);
  transform: scale(1.03);
}
.btn-submit:active {
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transform: translateY(3px);
}

/* 必須(アスタリスク) */
.require {
  margin-left: 5px;
  font-size: 0.8rem;
  font-style: italic;
  color: #ff4d4d;
}
/* チェックボックス赤枠 */
.privacy-check input.error-input {
  outline: 2px solid red;    /* 赤枠 */
  outline-offset: 2px;       /* 枠を少し外側に */
}
/* エラー時に赤枠表示 */
input.error-input,
textarea.error-input,
select.error-input {
  border: 1px solid red;
}
.optional-field {
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}


/* thanks
-------------------------------------*/
.thanks {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px 20px;
  font-family: var(--serif-font);
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.thanks h1 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: #2c3e50;
}
.thanks p {
  margin-bottom: 16px;  
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
.thanks .highlight {
  font-size: 1rem;
  font-weight: bold;
}
.notice {
  margin: 0 auto 16px;
  padding: 12px;
  font-size: 0.9rem;
  color: #856404;
  text-align: left;
  line-height: 1.6;
}
.thanks a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 24px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-radius: 6px;
  background-color: #550000;
}
.thanks a:hover {
  background-color: #330000;
}


/* 熨斗
-------------------------------------*/

.noshi-sample {
  width: 100%;
  max-width: 960px;
  margin: 80px auto 100px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* セクションタイトル */
.noshi-sample h2,
.noshi-list h2,
.noshi-only h2 {
  margin-bottom: 40px;
  padding-bottom: 15px;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #ddd;
}

/* 共通画像スタイル */
.noshi-explanation img {
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ホバー時 */
.noshi-explanation img:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transform: scale(1.03);
}

/* 通常箱（熨斗なし） */
.sample-plain-box .noshi-item1 img {
  width: 360px;
  height: auto;
}
.sample-plain-box .noshi-item2 img {
  width: 360px;
  height: 212px;
}

/* 熨斗と掛け紙の参考例 */
.sample-noshi-kakegami .noshi-explanation img {
  max-width: 250px;
  height: auto;
}

/* 個別サンプル */
.noshi-explanation {
  display: flex;
  flex: 0 1 250px;           /* 最低限の幅 */
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* サンプル画像の行 */
.noshi-explanation-row {
  display: flex;
  margin: 80px 0;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;   /* 上揃え */
  justify-content: center;
}
/* キャプション */
.noshi-explanation figcaption {
  margin: 0 0 16px 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
}

/* 掛け紙一覧テーブル */
.noshi-list table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 10px;
  border-collapse: collapse;
  border: 1px solid #ddd;
}
.desc-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
}
.noshi-list td.img-cell {
  width: 220px;
  padding: 15px;
  text-align: center;
  vertical-align: top;
  border: 1px solid #ddd;
}
.noshi-list td.img-cell img {
  max-width: 200px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.noshi-list td.description {
  padding: 15px 20px;  
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  border: 1px solid #ddd;
}

/* 熨斗 テーブル */
.noshi-only {
  width: 100%;
  max-width: 960px;
  margin: 80px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}
.noshi-only-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}
.noshi-only .noshi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;  
}
.noshi-only .noshi-item img {
  width: 100px;
  height: auto;
  margin-bottom: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.noshi-only .noshi-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.noshi-only .noshi-item p {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
}


/* faq
-------------------------------------*/

/* カテゴリ見出し */
.faq h2 {
  width: 100%;
  max-width: 900px;
  margin: 50px 0 40px;
  padding: 8px 16px;
  font-family: var(--serif-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  border-left: 10px solid #C0C0C0;
  background: linear-gradient(145deg, #fff, #f0f0f0);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.2),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
/* 質問 */
.faq-list dt {
  margin: 25px 0 10px 16px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #550000;
}
/* 回答 */
.faq-list dd {
  margin: 0 0 20px 33px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
/* リンク装飾 */
.faq-list a {
  color: #0056b3;
  transition: color 0.3s ease;
}
.faq-list a:hover {
  color: #003d80;
  text-decoration: underline;
}
/* 最後の質問の余白調整 */
.faq-list dt:last-of-type {
  margin-bottom: 8px;
}


/* responsive styles
-------------------------------------*/
@media screen and (max-width: 992px) {

  /* home concept */
  .concept-block {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px 16px 0; 
    position: relative;
  }
  /* 画像スタイル */
  .concept-image-top {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 30px;
    position: static;
  }
  .concept-image-top img {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  /* モバイル表示 */
  .concept-image.pc-img {
    display: none;
  }
  .concept-image.sp-img {
    display: block;
  }
  .concept-image-bottom {
    display: none; 
  }

  /* テキスト背景ブロック */
  .concept-text-frame {
    margin-top: 4px;
    padding: 24px 16px 16px;
  }
  /* オーバーレイテキスト */
  .concept-overlay-text {
    width: 100%;
    padding: 16px 0;
    position: static;
    transform: none;
  }
  /* テキスト調整 */
  .concept-text {
    padding: 0;
  }
  .concept-text h3 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: bold;
  }
  .concept-text p,
  .concept-overlay-text p {
    font-size: 0.9rem;
    line-height: 2;
  }


  /* === menu === */

  .menu-category-grid {
    gap: 20px;
  }
  .menu-category-card {
    width: 130px;
    height: 80px;
  }
  .menu-category-title {
    padding: 3px 0;
    font-size: 0.85rem;    
  }

  .item-list li {
    padding-bottom: 18px;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
  }
  .item-img img {
    width: 100%;
    max-width: 180px;
  }
  .item-text .info {
    column-gap: 10px;
    grid-template-columns: 90px 1fr;
  }
  .price-area {
    flex-wrap: wrap;
    gap: 8px;
  }
  .qty-input {
    width: 55px;
  }


  /* === guide === */

  .guide h2,
  .privacy h2,
  .legal h2 {
    width: 100%;
    margin: 30px 0 20px;
    padding: 5px 12px;
    font-size: 1.25rem;
  }
  .guide h3,
  .privacy h3 {
    margin: 16px 0;
    padding-bottom: 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid #555;
  }
  .guide ul {
    margin-left: 18px;
  }
  .guide p,
  .privacy p,
  .legal p {
    padding: 4px 8px 8px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  /* guide table */
  .guide-delivery table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  .guide-delivery table th,
  .guide-delivery table td {
    padding: 8px 10px;
    font-size: 0.9rem;
    text-align: left;
    white-space: nowrap;     /* 横スクロール */
    word-break: normal;
  }

  /* legal table */
  .legal-table {
    display: table;
    width: 100%;
  }
  .legal-table th,
  .legal-table td {
    padding: 6px 8px;
    font-size: 0.9rem;
    text-align: left;
    white-space: normal;     /* 折り返しOK */
    word-break: break-word;
  }


  /* === news === */

  .news-list {
    padding: 12px;
  }
  .news-title {
    font-size: 0.9rem;
  }
  .news-list p {
    font-size: 0.9rem;
  }


  /* === kamei === */

  .kamei-list h2 {
    font-size: 1.25rem;
  }
  .kamei-list p {
    font-size: 0.9rem;
  }


  /* === contact === */

  .form-group {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .form-group label {
    width: 100%;
    margin-bottom: 6px;
    flex: none;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
  }
  .form-group-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 掛け紙の選択 */
  .inline-group-label {
    width: auto;
    flex: none;
  }
  .inline-item.noshi {
    flex-direction: row;     /* ラベルを左、入力を右に */
    align-items: center;     /* 高さを中央揃え */
    gap: 10px;               /* ラベルと入力欄の間隔 */
  }
  .inline-item.noshi label {
    margin-bottom: 0;
    flex: 0 0 80px;
    text-align: center;
  }
  .inline-item.noshi select {
    flex: 1;
  }

  /* 3 下のテキスト */
  .form-note {
    margin-left: 0;
  }
  /* 連名3人目の調整 */
  .form-group .input-wrap {
    width: 100%;
    flex: none;
  }
  .form-group .input-wrap input {
    width: 100%;       /* 入力欄も横幅いっぱい */
    box-sizing: border-box;
  }

  /* 5 下のテキスト */
  .confirmation-text {
    margin-bottom: 20px;
  }
  .privacy-check label a {
    font-size: 0.85rem;
  }


  /* === thanks === */

  .thanks {
    max-width: 100%;
    margin: 50px 15px;
    padding: 30px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .thanks h1 {
    margin-bottom: 16px;
    font-size: 1.4rem;
  }
  .thanks p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .notice {
    margin-bottom: 12px;
    padding: 10px;
    font-size: 0.8rem;
  }
  .thanks a {
    padding: 8px 20px;
    font-size: 0.9rem;
  }


  /* === noshi === */

  .noshi-sample {
    margin: 60px auto 80px;
    padding: 0 15px;
  }
  .noshi-explanation-row {
    margin: 40px 0;
    gap: 25px;
  }
  .noshi-list table {
    font-size: 0.9rem;
  }
  .noshi-list td.img-cell {
    width: 180px;
  }
  .noshi-list td.img-cell img {
    max-width: 150px;
  }


}


@media screen and (max-width: 600px) {

  /* === index === */

  .index h2 {
    margin: 10px 0 20px;
    padding: 6px 12px;
    font-size: 18px;
  }

  /* home oshirase */
  .oshirase-list {
    margin: 10px 0 0;
  }
  .oshirase-text time {
    font-size: 0.8rem;
  }
  .oshirase-text p {
    font-size: 0.9rem;
  }
  .news-link {
    font-size: 0.9rem;
  }

  /* home catalog */
  .catalog {
    padding: 20px 0;
  }
  .catalog-list-area {
    margin: 30px 0 0 0;
    overflow: hidden;
  }
  .catalog-list li {
    display: flex;
    width: calc((100vw - 24px) / 2);
    height: 180px;
    margin: 6px;
    align-items: center;
    justify-content: center;
  }
  .catalog-item img {
    max-height: 140px;
    object-fit: contain;
  }
  .item-caption {
    padding: 4px 6px;
    font-size: 0.8rem;
    line-height: 1.2em;
  }
  /* ボタン */
  .btn {
    margin-top: 30px;
    padding: 6px 16px;
    font-size: 0.7rem;
  }


  /* === menu === */

  .menu-category-grid {
    gap: 16px;
    flex-wrap: wrap;
  }
  .menu-category-card {
    width: 110px;
    height: 70px;
  }
  .menu-category-title {
    font-size: 0.8rem;
    padding: 2px 0;
  }

  .item-list li {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .item-img {
    width: 100%;
  }
  .item-img img {
    width: 70%;
    max-width: 250px;
    height: auto;
    margin: 0 auto 8px;
  }
  .item-text .info {
    grid-template-columns: 60px 1fr;
    row-gap: 6px;
  }
  .highlight {
    font-size: 1rem;
  }

  .price-area {
    width: 100%;
    display: flex;
    margin-bottom: 14px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* 価格と数量だけ横並び */
  .price-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .price-area .cart-button {
    margin-top: 10px;
    align-self: flex-start;
  }

  .cart-button {
    display: block;
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  /* ご注文へ進む */
  .menu a.btn-arrow {
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;    /* 右寄せ */
  }
  .menu a.btn-arrow .text,
  .menu a.btn-arrow .arrow {
    font-size: 0.9rem;
  }


  /* === guide === */

  .guide h2,
  .privacy h2,
  .legal h2 {
    margin: 30px 0 20px;
    padding: 4px 10px;
    font-size: 1.1rem;
  }
  .guide h3,
  .privacy h3 {
    margin: 15px 0;
    padding-bottom: 6px;
    font-size: 0.9rem;
  }
  .guide p,
  .privacy p,
  .legal p {
    padding: 3px 6px 6px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .guide ul,
  .privacy ul {
    margin-left: 16px;
    font-size: 0.9rem;
  }
  .guide-delivery .card h4 {
    padding-left: 6px;
    font-size: 0.9rem;
  }


  /* === contact === */

  body.contact {
    font-size: 0.9rem;
  }
  .contact h2 {
    margin: 30px 0;
    font-size: 1.2rem;
  }

  .ssl-notice {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .form-group {
    margin: 0 0 20px 0;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .proxy-text {
    width: 100%;
    margin: 0;
  }

  /* 3.ご依頼内容 */
  .inline-item select {
    padding: 8px 10px;
    font-size: 13px;
  }

  .form-switch-wrap {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
  }

  /* 4.配送指定 */
  .confirmation-text {
    display: block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .form-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .form-buttons button {
    display: block;
    width: auto;
    max-width: 80%;
    min-width: 150px;
    margin: 0 auto;
    padding: 12px 30px;
  }


  /* === noshi === */

  .noshi-sample {
    margin: 40px auto 60px;
    padding: 0 10px;
  }
  .noshi-explanation-row {
    margin: 40px 0;
    flex-direction: column;  /* 縦並び */
    align-items: center;
    gap: 20px;
  }
  .noshi-explanation {
    flex: 1 1 100%;
  }
  .noshi-explanation img {
    display: block;
    max-width: 80%;
    margin: 0 auto 20px;
    height: auto;
  }
  .noshi-explanation p {
    margin: 0 0 10px;
    font-size: 1rem;
  }

  .noshi-list table {
    font-size: 0.85rem;
  }
  .noshi-list {
    overflow-x: auto;        /* 横スクロール */
  }
  .noshi-list td.img-cell {
    width: 140px;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
  }
  .noshi-list td.img-cell img {
    display: inline-block;
    max-width: 120px;
  }
  .noshi-list td.description {
    padding: 10px;
  }


  /* === faq === */

  .faq {
    padding: 15px 10px;
  }
  .faq h2 {
    margin: 30px 0 20px;
    padding: 6px 12px;
    font-size: 1.25rem;
  }
  .faq-list dt {
    font-size: 1rem;
  }
  .faq-list dd {
    margin-left: 16px;
    font-size: 0.9rem;    
  }


}