/* =====================================
 COMMON
===================================== */

:root {
  --site-width: 520px;
  --green: #003333;
  --nav-green: #e3e37e;
  --gold: #929248;
  --orange: #c48a4d;
  --business-bg: #faf8f4;
  --line-gray: #b4b4b4;
  --sub-green: #0b6c4c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f2f2f2;
  color: #000;
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

.page-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

.page-section {
  padding: 50px 0 56px;
  background: #fff;
}

/* =====================================
 HEADER
===================================== */

.site-header {
  background: #fff;
  padding-top: 24px;
}

.site-logo {
  display: block;
  width: 260px;
  margin: 0 0 18px 28px;
}

.global-nav {
  background: var(--nav-green);
  min-height: 48px;
  position: relative;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--green);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

/* =====================================
 COMMON HEADING
===================================== */

.section-heading {
  text-align: center;
  margin-bottom: 15px;
}

.section-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
}

.section-en::before,
.section-en::after {
  content: "";
  display: block;
  flex: 0 0 18px;
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.section-heading p:last-child {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

/* =====================================
 BUTTON
===================================== */

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 16px;
  line-height: 1.4;
}

/* =====================================
 BUSINESS
 1ページ目から安全版で移植
===================================== */

.business {
  background: var(--business-bg);
  padding: 52px 28px 70px;
}

.business-list {
  display: grid;
  gap: 28px;
}

.business-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 185px;
  min-height: 190px;
  background: #fff;
  border: 1px solid var(--line-gray);
  border-radius: 10px;
  overflow: hidden;
}

.business-card-text {
  position: relative;
  z-index: 2;
  padding: 12px 0 12px 20px;
}

.business-num {
  position: relative;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}

.business-num::after {
  content: "";
  display: block;
  width: 2px;
  height: 46px;
  background: #b4b4b4;
  margin: 10px 0 0 8px;
}

.business-card h3 {
  margin: -65px 0 0 40px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.business-en {
  margin: 0 0 12px 42px;
  color: var(--sub-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.business-desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  color: var(--gold);
  font-size: 16px;
  border-bottom: 1px solid var(--gold);
  line-height: 1.6;
}

.business-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 18px 0;
}

.business-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

/* =====================================
 PRODUCT
 1ページ目から安全版で移植
===================================== */

.product-section {
  background: #fff;
  padding: 56px 0 60px;
}

.product-inner {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.product-inner > h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.product-inner > p:not(.section-en) {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
}

.product-card-area {
  background: #faf8f4;
  padding: 32px 20px 40px;
}

.product-card {
  background: #fdfcfa;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
  text-align: left;
}

.product-card:last-child {
  margin-bottom: 0;
}

.product-img-wrap {
  background: #fdfcfa;
}

.product-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.product-text {
  background: #fdfcfa;
  padding: 18px 18px 22px;
}

.product-category-en {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0 0 6px;
}

.product-name {
  color: #000;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.product-description {
  color: #000;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 auto 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 auto 20px;
}

.product-tags span {
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
}

/* 商品カード：見出しを画像上に重ねる用 */

.product-card-food,
.product-card-heart {
  position: relative;
}

.product-card-food .product-category-en,
.product-card-food .product-name,
.product-card-heart .product-category-en,
.product-card-heart .product-name {
  position: absolute;
  left: 20px;
  z-index: 2;
}

.product-card-food .product-category-en,
.product-card-heart .product-category-en {
  top: 20px;
}

.product-card-food .product-name,
.product-card-heart .product-name {
  top: 42px;
}

.product-card-food .product-text .product-category-en,
.product-card-food .product-text .product-name,
.product-card-heart .product-text .product-category-en,
.product-card-heart .product-text .product-name {
  margin: 0;
}

.product-card-shampoo .product-text {
  padding-top: 18px;
}

.product-card-shampoo .product-img-wrap {
  padding-top: 10px;
}

.product-card-shampoo .product-img-wrap img {
  width: 88%;
  margin: 0 auto;
}

.product-text-heading {
  padding: 20px 18px 0;
}

.product-text-heading .product-category-en {
  margin: 0 0 6px;
}

.product-text-heading .product-name {
  margin: 0;
}

.product-card-wanderich .product-img-wrap {
  padding-top: 20px;
}

.product-card-wanderich .product-img-wrap img {
  width: 95%;
  margin: 0 auto;
}


/* =====================================
 D2C PAGE
===================================== */

.d2c-page {
  background: #fff;
}

/* =====================================
FV
===================================== */

.d2c-fv {
  background: #fff;
}

.d2c-fv-visual {
  position: relative;
  width: 100%;
  line-height: 0;
}

.d2c-fv-visual > img {
  display: block;
  width: 100%;
}

/* -----------------
テキスト
----------------- */

.d2c-fv-text {
  position: absolute;
  left: 7%;
  top: 5%;
  width: 80%;
  text-align: left;
  line-height: 1;
}

.d2c-fv-text h1 {
  margin: 0 0 30px;
  color: #000;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 700;
}

.d2c-fv-text p {
  margin: 0;
  color: #000;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  width: 60%;
}

/* 2つ目以降のpだけ */
.d2c-fv-text p + p {
  margin-top: 12px;
}

/* -----------------
CTAオーバーレイ
（520pxデザイン基準）
----------------- */

.d2c-fv-link {
  position: absolute;
  left: 62px;
  top: 534px;
  width: 398px;
  height: 51px;
  z-index: 10;
  display: block;
}

/* BRAND STORY */

.d2c-brand {
  padding: 44px 0 50px;
  background: #fff;
}

.d2c-brand-lead {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 21px;
  line-height: 1.8;
  font-weight: 700;
  text-align: center;
}

.d2c-brand-text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 2;
}

.d2c-brand-text:last-child {
  margin-bottom: 0;
}

/* WHY PETS RECO */

.d2c-reason {
  padding: 48px 0 54px;
  background: #fff;
}

.d2c-reason-lead {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.d2c-reason-list {
  display: grid;
  gap: 16px;
}

.d2c-reason-card {
  position: relative;
  min-height: 104px;
  padding: 18px 18px 18px 95px;
  border: 1px solid var(--line-gray);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.d2c-reason-icon {
  position: absolute;
  width: 70px;
  height: auto;
  left: 10px;
  top: 10px;
  z-index: 2;
}


.d2c-reason-card h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #f0c8b7;

  color: #5c693a;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.d2c-reason-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}


/* =====================================
 FOR WHO 
===================================== */

.d2c-forwho {
  padding: 48px 0 54px;
  background: #faf8f4;
}

.d2c-forwho-lead {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.d2c-forwho-visual {
  position: relative;
  width: 100%;
  line-height: 0;
}

.d2c-forwho-visual > img {
  width: 100%;
  display: block;
}

.d2c-forwho-text {
  position: absolute;
  left: 20%;
  width: 46%;
  line-height: 1.8;
  text-align: left;
}

.d2c-forwho-text h3 {
  margin: 0 0 12px;
  color: #000;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
}

.d2c-forwho-text p {
  margin: 0;
  width: 130%;
  color: #000;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;

  position: relative;
  left: -35%;
}


.d2c-forwho-text--01 {
  top: 7%;
}

.d2c-forwho-text--01 p {
  position: relative;
  top: 15px;
}


.d2c-forwho-text--02 {
  top: 40%;
}

.d2c-forwho-text--02 p {
  position: relative;
  top: 15px;
}


.d2c-forwho-text--03 {
  top: 73%;
}

.d2c-forwho-text--03 p {
  position: relative;
  top: 15px;
}


/* =====================================
 SERVICE FEATURES
===================================== */

.d2c-feature {
  padding: 48px 0 54px;
  background: #fff;
}

.d2c-feature-lead {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.d2c-feature-visual {
  position: relative;
  width: 100%;
  line-height: 0;
}

.d2c-feature-visual > img {
  width: 100%;
  display: block;
}

.d2c-feature-text {
  position: absolute;
  left: 20%;
  width: 46%;
  line-height: 1.8;
  text-align: left;
}

.d2c-feature-text h3 {
  margin: 0 0 12px;
  color: #000;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 900;
}

.d2c-feature-text p {
  margin: 0;
  width: 100%;
  color: #000;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  font-weight: 500;

  position: relative;
  left: -30%;
}

.d2c-feature-text--01 {
  top: 4.5%;
}

.d2c-feature-text--01 p {
  top: 20px;
}

.d2c-feature-text--02 {
  top: 38.5%;
}

.d2c-feature-text--02 p {
  top: 15px;
}

.d2c-feature-text--03 {
  top: 70%;
}

.d2c-feature-text--03 p {
  top: 15px;
}


/* RELATED BUSINESS */
/* ← このページ専用 */

.d2c-related {
  padding: 48px 0 56px;
  background: #fff;
  text-align: center;
}

.d2c-related-text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.d2c-related-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.d2c-related-links a {
  display: block;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}


/* =====================================
 FOOTER
===================================== */

.site-footer {
  background: #929248;
  color: #fff;
  padding: 32px 28px 18px;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
}

.footer-company {
  margin-bottom: 18px;
}

.footer-company-name {
  color: #fff;
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
}

.footer-company-en {
  color: #fff;
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
  margin: 2px 0 0;
}

.footer-address {
  font-family: "Arimo", sans-serif;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer-address p {
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.footer-nav-column {
  padding: 16px 14px 18px;
  border-right: 1px solid #fff;
}

.footer-nav-column:last-child {
  border-right: none;
}

.footer-nav-title {
  color: #fff;
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 14px;
}

.footer-nav-column a {
  display: block;
  font-family: "Arimo", sans-serif;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-copy {
  font-family: "Arimo", sans-serif;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  margin: 18px 0 0;
}

/* =====================================
 SP MENU
===================================== */

@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .site-logo {
    width: 230px;
    margin-left: 24px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 14px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 0 12px;
  }

  .global-nav.is-open .nav-list {
    display: flex;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list a {
    display: block;
    padding: 10px;
  }

  /* fv（390pxデザイン基準） */

  .d2c-fv-text {
    left: 7%;
    top: 5%;
    width: 80%;
  }

  .d2c-fv-text h1 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.45;
  }

  .d2c-fv-text p {
    width:65%;
    font-size: 12px;
    line-height: 1.7;
  }

  /* CTAオーバーレイ（390pxデザイン基準） */

  .d2c-fv-link {
    left: 46px;
    top: 400px;
    width: 298px;
    height: 38px;
  }

  .product-card-heart .product-category-en {
    top: 12px;
  }

  .product-card-heart .product-name {
    top: 30px;
  }

  /* WHY PETSRECO：スマホ用微調整 */
  .d2c-reason-card h3 {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
  }

  .d2c-reason-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
  }

  /* FOR WHO：スマホ用微調整 */
  .d2c-forwho-text h3{
    font-size:15px;
  }

  .d2c-forwho-text p{
    width:135%;
    left:-35%;
    font-size:12px;
    line-height:1.5;
  }

  .d2c-forwho-text--01 p{
    top:8px;
  }

  .d2c-forwho-text--02 p{
    top:8px;
  }

  
  .d2c-forwho-text p {
    width: 135%;
    left: -35%;
  }

  .d2c-forwho-text--01 p {
    top: 8px;
  }

  .d2c-forwho-text--02 p {
    top: 8px;
  }

  .d2c-forwho-text--03 p {
    top: 3px;
  }  


  /* SERVICE FEATURES：スマホ用微調整 */

  .d2c-feature-text h3 { 
    margin: 0 0 12px; 
    color: #000; 
    font-size: 18px; 
    line-height: 1.45; 
    font-weight: 900; 
  }

  .d2c-feature-text p {
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    left: -30%;
  }

  .d2c-feature-text--01 {
    top: 4.5%;
  }

  .d2c-feature-text--01 p {
    top: 8px;
  }

  .d2c-feature-text--02 {
    top: 38.5%;
  }

  .d2c-feature-text--02 p {
    top: 1px;
  }

  .d2c-feature-text--03 {
    top: 70%;
  }

  .d2c-feature-text--03 p {
    top: 1px;
  }  



  /*  SP ADJUST：BUSINESS */
 .business {
    padding: 42px 18px 56px;
  }

  .business-list {
    gap: 24px;
  }

  .business-card {
    grid-template-columns: 1fr 42%;
    min-height: 0;
  }

  .business-card-text {
    padding: 7px 0 10px 8px;
  }

  .business-num {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .business-num::after {
    height: 42px;
    margin-top: 8px;
  }

  .business-card h3 {
    margin: -60px 0 0 26px;
    font-size: 24px;
    line-height: 1.25;
  }

  .business-en {
    margin: 0 0 10px 26px;
    font-size: 12px;
  }

  .business-desc {
    max-width: 95%;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .text-link {
    font-size: 14px;
  }

  .business-img {
    padding: 0px 10px 0px 0px;
    position:relative;
    top:-25px;
  }

  .business-img img{
    width:108%;   /* 105～112%くらいで好みに調整 */
    max-width:none;
    aspect-ratio:1/1;
    object-fit:cover;
  }

  
}