@charset "UTF-8";

/* =========================================
   0. Import Fonts
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@600&family=Roboto:wght@400;500;700&display=swap');
/* Note: header.css contained a duplicate/subset import which has been consolidated here. */

/* =========================================
   Root Font Size Settings (Scaling Base)
   ========================================= */
@media only screen and (min-width: 1025px) {
  html {
    font-size: calc(0.390625vw + 5px);
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  html {
    font-size: 80%;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

/* =========================================
   1. Reset (Architectural CSS Reset 2025)
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin-block-end: 0;
    margin: 0;
}

ul[role='list'], ol[role='list'] {
    list-style: none;
    padding: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    text-rendering: optimizeSpeed;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    text-wrap: balance;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

img, picture {
    max-width: 100%;
    display: block;
}

textarea:not([rows]) {
    min-height: 10em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:target {
    scroll-margin-block: 5ex;
}

/* =========================================
   2. Variables & Base Settings (Project Specific)
   ========================================= */
:root {
    /* Colors */
    --c-primary: #3b4165;
    --c-accent-beige: #e5ded6;
    --c-bg-gray: #f6f6f6;
    --c-bg-footer: #292929;
    
    --c-text-main: #222222;
    --c-text-white: #ffffff;
    
    --c-border-gray: #cccccc;

    /* Typography */
    --font-base: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    --font-en: 'Roboto', sans-serif;

    /* Layout */
    --w-content: 120rem;
    --w-narrow: 100rem;
}

body {
    font-family: var(--font-base);
    color: var(--c-text-main);
    background-color: var(--c-text-white);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   3. Utilities (Responsive & Layout)
   ========================================= */
.inner-container {
    max-width: var(--w-content);
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    position: relative;
}

.sp-only {
    display: none !important;
}

.pc-only {
    display: block !important;
}

@media (max-width: 1024px) {
    .sp-only {
        display: block !important;
    }

    .pc-only {
        display: none !important;
    }
    
    .inner-container {
        padding: 0 1.5rem;
    }
}

/* =========================================
   Header: Base Layout
   ========================================= */
.header {
  position: relative;
  width: 100%;
  height: 12rem;
  background-color: #3b4165;
  z-index: 1000;
}

.header__inner {
  max-width: 120rem;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header: Logo */
.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  display: block;
}

.header__logo img {
  width: 23.2rem;
  height: auto;
  max-height: 12rem;
  display: block;
}

/* Header: Contact Group */
.header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.header__contact-upper {
  display: flex;
  align-items: center;
  gap: 4.3rem;
  align-self: flex-end;
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.header__btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: transparent;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__btn:hover {
  opacity: 0.7;
}

.header__btn-icon {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.header__btn-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 2rem;
  white-space: nowrap;
}

.header__contact-lower {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header__tel-icon {
  width: 4rem;
  height: auto;
  object-fit: contain;
}

.header__tel-number {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1;
}

.header__hours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.header__hours-label,
.header__hours-time {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.3;
}

/* Header: Hamburger Button */
.header__hamburger {
  display: block;
  position: relative;
  width: 3.6rem;
  height: 2.8rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.header__hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.4rem;
  background-color: #ffffff;
  transition: all 0.3s;
  border-radius: 0.2rem;
}

.header__hamburger span:nth-child(1) {
  top: 0;
}

.header__hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__hamburger span:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

.header__hamburger.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.header__hamburger.is-open span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Header: Mobile Navigation */
.header__nav-mobile {
  position: fixed;
  top: 12rem;
  right: 0;
  width: 28rem;
  height: calc(100vh - 12rem);
  background-color: rgba(59, 65, 101, 0.95);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  padding: 3rem 2rem;
  overflow-y: auto;
}

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

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

.header__nav-mobile-list li {
  margin-bottom: 2.4rem;
}

.header__nav-mobile-list a {
  font-family: 'Noto Sans JP', sans-serif;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.6rem;
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header__nav-mobile-list a:hover {
  opacity: 0.7;
}

/* =========================================
   Main Visual - Slideshow
   ========================================= */
.main-visual {
  max-width: 120rem;
  margin: 0 auto;
}

.main-visual__slideshow {
  position: relative;
  width: 100%;
}

.main-visual__slides {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-visual__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.main-visual__slide:first-child {
  position: relative;
}

.main-visual__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.main-visual__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.main-visual__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 0;
  background-color: #ffffff;
}

.main-visual__dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: none;
  background-color: #cccccc;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.main-visual__dot:hover {
  background-color: #999999;
}

.main-visual__dot.is-active {
  background-color: #3b4165;
}

/* =========================================
   Header Responsive: Tablet & Smartphone
   ========================================= */
@media (max-width: 1024px) {
  .header {
    height: auto;
    min-height: 6.5rem;
    padding: 0.6rem 0;
  }

  .header__inner {
    padding: 0 0.5rem;
    gap: 0;
    justify-content: space-between;
  }

  .header__logo img {
    width: auto;
    height: 6rem;
  }

  .header__contact {
    gap: 0.3rem;
    transform: scale(0.85);
    transform-origin: right center;
    margin-left: -8rem;
  }

  .header__contact-upper {
    gap: 1.2rem;
  }

  .header__buttons {
    gap: 1rem;
  }

  .header__btn-icon {
    width: 3.6rem;
    height: 3.6rem;
  }

  .header__btn-text {
    font-size: 1.8rem;
  }

  .header__tel-number {
    font-size: 3rem;
  }

  .header__hours-label,
  .header__hours-time {
    font-size: 1.1rem;
  }

  .header__nav-mobile {
    top: 6.5rem;
    height: calc(100vh - 6.5rem);
    width: 60%;
  }

  .main-visual {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header__nav-mobile {
    top: 9.5rem; 
    height: calc(100vh - 9.5rem);
    padding: 1.5rem 2rem;
  }

  .header__nav-mobile-list li {
    margin-bottom: 1.2rem;
  }

  .header__nav-mobile-list a {
    padding: 0.4rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 480px) {
  .header {
    min-height: 6rem;
    padding: 0.5rem 0;
  }

  .header__logo img {
    height: 5.5rem;
  }

  .header__contact {
    transform: scale(0.75);
    margin-left: -10rem;
  }

  .header__nav-mobile {
    top: 6rem;
    height: calc(100vh - 6rem);
    width: 75%;
  }
}

@media (max-width: 413px) {
  .header__contact {
    transform: none;
    margin-left: 0;
    width: auto;
    align-items: flex-end;
  }

  .header__logo img {
    height: 4.8rem;
    width: auto;
  }

  .header__btn-icon {
    width: 2.3rem;
    height: 2.3rem;
  }
  .header__btn-text {
    display: block;
    font-size: 1.2rem;
    line-height: 1.1;
    white-space: nowrap;
  }
  
  .header__buttons {
    margin-top: 0.4rem;
    gap: 0.8rem;
  }

  .header__tel-number {
    font-size: 1.85rem;
    white-space: nowrap;
  }
  .header__tel-icon {
    width: 2.3rem;
  }

  .header__hours-label,
  .header__hours-time {
    font-size: 1.0rem;
  }

  .header__inner {
    padding: 0 0.5rem;
    gap: 0.2rem;
  }
  .header__btn {
    gap: 0.4rem;
  }
  .header__contact-upper {
    gap: 1.0rem;
    margin-bottom: 0.2rem;
  }
  .header__hamburger {
    width: 3.0rem;
  }
}

@media (max-width: 360px) {
  .header__logo img {
    height: 4.4rem; 
  }

  .header__tel-number {
    font-size: 1.7rem;
  }
  .header__tel-icon {
    width: 2.1rem;
  }
  
  .header__contact-upper {
    gap: 0.6rem;
  }
}

@media (max-width: 320px) {
  .header__btn-icon {
    width: 1.9rem;
    height: 1.9rem;
  }
  .header__buttons {
    margin-top: 0.5rem;
  }

  .header__tel-number {
    font-size: 1.5rem; 
    letter-spacing: -0.05em;
  }
  .header__tel-icon {
    width: 1.9rem;
  }

  .header__logo img {
    height: 4.0rem; 
  }
  .header__btn-text {
    font-size: 1.0rem; 
  }
  .header__hours-label,
  .header__hours-time {
    font-size: 0.85rem;
  }
  
  .header__nav-mobile {
    top: 7.5rem; 
    height: calc(100vh - 7.5rem);
  }
}

/* =========================================
   CTA Area
   ========================================= */
.cta-area {
  background-color: #e5ded6;
  height: 14.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-area__inner {
  width: 60rem;
  display: flex;
}

.cta-area__item {
  width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cta-area__item:hover {
  opacity: 0.7;
}

.cta-area__item--no-link {
  cursor: default;
}

.cta-area__item--no-link:hover {
  opacity: 1;
}

.cta-area__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 11.8rem;
  background-color: #b9b2aa;
}

.cta-area__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 11.8rem;
  background-color: #b9b2aa;
}

.cta-area__item:first-child::before {
  display: block;
}

.cta-area__item:last-child::after {
  display: block;
}

.cta-area__item:nth-child(2)::before {
  display: none;
}

.cta-area__item:nth-child(2)::after {
  display: none;
}

.cta-area__item:first-child::after {
  display: block;
}

.cta-area__item:last-child::before {
  display: block;
}

.cta-area__icon {
  margin-bottom: 0.6rem;
}

.cta-area__icon img {
  width: 4.2rem;
  height: 4.2rem;
}

.cta-area__text {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  color: #282828;
  margin-bottom: 0.5rem;
}

.cta-area__arrow {
  font-size: 1.6rem;
  font-weight: bold;
  color: #282828;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: #292929;
  min-height: 31.5rem;
  color: #ffffff;
}

.footer__inner {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}

.footer__left {
  width: 34.7rem;
  padding-top: 3.2rem;
  margin-left: -3rem;
}

.footer__logo {
  margin-bottom: 2.4rem;
}

.footer__logo img {
  height: auto;
}

.footer__company {
  margin-bottom: 2.4rem;
}

.footer__company-name {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
  margin-bottom: 0.4rem;
}

.footer__company-address {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
}

.footer__tel {
  margin-bottom: 2.4rem;
}

.footer__tel-number {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
  margin-bottom: 0.4rem;
}

.footer__tel-freedial {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
}

.footer__copyright {
  font-size: 1.2rem;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
  color: #ffffff;
  padding-bottom: 2rem;
}

.footer__copyright--sp {
  display: none;
}

.footer__nav {
  width: 38rem;
  padding-top: 7rem;
  display: flex;
  gap: 5rem;
  margin-right: -3rem;
}

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

.footer__nav-list--left {
  width: auto;
}

.footer__nav-list--right {
  width: auto;
}

.footer__nav-item {
  margin-bottom: 1rem;
}

.footer__nav-item a {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 3rem;
  text-align: left;
  color: #ffffff;
}

.footer__nav-item a:hover {
  opacity: 0.7;
}

/* =========================================
   CTA & Footer Responsive
   ========================================= */
@media (max-width: 1024px) {
  /* CTA Area */
  .cta-area {
    height: auto;
    padding: 2rem 1.5rem;
  }

  .cta-area__inner {
    width: 100%;
    max-width: 45rem;
  }

  .cta-area__item {
    flex: 1;
    padding: 1.2rem 0.5rem;
  }

  .cta-area__item::before,
  .cta-area__item::after {
    height: 8rem;
  }

  .cta-area__item:first-child::before {
    display: none;
  }

  .cta-area__item:last-child::after {
    display: none;
  }

  .cta-area__icon img {
    width: 4.8rem;
    height: 4.8rem;
  }

  .cta-area__text {
    font-size: 1.4rem;
  }

  .cta-area__arrow {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__left {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 1rem;
    border-bottom: none;
    margin-left: 0;
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }

  .footer__company-name,
  .footer__company-address {
    text-align: center;
  }

  .footer__tel-number,
  .footer__tel-freedial {
    text-align: center;
    font-size: 2rem;
  }

  .footer__copyright {
    display: none;
  }

  .footer__copyright--sp {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem 0;
    color: #ffffff;
  }

  .footer__nav {
    width: 100%;
    padding-top: 0.5rem;
    justify-content: center;
    gap: 3rem;
    margin-right: 0;
  }

  .footer__nav-list--left,
  .footer__nav-list--right {
    text-align: left;
  }

  .footer__nav-item {
    margin-bottom: 0.8rem;
  }

  .footer__nav-item a {
    font-size: 1.3rem;
  }
}

@media (max-width: 413px) {
  .cta-area__text {
    font-size: 1.1rem;
    white-space: nowrap;
  }
}

@media (max-width: 320px) {
  .footer__nav-item a {
    font-size: 1.1rem;
  }

  .cta-area__text {
    font-size: 1.0rem; 
  }
}