@charset "utf-8";

/* =======================================
   Variables & Reset
======================================= */
:root {
  --color-primary: #7C4938;
  --color-bg-base: #FFFFFF;
  --color-bg-light: #F8F1D8;
  --color-bg-dark: #E8D99C;
  --color-text: #333333;
  --font-base: 'Noto Sans JP', sans-serif;
  --font-mincho: 'Sawarabi Mincho', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1.0rem;
  background-color: var(--color-bg-base);
  text-align: justify;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* =======================================
   Utilities
======================================= */
.pc-only {
  display: none;
}

.section {
  padding: 60px 20px;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.sec-title {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

/* =======================================
   Header & Nav (Mobile First)
======================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 15px;
}

.logo img {
  height: 40px;
}

/* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 8px;
  transition: 0.3s;
}

.hamburger span:nth-child(1) {
  top: 12px;
}

.hamburger span:nth-child(2) {
  top: 19px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.is-active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Global Nav (Drawer) */
.gnav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--color-bg-dark);
  transition: 0.4s;
  padding-top: 80px;
  z-index: 1000;
}

.gnav.is-active {
  right: 0;
}

.gnav ul li a {
  display: block;
  padding: 15px 20px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* =======================================
   Main Visual (Hero)
======================================= */
.hero {
  position: relative;
  margin-top: 60px;
}

.swiper-slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.hero-catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  text-align: center;
  z-index: 10;
  width: 85%;
}

.hero-catch h2 {
  font-family: var(--font-mincho);
  color: var(--color-primary);
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0;
}

/* =======================================
   Concept & Passion
======================================= */
.concept-sec {
  text-align: center;
}

.lead {
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--color-primary);
  line-height: 2;
}

.passion-wrapper {
  margin-bottom: 50px;
}

.passion-block {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}

.passion-wrapper+.passion-block {
  margin-top: 50px;
}

.passion-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.passion-text {
  padding: 30px 20px;
}

.passion-text h3 {
  font-family: var(--font-mincho);
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 15px;
  line-height: 1.5;
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 10px;
}

.passion-text h3 .num {
  font-family: var(--font-base);
  font-size: 1.5rem;
  color: #E8D99C;
  margin-right: 8px;
  font-weight: bold;
}

.passion-text p {
  font-size: 0.95rem;
  line-height: 1.9;
}

/* =======================================
   Business (Grid Cards)
======================================= */
.grid-2 {
  display: grid;
  gap: 30px;
}

.card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-family: var(--font-mincho);
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* =======================================
   Jisseki (Accordion & Gallery)
======================================= */
.accordion {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 20px;
  background-color: #fff;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #f0f0f0;
}

.accordion-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.accordion-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #333;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
}

.accordion.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.accordion.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-content-inner {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* モバイル版（1列縦積み） */
  gap: 15px;
  padding: 15px 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.accordion-close-wrap {
  text-align: center;
  padding: 0 20px 30px;
}

.accordion-close-btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.accordion-close-btn:hover {
  opacity: 0.8;
}

/* =======================================
   Tsuyomi (Features)
======================================= */
.features {
  display: grid;
  gap: 20px;
}

.feature-item {
  background: #fff;
  padding: 20px;
  border-left: 5px solid var(--color-primary);
}

.feature-item .num {
  font-family: var(--font-mincho);
  font-size: 2rem;
  color: var(--color-bg-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* =======================================
   Flow & Warranty
======================================= */
.flow-steps {
  margin-bottom: 30px;
}

.step {
  background: var(--color-bg-light);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: bold;
  position: relative;
}

.step span {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  width: 24px;
  height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  line-height: 24px;
}

.warranty-box {
  border: 2px solid var(--color-bg-dark);
  padding: 20px;
  border-radius: 8px;
}

.warranty-box h4 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* =======================================
   Message (Greeting)
======================================= */
.message-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-image {
  margin: 0;
}

.message-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.message-catch {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.message-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* =======================================
   Corporate Table
======================================= */
.corporate-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: #fff;
}

.corporate-table th,
.corporate-table td {
  padding: 15px;
  border: 1px solid #ddd;
}

.corporate-table th {
  width: 35%;
  background: var(--color-bg-light);
  text-align: left;
}

.map-wrap iframe {
  width: 100%;
}

/* =======================================
   Contact CTA
======================================= */
.contact-sec {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.contact-sec h2 {
  font-family: var(--font-mincho);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.btn-tel {
  display: inline-block;
  background: #fff;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 30px;
  margin: 20px 0 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hours {
  display: block;
  font-size: 0.85rem;
}

/* =======================================
   Footer
======================================= */
.footer {
  background: var(--color-bg-dark);
  padding: 40px 0 20px;
  text-align: center;
  color: var(--color-primary);
}

.footer-logo {
  width: 180px;
  margin: 0 auto 20px;
}

.copyright {
  margin-top: 20px;
  font-size: 0.8rem;
}

/* =======================================
   PC Styles (min-width: 601px)
======================================= */
@media screen and (min-width: 601px) {
  .pc-only {
    display: block;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  /* Header Nav */
  .hamburger {
    display: none;
  }

  .gnav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
  }

  .gnav ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .gnav ul li a {
    border: none;
    padding: 10px;
  }

  .nav-contact a {
    background: var(--color-primary);
    color: #fff;
    border-radius: 20px;
    padding: 8px 20px;
  }

  /* Hero */
  .hero {
    margin-top: 60px;
  }

  .swiper-slide img {
    height: 80vh;
  }

  .hero-catch {
    width: auto;
    padding: 40px 60px;
  }

  .hero-catch h2 {
    font-size: 2.2rem;
  }

  /* Concept & Passion */
  .lead {
    font-size: 1.3rem;
  }

  .passion-block {
    display: flex;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .passion-block.reverse {
    flex-direction: row-reverse;
  }

  .passion-img {
    flex: 1;
  }

  .passion-img img {
    height: 100%;
  }

  .passion-text {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .passion-text h3 {
    font-size: 1.3rem;
  }

  /* Business Grids */
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  /* Jisseki Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Tsuyomi Features */
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* Flow */
  .flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .step {
    flex: 1;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 10px;
  }

  .step span {
    display: block;
    margin: 0 auto 10px;
  }

  /* Message */
  .message-wrap {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .message-image {
    width: 45%;
  }

  .message-content {
    width: 55%;
  }

  /* Corporate Table */
  .corporate-table th {
    width: 20%;
  }
}