/* ================== CSS Variables ================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f3f4f6;
  --color-bg-deep: #050816;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-accent: #59B2F7;
  --color-accent-soft: #e5f3ff;
  --color-accent-hover: #3da0e8;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 24px 50px rgba(15, 23, 42, 0.2);

  --max-width: 1120px;
  --max-width-wide: 1400px;
  --header-height: 80px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 40%, #f3f4f6 100%);
  line-height: 1.8;
  overflow-x: hidden;
}

.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: var(--transition);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.site-header__logo:hover {
  opacity: 0.8;
}

.site-header__logo-mark {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.site-header__logo-text {
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

/* ナビゲーション */
.nav-toggle {
  display: none;
}

.global-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.global-nav__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle:checked + .global-nav__toggle span:first-child {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle:checked + .global-nav__toggle span:last-child {
  transform: rotate(-45deg) translate(7px, -7px);
}

.global-nav__list {
  display: flex;
  gap: 40px;
  align-items: center;
}

.global-nav__list a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
}

.global-nav__list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.global-nav__list a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 32px;
  background: var(--color-text);
  color: white !important;
  border-radius: 4px;
  border: 2px solid var(--color-text);
  transition: var(--transition);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: white;
  color: var(--color-text) !important;
  border-color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 24px;
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease forwards;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  animation-fill-mode: backwards;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  animation-fill-mode: backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ヒーローコントロール */
.hero__controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.hero__control {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.hero__control svg {
  width: 20px;
  height: 20px;
}

.hero__control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero__dots {
  display: flex;
  gap: 12px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot--active {
  background: white;
  width: 32px;
  border-radius: 6px;
}

/* 円形タイマー */
.hero__timer {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  z-index: 10;
}

.hero__timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hero__timer-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 3;
}

.hero__timer-progress {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.1s linear;
}

/* ================== Buttons ================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

.btn--primary {
  background: white;
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn--outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn--outline:hover {
  background: white;
  color: var(--color-text);
}

.btn--large {
  padding: 18px 48px;
  font-size: 17px;
  width: 100%;
  max-width: 400px;
}

/* ================== Section ================== */

.section {
  padding: 60px 0;
}

.section--about {
  background: var(--color-bg);
}

.section--services {
  background: var(--color-bg-soft);
}

.section--flow {
  background: var(--color-bg-soft);
}

.section--contact {
  background: var(--color-bg);
  padding: 60px 0;
}

.section--news {
  background: var(--color-bg);
  padding: 60px 0 50px;
}

.section--news .inner {
  max-width: var(--max-width-wide);
}

.section--about .inner {
  max-width: var(--max-width-wide);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__header--left {
  text-align: left;
  margin-bottom: 40px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section__description {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ================== News ================== */

.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

/* PC版: 左側に大きいカード2つ、右側に小さいカード3つ */
.news-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 4;
}

.news-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.news-card:nth-child(3) {
  grid-column: 2;
  grid-row: 3 / 5;
}

.news-card:nth-child(4) {
  grid-column: 2;
  grid-row: 5 / 7;
}

.news-card:nth-child(5) {
  grid-column: 1;
  grid-row: 4 / 7;
}

/* 左側カードの画像比率を統一 */
.news-card:nth-child(1) .news-card__image,
.news-card:nth-child(5) .news-card__image {
  aspect-ratio: 16 / 10;
}

.news-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.news-card__link {
  display: block;
  color: inherit;
}

/* 右側の小さいカード（2, 3, 4番目）は横並び */
.news-card:nth-child(2) .news-card__link,
.news-card:nth-child(3) .news-card__link,
.news-card:nth-child(4) .news-card__link {
  display: flex;
  flex-direction: row;
  height: 100%;
  align-items: stretch;
}

.news-card:nth-child(2) .news-card__image,
.news-card:nth-child(3) .news-card__image,
.news-card:nth-child(4) .news-card__image {
  width: 35%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.news-card:nth-child(2) .news-card__content,
.news-card:nth-child(3) .news-card__content,
.news-card:nth-child(4) .news-card__content {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.news-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__date {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* 小さいカードの日付を調整 */
.news-card:nth-child(2) .news-card__date,
.news-card:nth-child(3) .news-card__date,
.news-card:nth-child(4) .news-card__date {
  padding: 8px 12px;
  top: 12px;
  right: 12px;
}

.news-card__day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 4px;
}

/* 小さいカードの日付サイズを調整 */
.news-card:nth-child(2) .news-card__day,
.news-card:nth-child(3) .news-card__day,
.news-card:nth-child(4) .news-card__day {
  font-size: 16px;
}

.news-card__year {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1;
}

.news-card:nth-child(2) .news-card__year,
.news-card:nth-child(3) .news-card__year,
.news-card:nth-child(4) .news-card__year {
  font-size: 10px;
}

.news-card__content {
  padding: 20px;
}

.news-card:nth-child(5) .news-card__content {
  padding: 16px 20px;
}

.news-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 小さいカードのテキストサイズを調整 */
.news-card:nth-child(2) .news-card__text,
.news-card:nth-child(3) .news-card__text,
.news-card:nth-child(4) .news-card__text {
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.news-card:nth-child(5) .news-card__text {
  font-size: 14px;
  line-height: 1.6;
}

.news__view-all {
  text-align: center;
  margin-top: 32px;
}

.btn-view-all {
  display: inline-block;
  padding: 16px 60px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text);
  border: 2px solid var(--color-text);
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-view-all:hover {
  background: var(--color-text);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================== About ================== */

.about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.about__header {
  text-align: center;
  margin-bottom: 80px;
}

.about__title {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 4px;
}

.about__main {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* ロゴエリア */
.about__logo-wrapper {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__logo-circle {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.about__logo-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: logoRotate 20s linear infinite;
}

@keyframes logoRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about__logo-text {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  font-size: 110px;
  font-weight: 900;
  color: white;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0;
}

.logo-char {
  display: inline-block;
  animation: logoFloat 3s ease-in-out infinite;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo-char-1 {
  animation-delay: 0s;
}

.logo-char-2 {
  animation-delay: 0.3s;
}

.logo-char-3 {
  animation-delay: 0.6s;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

.about__tagline {
  text-align: center;
}

.about__tagline p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
}

/* コンテンツエリア */
.about__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__description {
  margin-bottom: 40px;
}

.about__description p {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.about__description p:last-child {
  font-weight: 600;
  color: var(--color-accent);
}

.about__cta {
  text-align: left;
}

.btn-about-works {
  display: inline-block;
  padding: 16px 48px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: var(--color-text);
  border: 2px solid var(--color-text);
  border-radius: 4px;
  transition: var(--transition);
}

.btn-about-works:hover {
  background: white;
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================== Services ================== */

/* Services Slider */
.services-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.services-slider__wrapper {
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.services-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-slide {
  min-width: 100%;
  display: flex;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  height: 550px;
}

.service-slide__content {
  flex: 0 0 35%;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f5f5;
  position: relative;
}

.service-slide__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.service-slide__subtitle {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.service-slide__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  line-height: 1.6;
}

.service-slide__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 40px;
}

.service-slide__button {
  display: inline-block;
  padding: 14px 32px;
  background: white;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  text-align: center;
  align-self: flex-start;
}

.service-slide__button:hover {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.service-slide__image {
  flex: 0 0 65%;
  position: relative;
  overflow: hidden;
}

.service-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-slide:hover .service-slide__image img {
  transform: scale(1.05);
}

.service-slide__icon {
  display: none;
}

/* Navigation Controls */
.services-slider__controls {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.services-slider__control {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.services-slider__control:hover {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.services-slider__control svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Pagination Dots */
.services-slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.services-slider__dot {
  width: 40px;
  height: 4px;
  border-radius: 0;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.services-slider__dot:hover {
  background: #9ca3af;
}

.services-slider__dot--active {
  background: var(--color-text);
}

/* ================== Works ================== */

/* ================== Flow ================== */

.flow__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.flow-step {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.flow-step__number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #3da0e8 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.flow-step__content {
  flex: 1;
}

.flow-step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.flow-step__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.section--contact {
  padding: 80px 0;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-method__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-method__icon svg {
  width: 24px;
  height: 24px;
}

.contact-method__content {
  flex: 1;
}

.contact-method__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.contact-method__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.contact-method__note {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-required {
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-input--textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* ================== Footer ================== */

.site-footer {
  background: var(--color-bg-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
}

.site-footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__logo {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.site-footer__text {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.site-footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.site-footer__list {
  font-size: 14px;
  line-height: 2;
}

.site-footer__list a {
  transition: var(--transition);
}

.site-footer__list a:hover {
  color: var(--color-accent);
}

.site-footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  font-size: 14px;
  opacity: 0.6;
}

/* ================== Page Top Button ================== */

.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  z-index: 999;
}

.page-top.visible {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-4px);
}

.page-top svg {
  width: 24px;
  height: 24px;
}

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

@media (max-width: 992px) {
  .hero__title {
    font-size: 42px;
  }

  .section__title {
    font-size: 38px;
  }

  .about__title {
    font-size: 42px;
  }

  .about__main {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .about__logo-wrapper {
    width: 100%;
    max-width: 400px;
  }

  .about__logo-circle {
    width: 100%;
    height: 180px;
  }

  .about__logo-text {
    font-size: 90px;
  }

  .about__tagline p {
    font-size: 18px;
  }

  .about__content {
    text-align: center;
  }

  .about__cta {
    text-align: center;
  }

  .news__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* タブレット・スマホでは全カード同じスタイルに */
  .news-card:nth-child(1),
  .news-card:nth-child(2),
  .news-card:nth-child(3),
  .news-card:nth-child(4),
  .news-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card:nth-child(2) .news-card__link,
  .news-card:nth-child(3) .news-card__link,
  .news-card:nth-child(4) .news-card__link {
    display: block;
  }

  .news-card:nth-child(2) .news-card__image,
  .news-card:nth-child(3) .news-card__image,
  .news-card:nth-child(4) .news-card__image {
    width: 100%;
  }

  .news-card:nth-child(2) .news-card__content,
  .news-card:nth-child(3) .news-card__content,
  .news-card:nth-child(4) .news-card__content {
    padding: 24px;
  }

  .news-card:nth-child(2) .news-card__date,
  .news-card:nth-child(3) .news-card__date,
  .news-card:nth-child(4) .news-card__date {
    padding: 12px 16px;
    top: 16px;
    right: 16px;
  }

  /* Services Slider Responsive */
  .service-slide {
    flex-direction: column;
    height: auto;
  }

  .service-slide__content {
    flex: 1;
    padding: 40px 32px;
  }

  .service-slide__image {
    flex: 0 0 300px;
    width: 100%;
    order: -1;
  }

  .service-slide__title {
    font-size: 20px;
  }

  .service-slide__text {
    font-size: 14px;
  }

  .services-slider__controls {
    bottom: 20px;
    right: 20px;
  }

  .services-slider__control {
    width: 40px;
    height: 40px;
  }

  .news-card:nth-child(2) .news-card__day,
  .news-card:nth-child(3) .news-card__day,
  .news-card:nth-child(4) .news-card__day {
    font-size: 20px;
  }

  .news-card:nth-child(2) .news-card__year,
  .news-card:nth-child(3) .news-card__year,
  .news-card:nth-child(4) .news-card__year {
    font-size: 12px;
  }

  .news-card:nth-child(2) .news-card__text,
  .news-card:nth-child(3) .news-card__text,
  .news-card:nth-child(4) .news-card__text {
    font-size: 15px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
  }

  .flow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-step {
    padding: 28px 20px;
  }

  .flow-step__number {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .flow-step__title {
    font-size: 18px;
  }

  .section--contact {
    padding: 50px 0;
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__info {
    flex-direction: row;
    gap: 20px;
  }

  .contact-method {
    flex: 1;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .site-header__logo-mark {
    font-size: 28px;
  }

  .global-nav__toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-toggle:checked ~ .global-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

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

  .global-nav__list a {
    font-size: 18px;
  }

  .hero {
    min-height: 500px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero__timer {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .section {
    padding: 50px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section--news {
    padding: 50px 0 40px;
  }

  .section__title {
    font-size: 32px;
  }

  .about__title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .about__main {
    gap: 40px;
  }

  .about__logo-circle {
    width: 100%;
    height: 140px;
  }

  .about__logo-text {
    font-size: 70px;
    gap: 8px;
  }

  .about__tagline p {
    font-size: 16px;
  }

  .about__description p {
    font-size: 15px;
    line-height: 1.9;
  }

  /* Services Slider Mobile */
  .service-slide {
    height: auto;
  }

  .service-slide__image {
    flex: 0 0 250px;
  }

  .service-slide__content {
    padding: 32px 24px;
  }

  .service-slide__label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .service-slide__subtitle {
    font-size: 10px;
    margin-bottom: 24px;
  }

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

  .service-slide__text {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .service-slide__button {
    padding: 12px 24px;
    font-size: 11px;
  }

  .services-slider__controls {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .services-slider__control {
    width: 36px;
    height: 36px;
  }

  .services-slider__control svg {
    width: 18px;
    height: 18px;
  }

  .services-slider__dots {
    gap: 8px;
    margin-top: 24px;
  }

  .services-slider__dot {
    width: 32px;
    height: 3px;
  }

  .section--news {
    padding: 60px 0;
  }

  .news__grid {
    gap: 24px;
  }

  .news-card__date {
    top: 12px;
    right: 12px;
    padding: 8px 12px;
  }

  .news-card__day {
    font-size: 18px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

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

  .flow-step {
    padding: 24px 20px;
  }

  .flow-step__number {
    width: 60px;
    height: 60px;
    font-size: 22px;
    margin-bottom: 12px;
  }

  .flow-step__title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .flow-step__text {
    font-size: 13px;
    line-height: 1.6;
  }

  .section--contact {
    padding: 40px 0;
  }

  .contact__info {
    flex-direction: column;
    gap: 20px;
  }

  .contact-method {
    gap: 12px;
  }

  .contact-method__icon {
    width: 40px;
    height: 40px;
  }

  .contact-method__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-method__value {
    font-size: 18px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-input--textarea {
    min-height: 100px;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .section__title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
  }
}