@charset "UTF-8";
/* ==========================================================
   漢の実り(KAN-NO-MINORI) トップページ
   タブレット:max-width 1023px / スマートフォン:max-width 767px
   ========================================================== */

:root {
  --ink: #222;
  --ink-soft: #555;
  --line: #9aa3a3;
  --beige: #e7e1d5;
  --navy: #0e2b53;
  --accent: #b5522f;
  --dark: #1e1e1e;
  --white: #fff;
  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --en-serif: "Cormorant Garamond", "Times New Roman", serif;
  --en-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  --cms-accent: #0e2b53;
  --cms-accent-soft: #e7e1d5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
dl,
dd,
ul,
figure,
h1,
h2 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

/* 飾りの花が横にはみ出しても、横に揺れないようにする */
.site-main {
  overflow-x: clip;
}

/* ----------------------------------------------------------
   ヘッダー
   ---------------------------------------------------------- */
.site-header__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 84px 0 136px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__brand {
  font-family: var(--en-sans);
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.site-header__tagline {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--navy);
  line-height: 1;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 62px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--en-sans);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.lang__current {
  font-weight: 400;
}

.lang__other {
  color: #b9b9b9;
}

.lang__sep {
  width: 1px;
  height: 14px;
  background: #d5d5d5;
}

.menu-btn {
  position: relative;
  z-index: 40;
  width: 32px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, top 0.3s;
}

.menu-btn span:nth-child(1) {
  top: 9px;
}

.menu-btn span:nth-child(2) {
  top: 14px;
}

.cms-drawer-open .menu-btn span:nth-child(1) {
  top: 12px;
  transform: rotate(20deg);
}

.cms-drawer-open .menu-btn span:nth-child(2) {
  top: 12px;
  transform: rotate(-20deg);
}

/* メニュー(開閉) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer__list {
  display: grid;
  gap: 28px;
  text-align: center;
  font-family: var(--mincho);
  font-size: 18px;
  letter-spacing: 0.2em;
}

.drawer__list a:hover {
  color: var(--navy);
}

/* 右の「石鹸のご購入はこちら」 */
.buy-tab {
  position: fixed;
  top: 60vh;
  right: 32px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 68px;
  padding: 24px 0 26px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-50%);
  transition: opacity 0.3s;
}

.buy-tab:hover {
  opacity: 0.85;
}

.buy-tab__icon {
  width: 16px;
  height: 16px;
  color: #d8b45a;
}

.buy-tab__text {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

/* 右のSNS */
.side-sns {
  position: fixed;
  right: 212px;
  bottom: 18vh;
  z-index: 15;
  display: grid;
  gap: 18px;
}

.side-sns svg {
  width: 17px;
  height: 17px;
  fill: #333;
  transition: fill 0.3s;
}

.side-sns a:hover svg {
  fill: var(--navy);
}

/* ----------------------------------------------------------
   メインビジュアル
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
}

.hero__flower {
  position: absolute;
  left: -420px;
  top: 480px;
  width: 900px;
  max-width: none;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 236px;
  display: flex;
  justify-content: space-between;
}

.hero__copy {
  writing-mode: vertical-rl;
  margin-left: 90px;
  font-family: var(--mincho);
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0.42em;
  height: 870px;
}

.hero__copy p + p {
  margin-block-start: 44px;
}

.hero__copy p:nth-child(2) {
  margin-top: 42px;
}

.hero__copy p:nth-child(3) {
  margin-top: 78px;
}

.hero__photos {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-right: 0;
  padding-top: 36px;
}

.hero__photo {
  box-shadow: 18px 22px 30px rgba(0, 0, 0, 0.12);
}

.hero__photo--1 {
  width: 233px;
  margin-top: 128px;
}

.hero__photo--2 {
  width: 213px;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 233 / 425;
  object-fit: cover;
}

.hero__photo--2 img {
  aspect-ratio: 213 / 403;
}

.hero__label {
  writing-mode: vertical-rl;
  margin-top: 210px;
  font-family: var(--en-serif);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.6em;
}

/* ----------------------------------------------------------
   はじまり・漢方成分などの段落
   ---------------------------------------------------------- */
.story {
  position: relative;
  padding: 120px 0 180px;
}

.story__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  align-items: end;
}

.story__heading {
  font-family: var(--mincho);
  font-size: 33px;
  line-height: 2.3;
  letter-spacing: 0.14em;
}

.story__body {
  margin-top: 36px;
  font-size: 13px;
  line-height: 2.5;
  color: #444;
}

.story__photo {
  justify-self: end;
  width: 100%;
  max-width: 485px;
}

.story__photo img {
  width: 100%;
  aspect-ratio: 485 / 527;
  object-fit: cover;
}

.story__photo--narrow {
  max-width: 300px;
  align-self: start;
  margin-right: 94px;
}

.story__photo--narrow img {
  aspect-ratio: 298 / 384;
}

.story__photo--shadow {
  box-shadow: 22px 26px 34px rgba(0, 0, 0, 0.12);
}

.story__flower {
  position: absolute;
  width: 640px;
  max-width: none;
  pointer-events: none;
}

.story__flower--right {
  right: -200px;
  bottom: -330px;
}

/* 段落の手前(はじまり)は上を少し詰める */
#story .story__text {
  padding-top: 230px;
}

/* 写真が右で、本文は下に広く */
.story--wide {
  padding-top: 40px;
}

.story--wide .story__inner {
  align-items: center;
}

.story--wide .story__photo {
  max-width: 410px;
}

.story--wide .story__photo img {
  aspect-ratio: 410 / 395;
}

.story--wide .story__body {
  grid-column: 1 / -1;
}

/* 写真が左・文章が右 */
.story--reverse .story__inner {
  grid-template-columns: 485px 1fr;
  align-items: center;
}

.story--reverse .story__photo {
  justify-self: start;
}

.story--reverse .story__photo img {
  aspect-ratio: 485 / 527;
}

/* 男性向け:写真が上、文章は写真の下端あたり */
.story--men {
  padding-bottom: 260px;
}

.story--men .story__inner {
  grid-template-columns: 1fr 485px;
  align-items: end;
}

.story--men .story__text {
  margin-bottom: -120px;
}

/* ----------------------------------------------------------
   英字の見出し
   ---------------------------------------------------------- */
.en-title {
  font-family: var(--en-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   お知らせ
   ---------------------------------------------------------- */
.info {
  padding: 0 0 200px;
}

.info__inner {
  max-width: 1256px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 335px 1fr;
}

.info__sub {
  position: relative;
  margin-top: 10px;
  padding-left: 13px;
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.info__sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-left: 14px;
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.more-link::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}

.more-link:hover::after {
  background: var(--accent);
  color: var(--white);
}

.info__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  border-top: 1px solid #e3e3e3;
  padding-top: 12px;
}

.info__item {
  border-bottom: 1px solid #e8e8e8;
}

.info__link {
  display: grid;
  grid-template-columns: 226px 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

.info__thumb {
  display: block;
  overflow: hidden;
}

.info__thumb img {
  width: 100%;
  aspect-ratio: 226 / 118;
  object-fit: cover;
  transition: transform 0.6s;
}

.info__link:hover .info__thumb img {
  transform: scale(1.05);
}

.info__meta {
  display: grid;
  gap: 4px;
  font-family: var(--mincho);
  line-height: 1.7;
}

.info__date {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.info__title {
  font-size: 12px;
  color: #444;
}

/* ----------------------------------------------------------
   商品情報
   ---------------------------------------------------------- */
.product {
  padding: 0 0 200px;
}

.product__inner {
  max-width: 1256px;
  margin: 0 auto;
}

.product__sub {
  margin: 6px 0 40px;
  font-family: var(--mincho);
  font-size: 13px;
}

.spec {
  border-top: 2px solid var(--line);
}

.spec__row {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  min-height: 77px;
  padding: 18px 8px;
  border-bottom: 2px solid var(--line);
}

.spec dt {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.spec dd {
  font-size: 14px;
  color: #444;
  letter-spacing: 0.14em;
}

/* ----------------------------------------------------------
   会社情報
   ---------------------------------------------------------- */
.company {
  padding: 0 0 140px;
}

.company__inner {
  max-width: 1256px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 590px;
  gap: 76px;
  align-items: end;
}

.company__lead {
  margin-top: 30px;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.16em;
  color: #444;
}

.company__name {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.company__detail {
  padding-top: 22px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #444;
}

/* ----------------------------------------------------------
   ご購入
   ---------------------------------------------------------- */
.purchase {
  position: relative;
  overflow: hidden;
  background: #262322;
  color: var(--white);
  text-align: center;
}

.purchase__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(0.4);
}

.purchase__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 92px 20px 80px;
}

.purchase__title {
  font-family: var(--en-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.purchase__lead {
  margin-top: 34px;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.14em;
}

.purchase__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
}

.purchase__col {
  padding: 0 90px;
}

.purchase__col + .purchase__col {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.purchase__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.purchase__tel {
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.purchase__tel span:first-child {
  font-size: 15px;
}

.line-btn,
.shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: background 0.3s, color 0.3s;
}

.line-btn {
  margin-top: 30px;
}

.shop-btn + .shop-btn {
  margin-top: 16px;
}

.line-btn:hover,
.shop-btn:hover {
  background: var(--white);
  color: var(--ink);
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--white);
}

.site-footer__inner {
  max-width: 1568px;
  margin: 0 auto;
  padding: 76px 114px 64px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__brand {
  font-family: var(--en-sans);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.site-footer__company {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-footer__address {
  margin-top: 40px;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.06em;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.site-footer__nav {
  display: flex;
  gap: 38px;
  margin-top: 36px;
  font-family: var(--en-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer__nav a:hover {
  opacity: 0.7;
}

.site-footer__copy {
  margin-top: 60px;
  font-family: var(--en-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------
   タブレット
   ---------------------------------------------------------- */
@media (max-width: 1023px) {
  .site-header__inner {
    padding: 32px 32px 0;
  }

  .site-header__tools {
    gap: 32px;
  }

  .side-sns {
    right: 24px;
    bottom: 120px;
  }

  .buy-tab {
    right: 0;
    width: 52px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 120px;
  }

  .hero__inner {
    padding: 180px 40px 0;
  }

  .hero__copy {
    margin-left: 0;
    font-size: 40px;
    height: 640px;
  }

  .hero__flower {
    width: 640px;
    left: -320px;
    top: 520px;
  }

  .hero__photo--1 {
    width: 180px;
  }

  .hero__photo--2 {
    width: 165px;
  }

  .story__inner,
  .info__inner,
  .product__inner,
  .company__inner {
    padding: 0 40px;
  }

  .story__inner {
    column-gap: 48px;
  }

  .story__heading {
    font-size: 26px;
  }

  .story__photo--narrow {
    margin-right: 0;
  }

  #story .story__text {
    padding-top: 120px;
  }

  .story--reverse .story__inner {
    grid-template-columns: 1fr 1fr;
  }

  .story--men .story__inner {
    grid-template-columns: 1fr 1fr;
  }

  .story--men .story__text {
    margin-bottom: 0;
  }

  .info__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info__link {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  .spec__row {
    grid-template-columns: 220px 1fr;
  }

  .company__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .purchase__col {
    padding: 0 40px;
  }

  .site-footer__inner {
    padding: 64px 40px;
  }
}

/* ----------------------------------------------------------
   スマートフォン
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  body {
    font-size: 13px;
  }

  .site-header__inner {
    padding: 22px 20px 0;
  }

  .site-header__logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-header__brand {
    font-size: 16px;
  }

  .site-header__tagline {
    font-size: 9px;
  }

  .site-header__tools {
    gap: 20px;
  }

  .lang {
    display: none;
  }

  .side-sns {
    display: none;
  }

  /* 購入は画面の下に横長で */
  .buy-tab {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: row;
    justify-content: center;
    padding: 14px 0;
    transform: none;
  }

  .buy-tab__text {
    writing-mode: horizontal-tb;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero__inner {
    flex-direction: column;
    align-items: center;
    padding: 130px 20px 0;
  }

  .hero__copy p + p {
    margin-block-start: 22px;
  }

  .hero__copy {
    font-size: 30px;
    height: 520px;
    letter-spacing: 0.36em;
  }

  .hero__copy p:nth-child(2) {
    margin-top: 26px;
  }

  .hero__copy p:nth-child(3) {
    margin-top: 50px;
  }

  .hero__flower {
    width: 460px;
    left: -230px;
    top: 330px;
  }

  .hero__photos {
    gap: 16px;
    padding-top: 40px;
  }

  .hero__photo--1 {
    width: 132px;
    margin-top: 70px;
  }

  .hero__photo--2 {
    width: 122px;
  }

  .hero__label {
    margin-top: 120px;
  }

  .story {
    padding: 60px 0 90px;
  }

  .story__inner,
  .story--reverse .story__inner,
  .story--men .story__inner {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding: 0 24px;
  }

  #story .story__text {
    padding-top: 0;
  }

  .story__heading {
    font-size: 21px;
    line-height: 2.1;
  }

  .story__body {
    margin-top: 22px;
  }

  .story__photo,
  .story__photo--narrow,
  .story--wide .story__photo {
    justify-self: center;
    max-width: 100%;
    margin: 0;
  }

  .story__photo--narrow {
    order: -1;
    width: 72%;
  }

  .story--wide .story__body {
    margin-top: 0;
  }

  .story--men {
    padding-bottom: 100px;
  }

  .story--men .story__photo {
    order: -1;
  }

  .story__flower {
    width: 380px;
  }

  .story__flower--right {
    right: -160px;
    bottom: -180px;
  }

  .en-title {
    font-size: 32px;
  }

  .info,
  .product {
    padding-bottom: 100px;
  }

  .info__inner,
  .product__inner,
  .company__inner {
    padding: 0 20px;
  }

  .info__list {
    grid-template-columns: 1fr;
  }

  .info__link {
    grid-template-columns: 120px 1fr;
  }

  .spec__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 4px;
  }

  .company {
    padding-bottom: 80px;
  }

  .purchase__inner {
    padding: 64px 20px 60px;
  }

  .purchase__cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .purchase__col {
    padding: 0;
  }

  .purchase__col + .purchase__col {
    border-left: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    padding: 48px 20px 90px;
  }

  .site-footer__right {
    align-items: flex-start;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 0;
  }

  .site-footer__copy {
    margin-top: 32px;
  }
}
