@charset "UTF-8";

/* =========================================================
Awashima Coffee Theme - Product Detail
========================================================= */

.aw-product_detail .ec-layoutRole,
.aw-product_detail .ec-layoutRole__contents,
.aw-product_detail .ec-layoutRole__main,
.aw-product_detail .ec-role {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* =====================================================
shop header layout
===================================================== */

.aw-product_detail .ec-layoutRole__header {
  display: none !important;
}

.aw-product_detail {
  padding-top: 132px;
}

.aw-product_detail .ec-pageHeader,
.aw-product_detail .ec-pageHeader h1,
.aw-product_detail .ec-categoryNaviRole,
.aw-product_detail .ec-itemNav {
  display: none !important;
}

.aw-product_detail .ec-headerRole {
  background: #fff;
}

.aw-product_detail .ec-headerTitle__title,
.aw-product_detail .ec-headerTitle h1,
.aw-product_detail .ec-headerTitle .ec-headerTitle__title a {
  display: none !important;
}

.aw-product_detail .ec-headerTitle__title img,
.aw-product_detail .ec-headerTitle img {
  display: block !important;
  width: 220px;
  height: auto;
}

/* =========================================================
page
========================================================= */

.aw-detail {
  padding: 96px 24px 120px;
  background:
    url("/html/user_data/assets/img/bg_content_header2.jpg")
    center 0 / 1600px auto
    no-repeat #fff;
  color: #332922;
  box-sizing: border-box;
}

.aw-detail__container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* =========================================================
header
========================================================= */

.aw-detail__header {
  max-width: 1080px;
  margin: 40px auto 92px;
  text-align: center;
}

.aw-detail__title {
  margin: 0;
  line-height: 1;
}

.aw-detail__title span {
  display: block;
}

.aw-detail__country {
  margin-bottom: 10px;
  color: #7a4b2e;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .18em;
}

.aw-detail__name {
  color: #120800;
  font-family: "Noto Serif JP", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .12em;
}

.aw-detail__category {
  display: inline-block;
  margin: 30px 0 0;
  padding: 5px 28px;
  border: 1px solid rgba(36,23,15,.12);
  color: #6e5a4c;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.7;
  background: rgba(255,255,255,.55);
}

/* =========================================================
main layout
========================================================= */

.aw-detail__section {
  margin: 0;
}

.aw-detail__main {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 38%);
  justify-content: space-between;
  align-items: start;
  gap: 6%;
  margin-top: -24px;
}

/* =========================================================
gallery
========================================================= */

.aw-detail__gallery {
  width: 100%;
}

.aw-detail__mainImage {
  width: 100%;
  background: #f8f6f1;
  overflow: hidden;
}

.aw-detail__mainImage img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.aw-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.aw-detail__thumb {
  border: 1px solid rgba(36, 23, 15, .14);
  background: #f8f6f1;
  cursor: pointer;
  overflow: hidden;
  transition:
    opacity .25s ease,
    border-color .25s ease;
}

.aw-detail__thumb:hover,
.aw-detail__thumb.is-current {
  border-color: #793d12;
  opacity: .82;
}

.aw-detail__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* =========================================================
info / price
========================================================= */

.aw-detail__info {
  width: 100%;
}

.aw-detail__price {
  margin: 0 0 22px;
  color: #120800;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .08em;
}

/* =========================================================
form
========================================================= */

.aw-detail__form {
  padding: 32px 40px 34px;
  background: rgba(248, 246, 241, .94);
  box-sizing: border-box;
}

.aw-detail__formText {
  margin: 0 0 22px;
  color: #43352d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
}

.aw-detail__actions {
  margin: 0;
}

.aw-detail__formRow {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.aw-detail__label {
  color: #43352d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
}

.aw-detail__selectWrap {
  width: 100%;
  max-width: 250px;
  margin: 0 !important;
}

.aw-detail__select,
.aw-detail__selectWrap select,
.aw-detail__quantity input {
  width: 100%;
  height: 42px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(36, 23, 15, .22);
  background: #fff;
  color: #24170f;
  font-size: 14px;
  letter-spacing: .04em;
  box-sizing: border-box;
}

.aw-detail__select:focus,
.aw-detail__selectWrap select:focus,
.aw-detail__quantity input:focus {
  outline: none;
  box-shadow: none;
  border-color: rgba(36, 23, 15, .34);
}

.aw-detail__formRow--quantity .aw-detail__quantity {
  max-width: 84px;
}

.aw-detail__quantity input {
  width: 100%;
  padding: 0 10px;
  text-align: center;
}

.aw-detail__btnArea {
  margin-top: 22px;
}

.aw-detail__cartBtn {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(61, 36, 22, .9);
  background: #fff;
  color: #3d2416;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  cursor: pointer;
  transition:
    background .25s ease,
    color .25s ease,
    opacity .25s ease;
}

.aw-detail__cartBtn:hover {
  background: #3d2416;
  color: #fff;
  opacity: .96;
}

.aw-detail__cartBtn.is-disabled {
  opacity: .45;
  cursor: default;
}

.aw-detail__favoriteForm {
  margin: 12px 0 0;
}

.aw-detail__favoriteBtn {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(36, 23, 15, .18);
  background: #fff;
  color: #43352d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .10em;
}

.aw-detail__note {
  margin: 12px 0 0;
  color: #5a4b42;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: .04em;
}

.aw-detail__links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.aw-detail__links li {
  margin-bottom: 2px;
}

.aw-detail__links a {
  color: #5a4b42;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s ease;
}

.aw-detail__links a:hover {
  color: #793d12;
  text-decoration: none;
}

/* =========================================================
story flex / flavor and origin summary
========================================================= */

.aw-detail__storyGrid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
  max-width: 1080px;
  margin: 56px auto 0;
}

.aw-detail__storyBlock {
  flex: 1;
  min-width: 0;
}

.aw-detail__storyBlock .aw-detail__sectionTitle {
  margin-bottom: 20px;
}


.aw-detail__flavor {
  margin: 0 0 10px;
  padding-left: 0;
}

.aw-detail__flavor span {
  display: block;
  margin-bottom: 4px;
  color: #5a4638;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .06em;
}

.aw-detail__flavor span::before {
    content: "・";
    margin-right: .2em;
}

/* 一般商品の味わい説明のみ */

.aw-detail .aw-detail__storyGrid:not(.aw-detail__storyGrid--assort)
.aw-detail__storyBlock--flavor
.aw-detail__lead{
    margin-top:24px;
}

.aw-detail__lead,
.aw-detail__originSummaryBody {
  color: #4a3d35;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: .04em;
}

/* =========================================================
description / freearea
========================================================= */

.aw-detail__description,
.aw-detail__freearea {
  margin-top: 30px;
  padding-top: 15px;
  border-top: none;
}

.aw-detail__sectionTitle {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 23, 15, .10);
  color: #120800;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .10em;
  line-height: 1.55;
  text-align: left;
}

.aw-detail__descriptionBody {
  max-width: 860px;
  margin: 0 auto;
  color: #4a3d35;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: .04em;
}

.aw-detail__freearea {
  border-top: none !important;
  padding-top: 0 !important;
}

.product-detail-explain--grid {
  border-top: none !important;
}

.product-detail-explain {
  border-top: none !important;
}

/* =========================================================
origin information
========================================================= */

.aw-origin {
  margin-top: 64px;
}

.aw-origin__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding-bottom: 42px;
  border-bottom: 0;
}

.aw-origin__block {
  min-width: 0;
}

.aw-origin__title {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 23, 15, .10);
  color: #120800;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .10em;
  line-height: 1.55;
}

.aw-origin__spec {
  margin: 0;
}

.aw-origin__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 12px;
}

.aw-origin__row dt {
  position: relative;
  margin: 0;
  padding-right: 0;
  color: #43352d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .04em;
}

.aw-origin__row dt::after {
  content: "：";
  position: absolute;
  right: 0;
  top: 0;
  color: #43352d;
}

.aw-origin__row dd {
  margin: 0;
  color: #4a3d35;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: .04em;
}

.aw-origin__comment p {
  margin: 0 0 12px;
  color: #4a3d35;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: .04em;
}

.aw-origin__comment strong {
  color: #4a3d35;
  font-weight: 400;
}

.aw-origin__bottom {
  padding-top: 42px;
}

.aw-origin__text p {
  margin: 0 0 12px;
  color: #4a3d35;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .04em;
}

.aw-origin__text p:first-child {
  margin-top: 34px;
}

/* =========================================================
freearea detail explain
========================================================= */

.product-detail-explain {
  margin: 46px 0 0;
  padding: 34px 0 0;
  border-top: 1px solid rgba(36,23,15,.12);
  color: #332922;
  font-family: "Noto Sans JP", sans-serif;
}

.product-detail-explain--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.product-detail-explain__block:last-child {
    margin-left: -4px;
}

@media screen and (max-width: 767px) {
  .product-detail-explain--grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

.product-detail-explain__heading {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36,23,15,.10);
  color: #120800;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .10em;
  line-height: 1.55;
}

.product-detail-explain dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  margin: 0 0 8px;
  padding: 0;
}

.product-detail-explain dt {
  margin: 0;
  color: #43352d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.product-detail-explain dd {
  margin: 0;
  color: #4a3d35;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .05em;
}

.product-detail-explain b {
  color: #3d2416;
  font-weight: 500;
}

.product-detail-explain--grid {
  align-items: start;
}

/* =========================================================
detail footer breadcrumb
========================================================= */

.aw-detailFooterBreadcrumb {
  position: relative;
  top: -72px;
  max-width: 1080px;
  margin: 0 auto -72px;
  padding: 0 24px;
  color: #6e5a4c;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .04em;
  box-sizing: border-box;
}

.aw-detailFooterBreadcrumb a {
  color: #6e5a4c;
  text-decoration: none !important;
  transition: color .2s ease, opacity .2s ease;
}

.aw-detailFooterBreadcrumb a:hover {
  color: #793d12;
  opacity: .85;
}

.aw-detailFooterBreadcrumb span {
  margin: 0 6px;
}

.aw-detailFooterBreadcrumb span:last-child {
  color: #4a3d35;
}

/* =========================================================
modal
========================================================= */

.aw-product_detail .ec-modal-wrap {
  border-radius: 0;
}

.aw-product_detail .ec-inlineBtn--action {
  background: #3d2416;
  border-color: #3d2416;
}

.aw-product_detail footer.aw-footer {
  clear: both;
  width: 100%;
}

/* =========================================================
global link/focus reset in product detail
========================================================= */

.aw-product_detail a,
.aw-product_detail a:hover,
.aw-product_detail a:focus,
.aw-product_detail a:active {
  text-decoration: none !important;
}

.aw-product_detail a:focus,
.aw-product_detail button:focus,
.aw-product_detail input:focus,
.aw-product_detail select:focus,
.aw-product_detail textarea:focus {
  outline: none;
  box-shadow: none;
}

/* =========================================================
hide review
========================================================= */

.ec-productRole__review,
.ec-productReviewRole,
.ec-reviewRole,
.ec-review,
.review_wrap,
.review-area,
#product_review_area,
#reviewArea {
  display: none !important;
}

.ec-accordion:has(.ec-accordionTitle),
.ec-accordion:has(.ec-accordionTitle__icon) {
  display: none !important;
}

/* =========================================================
responsive
========================================================= */

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

  .aw-detail__main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .aw-detail__info {
    max-width: 620px;
    margin: 0 auto;
  }

}

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

  .aw-product_detail {
    padding-top: 72px;
  }

  .aw-detail {
    padding: 36px 20px 96px;
    background:
      url("/html/user_data/assets/img/bg_content_header2.jpg")
      center 0 / 1300px auto
      no-repeat #fff;
  }

  .aw-detail__header {
    margin: 0 auto 46px;
  }

  .aw-detail__country {
    font-size: 14px;
  }

  .aw-detail__name {
    font-size: 24px;
    letter-spacing: .10em;
  }

  .aw-detail__category {
    min-width: 0;
    padding: 7px 18px;
    font-size: 12px;
  }

  .aw-detail__thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
  }

  .aw-detail__form {
    padding: 26px 20px 28px;
  }

  .aw-detail__formRow {
    grid-template-columns: 78px 1fr;
  }

  .aw-detail__storyGrid {
    display: block;
    margin-top: 48px;
  }

  .aw-detail__storyBlock {
    width: 100%;
    margin-bottom: 40px;
  }

  .aw-detail__storyBlock:last-child {
    margin-bottom: 0;
  }

  .aw-detail__description,
  .aw-detail__freearea {
    margin-top: 72px;
    padding-top: 46px;
  }

  .aw-detail__sectionTitle {
    font-size: 16px;
  }

  .aw-origin {
    margin-top: 62px;
  }

  .aw-origin__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 42px;
  }

  .aw-origin__title {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .aw-origin__row {
    grid-template-columns: 84px 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .aw-origin__row dt,
  .aw-origin__row dd,
  .aw-origin__comment p,
  .aw-origin__text p {
    font-size: 14px;
    line-height: 1.95;
  }

  .aw-origin__bottom {
    padding-top: 42px;
  }

  .product-detail-explain {
    margin-top: 34px;
    padding-top: 28px;
  }

  .product-detail-explain dl {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 18px;
  }

  .product-detail-explain__heading {
    font-size: 20px;
  }

}

/* =========================================================
assort detail layout
========================================================= */

.aw-detail .aw-detail__storyGrid.aw-detail__storyGrid--assort {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 64px 68px !important;
  align-items: start;
}

.aw-detail .aw-detail__storyGrid--assort .aw-detail__storyBlock {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.aw-detail .aw-detail__storyGrid--assort .aw-detail__storyBlock:not(:first-child) .aw-detail__sectionTitle {
  margin-bottom: 20px !important;
}

.aw-detail .aw-detail__storyGrid--assort .aw-detail__storyBlock--flavor .aw-detail__flavor {
  margin-top: 0 !important;
}

/* =========================================================
story block spacing normalize
========================================================= */

/* 共通：見出し下の余白を統一 */
.aw-detail .aw-detail__storyBlock .aw-detail__sectionTitle {
  margin-bottom: 20px !important;
}

/* 共通：本文側でマイナス調整しない */
.aw-detail .aw-detail__lead,
.aw-detail .aw-detail__originSummaryBody {
  margin-top: 0 !important;
}

/* 一般商品の味わい：箇条書き後のリードだけ少し空ける */
.aw-detail .aw-detail__storyGrid:not(.aw-detail__storyGrid--assort)
.aw-detail__storyBlock--flavor
.aw-detail__lead {
  margin-top: 24px !important;
}

/* アソート：見出し直下の本文は詰めすぎない */
.aw-detail .aw-detail__storyGrid--assort
.aw-detail__storyBlock
.aw-detail__originSummaryBody {
  margin-top: -30px !important;
}

/* アソートの味わいリード調整 */
.aw-detail .aw-detail__storyGrid--assort
.aw-detail__storyBlock--flavor
.aw-detail__lead {
  margin-top: -15px !important;
}