/* ========================================
   NÖWA DONUTS
   style.css
======================================== */

/* ---------- COLOR ---------- */

:root {
    --ivory: #f7f3ea;
    --sand: #d6b98c;
    --brown: #6a4a37;
    --green: #526653;
    --ink: #3d332c;
    --paper: #fffdf9;
    --line: #ded6ca;
  }
  
  
  /* ---------- RESET ---------- */
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    background: var(--paper);
    line-height: 1.8;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    display: block;
    width: 100%;
  }
  
  .wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
  }
  
  
  /* ========================================
     NOTICE
  ======================================== */
  
  .notice {
    background: var(--green);
    color: #fff;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 8px;
  }
  
  
  /* ========================================
     HEADER
  ======================================== */
  
  .header {
    height: 88px;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
  }
  
  .header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-family: Georgia, serif;
    color: var(--brown);
    font-size: 25px;
    letter-spacing: 0.09em;
    font-weight: 600;
  }
  
  .logo small {
    display: block;
    font: 9px/1.1 Arial, sans-serif;
    letter-spacing: 0.32em;
    text-align: center;
  }
  
  .nav {
    display: flex;
    gap: 34px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }
  
  .nav a {
    transition: opacity 0.3s ease;
  }
  
  .nav a:hover {
    opacity: 0.55;
  }
  
  .icons {
    display: flex;
    gap: 14px;
    font-size: 18px;
  }
  
  
  /* ========================================
     HERO
  ======================================== */
  
  .hero {
    position: relative;
    width: 100%;
    height: min(690px, 67vw);
    min-height: 520px;
    overflow: hidden;
    background: #eee;
  }
  
  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
  
    background: linear-gradient(
      90deg,
      rgba(247, 243, 234, 0.94) 0%,
      rgba(247, 243, 234, 0.76) 25%,
      rgba(247, 243, 234, 0.10) 52%,
      rgba(247, 243, 234, 0) 72%
    );
  }
  
  .hero-copy {
    position: absolute;
    z-index: 2;
  
    left: max(6vw, calc((100vw - 1180px) / 2));
    top: 50%;
  
    transform: translateY(-50%);
  
    width: 520px;
    max-width: calc(100% - 48px);
  }
  
  
  /* ---------- HERO TEXT ---------- */
  
  .eyebrow {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--brown);
  }
  
  h1,
  h2,
  h3 {
    margin: 0;
    line-height: 1.45;
  }
  
  h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 4vw, 56px);
  
    line-height: 1.65;
    letter-spacing: 0.05em;
  
    word-break: keep-all;
    overflow-wrap: normal;
  }
  
  .hero p {
    font-size: 15px;
    margin: 22px 0 28px;
  
    word-break: keep-all;
  }
  
  
  /* ========================================
     BUTTON
  ======================================== */
  
  .btn {
    display: inline-block;
  
    background: var(--brown);
    color: #fff;
  
    padding: 13px 30px;
  
    font-size: 12px;
    letter-spacing: 0.08em;
  
    transition:
      background 0.3s ease,
      opacity 0.3s ease;
  }
  
  .btn:hover {
    opacity: 0.82;
  }
  
  
  /* ========================================
     COMMON SECTION
  ======================================== */
  
  .section {
    padding: 90px 0;
  }
  
  .intro-grid,
  .promise-grid,
  .gift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
  }
  
  .photo {
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    background: var(--ivory);
  }
  
  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .copy h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    margin: 8px 0 16px;
  }
  
  .copy p {
    font-size: 14px;
  }
  
  .price {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
  }
  
  
  /* ========================================
     OUR PROMISE
  ======================================== */
  
  .promise {
    background: var(--ivory);
  }
  
  .promise .photo {
    aspect-ratio: 1 / 1;
  }
  
  .promise-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
  }
  
  .promise-list li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(106, 74, 55, 0.15);
  }
  
  
  /* ========================================
     SECTION TITLE
  ======================================== */
  
  .section-title {
    text-align: center;
    margin-bottom: 48px;
  }
  
  .section-title .eyebrow {
    margin-bottom: 7px;
  }
  
  .section-title h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    letter-spacing: 0.04em;
  }
  
  .section-title p {
    font-size: 13px;
    margin: 7px 0 0;
  }
  
  
  /* ========================================
     RECOMMENDED SETS
  ======================================== */
  
  .sets {
    background: #f4f0e8;
  }
  
  .set-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
  }
  
  .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card h3 {
    font-size: 16px;
    margin: 14px 0 3px;
  }
  
  .card .meta {
    font-size: 12px;
  }
  
  .rating {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  
  
  /* ========================================
     OUR DONUTS
     焼きドーナツ一覧
  ======================================== */
  
  .products-grid {
    display: grid;
  
    /* PCは4列 */
    grid-template-columns: repeat(4, minmax(0, 1fr));
  
    /* 横24px・縦48px */
    column-gap: 24px;
    row-gap: 48px;
  
    align-items: start;
  }
  
  
  /* ---------- PRODUCT ---------- */
  
  .product {
    width: 100%;
    min-width: 0;
  }
  
  
  /* 商品画像をすべて同じ正方形にする */
  
  .product-img {
    position: relative;
  
    width: 100%;
    aspect-ratio: 1 / 1;
  
    overflow: hidden;
  
    background: var(--ivory);
  }
  
  
  /* 元画像の縦横比に関係なく統一 */
  
  .product-img img {
    position: absolute;
    inset: 0;
  
    width: 100%;
    height: 100%;
  
    object-fit: cover;
    object-position: center;
  }
  
  
  /* 商品名 */
  
  .product h3 {
    font-size: 14px;
    font-weight: 600;
  
    line-height: 1.5;
  
    margin: 11px 0 2px;
  
    word-break: keep-all;
  }
  
  
  /* 価格 */
  
  .product p {
    font-size: 12px;
    line-height: 1.5;
  
    margin: 0;
  
    color: var(--brown);
  }
  
  
  /* ========================================
     VIEW ALL
  ======================================== */
  
  .view-all {
    width: 100%;
    aspect-ratio: 1 / 1;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    text-align: center;
  
    border: 1px solid rgba(106, 74, 55, 0.45);
  
    background: transparent;
  
    color: var(--brown);
  
    font-family: Arial, "Noto Sans JP", sans-serif;
    font-size: 12px;
  
    line-height: 2;
    letter-spacing: 0.06em;
  
    transition:
      background 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease;
  }
  
  .view-all:hover {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
  }
  
  
  /* ========================================
     GIFT
  ======================================== */
  
  .gift-grid .photo {
    aspect-ratio: 1.35 / 1;
  }
  
  
  /* ========================================
     GUIDE
  ======================================== */
  
  .guide {
    background: var(--ivory);
  }
  
  .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .guide-card {
    border: 1px solid #bfb7aa;
  
    padding: 28px;
  
    text-align: center;
  
    background: rgba(255, 255, 255, 0.35);
  
    transition:
      background 0.3s ease,
      border-color 0.3s ease;
  }
  
  .guide-card:hover {
    background: #fff;
    border-color: var(--brown);
  }
  
  .guide-card h3 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  
  
  /* ========================================
     FOOTER
  ======================================== */
  
  .footer {
    background: #6f706b;
    color: #fff;
  
    padding: 65px 0 35px;
  }
  
  .footer-grid {
    display: grid;
  
    grid-template-columns:
      2fr
      repeat(3, 1fr);
  
    gap: 40px;
  }
  
  .footer h4 {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  
  .footer a {
    display: block;
  
    font-size: 11px;
  
    opacity: 0.9;
  
    padding: 3px 0;
  }
  
  .footer a:hover {
    opacity: 0.6;
  }
  
  .footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
  
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  
    font-size: 10px;
  
    display: flex;
    justify-content: space-between;
  }
  
  
  /* ========================================
     SUB PAGE
  ======================================== */
  
  .subhero {
    padding: 80px 0 55px;
  
    background: var(--ivory);
  
    text-align: center;
  }
  
  .subhero h1 {
    font-size: 42px;
  }
  
  .page-content {
    padding: 70px 0;
  }
  
  
  /* ========================================
     SIMPLE GRID
  ======================================== */
  
  .simple-grid {
    display: grid;
  
    grid-template-columns: repeat(3, 1fr);
  
    gap: 30px;
  }
  
  .simple-card {
    padding: 35px;
  
    border: 1px solid var(--line);
  
    background: #fff;
  }
  
  .simple-card h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  
    font-size: 22px;
  }
  
  
  /* ========================================
     PRODUCT DETAIL
  ======================================== */
  
  .detail {
    display: grid;
  
    grid-template-columns: 1.1fr 0.9fr;
  
    gap: 60px;
  
    align-items: start;
  }
  
  .detail .photo {
    aspect-ratio: 1 / 1;
  }
  
  .qty {
    display: flex;
  
    gap: 12px;
  
    align-items: center;
  
    margin: 22px 0;
  }
  
  .qty input {
    width: 70px;
  
    padding: 10px;
  
    border: 1px solid var(--line);
  }
  
  
  /* ========================================
     TABLET
  ======================================== */
  
  @media (max-width: 1000px) {
  
    .products-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
  }
  
  
  /* ========================================
     MOBILE
  ======================================== */
  
  @media (max-width: 800px) {
  
    .wrap {
      width: calc(100% - 28px);
    }
  
  
    /* HEADER */
  
    .header {
      height: 70px;
    }
  
    .nav {
      display: none;
    }
  
  
    /* HERO */
  
    .hero {
      height: 680px;
      min-height: 0;
    }
  
    .hero img {
      object-position: 68% center;
    }
  
    .hero::after {
      background: linear-gradient(
        0deg,
        rgba(247, 243, 234, 0.96),
        rgba(247, 243, 234, 0.05) 75%
      );
    }
  
    .hero-copy {
      left: 28px;
      right: 28px;
  
      width: auto;
      max-width: none;
  
      top: auto;
      bottom: 42px;
  
      transform: none;
    }
  
    .hero-copy h1 {
      font-size: 34px;
      line-height: 1.6;
    }
  
  
    /* SECTIONS */
  
    .section {
      padding: 65px 0;
    }
  
    .intro-grid,
    .promise-grid,
    .gift-grid,
    .detail {
      grid-template-columns: 1fr;
  
      gap: 30px;
    }
  
  
    /* SET */
  
    .set-grid {
      grid-template-columns: 1fr;
    }
  
  
    /* DONUT PRODUCTS */
  
    .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  
      column-gap: 14px;
      row-gap: 34px;
    }
  
    .product h3 {
      font-size: 13px;
    }
  
  
    /* GUIDE */
  
    .guide-grid,
    .simple-grid {
      grid-template-columns: 1fr;
    }
  
  
    /* TITLES */
  
    .copy h2,
    .section-title h2 {
      font-size: 28px;
    }
  
  
    /* FOOTER */
  
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .footer-bottom {
      display: block;
    }
  
  }