@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

.top-page {
  overflow: clip;
}

.l-container {
  width: min(100% - 48px, var(--content-max));
  margin-inline: auto;
}

.l-text-column {
  width: min(100% - 48px, var(--text-max));
  margin-inline: auto;
}

.section-space {
  padding-block: var(--section-space-pc);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading__en {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.section-heading__ja,
.top-message__title {
  margin: 0;
  color: var(--color-title);
  font-size: clamp(28px, 2.64vw, 38px);
  line-height: 1.6;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
}
.section-heading__ja {
  font-weight: 700;
}
.top-message__title {
  font-weight: 300;
  font-size: clamp(28px, 2.64vw, 32px);
}
p,
a,
li,
address {
  font-size: 16px;
  line-height: 1.8;
}

a {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

a:hover {
  opacity: 0.88;
}

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

.top-instagram .l-container {
  width: 80%;
  max-width: 660px;
  margin-inline: auto;
}

.top-instagram__link {
  display: block;
}

.top-instagram__link img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.top-message {
  position: relative;
  padding-block: 0;
}

.top-message__media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.top-message__panel {
  position: absolute;
  inset: auto 0 64px;
  padding: 40px 48px;
}

.top-message__text {
  margin: 20px 0 0;
}

.top-location .c-heading-border__orange::after {
  max-width: 220px;
}

.top-location__map {
  width: min(100%, 900px);
  margin-inline: auto;
  overflow: hidden;
}

.top-location__map iframe {
  display: block;
  width: 100%;
  min-height: 675px;
}

.top-contact__lead {
  margin-bottom: 32px;
  text-align: center;
}

.top-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin: auto;
  width: fit-content;
}

.contact-tel,
.contact-line {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.contact-tel {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-decoration: none;
}

.contact-tel__sub {
  margin-bottom: 8px;
}

.contact-tel__number {
  color: var(--color-accent);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.contact-tel__hours {
  margin-top: 8px;
  font-size: 14px;
}

.contact-line {
  display: block;
}

.contact-line img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*
.site-footer-custom {
  background: #ffffff;
  padding: 64px 0;
}

.site-footer-custom__inner {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer-custom__brand img {
  width: 100%;
  max-width: 320px;
}

.site-footer-custom__address {
  font-style: normal;
  margin: 0 0 24px;
}

.site-footer-custom__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-custom__nav a {
  text-decoration: none;
}
*/

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .section-space {
    padding-block: var(--section-space-tb);
  }

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

  .service-card__title {
    font-size: 18px;
  }

  .top-message__panel {
    inset: auto 24px 32px;
    width: auto;
    margin-inline: 0;
    padding: 32px;
  }
}
/*
  .site-footer-custom__inner {
    grid-template-columns: 1fr;
  }
*/
@media (max-width: 599px) {
  .l-container,
  .l-text-column,
  .top-intro-bridge__inner {
    width: min(100% - 32px, var(--content-max));
  }

  .section-space {
    padding-block: var(--section-space-sp);
  }

  .top-instagram {
    padding-top: 48px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .top-service__grid {
    gap: 16px;
  }

  .service-card {
    border-radius: 16px;
  }

  .service-card__body {
    padding: 16px 14px 18px;
  }

  .service-card__title {
    font-size: 16px;
  }

  .service-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .top-message__media img {
    min-height: 480px;
  }

  .top-message__panel {
    position: static;
    width: min(100% - 32px, var(--text-max));
    margin: -80px auto 0;
    padding: 24px 20px;
  }

  .top-location__map {
    width: 90%;
  }

  .top-location__map iframe {
    min-height: 360px;
  }

  .top-contact__grid {
    grid-template-columns: 1fr;
  }

  .contact-tel__number {
    font-size: 32px;
  }
  /*
  .site-footer-custom {
    padding: 48px 0;
  }*/
}

/* ========================================
   Front Page
======================================== */

.top-page {
  background: #f5f5f5;
  color: #333333;
}

/* Hero Section */
.hero-section {
  width: 100%;
  overflow: hidden;
  background-color: #f0f0f0;
}

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

/* Intro Section */
.intro-section {
  padding: 40px 20px;
  margin-top: -100px;
  display: flex;
  justify-content: center;
}

.intro-container {
  background: #fff;
  max-width: 900px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
}

.intro-title {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.6;
  color: #333;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.intro-text {
  font-size: 16px;
  line-height: 2;
  text-align: left;
  display: inline-block;
  margin-bottom: 0;
}

/* ========================================
   Instagram
======================================== */

.top-instagram__link {
  display: block;
}

.top-instagram picture,
.top-instagram img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   Service
======================================== */

.top-service__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-width: 0;
}

.service-card__link {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
  background: #111111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 15%) 0%,
    rgb(0 0 0 / 28%) 34%,
    rgb(0 0 0 / 77%) 100%
  );
  transition: background 0.35s ease;
}

.service-card__body {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  z-index: 2;
}

.service-card__title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.service-card__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  line-height: 1.8;
  text-shadow: 0 0 4px rgb(0 0 0 / 90%);
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  backdrop-filter: blur(2px);
}

.service-card__link:hover .service-card__media img,
.service-card__link:focus-visible .service-card__media img {
  transform: scale(1.04);
}

.service-card__link:hover::before,
.service-card__link:focus-visible::before {
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 14%) 0%,
    rgb(0 0 0 / 28%) 34%,
    rgb(0 0 0 / 70%) 100%
  );
}

.service-card__link:focus-visible {
  outline: 2px solid #0b1db8;
  outline-offset: 4px;
}

/* ========================================
   Message
======================================== */

.top-message {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.top-message__media {
  position: relative;
}

.top-message__media picture,
.top-message__media img {
  display: block;
  width: 100%;
  height: auto;
}

/*.top-message__panel {
  position: absolute;
  right: 50%;
  bottom: 48px;
  transform: translateX(50%);
  z-index: 2;
  width: min(100% - 32px, 800px);
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}*/
.top-message__panel {
  position: absolute;
  top: 24%;
  z-index: 2;
  width: min(100% - 32px, 1200px);
  padding: 40px 32px;
}

.top-message__title {
  margin: 0 0 16px;
  color: #222222;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.top-message__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 2.4;
  padding: 40px;
}

/* ========================================
   Access
======================================== */

.top-location__map {
  overflow: hidden;
}

.top-location__map iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

/* ========================================
   Contact
======================================== */

.top-contact__lead {
  margin-bottom: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-blue);
}

.top-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-tel,
.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
}

.contact-tel {
  flex-direction: column;
  padding: 32px 24px;
  background: #ffffff;
  color: #222222;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contact-tel__sub {
  margin-bottom: 12px;
  color: var(--color-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-tel__number {
  color: var(--color-blue);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.contact-tel__hours {
  margin-top: 12px;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

.contact-line {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contact-line img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Tablet
======================================== */

@media (min-width: 600px) and (max-width: 1024px) {
  .top-service__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card__link {
    min-height: 380px;
  }

  .top-message__panel {
    bottom: 32px;
    padding: 32px 24px;
  }

  .top-location__map iframe {
    height: 480px;
  }
}

/* ========================================
   Smartphone
======================================== */

@media (max-width: 599px) {
  .top-page .section-heading {
    margin-bottom: 32px;
  }

  .top-page .section-heading__en {
    font-size: 12px;
  }

  .top-page .section-heading__ja {
    font-size: 28px;
    line-height: 1.5;
  }

  .top-service__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card__link {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .service-card__body {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .service-card__title {
    margin-bottom: 8px;
  }

  .service-card__text {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.7;
  }

  .service-card__more {
    min-width: 144px;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .top-message__panel {
    position: absolute;
    transform: none;
    width: auto;
    margin: 0;
    margin-top: -40px;
    padding: 24px 0 80px 0;
    top: 14%;
  }

  .top-message__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .top-message__text {
    font-size: 15px;
    line-height: 1.85;
    padding: 0;
  }

  .top-location__map iframe {
    height: 320px;
  }

  .top-contact__lead {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .top-contact__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-tel,
  .contact-line {
    min-height: 180px;
    border-radius: 20px;
  }

  .contact-tel {
    padding: 24px 16px;
  }

  .contact-tel__number {
    font-size: 34px;
  }
}
/* Blue Decorative Boxes */
.deco-box {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #0000b4;
}

.deco-box.top-left {
  top: 5px;
  left: 5px;
}

.deco-box.top-right {
  top: 5px;
  right: 5px;
}

.deco-box.bottom-left {
  bottom: 5px;
  left: 5px;
}

.deco-box.bottom-right {
  bottom: 5px;
  right: 5px;
}

@media (max-width: 768px) {
  .intro-title {
    font-size: 20px;
    letter-spacing: 0;
    margin-bottom: 20px;
  }
  .intro-text {
    line-height: 1.7;
  }
  .intro-container {
    padding: 40px 20px;
  }
}

/* -----------------------------------------------------
  p-front-contact
----------------------------------------------------- */
.p-front-contact {
  background-color: var(--color-bg);
  padding: var(--section-space-pc) 0;
}

.p-front-contact__lead {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-blue);
  font-weight: 500;
}

.p-front-contact__grid {
  display: flex;
  justify-content: center;
  align-items: stretch; /* 高さを揃える */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 各ボックスの共通設定 */
.p-front-contact__tel,
.p-front-contact__line {
  width: 100%;
  max-width: 475px;
  aspect-ratio: 475 / 269; /* カンプの比率を維持 */
}

/* 電話ボックス */
.p-front-contact__tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.p-front-contact__tel-label {
  color: var(--color-blue);
  font-weight: bold;
  margin-bottom: 10px;
}

.p-front-contact__tel-number {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(32px, 4vw, 48px); /* 画面幅に合わせてフォントサイズも可変 */
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 10px;
  text-decoration: none;
}

.p-front-contact__tel-time {
  font-size: 14px;
  color: #666;
}

/* LINEボックス */
.p-front-contact__line a {
  display: block;
  height: 100%;
}

.p-front-contact__line img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* アスペクト比を維持して収める */
  transition: transform 0.3s;
}

.p-front-contact__line img:hover {
  transform: scale(1.02);
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
  .p-front-contact__grid {
    gap: 20px;
    padding: 0 20px;
  }
}

@media (max-width: 920px) {
  .p-front-contact__grid {
    flex-direction: column;
    align-items: center;
    gap: 20px; /* 縦積み時の箱同士の隙間 */
  }

  .p-front-contact__tel,
  .p-front-contact__line {
    width: 100%;
    max-width: 480px; /* PCサイズ以上にデカくならないようにストッパー */
    height: auto; /* 中身の高さに合わせる */
    min-height: 180px; /* 最低限の存在感は確保 */
  }

  .p-front-contact__line img {
    aspect-ratio: 475 / 269; /* バナーの比率だけは維持 */
    object-fit: contain;
  }
}
