/* ========================================
   Variables
======================================== */
:root {
  --color-primary: #eab308;
  --color-primary-dark: #ca8a04;
  --color-accent: #eab308;
  --color-accent-dark: #ca8a04;
  --color-news-bg: #475569;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-black: #000;
  --color-bg: #f5f5f5;
  --font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --header-height: 80px;
  --header-height-sp: 60px;
  --transition: 0.3s ease;
}

/* ========================================
   Base
======================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 50px;
  width: auto;
}

/* ========================================
   Global Navigation
======================================== */
.gnav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav__item a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.gnav__item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.gnav__item a:hover::after {
  width: 80%;
}

.gnav__item--contact a {
  background: var(--color-primary);
  color: var(--color-white);
  /* border-radius: 4px; */
  margin-left: 0.5rem;
}

.gnav__item--contact a::after {
  display: none;
}

.gnav__item--contact a:hover {
  background: var(--color-primary-dark);
}

/* ========================================
   Hamburger (Mobile)
======================================== */
.header__sp-btns {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

.header__tel:hover {
  color: var(--color-primary-dark);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.is-menu-open {
  overflow: hidden;
}

/* ========================================
   Hero
======================================== */
.hero {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
  height: 600px;
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero__catch {
  color: var(--color-white);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero__dot.is-active {
  background: rgba(255, 255, 255, 0.9);
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ========================================
   News
======================================== */
.news {
  background: var(--color-bg);
  padding: 60px 0;
}

.news__inner {
  max-width: 900px;
  margin: 0 auto;
}

.news__title {
  color: var(--color-text);
  font-size: 2.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.news__item:hover {
  opacity: 0.7;
}

.news__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.news__date {
  color: var(--color-text);
  flex-shrink: 0;
}

.news__label {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  /* border-radius: 3px; */
  flex-shrink: 0;
}

.news__link {
  color: var(--color-text);
}

.news__link:hover {
  opacity: 0.8;
}

.news__btn-wrap {
  text-align: center;
  margin-top: 2rem;
}

.news__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 2.5rem;
  /* border-radius: 4px; */
}

.news__btn:hover {
  background: var(--color-accent-dark);
}

/* ========================================
   News Page
======================================== */
.news-page {
  padding: 60px 0 80px;
}

.news-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-page__list .news__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.news-page__list .news__item:hover {
  background: var(--color-bg);
}

.news-page__list .news__item:first-child {
  border-top: 1px solid #ddd;
}

.news-page__list .news__date {
  color: var(--color-text-light);
}

.news-page__list .news__link {
  color: var(--color-text);
}

.news-page__list .news__link:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ========================================
   News Detail
======================================== */
.news-detail {
  padding: 60px 0 80px;
}

.news-detail__article {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-detail__date {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.news-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.news-detail__content {
  line-height: 2;
}

.news-detail__content p {
  margin-bottom: 1.5rem;
}

.news-detail__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.news-detail__back {
  margin-top: 3rem;
  text-align: center;
}

.news-detail__back a {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.news-detail__back a:hover {
  background: var(--color-text);
  color: var(--color-white);
}

/* ========================================
   Service
======================================== */
.service {
  background: var(--color-white);
  padding: 80px 0;
}

.service__title {
  font-size: 2.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service__card {
  background: var(--color-bg);
  padding: 2rem 1.5rem;
  /* border-radius: 0 0 8px 8px; */
  border-top: 4px solid var(--color-accent);
}

.service__card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.service__card-text {
  line-height: 1.8;
  color: var(--color-text-light);
}

.service__btn-wrap {
  text-align: center;
  margin-top: 3rem;
}

.service__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.75rem 2.5rem;
  /* border-radius: 4px; */
}

.service__btn:hover {
  background: var(--color-accent-dark);
}

/* ========================================
   Block (Image + Text)
======================================== */
.block {
  overflow: hidden;
}

.block__inner {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  margin-bottom: 48px;
}

.block--img-right .block__img {
  order: 2;
}

.block--img-right .block__content {
  order: 1;
}

.block__img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.block__content {
  padding: 60px 5%;
}

.block--img-left .block__content {
  padding-left: 4rem;
}

.block--img-right .block__content {
  padding-right: 4rem;
}


.block__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.block__text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.block__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.75rem 2rem;
  /* border-radius: 4px; */
}

.block__btn:hover {
  background: var(--color-accent-dark);
}

/* ========================================
   Contact
======================================== */
.contact {
  background: var(--color-news-bg);
  padding: 80px 0;
  text-align: center;
}

.contact__title {
  font-size: 2.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.contact__text {
  color: var(--color-white);
  margin-bottom: 3rem;
}

.contact__box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.contact__tel {
  text-align: center;
}

.contact__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.contact__time {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact__time dt,
.contact__time dd {
  margin: 0;
}

.contact__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  padding: 1rem 2rem;
}

.contact__btn:hover {
  background: var(--color-accent-dark);
}

/* ========================================
   Page Header
======================================== */
.page-header {
  background: var(--color-news-bg);
  padding: 80px 0;
  margin-top: var(--header-height);
  text-align: center;
}

.page-header__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ========================================
   Service Detail
======================================== */
.service-detail {
  padding: 80px 0;
}

.service-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-detail__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail__card:nth-child(even) {
  direction: rtl;
}

.service-detail__card:nth-child(even) > * {
  direction: ltr;
}

.service-detail__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail__content {
  padding: 1rem 0;
}

.service-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
}

.service-detail__text {
  line-height: 2;
  color: var(--color-text-light);
}

/* ========================================
   Flow
======================================== */
.flow {
  background: var(--color-bg);
  padding: 80px 0;
}

.flow__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flow__item {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.flow__num {
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.flow__item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.flow__item-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ========================================
   Materials
======================================== */
.materials {
  padding: 60px 0 80px;
}

.materials__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.materials__tab {
  flex: 1;
  min-width: 150px;
  padding: 1rem 0.5rem;
  background: var(--color-bg);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.materials__tab.is-active {
  background: var(--color-accent);
  color: var(--color-white);
}

.materials__tab:hover:not(.is-active) {
  background: #e0e0e0;
}

.materials__content {
  display: none;
}

.materials__content.is-active {
  display: block;
}

.materials__lead {
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

/* Accordion */
.accordion__item {
  margin-bottom: 0.5rem;
}

.accordion__header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-news-bg);
  color: var(--color-white);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion__header::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}

.accordion__header.is-open::after {
  content: "−";
}

.accordion__header:hover {
  opacity: 0.9;
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: var(--color-bg);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion__body.is-open {
  max-height: 1000px;
  padding: 1.5rem;
}

.accordion__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Item Grid & Card */
.item-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.item-card {
  background: var(--color-white);
  text-align: center;
}

.item-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.item-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-card__name {
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========================================
   Prices
======================================== */
.prices {
  padding: 60px 0 80px;
}

.prices__lead {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-light);
}

.prices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.price-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.price-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-card__body {
  padding: 1.25rem;
  text-align: center;
}

.price-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-card__price {
  color: var(--color-primary);
  font-weight: 700;
}

.price-card__price span {
  font-size: 1.75rem;
}

.prices__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.prices__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  color: var(--color-text-light);
}

.prices__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   Materials Simple
======================================== */
.materials-simple {
  padding: 60px 0 80px;
}

.materials-section {
  margin-bottom: 60px;
}

.materials-section:last-child {
  margin-bottom: 0;
}

.materials-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
}

.materials-section__lead {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.materials-section__categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--color-bg);
  padding: 1.5rem;
}

.category-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.category-card__items {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   Greeting
======================================== */
.greeting {
  padding: 80px 0;
}

.greeting__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.greeting__content {
  max-width: 1000px;
  margin: 0 auto;
}

.greeting__text {
  line-height: 2;
  margin-bottom: 1.5rem;
}

.greeting__sign {
  margin-top: 2rem;
  text-align: right;
}

.greeting__position {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.greeting__name {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========================================
   Company Info
======================================== */
.company-info {
  padding: 80px 0;
  background: var(--color-bg);
}

.company-info__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.company-info__table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-info__table th,
.company-info__table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.company-info__table th {
  width: 220px;
  font-weight: 700;
  background: var(--color-white);
  text-align: center;
}

.company-info__table td {
  background: var(--color-white);
}

/* ========================================
   Access
======================================== */
.access {
  padding: 80px 0;
}

.access__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.access__map {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.access__map iframe {
  width: 100%;
  height: 450px;
}

/* ========================================
   Contact Form Page
======================================== */
.contact-form {
  padding: 60px 0;
}

.contact-form__lead {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
  color: var(--color-text-light);
}

.contact-form__tel-box {
  text-align: center;
  background: var(--color-bg);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.contact-form__tel-label {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.contact-form__tel-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.contact-form__tel-time {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.contact-form__body {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form__notice {
  text-align: center;
  padding: 40px;
  background: var(--color-bg);
  border-radius: 8px;
  color: var(--color-text-light);
}

/* Contact Form 7 スタイル */
.wpcf7-form p {
  margin-bottom: 1.5rem;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.wpcf7-form textarea {
  min-height: 200px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 30px auto 0;
  padding: 15px 30px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--color-primary-dark);
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--color-black);
  padding: 40px 0 20px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer__company {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__company p {
  margin: 0;
}

.footer__company-name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer__nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer__nav-list a:hover {
  color: var(--color-white);
}

.footer__copy {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-top: 20px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 991px) {
  .header {
    height: var(--header-height-sp);
  }

  .header__inner {
    height: var(--header-height-sp);
  }

  .header__logo-img {
    height: 40px;
  }

  .gnav {
    position: fixed;
    top: var(--header-height-sp);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 2rem;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }

  .gnav.is-open {
    transform: translateX(0);
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .gnav__item a {
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-bg);
  }

  .gnav__item a::after {
    display: none;
  }

  .gnav__item--contact {
    margin-top: 1rem;
  }

  .gnav__item--contact a {
    text-align: center;
    padding: 1rem;
    margin-left: 0;
  }

  .header__sp-btns {
    display: flex;
  }

  .hero {
    margin-top: var(--header-height-sp);
  }

  .hero__bg {
    height: 350px;
  }

  .hero__catch {
    font-size: 2.75rem;
  }

  .news {
    padding: 40px 0;
  }

  .news__item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .news__link {
    width: 100%;
    margin-top: 0.25rem;
  }

  .service {
    padding: 60px 0;
  }

  .service__title {
    font-size: 2rem;
  }

  .service__grid {
    gap: 1rem;
  }

  .service__card {
    padding: 1.5rem 1rem;
  }

  .service__card-title {
    font-size: 1.1rem;
  }

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

  .block--img-right .block__img {
    order: 0;
  }

  .block--img-right .block__content {
    order: 0;
  }

  .block__img img {
    height: 300px;
  }

  .block__content {
    padding: 40px 5%;
  }

  .block--img-left .block__content,
  .block--img-right .block__content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .block__title {
    font-size: 1.75rem;
  }

  .contact {
    padding: 60px 0;
  }

  .contact__title {
    font-size: 2rem;
  }

  .contact__box {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact__box {
    flex-direction: column;
    gap: 2rem;
  }

  .contact__num {
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .page-header {
    margin-top: var(--header-height-sp);
    padding: 60px 0;
  }

  .page-header__title {
    font-size: 2rem;
  }

  .service-detail {
    padding: 60px 0;
  }

  .service-detail__card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detail__card:nth-child(even) {
    direction: ltr;
  }

  .service-detail__img img {
    height: 220px;
  }

  .service-detail__title {
    font-size: 1.5rem;
  }

  .flow {
    padding: 60px 0;
  }

  .flow__title {
    font-size: 2rem;
  }

  .flow__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .flow__item {
    padding: 1.5rem 1rem;
  }

  .materials__tabs {
    gap: 0.25rem;
  }

  .materials__tab {
    min-width: calc(50% - 0.25rem);
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  .item-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .item-card__name {
    font-size: 0.75rem;
    padding: 0.5rem 0.25rem;
  }

  .prices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .materials-simple {
    padding: 40px 0 60px;
  }

  .materials-section {
    margin-bottom: 40px;
  }

  .materials-section__title {
    font-size: 1.5rem;
  }

  .materials-section__categories {
    gap: 1rem;
  }

  .category-card {
    padding: 1.25rem;
  }

  .greeting,
  .company-info,
  .access {
    padding: 60px 0;
  }

  .greeting__title,
  .company-info__title,
  .access__title {
    font-size: 1.5rem;
  }

  .company-info__table th {
    width: 150px;
  }

  .access__map iframe {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .header__logo-img {
    height: 32px;
  }

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

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

  .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prices__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card__price span {
    font-size: 1.5rem;
  }

  .materials-section__categories {
    grid-template-columns: 1fr;
  }

  .company-info__table th,
  .company-info__table td {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .company-info__table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ========================================
   WordPress Specific
======================================== */
/* Admin bar adjustment */
body.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* Page content */
.page-content {
  padding: 60px 0 80px;
}

.page-content .content {
  max-width: 1000px;
  margin: 0 auto;
}

/* WordPress menu classes */
.gnav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav__list li {
  list-style: none;
}

.gnav__list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  /* color: var(--color-text); */
  position: relative;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list li {
  list-style: none;
}

.footer__nav-list li a {
  color: var(--color-white);
  font-size: 0.9rem;
}
