@charset "UTF-8";
/* --------------------------------------------------
 オンラインショップ（page-online-shop.php）専用
--------------------------------------------------- */

.online-shop {
  --os-text: #302a2e;
  --os-accent: #815866;
  --os-brand: #a15c7d;
  --os-num: #b88a9e;
  --os-muted: #736b70;
  --os-note: #7a7378;
  --os-tab-off: #9999a5;
  --os-border: #ece9eb;
  --os-rule: #e5e1e3;
  --os-sub: #e8ecf1;
  --os-base: #f5f5f3;
  --os-placeholder: #f9f6f7;
  --os-shop: #50668c;
  --os-line: #06c755;
  --os-font-en: "Manrope", sans-serif;
  --os-font-jp: "Noto Sans JP", sans-serif;
  color: var(--os-text);
  font-family: var(--os-font-jp);
  font-size: 14px;
  line-height: 1.8;
}
.online-shop *,
.online-shop *::before,
.online-shop *::after {
  box-sizing: border-box;
}
/* リセットは :where() で詳細度を下げ、各クラスの指定が優先されるようにする */
.online-shop :where(h1, h2, h3, p, ul, ol, dl, dd) {
  margin: 0;
  padding: 0;
}
.online-shop :where(ul, ol) {
  list-style: none;
}
.online-shop :where(img) {
  display: block;
  max-width: 100%;
}
.online-shop :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.os-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し
--------------------------------------------------- */
.os-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.os-heading__en {
  font-family: var(--os-font-en);
  font-size: 28px;
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--os-text);
}
.os-heading__jp {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--os-accent);
}
.os-heading__jp::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--os-accent);
  opacity: 0.55;
}
@media screen and (min-width: 768px) {
  .os-heading__en {
    font-size: 38px;
  }
}

/* ボタン
--------------------------------------------------- */
.os-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}
.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 180px;
  height: 46px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}
.os-btn:hover {
  opacity: 0.8;
}
.os-btn--shop {
  background: var(--os-shop);
}
.os-btn--line {
  width: 220px;
  font-size: 16px;
  white-space: nowrap;
  background: var(--os-line);
}
.os-btn img {
  width: 16px;
  height: 16px;
}

/* ファーストビュー
--------------------------------------------------- */
.os-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 260px;
  margin-top: 60px;
  overflow: hidden;
}
.os-hero__bg {
  position: absolute;
  inset: 0;
}
.os-hero__bg img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.os-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 25.347%, rgba(255, 255, 255, 0) 68.889%);
}
.os-hero__inner {
  position: relative;
  width: 100%;
}
.os-hero__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 400;
}
.os-hero__jp {
  font-size: 14px;
  line-height: 1.25;
  color: var(--os-text);
}
.os-hero__en {
  font-family: var(--os-font-en);
  font-size: 40px;
  font-weight: 200;
  line-height: 1.2;
  color: var(--os-accent);
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .os-hero__en {
    font-size: 60px;
  }
}
@media screen and (min-width: 1024px) {
  .os-hero {
    height: 300px;
    margin-top: 130px; /* 固定ヘッダー70px＋グローバルナビ60px */
  }
}

/* パンくず
--------------------------------------------------- */
.os-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--os-muted);
}
.os-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
}
.os-breadcrumb a {
  display: inline;
  color: var(--os-muted);
  text-decoration: none;
}
.os-breadcrumb a:hover {
  text-decoration: underline;
}
.os-breadcrumb li[aria-current] {
  color: var(--os-accent);
}

/* オンラインショップについて
--------------------------------------------------- */
.os-about {
  padding: 48px 0;
  background: #fff;
}
.os-about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.os-about__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.os-about__catch {
  font-size: 18px;
  line-height: 1.65;
  color: var(--os-accent);
}
.os-about__text {
  line-height: 1.9;
}
.os-about__text p + p {
  margin-top: 1.9em;
}
.os-about__img {
  aspect-ratio: 640 / 480;
}
.os-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 1024px) {
  .os-about {
    padding: 72px 0;
  }
  .os-about__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }
  .os-about__body {
    flex: 0 0 480px;
  }
  .os-about__catch {
    font-size: 21px;
  }
  .os-about__img {
    flex: 1 1 0;
    min-width: 0;
    height: 480px;
    aspect-ratio: auto;
  }
}

/* オンラインショップの特徴
--------------------------------------------------- */
.os-features {
  padding: 48px 0;
  background: var(--os-sub);
}
.os-features__lead {
  margin-top: 24px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
}
.os-features__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.os-features__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--os-border);
}
.os-features__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--os-rule);
}
.os-features__num {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--os-font-en);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--os-num);
}
.os-features__num span {
  font-size: 11px;
  font-weight: 500;
  color: var(--os-accent);
}
.os-features__img {
  width: 250px;
  max-width: 100%;
  aspect-ratio: 1;
}
.os-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.os-features__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.os-features__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--os-brand);
}
@media screen and (min-width: 768px) {
  .os-features__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .os-features {
    padding: 72px 0;
  }
}

/* ご利用方法
--------------------------------------------------- */
.os-howto {
  padding: 48px 0;
  background: #fff;
}
.os-howto__flow {
  margin-top: 40px;
}
.os-howto__tabs {
  display: flex;
}
.os-howto__tab {
  flex: 1 1 0;
  padding: 14px 8px 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--os-tab-off);
  border-bottom: 1px solid var(--os-border);
  transition: color 0.3s;
}
.os-howto__tab.is-active {
  padding-bottom: 11px;
  color: var(--os-brand);
  border-bottom: 3px solid var(--os-brand);
}
.os-howto__panel {
  padding: 32px 0;
}
.os-howto__panel[hidden] {
  display: none;
}
.os-howto__lead {
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
}
.os-howto__slider {
  overflow: hidden;
}
.os-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--os-border);
}
.os-step__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.os-step__badge {
  flex-shrink: 0;
  padding: 5px 14px;
  font-family: var(--os-font-en);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--os-brand);
}
.os-step__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--os-brand);
}
.os-step__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 16px;
  background: #fff;
}
.os-step__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.os-step__placeholder {
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--os-note);
}
.os-step__text {
  letter-spacing: 0.02em;
}
.os-step__note {
  font-size: 12px;
  color: var(--os-note);
}
.os-step__note--highlight {
  font-size: 13px;
  font-weight: 500;
  color: var(--os-shop);
}
.os-howto__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.os-howto__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--os-border);
  border-radius: 20px;
  transition: opacity 0.3s;
}
.os-howto__arrow img {
  width: 20px;
  height: 20px;
}
.os-howto__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}
.os-howto__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.os-howto__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: var(--os-rule);
  border-radius: 50%;
  opacity: 1;
}
.os-howto__dots .swiper-pagination-bullet-active {
  background: var(--os-brand);
}
.os-howto .os-btns {
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .os-howto__tab {
    padding: 18px 8px 17px;
    font-size: 20px;
  }
  .os-howto__tab.is-active {
    padding-bottom: 15px;
  }
  .os-howto__panel {
    padding: 32px 40px;
  }
  .os-step {
    padding: 28px;
  }
  .os-step__title {
    font-size: 18px;
  }
  .os-step__img {
    height: 260px;
  }
}
@media screen and (min-width: 1024px) {
  .os-howto {
    padding: 72px 0;
  }
}

/* おすすめ商品
--------------------------------------------------- */
.os-pickup {
  padding: 48px 0;
  background: var(--os-base);
}
.os-pickup__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
  margin: 40px 0;
}
.os-product,
.os-product__link {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.os-product__link {
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.os-product__link:hover .os-product__img img {
  transform: scale(1.04);
}
.os-product__link:hover .os-product__name {
  text-decoration: underline;
}
.os-product__img {
  position: relative;
  aspect-ratio: 285 / 310;
  background: var(--os-base);
  overflow: hidden;
}
.os-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.os-product__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  font-family: var(--os-font-en);
  font-size: 9px;
  font-weight: 500;
  color: var(--os-accent);
  background: rgba(255, 255, 255, 0.91);
}
.os-product__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.os-product__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--os-accent);
}
@media screen and (min-width: 768px) {
  .os-pickup__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .os-pickup {
    padding: 72px 0;
  }
}

/* 配送について
--------------------------------------------------- */
.os-shipping {
  padding: 48px 0;
  background: var(--os-sub);
}
.os-shipping__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.os-shipping__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--os-border);
}
.os-shipping__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--os-brand);
}
.os-shipping__table {
  width: 100%;
  border-collapse: collapse;
}
.os-shipping__table tr {
  border-bottom: 1px solid var(--os-rule);
}
.os-shipping__table tr:first-child {
  border-top: 1px solid var(--os-rule);
}
.os-shipping__table th,
.os-shipping__table td {
  padding: 12px 4px;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.os-shipping__table th {
  font-weight: 500;
  color: var(--os-muted);
}
.os-shipping__table td {
  text-align: right;
}
.os-shipping__note,
.os-shipping__text {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--os-note);
}
@media screen and (min-width: 768px) {
  .os-shipping__body {
    flex-direction: row;
  }
  .os-shipping__block {
    flex: 1 1 0;
  }
}
@media screen and (min-width: 1024px) {
  .os-shipping {
    padding: 72px 0;
  }
}

/* よくある質問
--------------------------------------------------- */
.os-faq {
  padding: 48px 0;
  background: #fff;
}
.os-faq__list {
  margin-top: 40px;
  border-bottom: 1px solid var(--os-rule);
}
.os-faq__item {
  border-top: 1px solid var(--os-rule);
}
.os-faq__q {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 18px 12px;
  text-align: left;
}
.os-faq__mark {
  flex: 0 0 26px;
  font-family: var(--os-font-en);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--os-accent);
}
.os-faq__mark--a {
  color: var(--os-brand);
}
.os-faq__question {
  flex: 1 1 0;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--os-text);
}
.os-faq__icon {
  flex: 0 0 18px;
  height: 18px;
  background: url(../img/online-shop/icon-plus.svg) no-repeat center / contain;
}
.os-faq__item.is-open .os-faq__icon {
  background-image: url(../img/online-shop/icon-minus.svg);
}
.os-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 12px 32px;
}
.os-faq__a[hidden] {
  display: none;
}
.os-faq__answer {
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  color: var(--os-muted);
}
@media screen and (min-width: 768px) {
  .os-faq__q {
    padding: 18px 20px;
  }
  .os-faq__a {
    padding: 0 60px 32px 20px;
  }
}
@media screen and (min-width: 1024px) {
  .os-faq {
    padding: 72px 0;
  }
}
