@charset "UTF-8";

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

#top{
/* ===================================
   HERO — full photo with padding & rounded corners
   =================================== */
.hero {
  margin-top: var(--header-height);
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  padding: 20px;
}
.hero-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* JS でクラスを付け替えてフェード切り替え（sm 内 .fade-trigger と同方式の transition ベース） */
.hero-slideshow .hero-photo {
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slideshow .hero-photo.is-active {
  opacity: 1;
}
.hero-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,30,60,0.7) 0%, rgba(0,30,60,0.3) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 80px;
  text-align: left;
}
.hero-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.2s forwards;
}
.hero-catch {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.4s forwards;
}
.hero-catch-main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.75;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.hero-catch-keywords {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: clamp(14px, 1.5vw, 16.5px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.6s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@media only screen and (max-width: 1024px) {
  .hero {
    margin-top: var(--header-height-sp);
    min-height: calc(100vh - var(--header-height-sp));
    padding: 12px;
  }
  .hero-frame { border-radius: 14px; }
  .hero-content { padding: 0 28px 60px; }
  .hero-catch-main { white-space: normal; }
}
@media only screen and (max-width: 600px) {
  .hero { padding: 8px; }
  .hero-frame { border-radius: 12px; }
  .hero-content { padding: 0 20px 70px; }
  .hero-catch-main {
    font-size: 7.5vw;
  }
  .hero-catch-keywords {
    margin-top: 10px;
    font-size: clamp(0.7rem, 3.5vw, 0.85rem);
  }
}

/* ===================================
   LEAD
   =================================== */
.section-lead {
  text-align: center;
  width: 90%;
  max-width: var(--wrapper-width);
  margin: 0 auto;
}
.section-lead .section-title {
  margin-bottom: 0;
}
.section-lead .section-title::after {
  display: none;
}
.section-lead-text {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 32px;
}
@media only screen and (max-width: 600px) {
  .section-lead {
    text-align: left;
  }
  .section-lead .section-title {
    text-align: left;
  }
  .section-lead-text {
    text-align: left;
  }
}

@media only screen and (max-width: 1024px) {
  .section-lead-text {
    text-align: left;
  }
}

/* ===================================
   NEWS / 最新情報
   =================================== */
.section-news {
  background: var(--color-offwhite);
}
.section-instagram {
  background: var(--color-white);
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.news-card {
  display: block;
  transition: var(--transition);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  text-decoration: none;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 101, 179, 0.12);
  opacity: 1;
}
.news-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--color-gray-light);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.05);
}
.news-card-body {
  padding: 18px 20px 24px;
  text-align: left;
}
.news-card-date {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-gray);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.news-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.news-card-category {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
.news-card-category li {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1.45;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border: 1px solid rgba(0, 160, 233, 0.45);
  border-radius: 3px;
  margin: 0;
}
.news-more {
  text-align: center;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 16px 48px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.btn-more::after {
  content: "→";
  display: inline-block;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.btn-more:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
  opacity: 1;
}
.btn-more:hover::after {
  transform: translateX(4px);
}

@media only screen and (max-width: 1024px) {
  .news-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-card-img {
    aspect-ratio: 16 / 9;
  }
}
@media only screen and (max-width: 600px) {
  .news-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ===================================
   4つの柱 / SERVICE — with image headers
   =================================== */
.section-service {
  background: var(--color-offwhite);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.section-service::before {
  content: "";
  position: absolute;
  top: -5%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: url("../images/common_top/logo_bg.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.section-service .section-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: auto;
  padding: 0 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 101, 179, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 101, 179, 0.1);
  transform: translateY(-4px);
  opacity: 1;
}
.service-card-img {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-img .service-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,74,138,0.70), transparent);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.service-img-label .label-text {
  font-size: 11px;
}
.service-img-label .label-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.service-card-body {
  padding: 24px 20px 29px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 13px;
  letter-spacing: 0.06em;
}
.service-card h4 {
  margin-bottom: 0.5rem;
  color:var(--color-navy);
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
  letter-spacing: 0.05em;
  flex: 1;
}
.service-card-bt{
  margin-top:10px;
  a{
    display: block;
    text-align: center;
  }
  .service-card-bt-txt{
    display: block;
    font-size: 12px;
  }
  .service-card-bt-more{
    display: block;
    margin:5px auto 0;
    max-width: 200px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 10px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
  }
}
.service-card .btn-card {
  display: none;
}
.service-card .tag-preparing {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
  font-size: 11px;
  color: var(--color-text-light);
  background: var(--color-gray-light);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-img {
    aspect-ratio: 16 / 9;
  }
}
@media only screen and (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card-body { padding: 20px 16px 24px; }
}

/* ===================================
   強み / STRENGTH — photo + text alternating
   =================================== */
.section-strength {
  background: var(--color-white);
}
.strength-items {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.strength-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.strength-item:first-child::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 25vw;
  height: 25vw;
  background: url("../images/common_top/strength_ill1.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.strength-item:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 25vw;
  height: 25vw;
  background: url("../images/common_top/strength_ill3.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.strength-item.is-reverse {
  direction: rtl;
}
.strength-item.is-reverse > * {
  direction: ltr;
}
.strength-item-photo {
  position: relative;
  overflow: visible;
  border-radius: 12px;
  margin-bottom: 60px;
}
.strength-item-photo::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 48px;
  width: 100%;
  height: 100%;
  background: #c8e2f5;
  border-radius: 12px;
  z-index: 0;
  transform: rotate(3deg);
}
.strength-item.is-reverse .strength-item-photo::before {
  left: auto;
  right: 48px;
  transform: rotate(-3deg);
}
.strength-item-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 10/9;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s ease;
}
.strength-item:hover .strength-item-photo img {
  transform: scale(1.03);
}
.strength-item-text {
  position: relative;
  z-index: 2;
  text-align: left;
}
.strength-item-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.strength-item-num .num-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.strength-item-num .num-value {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.strength-item-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.strength-item-body p {
  font-size: 15.5px;
  line-height: 2;
  color: var(--color-text-light);
  text-align: left;
  letter-spacing: 0.05em;
}
.strength-item-body p + p {
  margin-top: 14px;
}

@media only screen and (max-width: 1024px) {
  .strength-items { gap: 84px; }
  .strength-item {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .strength-item.is-reverse {
    direction: ltr;
  }
  .strength-item-photo {
    margin-bottom: 40px;
    overflow: hidden;
  }
  .strength-item-photo::before {
    top: 12px;
    left: 12px;
    right: auto;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    transform: rotate(2deg);
  }
  .strength-item.is-reverse .strength-item-photo::before {
    left: 12px;
    right: auto;
    transform: rotate(-2deg);
  }
}
@media only screen and (max-width: 600px) {
  .strength-items { gap: 72px; }
  .strength-item-photo img { border-radius: 8px; }
  .strength-item-photo::before {
    border-radius: 8px;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    transform: rotate(1.5deg);
  }
  .strength-item.is-reverse .strength-item-photo::before {
    left: 8px;
    transform: rotate(-1.5deg);
  }
  .strength-item-text h3 {
    font-size: 5vw;
  }
}

/* Strength photo + background staggered animation */
.strength-item .strength-item-photo img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.strength-item .strength-item-photo::before {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.strength-item.is-visible .strength-item-photo img {
  opacity: 1;
  transform: translateY(0);
}
.strength-item.is-visible .strength-item-photo::before {
  opacity: 1;
  transition-delay: 0.3s;
}

/* ===================================
   スタッフ紹介バナー
   =================================== */
.section-staff-banner {
  background: var(--color-white);
}
.staff-banner {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.staff-banner:hover {
  opacity: 1;
}
.staff-banner-bg {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  transition: transform 0.6s ease;
}
.staff-banner:hover .staff-banner-bg {
  transform: scale(1.03);
}
.staff-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 74, 138, 0.52) 0%,
    rgba(0, 101, 179, 0.32) 60%,
    rgba(0, 160, 233, 0.14) 100%
  );
}
.staff-banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 48px 52px;
  z-index: 2;
}
.staff-banner-catch {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.staff-banner-sub {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-align: left;
}
.staff-banner-arrow {
  position: absolute;
  right: 36px;
  bottom: 50%;
  transform: translateY(50%);
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-text);
  z-index: 2;
  transition: var(--transition);
}
.staff-banner:hover .staff-banner-arrow {
  transform: translateY(50%) translateX(4px);
}

@media only screen and (max-width: 1024px) {
  .staff-banner-bg { height: 280px; }
  .staff-banner-content { padding: 32px 28px; }
}
@media only screen and (max-width: 600px) {
  .staff-banner-bg { height: 220px; }
  .staff-banner-content { padding: 24px 20px; }
  .staff-banner-arrow {
    width: 40px;
    height: 40px;
    right: 20px;
    font-size: 18px;
  }
}

/* ===================================
   Instagram
   =================================== */
.instagram-title {
  font-family: "Parisienne", cursive;
  font-size: 42px;
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.instagram-item {
  aspect-ratio: 1;
  background: var(--color-gray-light);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}
.instagram-item:hover {
  opacity: 0.85;
  transform: scale(1.02);
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.instagram-more {
  text-align: center;
}
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 44px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-instagram::after {
  content: "→";
  display: inline-block;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.btn-instagram:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
  opacity: 1;
}
.btn-instagram:hover::after {
  transform: translateX(4px);
}

@media only screen and (max-width: 600px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ===================================
     ANIMATIONS
     =================================== */

    }