/* =================================
   基本設定
================================= */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "メイリオ", sans-serif;
  line-height: 1.9;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================================
   セクション共通
================================= */
section {
  padding: 56px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* スマホ余白調整（ヒーロー以外も左右余裕） */
@media (max-width: 767px) {
  section {
    padding: 48px 16px; /* 左右16px、上下48px */
  }
}

/* =================================
   見出し
================================= */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 16px 0;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.35;
  text-align: center;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 32px;
}

h3 {
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 767px) {
  h1 { font-size: 1.3rem; line-height: 1.4; }
  h2 { font-size: 1.15rem; line-height: 1.45; }
}

/* =================================
   ヒーロー
================================= */
.hero-block {
  background: #f3f0eb;
  text-align: center;
  padding: 72px 20px 56px;
}

.hero-block .lead {
  max-width: 720px;
  margin: 20px auto 32px;
  font-size: 1.05rem;
}

.hero-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto 0;
}

/* リード文内リンク */
.lead-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  border-bottom: 2px solid #333;
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.lead-link:hover { opacity: 0.7; }

/* =================================
   ボタン
================================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  margin: 8px;
  font-size: 1rem;
  text-align: center;
}

.btn.primary {
  background: #333;
  color: #fff;
}

/* =================================
   サービスグリッド
================================= */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; /* スマホでも余裕を持たせる */
}

.service-item {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 4px;
  background: #fff;
}

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

/* サービスリンク群 */
.service-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* =================================
   オンラインショップ
================================= */
.online-only {
  background: #fafafa;
  border-left: 6px solid #333;
  text-align: center;
  padding: 40px 20px;
}

.online-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* =================================
   強み
================================= */
.strength-block ul {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.2em;
}

.strength-block li { margin-bottom: 12px; }

/* =================================
   制作事例
================================= */
.works-section { text-align: center; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* スマホも余裕 */
  max-width: 900px;
  margin: 0 auto 24px;
}

.works-grid img {
  border-radius: 4px;
  border: 1px solid #ddd;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.works-section .note {
  font-size: 0.95rem;
  color: #666;
}

/* =================================
   ギフト制作事例
================================= */
/* 事例セクション */
.case-section {
  text-align: center;
  padding: 70px 20px;
}

.case-lead {
  max-width: 760px;
  margin: 0 auto 50px;
}

/* グリッド */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* カード */
.case-item {
  background: #fff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s ease;
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* 画像2枚並び */
.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.case-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

/* タイトル */
.case-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* 説明 */
.case-item p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.case-images img:last-child {
  border: 2px solid #eee;
}

/* =================================
   店舗情報
================================= */
.store-info {
  background: #f7f5f2;
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  padding: 48px 20px;
}

.store-info p {
  max-width: 640px;
  margin: 0 auto 12px;
  font-size: 1.05rem;
}

.store-info p strong { display: inline-block; min-width: 6em; }

.map-wrap {
  max-width: 800px;
  margin: 32px auto 0;
  border: 1px solid #ccc;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (min-width: 768px) {
  .map-wrap iframe { height: 400px; }
}

/* =================================
   shop-mini
================================= */

.shop-mini {
  background: #f7f7f7;
  padding: 56px 20px;
  text-align: center;          /* 中央寄せ */
}

.shop-mini p {
  max-width: 720px;            /* 横幅制限 */
  margin: 0 auto 16px;         /* 中央配置 */
}

.shop-mini h2 {
  margin-bottom: 20px;
}

.inline-link {
  color: #333;
  text-decoration: underline;
}

/* =================================
   CTA
================================= */
.cta-block {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}

.cta-block h2 { color: #fff; }

.cta-block .btn {
  border-color: #fff;
  color: #fff;
}

.cta-block .btn.primary {
  background: #fff;
  color: #333;
}

/* =================================
   サブページ画像
================================= */
.sub-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .sub-image {
    max-width: 900px;
    max-height: 420px;
    margin: 0 auto;
    display: block;
  }
}

/* =========================
   モーダル
========================= */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 6px;
}

#modalCaption {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 14px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================
   最終更新
========================= */

.latest-section {
  padding: 70px 20px;
  text-align: center;
}

.latest-lead {
  max-width: 760px;
  margin: 0 auto 50px;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.latest-item {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s ease;
}

.latest-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.latest-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.latest-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.latest-date {
  font-size: 12px;
  color: #888;
  display: block;
  margin-bottom: 8px;
}

.latest-link {
  font-size: 14px;
  text-decoration: underline;
}

/* ======================
   対応素材一覧
====================== */

.material-lead {
  text-align: center;
  margin-bottom: 30px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.material-item {
  background: #f5f5f5;
  padding: 18px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

