/*!
共通のスタイル
------------------------------
*/

:root {
  --color-font-base: #5d5d5d;
  --color-font-primary: #baa8a2;
  --color-font-black: #333333;
  --color-font-white: #ffffff;
  --color-border: #eeeeee;
  --color-bg-primary: #baa8a2;
  --color-bg-primary-light: #baa8a226;
  --font-noto: "Noto Sans JP", serif;
  --font-lato: "Lato", serif;
  --font-noto-serif: "Noto Serif JP", serif;
}

/* base-text */
body {
  line-height: 1.8;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-font-base);
  font-family: var(--font-noto-serif);
}
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

.spacer {
  width: 100%;
  height: 47px;
}
@media screen and (min-width: 768px) {
  .spacer {
    height: 86px;
  }
}

/* ---------------------------------
レイアウト
--------------------------------- */
.l-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.l-container {
  width: 90%;
  max-width: 1080px;
  margin-inline: auto;
  flex: 1;
}

.l-main-container-s {
  max-width: 920px;
  margin-inline: auto;
}

.l--container-s {
  max-width: 920px;
}

.l-section {
  display: grid;
  gap: 48px;
  padding: 96px 0;
  align-items: center;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .l-section {
    gap: 80px;
    padding: 160px 0;
  }
}

.l-maxwidth {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.l-section-img {
  aspect-ratio: 360/180;
  object-fit: scale-down;
}
@media screen and (min-width: 768px) {
  .l-section-img {
    aspect-ratio: 1366/640;
  }
}

@media screen and (min-width: 768px) {
  .l-br-sp {
    display: none;
  }
}

.l-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 48px;
}
@media screen and (min-width: 768px) {
  .l-list {
    grid-template-columns: repeat(2, 2fr);
    gap: 80px;
  }
}

.l-listitem {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.--display-pc-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .--display-pc-only {
    display: inline-block;
  }
  .--display-sp-only {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .l-width-fit {
    width: fit-content;
  }
}

/* ---------------------------------
コンポーネント
--------------------------------- */
.c-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .c-title-wrap {
    gap: 20px;
  }
}

.c-title-level1 {
  font-family: var(--font-lato);
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: var(--color-font-black);
}
@media screen and (min-width: 768px) {
  .c-title-level1 {
    font-size: 32px;
  }
}

.c-title-jp {
  line-height: 1;
  padding-left: 0.08em;
}
@media screen and (min-width: 768px) {
  .c-title-jp {
    font-size: 18px;
  }
}

.c-button {
  display: grid;
  place-items: center;
  margin-top: auto;
}

.c-view-button {
  display: inline-block;
  font-family: var(--font-lato);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.1em;
  background-color: var(--color-bg-primary);
  color: var(--color-font-white);
  padding: 19.5px 0;
  text-align: center;
  min-width: 260px;
  /* margin-inline: auto; */
}
@media screen and (min-width: 768px) {
  .c-view-button {
    font-size: 18px;
    padding: 18.5px 0;
    min-width: 324px;
  }
}

/* ---------------------------------
header
--------------------------------- */
.header {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1366px;
  justify-content: space-between;
  margin-inline: auto;
  height: 60px;
}
@media screen and (min-width: 768px) {
  .header {
    height: 80px;
    width: 100vw;
  }
}

.header-logo {
  width: 70px;
  height: auto;
}
@media screen and (min-width: 768px) {
  .header-logo {
    width: 85px;
    margin-left: 32px;
  }
}

.header-logo img {
  width: 100%;
  aspect-ratio: 70/17.12;
  object-fit: cover;
}

.header-cart-icon-wrap {
  width: 24px;
}
@media screen and (min-width: 768px) {
  .header-cart-icon-wrap {
    width: 26px;
    margin-right: 32px;
  }
}

/* ---------------------------------
footer
--------------------------------- */
.footer {
  background-color: var(--color-bg-primary);
  padding: 40px 0 20px;
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 56px 0 24px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
}
@media screen and (min-width: 768px) {
  .footer-inner {
    align-items: stretch;
    padding-bottom: 40px;
  }
}

.footer-logo {
  width: 84px;
  margin-bottom: 24px;
  /* aspect-ratio: 84/20; */
  object-fit: cover;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .footer-list {
    justify-content: flex-start;
    gap: 24px;
  }
}

.footer-item {
  display: flex;
}

.footer-link {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-font-white);
}
@media screen and (min-width: 768px) {
  .footer-link {
    font-size: 14px;
  }
}

.footer-copyright {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-font-white);
  display: block;
  margin-top: 20px;
}

/* ---------------------------------
top
--------------------------------- */
.top-kv-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .top-kv-wrap {
    flex-direction: row-reverse;
    align-items: center;
  }
  .top-kv-text-wrap {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    height: 427px;
  }
}

.top-kv-title {
  font-family: var(--font-noto-serif);
  font-size: 24px;
  line-height: 2.3;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
@media screen and (min-width: 768px) {
  .top-kv-title {
    font-size: 40px;
    margin-bottom: 96px;
  }
}

.top-kv-title span {
  display: block;
}

@media screen and (min-width: 768px) {
  .top-kv-view-button {
    position: absolute;
    /* padding: 18.5px 126px; */
    width: 360px;
    flex-shrink: 0;
    bottom: 0;
  }
}

.top-kv {
  aspect-ratio: 360 / 200;
}
@media screen and (min-width: 768px) {
  .top-kv {
    aspect-ratio: 903/689;
    max-width: 903px;
    margin-left: auto;
    object-fit: cover;
  }
}

.top-kv-img {
  width: 100%;
  height: auto;
}

/*---- feature ----*/

.top-feature-img-wrap {
  aspect-ratio: 324/182;
  object-fit: cover;
}

.top-feature-img {
  aspect-ratio: 324/182;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .top-feature-img {
    aspect-ratio: auto;
    width: 100%;
    height: auto;
  }
}

.top-feature-list {
  display: grid;
  gap: 48px;
}
@media screen and (min-width: 500px) {
  .top-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .top-feature-list {
    grid-template-rows: auto auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 60px;
  }
}

.top-feature-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 768px) {
  .top-feature-item:nth-child(1) {
    grid-column: 1/4;
  }
  .top-feature-item:first-child {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .top-feature-1st-img {
    max-width: 50%;
  }
}

.top-feature-textarea {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media screen and (min-width: 768px) {
  .top-feature-textarea {
    flex: 1;
  }
}

.top-feature-title-english {
  font-family: var(--font-lato);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  color: var(--color-bg-primary);
}

.top-feature-title {
  font-family: var(--font-noto-serif);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--color-font-black);
}
@media screen and (min-width: 768px) {
  .top-feature-title {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .top-feature-title-coconut {
    font-size: 16px;
  }
}

/*--- lineup ---*/

.top-lineup-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 48px;
}
@media screen and (min-width: 768px) {
  .top-lineup-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 81px 80px;
  }
}

.top-lineup-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.top-lineup-img-wrap {
  aspect-ratio: 324/370;
  object-fit: cover;
  max-width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .top-lineup-img-wrap {
    aspect-ratio: 420/480;
  }
}

.top-lineup-txt-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-lineup-title {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .top-lineup-title {
    font-size: 20px;
  }
}

.top-lineup-txt span {
  display: block;
}

.top-lineup-item .c-button {
  margin-top: auto;
}

/*--- インスタ ---*/

.top-instagram-title-jp {
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  .top-instagram-title-jp {
    line-height: 1;
  }
}

.top-instagram-list {
  display: flex;
  gap: 9px;
}
@media screen and (min-width: 768px) {
  .top-instagram-list {
    gap: 24px;
  }
}

.top-instagram-button {
  padding: 19.5px 51px;
}
@media screen and (min-width: 768px) {
  .top-instagram-button {
    font-size: 16px;
    padding: 19.5px 83px;
  }
}

/* ---------------------------------
product
--------------------------------- */

.product-top-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 90%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .product-top-container {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    width: 100%;
  }
}

.product-item-img {
  display: grid;
  aspect-ratio: 323.75/370;
  object-fit: cover;
  place-items: center;
}
@media screen and (min-width: 768px) {
  .product-item-img {
    aspect-ratio: 420/480;
    flex: 1;
  }
}

.product-txt-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .product-txt-container {
    justify-content: center;
    height: fit-content;
    flex: 1;
  }
}

.product-item-name {
  font-family: var(--font-noto-serif);
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .product-item-name {
    font-size: 26px;
    margin-bottom: 24px;
  }
}

@media screen and (min-width: 768px) {
  .product-buy-btn {
    width: 360px;
    justify-items: start;
  }
}

/*--- Related Products ---*/

.related-product-container {
  background-color: var(--color-bg-primary-light);
}

.related-product-title {
  line-height: 1.6;
  letter-spacing: 0.4em;
}
@media screen and (min-width: 768px) {
  .related-product-title {
    line-height: 1;
  }
}

.related-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}
@media screen and (min-width: 768px) {
  .related-product-list {
    gap: 80px;
  }
}

.related-product-item-title {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .related-product-item-title {
    font-size: 20px;
  }
}

.related-product-item-txt{
  margin-top: 8px;
}

.related-product-item-txt span {
  display: block;
}

@media screen and (min-width: 768px) {
  .related-product-item:nth-child(1) {
    order: 2;
  }
  .related-product-item:nth-child(2) {
    order: 1;
  }
  .related-product-item:nth-child(3) {
    order: 3;
  }
}

.product-img-wrap {
  max-width: 326px;
  aspect-ratio: 324/370;
  object-fit: cover;
  margin-inline: auto;
}

@media screen and (min-width: 500px) {
  .product-morebtn {
    min-width: 0;
    width: 100%;
  }
}

/* ---------------------------------
404
---------------------------------*/

.error-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .error-container {
    gap: 40px;
  }
}

.error-title-wrap {
  gap: 0;
}

.error-title {
  font-size: 24px;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  .error-title {
    font-size: 36px;
  }
}
