@charset "UTF-8";

/* ========================================
   Reset CSS (Eric Meyer Reset v2.0 | 20110126)
========================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* ========================================
   Google Fonts Import
========================================= */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900");
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");

/* ========================================
   CSS Variables (Colors, etc.)
========================================= */
:root {
  --base-color: #4A4848;
  --color-orange: #F27000;
  --color-green: #3DAD71;
}

/*img {
  filter: drop-shadow(2px 2px 2px var(--base-color));
}
*/

.pc_none {
  display: none;
}
@media screen and (max-width: 599px) {
  .pc_none {
    display: block;
  }
}
/* ========================================
   Base Styles
========================================= */
html {
  font-size: 10px; /* 基準10pxで計算しやすく */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: var(--base-color);
  line-height: 2.5rem;
  background-color: #fff7e6; /* 薄いオレンジ */
  margin: 0;
  padding: 0;
}

/* ========================================
   Header (Fixed Navigation)
========================================= */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  z-index: 9000; /* ナビメニューやボタンより上に表示 */
  background-color: #fff; /* 背景を白などに指定して透けないように */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 必要なら影で分離感を */
}

/* ========================================
   Page Wrapper
========================================= */
.page {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative; /* 相対位置の基準 */
  z-index: 1;
  overflow: hidden;
  /* padding-top: 60px; */
}

/* ========================================
   Hamburger Button
========================================= */
.nav-toggle {
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 9001;
  font-size: 2rem;
  background-color: var(--color-orange);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  box-sizing: border-box;
  width: 15rem;
  filter: drop-shadow(1px 1px 2px #999);
}
@media screen and (max-width: 599px) {
  .nav-toggle {
    font-size: 1.5rem;
  width: 12rem;
  }
}

.nav-toggle__label {
  display: flex;
  align-items: center;
}

.nav-toggle__label::before {
  content: '';
  width: 1.5em;
  height: 1em;
  display: inline-block;
  margin-right: 0.5em;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.nav-toggle__label--menu::before {
  background-image: url(../images/hamburger-open.png);
}

.nav-toggle__label--close {
  display: none;
}

.nav-toggle__label--close::before {
  background-image: url(../images/hamburger-close.png);
}

.nav-toggle.open .nav-toggle__label--menu {
  display: none;
}

.nav-toggle.open .nav-toggle__label--close {
  display: flex;
}

/* ========================================
   Navigation Menu
========================================= */
.section-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #fff;
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9000;
  padding-top: 8rem;
}

.section-nav.open {
  transform: translateX(0);
  opacity: 1;
}

.section-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-nav__item a {
  display: flex;
  place-items: center;
  height: 7rem;
  padding: 1rem;
  padding-left: 0;
  box-sizing: border-box;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;

  background-position: left 3rem center;
  background-repeat: no-repeat;
  background-size: auto 25px;
  text-indent: -9999px;
  overflow: hidden;
  border: none;
}

.section-nav__item a::before {
  content: '';
  background-color: #FFB200;
  display: block;
  width: 2rem;
  height: .5rem;
  margin-right: 1rem;
}

#nav-benimadonna a {
  background-image: url(../images/menu-benimadonna.png);
  background-size: auto 40px;
}
#nav-benimadonna a::before {
  background-color: var(--color-orange);
}

#nav-harehime a {
  background-image: url(../images/menu-harehime.png);
}
#nav-senryou a {
  background-image: url(../images/menu-senryou.png);
}
#nav-ajipika a {
  background-image: url(../images/menu-ajipika.png);
}
#nav-mikan a {
  background-image: url(../images/menu-mikan.png);
}
#nav-others a {
  background-image: url(../images/menu-others.png);
}
#nav-gift a {
  background-image: url(../images/menu-gift.png);
  background-size: auto 20px;
}
#nav-gift a::before {
  background-color: var(--color-green);
}

.section-nav__item a:hover {
  background-color: #f0f0f0;
}

/* ========================================
   Online Store Button (Top Right Wrapper)
========================================= */
.online-store {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  z-index: 9002;
  pointer-events: auto;
}

.online-store a {
  background-image: url(../images/online-store.png);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(-1px 1px 2px #999);
}

/* ========================================
   Main Visual
========================================= */
.main-visual {
  position: absolute;
}

#benimadonna-campaign {
  padding-top: calc(((2821 - 300) / 1500) * 100%);
}

.mikan-section__text {
  padding: 2rem;
  font-size: 1.8rem;
}
@media screen and (max-width: 599px) {
  .mikan-section__text {
    padding: 1rem;
  }
}

/* ========================================
   Featured Products Section
========================================= */
#featured-products {
  background-image: url(../images/featured.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 170px 0;
  /*margin-top: 50px;*/
}

.featured-products__title {
  color: var(--color-green);
  font-size: 3.4rem;
  font-weight: bold;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 1rem;
}

.featured-products__text {
  font-size: 2rem;
  text-align: center;
  padding: 0 20px;
}

/* ========================================
   Mikan List Section
========================================= */
#mikan-list {
  position: relative;
  top: -150px;
}
#mikan-list::after {
  content: '';
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 120px;
  background-image: url(../images/back.webp);
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: -1;
}

/* ========================================
   Product List Common Styles
========================================= */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem;
}

/* 2-column grid for "others" section */
#others .product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem;
  gap: 1rem;
}

/* Responsive: for small screens (max-width: 599px) */
/* コメントアウトされているので必要なら有効化してください */
/*
@media screen and (max-width: 599px) {
  #others .product-list {
    grid-template-columns: 1fr;
  }
}
*/

/* ========================================
   Individual Product Item Styles
========================================= */
.product-item {
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 599px) {
  .product-item {
    padding: 5rem 0;
  }
}

.product__images {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 599px) {
  .product__images {
    max-width: 300px;
  }
}

.product__images::before {
  content: '';
  background-image: url(../images/imark.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2000;
}
@media screen and (max-width: 599px) {
  .product__images::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 0;
  }
}

.product-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(2px 2px 2px var(--base-color));
}
@media screen and (max-width: 599px) {
  .product-item img {
    max-height: 300px;
  }
}

/* ========================================
   Brand Name Styling
========================================= */
.product-brand {
  color: var(--color-green);
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding: 0;
  text-align: center;
}

.product-brand::before {
  content: "〈";
  margin-right: 0.2em;
  color: var(--color-green);
}

.product-brand::after {
  content: "〉";
  margin-left: 0.2em;
  color: var(--color-green);
}

/* ========================================
   Product Name Styling
========================================= */
.product-name {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0.5rem 0 1rem;
  text-align: center;
  line-height: 1.4em;
}

/* ========================================
   Bottom Wrapper for Price and Buttons
========================================= */
.product-info-bottom {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Price Group (Vertical Stack) */
.price-group {
  display: flex;
  place-items: center;
}
@media screen and (max-width: 599px) {
  .price-group {
    font-size: 2.4rem;
  }
}

/* Product Price */
.product-price {
  font-weight: bold;
  line-height: 1.2;
  font-size: 3rem;
}

/* Base Price */
.product-base-price {
  font-weight: bold;
  line-height: 1.2;
  font-size: 2rem;
}

@media screen and (max-width: 599px) {
  .product-price {
    font-size: 2.8rem;
  }

  .product-base-price {
    font-size: 1.6rem;
  }
}

/* ========================================
   Order Button Styling
========================================= */
.product-order {
  width: 250px;
  margin: 1rem auto 0;
}
.order-button {
  display: inline-block;
  padding: 0.8rem 0.5rem 0.8rem 1.5rem;
  background-color: var(--color-green);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: bold;
  white-space: nowrap;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
  min-width: 15rem;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.order-button::after {
  content: "〉";
  margin-left: 0.5em;
  color: white;
  font-weight: bold;
}

.order-button:hover {
  background-color: #004d00;
  color: white;
}

.order-button:hover::after {
  color: white;
}

/* ========================================
   Product Category Section
========================================= */
.mikan-section {
  position: relative;
}

.mikan-section h2 {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  font-size: 0;
  height: 0;
}

/* Product Description */
.product-description {
  padding: 2rem;
  font-size: 2.6rem;
  line-height: 1.8em;
}
@media screen and (max-width: 599px) {
  .product-description {
    font-size: 1.8rem;
  }
}
/* ========================================
   Specific Sections by ID
========================================= */

/* 紅まどんな Section */
#benimadonna {
  padding-top: 280px;
}
@media screen and (max-width: 599px) {
  #benimadonna {
    padding-top: 150px;
  }
}

#benimadonna h2 {
  background-image: url(../images/benimadonna-slider_1.webp);
  padding-top: calc((710 / 1200) * 100%);
  position: absolute;
  top: -40px;
  z-index: 3001;
}
@media screen and (max-width: 599px) {
  #benimadonna h2 {
    top: 0;
  }
}

#benimadonna .product-slider {
  position: relative;
  background-color: #fff;
}

#benimadonna .product-slider::after {
  content: '';
  background-image: url(../images/benimadonna-slider_2.webp);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  display: block;
  width: 100%;
  padding-top: calc((1046 / 1200) * 100% + 5px);
  z-index: 3000;
  top: 0;
}

/* 瀬戸の晴れ姫 Section */
#harehime {}

#harehime h2 {
  background-image: url(../images/harehime.webp);
  padding-top: calc((2008 / 1200) * 100%);
}

/* 日の丸千両 Section */
#senryou {}

#senryou h2 {
  background-image: url(../images/senryou.webp);
  padding-top: calc((1875 / 1200) * 100%);
}

/* 味ピカ Section */
#ajipika {}

#ajipika h2 {
  background-image: url(../images/ajipika.webp);
  padding-top: calc((1822 / 1200) * 100%);
}

/* 愛媛みかん Section */
#mikan {}

#mikan h2 {
  background-image: url(../images/mikan.webp);
  padding-top: calc((1742 / 1200) * 100%);
}

/* そのほかのみかん Section */
#others {
  position: relative;
}

#others h2 {
  background-image: url(../images/others.webp);
  padding-top: calc((1000 / 1200) * 100%);
}

#others .product-description {
  position: absolute;
  top: 0;
  padding-top: calc((1000 / 1200) * 100% - 35%);
  text-align: center;
  width: 100%;
}

#others .product-item {
  gap: 0.5rem;
}

#others .product-item img {
  max-width: 100%;
  height: 200px;
}
@media screen and (max-width: 599px) {
  #others .product-item img {
    height: 120px;
  }
}

#others .product-info-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
@media screen and (max-width: 599px) {
  #others .product-info-bottom {
    justify-content: unset;
  }
}

#others .product-brand {
  text-align: left;
}
#others .product-brand {
  text-align: center;
}
@media screen and (max-width: 599px) {
  #others .product-brand {
    font-size: 1.6rem;
  }
}
#others .product-name {
  text-align: left;
  font-size: 2rem;
}
#others .product-name {
  text-align: center;
}
#others .price-group {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 2rem;
}
#others .price-group {
  align-items: center;
}
@media screen and (max-width: 599px) {
  #others .price-group {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 599px) {
  #others .product-price {
    font-size: 2.4rem;
  }
  #others .product-base-price {
    font-size: 1.8rem;
  }
}

#others .order-button {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
@media screen and (max-width: 599px) {
  #others .product-order {
    width: 100%;
  }
  #others .order-button {
    width: 100%;
    font-size: 1.4rem;
  }
}

/* みかんギフト Section */
#gift {
  position: relative;
}

#gift h2 {
  background-image: url(../images/gift.webp);
  padding-top: calc((1785 / 1200) * 100%);
}

#gift .product-description {
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 30%;
  text-align: left;
  width: 60%;
}

#gift .product-list {
  padding: 0;
  position: absolute;
  bottom: 20%;
}
@media screen and (max-width: 599px) {
  #gift .product-list {
    bottom: 10%;
  }
}

#gift .product-item {
  padding: 0;
  text-align: center;
}
#gift img {
  max-width: 90%;
  max-height: 90%;
  margin-bottom: 3rem;
}
#gift .product-order {
  margin: auto;
}
/* フッター */
footer {
  padding: calc((847 / 1200) * 100%) 1rem 2rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--base-color);
  position: relative;
}

footer::before {
  content: '';
  background-image: url(../images/mican.webp);
  padding-top: calc((847 / 1200) * 100%);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 100%;
  font-size: 0;
  height: 0;
  position: absolute;
  top: -50px;
}

footer p {
  margin-top: 5rem;
  font-size: 1rem;
}

/* メディアクエリ補足 */
@media screen and (max-width: 599px) {
  body {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .nav-toggle {
    width: 12rem;
    font-size: 1.4rem;
  }

  /* その他小さい画面用調整 */
}

/* ユーティリティクラス（必要に応じて追加） */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.p-1 {
  padding: 1rem;
}

/* ボタン共通調整 */
button, .btn {
  cursor: pointer;
  border-radius: 4px;
  border: none;
  font-weight: bold;
}

/* リンクボタン */
a.btn-link {
  color: var(--base-color);
  text-decoration: underline;
  font-size: 2rem;
}


