@charset "utf-8";
/* *************************************
header
************************************* */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  height: calc(80 * var(--rem));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  @media (width < 768px) {
    background: #fff;
  }
}

/* フロントページ用ヘッダー */
.header--front {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  @media (width < 768px) {
   background: #fff;
  }
}

.header--front.is-active {
  background: var(--main);
  box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 0.2);
}

/* 下層ページ用ヘッダー */
.header--sub {
  background: var(--main);
  box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 0.1);
}

.header--sub .header__list li a span {
  color: var(--text);
  text-shadow: none;
  font-weight: 600;
}

.header--sub .header__tel-num {
  color: var(--text);
  text-shadow: none;
}

.header--sub .header__tel-text {
  color: var(--text);
  text-shadow: none;
}

.header--sub .header__tel-num::before {
  filter: brightness(0) invert(0);
}

.header__inner {
  padding-inline-start: 10px;
  height: inherit;
  @media (width < 768px) {
    padding-inline: 10px;
  }
}

.header__container {
  display: flex;
  align-items: center;
  height: inherit;
}

.header__logo {
  width: calc(350 * var(--rem));
}

.header__logo img {
  filter: invert(1);
  @media (width < 768px) {
    filter: invert(0);
  }
}

.header__hamburger {
  display: none;
  @media (width < 768px) {
    display: block;
    margin-inline-start: auto;
    background-color: transparent;
    position: relative;
    z-index: 100;
  }
}

.header__modal {
  display: contents;
  height: inherit;
  @media (width < 768px) {
    display: block;
    position: fixed;
    inset: 0;
    height: 100svh;
    background-color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: scroll;
  }
}

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

.header__nav {
  height: inherit;
  margin-inline-start: auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 calc(24 * var(--rem));
  @media (width < 768px) {
    height: revert;
    min-height: 500px;
    padding: calc(20 * var(--rem));
    grid-template-columns: 1fr;
    margin-block-start: calc(100 * var(--rem));
  }
}

.header__list {
  height: inherit;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 calc(16 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.header__list li {
  height: inherit;
  display: grid;
  align-items: center;
}

.header__list li a {
  height: inherit;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding-inline: calc(16 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 0 calc(16 * var(--rem));
    padding-block: calc(8 * var(--rem));
    place-content: start;
    border-bottom: 1px solid var(--sub3-color);
    color: var(--sub3-color);
    text-shadow: none;
    font-size: 1.3rem;
    font-weight: bold;

  }
}

.header__list li a span {
  font-size: calc(14 * var(--rem));
  text-transform: capitalize;
  color: #ffffff;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 600;
 
}

.header--front .header__list li a span {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    color: #333;
    text-shadow: none;
  }
}

.header--front.is-active .header__list li a span {
  color: var(--text);
  text-shadow: none;
}
.header.is-active .header__list li a {
  color: var(--text);
  text-shadow: none;
}
.header__cta {
  height: inherit;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 calc(16 * var(--rem));
  align-items: center;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    row-gap: calc(24 * var(--rem));
    margin-block-start: calc(40 * var(--rem));
  }
}

.header__tel {
  display: grid;
  place-content: center;
  height: inherit;
  gap: calc(4 * var(--rem)) 0;
  @media (width < 768px) {
    order: 2;
  }
}

.header__tel-num {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  font-size: calc(20 * var(--rem));
  font-weight: bold;
  color: #ffffff;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    font-size: 2rem;
    padding-bottom: 10px;
  }
}

.header--front .header__tel-num {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    color: #333;
    text-shadow: none;
  }
}

.header--front.is-active .header__tel-num {
  color: var(--text);
  text-shadow: none;
}

.header__tel-text {
  line-height: 1;
  font-size: calc(12 * var(--rem));
  display: flex;
  color: #ffffff;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.header--front .header__tel-text {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    color: #333;
    text-shadow: none;
  }
}

.header--front.is-active .header__tel-text {
  color: var(--text);
  text-shadow: none;
}

.header__tel-num::before {
  content: '';
  display: inline-block;
  width: calc(26 * var(--rem));
  aspect-ratio: 1;
  background: url(../images/common/icon_tel.svg) no-repeat center / contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
  @media (width < 768px) {
    filter: brightness(1);
  }
}

.header--front.is-active .header__tel-num::before {
  filter: brightness(0) invert(0);
}

.header__contact {
  height: inherit;
  @media (width < 768px) {
    order: 1;
  }
}

.header__contact a {
  height: inherit;
  display: grid;
  place-content: center;
  padding-inline: calc(24 * var(--rem));
  background-color: var(--sub3-color);
  color: var(--white);
  @media (width < 768px) {
    padding-block: calc(16 * var(--rem));
  }
}
.header--front.is-active .header__logo img {
  filter: none;
}

.test {
  min-height: 100vh;
}

/* *************************************
footer
************************************* */
.footer {
  background-color: #333;
  padding-block-start: calc(40 * var(--rem));
  color: #fff;
 
}

.footer__inner {
  padding-inline: 20px;
  @media (width > 768px) {
    max-width: 980px;
    margin: 0 auto;
  }
}

.footer__container {
  display: flex;
  align-items: flex-start;
  @media (width < 768px) {
    display: grid;
    justify-items: center;
    gap: calc(24 * var(--rem));
  }
}

.footer__wrap {
  @media (width < 768px) {
    display: contents;
  }
}

.footer__logo {
  display: block;
  

  width: calc(250 * var(--rem));
  @media (width < 768px) {
    order: 1;
  }
}
.footer__logo img {
  filter: invert(1);
}

.footer__meta {
  margin-block-start: calc(24 * var(--rem));
  display: grid;
  gap: calc(4 * var(--rem));
  @media (width < 768px) {
    order: 3;
    margin-block-start: 0;
  }
}

.footer__address {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 calc(16 * var(--rem));
}

.footer__list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(5, auto);
  @media (width < 768px) {
    margin-inline-start: 0;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    order: 2;
    gap: 0;
  }
}

.footer__list li a {
  display: block;
  padding: calc(10 * var(--rem)) calc(24 * var(--rem));
}

.footer__copy {
  font-size: calc(12 * var(--rem));
  text-align: center;
  margin-block-start: calc(16 * var(--rem));
  padding-block: calc(4 * var(--rem));
}


/* *************************************
thanks & page-404
************************************* */
.thanks,
.page-404 {
  margin-block-start: calc(40 * var(--rem));
}
.page-404 {
  display: grid;
  grid-template-rows: 1fr 0.3fr;
}
.thanks__title,
.page-404__title {
  font-size: calc(30 * var(--rem));
  text-align: center;
  @media (width < 768px) {
    font-size: calc(26 * var(--rem));
  }
}
.page-404 .btn1 {
  background-color: var(--sub2-color);
}

.thanks__text,
.page-404__text {
  font-size: calc(18 * var(--rem));
  margin-block-start: calc(40 * var(--rem));
  text-align: center;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

.thanks__btn,
.page-404__btn {
  margin-block-start: calc(40 * var(--rem));
  text-align: center;
}

/* *************************************
mv
************************************* */
.mv {
  position: relative;
  margin-top: calc(-80 * var(--rem));
}

/* .mv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 450px 600px 0 0;
  border-color: rgba(255, 255, 255, 0.6) transparent transparent transparent;
  z-index: 5;
  @media (width < 768px) {
    border-width: 400px 520px 0 0;
  }
} */

.mv__img {
  margin: 0;
}

.mv__img {
  position: relative;
}

.mv__img img {
  aspect-ratio: 21 /9;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}

.mv {
  position: relative;
}

.mv__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.mv__title {
  font-size: calc(60 * var(--rem));
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 calc(16 * var(--rem)) 0;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    font-size: calc(32 * var(--rem));
    padding-top: 50px;
  }
}

.mv__subtitle {
  font-size: calc(24 * var(--rem));
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    font-size: calc(18 * var(--rem));
  }
}
.header__hamburger button[class*="__btn"]::after {
  content: none;
}
.header__hamburger button[class*="__btn"] {
  padding-inline-end: calc(10 * var(--rem));
}

/* ------------------------------
   MV: smartphone fixes
   - Remove negative top margin
   - Add safe padding for overlay text
   - Relax image aspect ratio and height handling
------------------------------ */
@media (width < 768px) {
  .mv {
    margin-top: 0;
  }
  .mv__content {
    width: 100%;
    padding-inline: calc(16 * var(--rem));
    box-sizing: border-box;
  }
  
}
@media (max-width:798px) {
  .mv__img img {
    aspect-ratio: auto;
    height: 40vh;
    height: 40dvh;
    object-position: 50% 50%;
  }
}

/* ------------------------------
   MV mobile 
------------------------------ */
@media (max-width: 798px) {
  .mv {
    min-height: 40vh;
  }
  .mv__img {
    height: 100%;
  }
  .mv__img img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@supports (height: 1dvh) {
  @media (max-width: 798px) {
    .mv {
      min-height: 40dvh;
    }
  }
}

/* *************************************
products
************************************* */
.products {
  padding-block: calc(150 * var(--rem));
  background-color: #f8f8f8;
  @media (width < 768px) {
    padding-block: calc(60 * var(--rem));
  }
}

.products .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.products__title {
  font-size: calc(36 * var(--rem));
  font-weight: bold;
  text-align: center;
  color: var(--sub2-color);
  margin-block-start: 0;
  margin-block-end: calc(20 * var(--rem));
  @media (width < 768px) {
    font-size: calc(28 * var(--rem));
    margin-block-end: calc(15 * var(--rem));
  }
}
.en-title {
  display: block;
  text-align: center;
  font-size: 0.8em;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: calc(8 * var(--rem));
}
.products__description {
  font-size: calc(16 * var(--rem));
  line-height: 1.8;
  color: #666;
  text-align: center;
  margin: calc(50 * var(--rem));
  max-width: calc(980 * var(--rem));
  margin-inline: auto;
  @media (width < 768px) {
    font-size: calc(14 * var(--rem));
    line-height: 1.7;
    margin-block-end: calc(30 * var(--rem));
  }
}
.products__description span {
  font-weight: bold;
  color: var(--sub2-color);
  font-size: 1.2rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(20 * var(--rem));
  margin: calc(60 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(15 * var(--rem));
    margin: 30px 20px 40px 20px;
  }
}

.products__item {
  background-color: #ffffff;
  border-radius: calc(8 * var(--rem));
  overflow: hidden;
  box-shadow: 0 calc(2 * var(--rem)) calc(10 * var(--rem)) rgba(0, 0, 0, 0.1);
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.products__img {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.products__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.3s ease; */
}

.products__item:hover .products__img img {
  /* transform: scale(1.05); */
}

.products__name {
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0;
  padding: calc(15 * var(--rem));
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    padding: calc(12 * var(--rem));
  }
}

.products__btn-wrap {
  text-align: center;
}

.products__btn {
  display: inline-block;
  background-color: var(--sub3-color);
  color: #ffffff;
  font-size: calc(16 * var(--rem));
  font-weight: bold;
  text-decoration: none;
  padding: calc(15 * var(--rem)) calc(40 * var(--rem));
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    padding: calc(12 * var(--rem)) calc(30 * var(--rem));
  }
}

.products__btn:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* *************************************
features
************************************* */
.features {
  padding-top: 80px;
  background-color: var(--base-color);
  background-image: url(../images/top/bg_nois.png);
}

.features .wrap {
  max-width: calc(980 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24 * var(--rem));
  margin-block-start: calc(32 * var(--rem));
  padding: 30px 0;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    row-gap: calc(20 * var(--rem));
  }
}

.features__item {
  text-align: center;
  padding: calc(24 * var(--rem));
  background-color: #fff;
}

.features__icon {
  margin: 0 0 calc(12 * var(--rem));
}

.features__icon img {
  width: calc(150 * var(--rem));
  height: calc(150 * var(--rem));
  object-fit: contain;
}

.features__text {
  font-size: calc(18 * var(--rem));
  font-weight: 700;
  color: #333;
  margin: 0 0 calc(12 * var(--rem));
}

/* ------------------------------
   fix: features icon center align
------------------------------ */
.features__icon img {
  margin-inline: auto;
}

/* features description under icon */
.features__desc {
  font-size: calc(14 * var(--rem));
  line-height: 1.8;
  color: #666;
  margin: calc(12 * var(--rem)) 0 0;
}

/* *************************************
about
************************************* */
.about {
 padding-bottom: 80px;
  background-color: var(--base-color);
  background-image: url(../images/top/bg_nois.png);
}

.about .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(40 * var(--rem));
  margin-block-start: calc(40 * var(--rem));
  align-items: center;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    gap: calc(24 * var(--rem));
  }
}

.about__img {
  margin: 0;
}

.about__img img {
  width: 100%;
  height: auto;
  border-radius: calc(8 * var(--rem));
}

.about__content {
  display: grid;
  gap: calc(24 * var(--rem));
}

.about__lead {
  font-size: calc(20 * var(--rem));
  line-height: 1.8;
  color: #333;
  font-weight: 600;
  margin: 0;
  text-align: center;
  @media(max-width: 798px) {
    font-size: calc(17 * var(--rem));
  }
}

.about__worries {
  padding: calc(20 * var(--rem));
  border-radius: calc(8 * var(--rem));
  background: #fff;
}

.about__worries-title {
  font-size: calc(16 * var(--rem));
  font-weight: bold;
  color: var(--sub2-color);
  margin: 0 0 calc(12 * var(--rem));
}

.about__worries-list {
  list-style: none;
  padding: 0;
  margin: 0 0 calc(12 * var(--rem));
}

.about__worries-list li {
  font-size: calc(16 * var(--rem));
  line-height: 1.6;
  color: #666;
  padding: calc(4 * var(--rem)) 0;
  position: relative;
  padding-left: calc(20 * var(--rem));
}

.about__worries-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sub3-color);
  font-weight: bold;
  font-size: calc(18 * var(--rem));
}

.about__worries-text {
  font-size: calc(20 * var(--rem));
  font-weight: bold;
  color: var(--sub3-color);
  margin: 0;
  text-align: center;
}

.about__message {
  font-size: calc(16 * var(--rem));
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.about__btn-wrap {
  text-align: center;
  margin-block-start: calc(24 * var(--rem));
}

.about__btn {
  display: inline-block;
  background-color: var(--sub3-color);
  color: #ffffff;
  font-size: calc(16 * var(--rem));
  font-weight: bold;
  text-decoration: none;
  padding: calc(15 * var(--rem)) calc(32 * var(--rem));
  border-radius: calc(25 * var(--rem));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.about__btn:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* *************************************
contact
************************************* */
.contact {
  padding-block: calc(60 * var(--rem));
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/top/yokokura--img02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.contact .wrap {
  max-width: calc(980 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.contact__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: calc(40 * var(--rem));
  margin-block-start: calc(40 * var(--rem));
  align-items: center;
  padding: 20px 40px;
  background: rgba(251,251,251,0.4);
  @media (width < 768px) {
    grid-template-columns: 1fr;
    gap: calc(32 * var(--rem));
    padding: 10px;
  }
}

.contact__phone {
  display: flex;
  gap: calc(16 * var(--rem));
  align-items: flex-start;
  text-align: center;
  @media (width < 768px) {
    display: block;
  }
}

.contact__phone-icon {
  flex-shrink: 0;
  width: calc(40 * var(--rem));
  height: calc(40 * var(--rem));
  position: relative;
  margin-top: 10px;
}

.contact__phone-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/common/icon_tel.svg') no-repeat center / contain;
  filter: brightness(0) invert(1);
  transform: translate(120%, 0%);
  @media (width < 768px) {
    transform: translate(0, 118%);
  }
}


@media (width < 768px) {
  .contact__phone-icon {
    display: none;
    margin-top: 0;
    width: 0;
    height: 0;
  }
}

.contact__phone-info {
  display: grid;
  gap: calc(8 * var(--rem));
}

.contact__phone-number {
  font-size: calc(32 * var(--rem));
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

@media (width < 768px) {
  .contact__phone-number {
    display: inline-flex;
    align-items: center;
    gap: calc(8 * var(--rem));
    justify-content: center;
  }
  .contact__phone-number::before {
    content: '';
    display: inline-block;
    width: calc(35 * var(--rem));
    height: calc(35 * var(--rem));
    background: url('../images/common/icon_tel.svg') no-repeat center / contain;
    filter: brightness(0) invert(1);
    flex: 0 0 auto;
  }
}

.contact__phone-fax {
  font-size: calc(16 * var(--rem));
  margin: 0;
  color: #ffffff;
}

.contact__hours {
  margin-block-start: calc(16 * var(--rem));
}

.contact__hours-title {
  font-size: calc(16 * var(--rem));
  font-weight: bold;
  margin: 0 0 calc(8 * var(--rem));
  color: #ffffff;
}

.contact__hours-text {
  font-size: calc(14 * var(--rem));
  margin: 0;
  color: #ffffff;
}

.contact__hours-holiday {
  font-size: calc(14 * var(--rem));
  margin: calc(8 * var(--rem)) 0 0;
  color: #ffffff;
}

.contact__inquiry {
  text-align: center;
  display: grid;
  gap: calc(24 * var(--rem));
}

.contact__inquiry-text {
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}
.contact .products__title {
  color: #fff;
}

.contact__inquiry-btn {
  display: inline-block;
  background-color: var(--sub3-color);
  color: #ffffff;
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  text-decoration: none;
  padding: calc(16 * var(--rem)) calc(40 * var(--rem));
  border-radius: calc(25 * var(--rem));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact__inquiry-btn:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* *************************************
page-head (下層ページ用)
************************************* */
.page-head {
  position: relative;
  margin-top: calc(-0 * var(--rem));
  @media(max-width: 798px) {
    height: 25vh;
  }
}

.page-head__img {
  margin: 0;
}
.header--sub .header__list li a {
  color: #333;
  text-shadow: none;
}
.page-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header--sub .header__logo img {
  filter: none;
}

.page-head__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
}

.page-head__title-jp {
  font-size: calc(48 * var(--rem));
  font-weight: bold;
  margin: 0 0 calc(16 * var(--rem));
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    font-size: calc(32 * var(--rem));
  }
}

.page-head__title-en {
  font-size: calc(18 * var(--rem));
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.1em;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

/* *************************************
products-detail (下層ページ用)
************************************* */
.products-detail {
  padding-block: calc(60 * var(--rem));
  background-color: var(--base-color);
  background-image: url(../images/top/bg_nois.png);
}

.products-detail .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.products-detail__title {
  font-size: calc(36 * var(--rem));
  font-weight: bold;
  text-align: center;
  color: var(--sub2-color);
  margin: 0 0 calc(40 * var(--rem));
  @media (width < 768px) {
    font-size: calc(28 * var(--rem));
    margin-bottom: calc(30 * var(--rem));
  }
}

.products-category {
  margin-bottom: calc(60 * var(--rem));
  @media (width < 768px) {
    margin-bottom: calc(40 * var(--rem));
  }
}

.products-category__title {
  font-size: calc(24 * var(--rem));
  font-weight: bold;
  color: var(--sub2-color);
  margin: 0 0 calc(24 * var(--rem));
  padding-bottom: calc(12 * var(--rem));
  border-bottom: 3px solid var(--sub3-color);
  @media (width < 768px) {
    font-size: calc(20 * var(--rem));
    margin-bottom: calc(20 * var(--rem));
  }
}

.products-table {
  background: #ffffff;
  border-radius: calc(8 * var(--rem));
  overflow: hidden;
  box-shadow: 0 calc(2 * var(--rem)) calc(10 * var(--rem)) rgba(0, 0, 0, 0.1);
}

.products-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(14 * var(--rem));
  @media (width < 768px) {
    font-size: calc(12 * var(--rem));
  }
}

.products-table th {
  background-color: var(--sub2-color);
  color: #ffffff;
  padding: calc(16 * var(--rem)) calc(12 * var(--rem));
  text-align: left;
  font-weight: bold;
  @media (width < 768px) {
    padding: calc(12 * var(--rem)) calc(8 * var(--rem));
  }
}

.products-table td {
  padding: calc(16 * var(--rem)) calc(12 * var(--rem));
  border-bottom: 1px solid #e0e0e0;
  @media (width < 768px) {
    padding: calc(12 * var(--rem)) calc(8 * var(--rem));
  }
}

.products-table tr:hover {
  background-color: #f8f8f8;
}

.products-table tr:last-child td {
  border-bottom: none;
}

/* *************************************
manufacturers (メーカー一覧)
************************************* */
.manufacturers {
  padding-block: calc(60 * var(--rem));
  background-color: #f5f5f5;
  background-image: url(../images/top/bg_nois.png);
}

.manufacturers .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.manufacturers__title {
  font-size: calc(36 * var(--rem));
  font-weight: bold;
  text-align: center;
  color: var(--sub2-color);
  margin: 0 0 calc(40 * var(--rem));
  @media (width < 768px) {
    font-size: calc(28 * var(--rem));
    margin-bottom: calc(30 * var(--rem));
  }
}

.manufacturers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(300 * var(--rem)), 1fr));
  gap: calc(24 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
    gap: calc(16 * var(--rem));
  }
}

.manufacturer-item {
  background: #ffffff;
  border: 2px solid #f0f0f0;
  border-radius: calc(8 * var(--rem));
  padding: calc(24 * var(--rem));
  transition: all 0.3s ease;
  box-shadow: 0 calc(2 * var(--rem)) calc(8 * var(--rem)) rgba(0, 0, 0, 0.05);
}

.manufacturer-item:hover {
  border-color: var(--sub3-color);
  box-shadow: 0 calc(4 * var(--rem)) calc(16 * var(--rem)) rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.manufacturer-name {
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  color: var(--sub2-color);
  margin: 0 0 calc(12 * var(--rem));
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

.manufacturer-link {
  display: block;
  color: var(--sub3-color);
  text-decoration: none;
  font-size: calc(14 * var(--rem));
  word-break: break-all;
  transition: color 0.3s ease;
  @media (width < 768px) {
    font-size: calc(12 * var(--rem));
  }
}

.manufacturer-link:hover {
  color: var(--sub2-color);
  text-decoration: underline;
}

/* *************************************
greeting (ご挨拶)
************************************* */
.greeting {
  padding-block: calc(60 * var(--rem));
  background-color: #ffffff;
}

.greeting .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.greeting__title {
  font-size: calc(36 * var(--rem));
  font-weight: bold;
  text-align: center;
  color: var(--sub2-color);
  margin: 0 0 calc(40 * var(--rem));
  @media (width < 768px) {
    font-size: calc(28 * var(--rem));
    margin-bottom: calc(30 * var(--rem));
  }
}

.greeting__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(40 * var(--rem));
  align-items: center;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    gap: calc(24 * var(--rem));
  }
}

.greeting__img {
  margin: 0;
}

.greeting__img img {
  width: 100%;
  height: auto;
  border-radius: calc(8 * var(--rem));
  box-shadow: 0 calc(4 * var(--rem)) calc(16 * var(--rem)) rgba(0, 0, 0, 0.1);
}

.greeting__content {
  display: grid;
  gap: calc(24 * var(--rem));
}

.greeting__lead {
  font-size: calc(20 * var(--rem));
  line-height: 1.6;
  color: var(--sub3-color);
  font-weight: bold;
  margin: 0;
  @media (width < 768px) {
    font-size: calc(18 * var(--rem));
  }
}

.greeting__text {
  display: grid;
  gap: calc(16 * var(--rem));
}

.greeting__text p {
  font-size: calc(16 * var(--rem));
  line-height: 1.8;
  color: #333;
  margin: 0;
  @media (width < 768px) {
    font-size: calc(14 * var(--rem));
  }
}

/* *************************************
company-info (会社概要)
************************************* */
.company-info {
  padding-block: calc(60 * var(--rem));
  background-color: var(--base-color);
  background-image: url(../images/top/bg_nois.png);
}

.company-info .wrap {
  max-width: calc(800 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

.company-info__title {
  font-size: calc(36 * var(--rem));
  font-weight: bold;
  text-align: center;
  color: var(--sub2-color);
  margin: 0 0 calc(40 * var(--rem));
  @media (width < 768px) {
    font-size: calc(28 * var(--rem));
    margin-bottom: calc(30 * var(--rem));
  }
}

.company-info__container {
  background: #ffffff;
  border-radius: calc(8 * var(--rem));
  overflow: hidden;
  box-shadow: 0 calc(2 * var(--rem)) calc(10 * var(--rem)) rgba(0, 0, 0, 0.1);
}

.company-info__item {
  display: grid;
  grid-template-columns: calc(120 * var(--rem)) 1fr;
  border-bottom: 1px solid #e0e0e0;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    gap: calc(8 * var(--rem));
  }
}

.company-info__item:last-child {
  border-bottom: none;
}

.company-info__label {
  background-color: var(--sub2-color);
  color: #ffffff;
  padding: calc(20 * var(--rem)) calc(24 * var(--rem));
  font-weight: bold;
  font-size: calc(16 * var(--rem));
  margin: 0;
  @media (width < 768px) {
    background-color: transparent;
    color: var(--sub2-color);
    padding: calc(16 * var(--rem)) calc(24 * var(--rem)) calc(8 * var(--rem));
    font-size: calc(14 * var(--rem));
  }
}

.company-info__value {
  padding: calc(20 * var(--rem)) calc(24 * var(--rem));
  font-size: calc(16 * var(--rem));
  line-height: 1.6;
  color: #333;
  margin: 0;
  @media (width < 768px) {
    padding: 0 calc(24 * var(--rem)) calc(16 * var(--rem));
    font-size: calc(14 * var(--rem));
  }
}

.company-info__value p {
  margin: 0 0 calc(4 * var(--rem));
}

.company-info__value p:last-child {
  margin-bottom: 0;
}

.company-info__value a {
  color: var(--sub3-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-info__value a:hover {
  color: var(--sub2-color);
  text-decoration: underline;
}

/* *************************************
access (アクセス)
************************************* */
.access {
  padding-block: calc(60 * var(--rem));
  background-color: #f5f5f5;
  background-image: url(../images/top/bg_nois.png);
}

.access .wrap {
  max-width: calc(1200 * var(--rem));
  margin: 0 auto;
  padding-inline: calc(20 * var(--rem));
}

/* inner併用時の上書き（より狭いインナーに合わせる） */
/* 削除: .access .wrap.inner の上書きは元に戻すため不使用 */

/* .access .wrap.inner {
  max-width: calc(var(--inner-width-pc) + var(--padding-inline-pc) * 2);
  padding-inline: var(--padding-inline-pc);
}

@media (width < 768px) {
  .access .wrap.inner {
    max-width: calc(var(--inner-width-sp) + var(--padding-inline-sp) * 2);
    padding-inline: var(--padding-inline-sp);
  }
} */

.access__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(40 * var(--rem));
  align-items: start;
}

@media (width < 768px) {
  .access__container {
    grid-template-columns: 1fr;
    gap: calc(24 * var(--rem));
  }
}

.access__map {
  border-radius: calc(8 * var(--rem));
  overflow: hidden;
  box-shadow: 0 calc(2 * var(--rem)) calc(10 * var(--rem)) rgba(0, 0, 0, 0.1);
}

.access__map iframe {
  width: 100%;
  height: calc(400 * var(--rem));
  border: none;
  @media (width < 768px) {
    height: calc(300 * var(--rem));
  }
}

.access__info {
  display: grid;
  gap: calc(24 * var(--rem));
}

.access__info-title {
  font-size: calc(24 * var(--rem));
  font-weight: bold;
  color: var(--sub2-color);
  margin: 0;
  @media (width < 768px) {
    font-size: calc(20 * var(--rem));
  }
}

.access__info-content {
  display: grid;
  gap: calc(20 * var(--rem));
}

.access__method {
  background: var(--base-color);
  padding: calc(20 * var(--rem));
  border-radius: calc(8 * var(--rem));
  border-left: 4px solid var(--sub3-color);
}

.access__method-title {
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  color: var(--sub2-color);
  margin: 0 0 calc(12 * var(--rem));
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

.access__method-text {
  font-size: calc(16 * var(--rem));
  line-height: 1.6;
  color: #333;
  margin: 0;
  @media (width < 768px) {
    font-size: calc(14 * var(--rem));
  }
}
/* contact */
.contact__form {
  padding: 80px 0;
  background-image: url(../images/top/bg_nois.png);
  background-color: #fcfbf7;
  @media(max-width: 798px) {
    padding: 30px 0;
  }
 }
.contact__inner {
  max-width: 980px;
  margin: 0 auto;

}

/* *************************************
   products追加
************************************* */
.products {
  position: relative;
  z-index: 0;
  background: var(--base-color);
  background-image: url(../images/top/bg_nois.png);
}

.products::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/top/bg_nois.png);
  background-color: #fcfbf7;
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0% 80%);
  z-index: -1; 
}

@media (width < 768px) {
  .products::before {
   
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0% 92%);
  }
}

/* *************************************
   buttons
************************************* */

a.btn,
a[class*="__btn"],
button[class*="__btn"],
.wp-block-button__link,
a[class*="btn"],
button[class*="btn"] {
  position: relative;
  padding-inline-end: calc(48 * var(--rem));
}

a.btn::after,
a[class*="__btn"]::after,
button[class*="__btn"]::after,
.wp-block-button__link::after,
a[class*="btn"]::after,
button[class*="btn"]::after {
  content: '';
  position: absolute;
  right: calc(16 * var(--rem));
  top: 50%;
  transform: translateY(-50%);
  width: calc(18 * var(--rem));
  aspect-ratio: 1;
  background: url('../images/common/arrow-w.svg') no-repeat center / contain;
  pointer-events: none;
  transition: transform 0.25s ease;
}

a.btn:hover::after,
a[class*="__btn"]:hover::after,
button[class*="__btn"]:hover::after,
.wp-block-button__link:hover::after,
a[class*="btn"]:hover::after,
button[class*="btn"]:hover::after {
  transform: translateY(-50%) translateX(2px);
}


.header__hamburger,
.header__list li a {
  padding-inline-end: initial;
}
.header__hamburger::after,
.header__list li a::after {
  content: none !important;
}

.mb {
  display: none; 
  @media (width < 768px) {
    display: block;
  }
}
  
/* *************************************
   products note highlight
************************************* */
.products-note {
  margin-top: calc(24 * var(--rem));
  padding: calc(16 * var(--rem)) calc(20 * var(--rem));
  background: #fff9e8;
  color: #333;
  border-left: 4px solid var(--sub3-color);
  border-radius: calc(8 * var(--rem));
  box-shadow: 0 calc(2 * var(--rem)) calc(10 * var(--rem)) rgba(0, 0, 0, 0.06);
  line-height: 1.8;
  font-weight: 500;
}

@media (width < 768px) {
  .products-note {
    margin-top: calc(16 * var(--rem));
    padding: calc(14 * var(--rem)) calc(16 * var(--rem));
    font-size: calc(14 * var(--rem));
  }
}

.thanks {
  padding: 30px 0 80px 0;
}
.thanks__btn .btn1 {
  background: var(--sub3-color);
}