@charset "UTF-8";

/* ===========================
Base
=========================== */

:root {
  --color-text: #111;
  --color-bg: #fff;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Mincho ProN",
    "Yu Mincho", "YuMincho", "Times New Roman", serif;

  --hero-width: 1120px;
  --space-side: 24px;

  --radius-image: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-base);
}

img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===========================
Header
=========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header__inner {
  width: min(100%, var(--hero-width));
  min-height: 72px;
  margin: 0 auto;
  padding: 0 var(--space-side);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  position: relative;
  z-index: 1002;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__nav-link--contact {
  padding: 9px 16px;
  border-radius: 999px;
  background: #2d5f93;
  color: #fff;
}

.header__nav-link--contact::after {
  display: none;
}

.header__nav-link--contact:hover {
  opacity: 0.8;
}

.header__menu-button {
  position: relative;
  z-index: 1002;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header__menu-line {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition:
    top 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header__menu-line:nth-child(1) {
  top: 14px;
}

.header__menu-line:nth-child(2) {
  top: 21px;
}

.header__menu-line:nth-child(3) {
  top: 28px;
}

/* ===========================
Header Responsive
=========================== */

@media (max-width: 800px) {
  .header__inner {
    min-height: 64px;
  }

  .header__logo {
    font-size: 21px;
  }

  .header__menu-button {
    display: block;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 40px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .header__nav-item {
    width: 100%;
    text-align: center;
  }

  .header__nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 20px;
  }

  .header__nav-link--contact {
    width: min(100%, 280px);
    padding: 13px 20px;
    margin-top: 8px;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .header__menu-button.is-open .header__menu-line:nth-child(2) {
    opacity: 0;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

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

/* ===========================
Scroll Animation
=========================== */

.js-scroll-card {
  --card-animation-distance: 100px;

  opacity: 1;
  transform: none;
}

.js-enabled .js-scroll-card {
  --card-animation-distance: 100px;

  opacity: 0;
  transform: translateX(var(--card-animation-distance));
}

.js-enabled .js-scroll-card.is-show {
  animation: cardSlideIn 0.8s ease-out forwards;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateX(var(--card-animation-distance));
  }

  70% {
    opacity: 1;
    transform: translateX(-8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .js-scroll-card {
    --card-animation-distance: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-enabled .js-scroll-card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .service-card__image,
  .header__nav,
  .header__menu-line {
    transition: none;
  }
}

/* ===========================
Scroll Card Animation
=========================== */

.problem__cards .js-scroll-card:nth-child(1),
.service__cards .js-scroll-card:nth-child(1),
.price__cards .js-scroll-card:nth-child(1) {
  animation-delay: 0.1s;
}

.problem__cards .js-scroll-card:nth-child(2),
.service__cards .js-scroll-card:nth-child(2),
.price__cards .js-scroll-card:nth-child(2) {
  animation-delay: 0.3s;
}

.problem__cards .js-scroll-card:nth-child(3),
.service__cards .js-scroll-card:nth-child(3) {
  animation-delay: 0.5s;
}


/* ===========================
Hero
=========================== */

.hero {
  width: 100%;
  padding: 50px var(--space-side) 20px;
  position: relative;
  overflow: hidden;
}

.hero__bg-card {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 82%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 85%,
    transparent 100%
  );
}

.hero__bg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
}

.hero__inner {
  width: 100%;
  max-width: var(--hero-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: #111;
}

.hero__title {
  margin: 0 0 37px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
}

.hero__image-wrap {
  width: 100%;
  aspect-ratio: 1600 / 700;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: #f3f3f3;
  position:relative;
  z-index:1;

  /* 追加 */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 15px 40px rgba(0, 0, 0, 0.05);  
}

.hero__image-wrap > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;

  transition:
   opacity 1.5s ease,
   transform 10s ease;
}

.hero__image:nth-child(1) {
  transform: scale(1);
}

.hero__image:nth-child(2) {
  object-position: center 40%;
  transform: translateX(-40px) scale(1.1);
}

.hero__image:nth-child(3) {
  transform: translateY(-15px) scale(1.06);
}

.hero__image:nth-child(1).active {
  opacity: 1;
  transform: scale(1.03);
}

.hero__image:nth-child(2).active {
  opacity: 1;
  object-position: center 40%;
  transform: translateX(-40px) scale(1.13);
}

.hero__image:nth-child(3).active {
  opacity: 1;
  transform: translateY(15px) scale(1.06);
}

.hero__image-wrap > img.active {
  opacity: 1;
}

.hero__price {
  margin: -32px 0 6px 16px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.hero__lead {
  margin-top: 20px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  font-weight: 600;
  text-align: center;
}

/* ===========================
Problem
=========================== */

.problem {
  width: 100%;
  padding: 20px var(--space-side) 80px;
  background: #fff;
}

.problem__inner {
  max-width: var(--hero-width);
  margin: 0 auto;
}

.problem__title {
  margin: 0 0 20px;
  font-family: var(--font-base);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: var(--color-text);
}

.problem__cards {
  display: flex;
  gap: 38px;
  align-items: flex-start;
}

.problem-card {
  position: relative;
  width: 300px;
  aspect-ratio: 1 / 1.28;
  overflow: hidden;
  border-radius: 4px;
  background: #eee;

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

/* 写真上の文字 */
.problem-card p {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.problem__lead {
  margin: 28px 0 0 156px;
  font-family: var(--font-base);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--color-text);
}

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

.service {
  width: 100%;
  padding: 80px var(--space-side) 100px;
  background: #fff;
}

.service__inner {
  width: min(100%, var(--hero-width));
  margin: 0 auto;
}

.service__title {
  margin: 0 0 36px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.service__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

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

.service-card__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: #f4f4f4;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.03);
}

.service-card__body {
  padding-top: 20px;
}

.service-card__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.service-card__text {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ===========================
Responsive
=========================== */

@media (max-width: 800px) {
  .service {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .service__title {
    margin-bottom: 28px;
  }

  .service__cards {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-card__image-wrap {
    aspect-ratio: 16 / 10;
  }

  .service-card__body {
    padding-top: 16px;
  }
}

/* ===========================
Price
=========================== */

.price {
  width: 100%;
  padding: 90px var(--space-side) 110px;
  background: #fff;
}

.price__inner {
  width: min(100%, var(--hero-width));
  margin: 0 auto;
}

.price__title {
  margin: 0 0 34px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.price__cards {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: #f3f3f3;
}

.price-card__image-wrap {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

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

.price-card__body {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 18px 20px;
}

.price-card__title {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.price-card__price {
  margin: 2px 0 0;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.price-card__note {
  position: absolute;
  left: 20px;
  bottom: 15px;
  width: max-content;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.price-card__option {
  display: inline-block;
  margin: 7px 0 0;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
}

.price-card--support {
  color: #fff;
  background: #050505;
}

.price__message {
  width: fit-content;
  margin: 24px auto 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.price__message p {
  margin: 0;
}

.price__message p + p {
  margin-top: 8px;
}

/* ===========================
Price Responsive
=========================== */

@media (max-width: 800px) {
  .price {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .price__title {
    margin-bottom: 28px;
  }

  .price__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-card__image-wrap {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .price__message {
    width: 100%;
    margin-top: 26px;
  }
}

@media (max-width: 480px) {
  .price-card__body {
    padding: 15px 16px;
  }

  .price-card__note {
    left: 16px;
    bottom: 12px;
    max-width: calc(100% - 32px);
    font-size: 11px;
  }

  .price__message br {
    display: none;
  }
}

/* ===========================
Greeting
=========================== */

.greeting {
  width: 100%;
  padding: 90px var(--space-side) 110px;
  background: #fff;
}

.greeting__inner {
  width: min(100%, var(--hero-width));
  margin: 0 auto;
}

.greeting__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.greeting__content {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px);
}

.greeting__image-wrap {
  width: clamp(180px, 22vw, 260px);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: #f4f4f4;
}

.greeting__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.greeting__body {
  padding-top: 4px;
}

.greeting__name {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.greeting__text {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.greeting__text + .greeting__text {
  margin-top: 20px;
}

/* ===========================
Greeting Responsive
=========================== */

@media (max-width: 700px) {
  .greeting {
    padding-top: 70px;
    padding-bottom: 85px;
  }

  .greeting__title {
    margin-bottom: 24px;
  }

  .greeting__content {
    flex-direction: column;
    gap: 24px;
  }

  .greeting__image-wrap {
    width: min(100%, 320px);
  }

  .greeting__body {
    padding-top: 0;
  }

  .greeting__name {
    margin-bottom: 16px;
  }

  .greeting__text + .greeting__text {
    margin-top: 18px;
  }
}
/* ===========================
Contact
=========================== */

.contact {
  width: 100%;
  padding: 100px var(--space-side) 80px;
  background: #fff;
}

.contact__inner {
  width: min(100%, var(--hero-width));
  margin: 0 auto;
}

.contact__intro {
  margin-bottom: 48px;
}

.contact__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.contact__lead {
  margin: 8px 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.contact-form {
  width: min(100%, 760px);
}

.contact-form__group {
  margin-bottom: 28px;
}

.contact-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.contact-form__optional {
  margin-left: 6px;
  font-size: 0.75em;
  font-weight: 400;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 1px solid #e7c8b9;
  border-radius: 5px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  line-height: 1.6;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form__input {
  min-height: 56px;
  padding: 12px 16px;
}

.contact-form__textarea {
  min-height: 220px;
  padding: 16px;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #d7a98f;
  box-shadow: 0 0 0 3px rgba(215, 169, 143, 0.14);
}

.contact-form__submit-wrap {
  margin-top: 54px;
  text-align: center;
}

.contact-form__submit {
  width: min(100%, 520px);
  min-height: 58px;
  padding: 12px 24px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #f4c84a, #f7d35e);
  color: #fff;
  font: inherit;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.contact-form__submit:active {
  transform: translateY(0);
}

.contact-form__submit:focus-visible {
  outline: 3px solid rgba(244, 200, 74, 0.35);
  outline-offset: 4px;
}

.contact-form__notes {
  width: min(100%, 620px);
  margin: 14px auto 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.contact-form__notes p {
  margin: 0;
}

.contact-form__notes p::before {
  content: "・";
}

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

@media (max-width: 700px) {
  .contact {
    padding-top: 76px;
    padding-bottom: 64px;
  }

  .contact__intro {
    margin-bottom: 36px;
  }

  .contact-form__group {
    margin-bottom: 24px;
  }

  .contact-form__input {
    min-height: 52px;
  }

  .contact-form__textarea {
    min-height: 190px;
  }

  .contact-form__submit-wrap {
    margin-top: 40px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .contact-form__notes {
    font-size: 12px;
  }
}

/* ===========================
Responsive
=========================== */

@media (max-width: 768px) {
  :root {
    --space-side: 16px;
  }

  .hero {
    padding-top: 32px;
  }

  .site-logo {
    font-size: 22px;
  }

  .hero__logo {
    margin-bottom: 18px;
  }

  .hero__title {
    font-size: 30px;
    margin-bottom: 6px;
  }

  .hero__image-wrap {
    aspect-ratio: 4 / 3;
  }

  .hero__price {
    margin: -28px 0 6px 12px;
    font-size: 14px;
  }

  .hero__lead {
    font-size: 30px;
  }
}
