:root {
  --main-green: #004E3E;
  --light-green: #E6F1ED;
  --text-main: #222;
  --text-sub: #555;
  --red-required: #b60000;
}

/* ============ Base ============ */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: var(--text-main);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.l-header {
  background-color: var(--main-green);
  text-align: center;
  padding: 12px 0;
}

.c-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.c-logo__img {
  width: 120px;
  height: auto;
}

.c-logo__text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.l-main {
  max-width: 768px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 10px;
}

/* ============ Intro ============ */
.p-service__intro {
  background: var(--light-green);
  padding: 24px 20px;
  border-bottom: 1px solid #c8dad4;
}
/* メインキャッチ */
.p-service__mainCatch {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-green);
  line-height: 1.3;
  text-align: left;
}

/* 行ごとにマーカー効果を出すため、各行をspanで囲む想定 */
.p-service__mainCatch span {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  z-index: 1;
}

.p-service__mainCatch span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.6em;
  background: rgba(79, 165, 139, 0.2); /* 淡い緑マーカー */
  z-index: -1;
  border-radius: 4px;
}

.p-service__intro {
  background: var(--light-green);
  padding: 24px 12px;
  border-bottom: 1px solid #c8dad4;
  overflow: hidden;
  height: 280px;
}

/* 上部紹介エリア */
.p-service__leadblock {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  max-width: 740px;
  margin: 0 auto;
  box-sizing: border-box;
}

.p-service__leadimg {
  flex: 0 0 48%;
  margin: 0;
}

.p-service__leadimg img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.p-service__leadtext {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.p-service__leadtext p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}


.p-service__features{
  padding: 0px 20px;  
}

.p-service__howto{
  padding: 0px 20px;    
}

/* ============ Section Title ============ */
/* セクションタイトル共通 */
.c-sectionTitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-green);
  margin: 28px 0 16px;
  line-height: 1.3;
  text-align: left;
}

.c-sectionTitle span {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  z-index: 1;
}

.c-sectionTitle span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.6em;
  background: rgba(79, 165, 139, 0.2); /* #4FA58Bの淡いマーカー */
  z-index: -1;
  border-radius: 4px;
}

/* ============ Features ============ */
.c-featureList {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.c-featureList li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px dashed #c8dad4;
  padding: 12px 0;
}
.c-feature__icon {
  width: 80px;
  flex-shrink: 0;
}
.c-feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  border-radius: 50%;
}
.c-feature__body h3 {
  font-size: 0.95rem;
  color: var(--main-green);
  font-weight: 900;
  margin-bottom: 4px;
}
.c-feature__body p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ============ How To ============ */
.c-howtoBlock {
  margin-bottom: 20px;
}
.c-howtoBlock h3 {
  font-size: 0.95rem;
  color: var(--main-green);
  font-weight: 600;
  margin-bottom: 6px;
}
.c-howtoBlock ol {
  list-style: none;
  padding-left: 0;
  counter-reset: num;
}
.c-howtoBlock ol li {
  counter-increment: num;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
  padding-left: 1.6em;
  position: relative;
}
.c-howtoBlock ol li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--main-green);
  color: #fff;
  font-size: 0.7rem;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  text-align: center;
  line-height: 1.2em;
}

.c-howto {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 768px;
  margin: 0 auto;
}

.c-howto__icon {
  margin: 0;  
}

.c-howto__icon img {
  width: 80px;
  height: auto;
  display: block;
}

.c-howto__body {
  flex: 1;
}

.c-howtoBlock {
  margin-bottom: 24px;
}

.c-howtoBlock h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--main-green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.c-howtoBlock h3::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: currentColor;
  opacity: 0.5;
}


.c-howtoBlock ol {
  counter-reset: num;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-howtoBlock li {
  counter-increment: num;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.c-howtoBlock li::before {
  content: counter(num);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--main-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

/* ============ Button ============ */
.c-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 83%;
  background: var(--main-green);
  color: #fff;
  max-width: 320px;
  margin: 30px auto;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: 0.3s;
}
.c-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.c-button__icon {
  width: 25px;
  height: 25px;
}
.c-button__icon img {
  width: 100%;
  height: auto;
}

/* ============ Footer ============ */
.l-footer {
  text-align: center;
  padding: 5px;
  background: #f7f7f7;
}
.c-copy {
  font-size: 0.8rem;
  color: #777;
}

/* --- 商品詳細専用 --- */
    .p-productDetail__info {
      padding: 20px 20px 0px 20px;
      max-width: 768px;
      margin: 0 auto;
    }
    .p-productDetail__mark {
      display: inline-block;
      background: #a2c3fe;
      color: #fff;
      padding: 2px 6px;
      font-size: 0.75rem;
      border-radius: 4px;
      margin-bottom: 8px;
      font-weight: 600;
    }
    .p-productDetail__titleSmall {
      font-size: 1.1rem;
      font-weight: 500;
    }
    .p-productDetail__titleLarge {
      font-size: 1.9rem;
      font-weight: 700;
    }
    .p-productDetail__number{
      font-size: 0.9rem;
      font-weight: 500;      
    }
    
    .p-productDetail__price {
      font-size: 1.7rem;
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--text-main);
    }
    
    .p-productDetail__yen {
      font-size: 1.5rem;
      font-weight: 600;
      margin-left: 2px;
    }
    
    .p-productDetail__tax {
      font-size: 1.3rem;
      font-weight: 400;
      margin-left: 2px;
    }
    
/* 商品画像だけ左右余白なしで画面幅いっぱい */
.p-productDetail__image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.p-productDetail__image img {
  width: 100%;
  height: auto;
  display: block;
}

.p-productDetail__textWrapper {
  padding: 20px 0px 0px 0px;
}

    .p-productDetail__point {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
      padding-bottom: 10px;
      border-bottom: 1px dashed #c8dad4;
    }
    .p-productDetail__pointTitle {
      font-weight: 700;
      font-size: 1.2rem;
    }
    .p-productDetail__pointIcon {
      display: inline-block;
      position: relative;
      background-color: #000;
      color: #fff;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 5px;
    }
    .p-productDetail__pointIcon::before {
      content: "";
      position: absolute;
      left: -10px;           /* 三角形を左に出す量を調整 */
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-right: 10px solid #000;
    }
        
    .p-productDetail__pointText {
      font-size: 0.85rem;
      color: var(--text-sub);
      padding-top: 6px;
      padding-left: 1.2em;
      text-indent: -1.2em;
      line-height: 1.4;
    }
    
    .p-productDetail__eatTime {
      margin-top:16px;
      display: flex;
      gap: 12px;
      margin-bottom: 24px;
    }
    .p-productDetail__eatTimeLabel {
      background-color: #000;
      color: #fff;
      font-size: 0.8rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 50px;
      margin-bottom: 8px;
      margin-top: 16px;
      text-align: center;
    }
    
    .p-productDetail__eatTime img {
      width: 150px;
      height: auto;
      border-radius: 6px;
    }
    .p-productDetail__eatTimeText {
      flex: 1;
      font-size: 0.85rem;
      color: var(--text-sub);
      line-height: 1.5;
    }
    .p-productDetail__eatTimeText strong {
      color: var(--main-green);
    }
    .c-button--full {
      width: 100%;
      max-width: none;
      box-sizing: border-box;
    }

    /* メッセージ */
    .p-message__titleBar {
      background-color: #f4f4f4;
      color: #000;
      font-weight: 700;
      font-size: 1.1rem;
      text-align: center;
      padding: 10px 0;
    }
/* message.php フォーム */
.p-message__form {
  padding: 20px;
}

.p-message__label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.p-message__label {
  display: block;
  position: relative;
  margin-bottom: 24px;
}

.p-message__label input,
.p-message__label textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  margin-top: 6px;
  box-sizing: border-box;
}

.p-message__label textarea {
  height: 150px;
  resize: vertical;
}

.p-message__label input::placeholder,
.p-message__label textarea::placeholder {
  color: #ccc;
  opacity: 0.7;
}

.p-message__count {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 12px;
  color: #999;
}

.p-message__error {
  font-size: 12px;
  color: #d00;
  margin-top: 4px;
  display: none; /* 初期は非表示 */
}
.is-error {
  border-color: #d00 !important;
  background-color: #fff5f5;
}
.p-message__error {
  margin-top: 4px;
}

/* payment.php 用 */
.p-payment__titleBar {
  position: relative;
}

.p-payment__backArrow {
  position: absolute;
  left: 12px;
  top: -0.5%;
  transform: scaleY(1.5);
  transform-origin: center;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.5rem;
}

.p-payment__section {
  padding: 0px 20px 0px 20px;
  margin-top: 30px;
  max-width: 768px;
  margin: 0 auto;
}

.p-payment__sectionTitle {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.p-payment__radio {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  margin: 8px 0 12px;
  font-weight: 600;
}

.p-payment__info{
  font-size: 1.1rem;
}

.p-payment__radio input {
  margin-right: 6px;
}

.p-payment__terms {
  font-size: 0.85rem;
  text-align: center;
  margin: 15px 0px 8px 0px;
}

.p-payment__terms a {
  color: var(--main-green);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.p-payment__note {
  font-size: 0.75rem;
  color: #777;
  text-align: center;
  line-height: 1.4;
  margin-top: 12px;
}

.p-payment__info strong {
  color: var(--main-green);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  color: #000;
  /*demo用リンク無し*/
  pointer-events: none;
}

.external-icon {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  transition: opacity 0.2s;
}

.external-link:hover .external-icon {
  opacity: 0.7;
}

/*注文完了ページ*/
    .p-complete__thanks {
      text-align: center;
      font-size: 1.4rem;
      font-weight: bold;
      margin: 40px 0 20px;
    }
    .p-complete__orderid {
      text-align: center;
      font-size: 1.2rem;
      margin-bottom: 30px;
    }
    .p-complete__orderid strong {
      font-size:18px;
      margin-top:6px;
      letter-spacing:1px;
    }
    .p-complete__message {
      text-align: center;
      line-height: 1.5;
      margin-bottom: 50px;
      font-size: 0.9rem;
    }
    .p-complete__giftSection {
      background: var(--light-green);
      padding: 20px 20px;
    }
    .p-complete__giftTitle {
      font-size: 1.3rem;
      font-weight: bold;
      border-bottom: 2px solid #000;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }
    .p-complete__giftText {
      text-align: center;
      margin-bottom: 30px;
      line-height: 1.8;
      font-size: 0.9rem;
    }
    .p-complete__image {
      text-align: center;
      margin-bottom: 30px;
    }
    .p-complete__image img {
      display: inline-block !important;
    }
    .p-complete__buttons {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
      margin: 0 auto;
    }
    
    .p-complete__button {
      display: inline-block;
      width: 100%;
      padding: 10px 0;
      border-radius: 6px;
      font-weight: bold;
      text-align: center;
      text-decoration: none;
      color: #fff;
      font-size: 1rem;
    }

    .p-complete__button:hover {
      opacity: 0.9;
    }
    
    /* アイコン */
    .p-complete__icon {
      width: 35px;
      height: 35px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
    }
    
    .p-complete__button--line {
      background: var(--main-green);
    }
    .p-complete__button--mail {
      background: var(--main-green);
    }
    .p-complete__button--copy {
      background: var(--main-green);
    }
    .p-complete__note {
      font-size: 0.9rem;
      color: #555;
      line-height: 1.4;
      margin-top: 40px;
      text-align: left;
    }

    /* モーダル */
    .p-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
    }
    .p-modal__content {
      background: #fff;
      padding: 30px 40px;
      border-radius: 8px;
      text-align: center;
    }
    .p-modal__content p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
    .p-modal__close {
      background: var(--main-green);
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
    }

    /* ====== receiveページ専用CSS ====== */
    .p-receive__container {
      text-align: center;
      padding: 20px 20px;
    }

    .p-receive__title {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .p-receive__line {
      width: 100%;
      height: 1px;
      background-color: #000;
      margin: 0 auto;
    }

    .p-receive__message {
      margin: 30px auto;
      max-width: 768px;
      font-size: 1rem;
      line-height: 1.8;
      text-align: left;
    }

    .p-receive__product {
      margin: 40px auto;
      max-width: 768px;
    }

    .p-receive__product img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .p-productDetail__titleSmall {
      font-size: 0.9rem;
      color: #555;
    }

    .p-productDetail__titleLarge {
      font-size: 1.2rem;
      font-weight: bold;
    }

    .p-productDetail__eatTimeLabel {
      margin-top: 20px;
      font-weight: bold;
      border-bottom: 2px solid #000;
      margin-bottom: 16px;
    }

    .p-productDetail__eatTime {
      margin-top: 10px;
    }

    .p-receive__deadline {
      font-size: 1rem;
      font-weight: bold;
      margin-top: 40px;
    }

    .p-receive__deadlineDate {
      font-size: 1.1rem;
      margin-top: 5px;
    }

    .p-receive__note {
      text-align: left;
      font-size: 0.9rem;
      color: #555;
      line-height: 1.4;
      margin: 30px auto;
      max-width: 768px;
    }

    .p-receive__button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--main-green);
      color: #fff;
      max-width: 320px;
      margin: 30px auto;
      padding: 12px;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.95rem;
      box-shadow: 0 3px 6px rgba(0,0,0,0.15);
      transition: 0.3s;
    }

    .p-receive__button:hover {
      opacity: 0.8;
    }