:root {
  --blue: #1599d6;
  --blue-dark: #237ea5;
  --blue-soft: #eef9fd;
  --mint: #7fd7c5;
  --mint-soft: #e9f8f4;
  --coral: #ff7d69;
  --yellow: #f6c66b;
  --ink: #24333c;
  --muted: #687780;
  --white: #ffffff;
  --border: #dcecf2;
  --shadow: 0 8px 28px rgba(45, 112, 140, 0.10);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
}

/* =========================
   ファーストビュー
========================= */

.hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 85% 20%, rgba(182, 232, 255, 0.5), transparent 28%),
    linear-gradient(120deg, #ffffff 0%, #f7fcff 45%, #eaf8fd 100%);
  color: var(--ink);
  padding: 60px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(127, 215, 197, 0.12);
  left: -150px;
  bottom: -180px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.03em;
  margin: 0 0 30px;
}

.hero h1::first-line {
  color: var(--ink);
}

.hero-message {
  margin-bottom: 28px;
}

.hero-message h1 {
  margin-bottom: 22px;
}

.hero-lead,
.hero-text,
.hero-result {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  font-weight: 400;
}

/* 最後のメッセージだけ青色で強調 */
.hero-result {
  color: var(--blue-dark);
  font-weight: 700
}

.brand-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 25px;
  color: #fff;
  background: linear-gradient(135deg, #ff8d7a, var(--coral));
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 125, 105, 0.28);
  transition: 0.2s ease;
}

.btn::after {
  content: "›";
  margin-left: 12px;
  font-size: 22px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(255, 125, 105, 0.32);
}

.hero h1 .nowrap {
  white-space: nowrap;
}

/* =========================
   メッセージ
========================= */

.coral-section {
  background:
    linear-gradient(135deg, #eefaff 0%, #ffffff 50%, #f4fcfa 100%);
  color: var(--ink);
}

.message {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
}

.message::before,
.message::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(127, 215, 197, 0.12);
}

.message::before {
  left: -100px;
  bottom: -70px;
}

.message::after {
  right: -90px;
  top: 30px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.message h2 {
  font-family: "Yu Mincho", serif;
  color: var(--blue);
  font-size: clamp(36px, 4.5vw, 57px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}

.message-nowrap {
  white-space: nowrap;
  font-size: 0.75em;
}

.white-copy {
  color: var(--ink);
  font-size: 16px;
}

.copy p {
  margin: 0 0 1.4em;
}

/* =========================
   自己紹介
========================= */

.section-light {
  background: #fff;
}

.profile {
  padding: 76px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.profile-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.profile-copy {
  padding: 20px;
}

.profile-copy h2,
.voices h2 {
  color: var(--blue);
  font-family: "Yu Mincho", serif;
  font-size: 42px;
  font-weight: 500;
  margin: 0 0 24px;
}

.profile-copy p {
  margin: 0 0 22px;
  font-size: 16px;
}

/* =========================
   実績
========================= */

.achievements {
  padding: 76px 0;
  background: #f8fcfe;
}

.achievements h2 {
  margin: 0 0 16px;
  text-align: center;
  color: var(--blue);
  font-family: "Yu Mincho", serif;
  font-size: 42px;
  font-weight: 500;
}

.achievements-lead {
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achievement-card {
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.achievement-number {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
}

.achievement-card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 19px;
}

.achievement-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   サービス
========================= */

.navy-section {
  background: #fff;
  color: var(--ink);
}

.services {
  padding: 70px 0 78px;
}

.services::before {
  content: "業務内容";
  display: block;
  text-align: center;
  color: var(--blue);
  font-family: "Yu Mincho", serif;
  font-size: 38px;
  margin-bottom: 42px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service {
  position: relative;
  min-height: 0;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.text-service {
  border-top: 6px solid #9fd7ee;
}

.text-service h2 {
  color: var(--blue);
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 22px;
  font-weight: 500;
}

.text-service h3 {
  color: var(--blue-dark);
  font-size: 20px;
  margin: 20px 0 7px;
}

.text-service p {
  font-size: 14px;
  margin: 0 0 12px;
}

/* 画像カードを白カード風に */

.image-card {
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  opacity: 1;
}

.overlay {
  position: static;
  padding: 24px 26px 30px;
  display: block;
  text-shadow: none;
  background: #fff;
  color: var(--ink);
}

.overlay h3 {
  color: var(--blue-dark);
  font-size: 23px;
  margin: 0 0 12px;
}

.overlay p {
  font-size: 14px;
  margin: 0 0 14px;
}

.service-top-title {
  position: static;
  padding: 22px 25px 0;
  margin: 0;
  color: var(--blue-dark);
  font-size: 25px;
  font-weight: 600;
}

.business-card {
  border-top: 6px solid var(--mint);
}

.seminar-card {
  margin-top: 0;
  border-top: 6px solid var(--yellow);
}

/* =========================
   お客様の声
========================= */

.voices {
  padding: 70px 0;
  background: #f8fcfe;
}

.voices h2 {
  text-align: center;
  margin-bottom: 40px;
}

.voices-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.voices-grid > img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.voice-list {
  display: grid;
  gap: 18px;
}

.voice-list blockquote {
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(60, 110, 130, 0.06);
  font-size: 15px;
  font-weight: 500;
}

.voice-list cite {
  display: block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 700;
}

/* =========================
   お問い合わせ
========================= */

.contact {
  padding: 58px 0;
  background:
    linear-gradient(135deg, #e7f7fb 0%, #d6eff8 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact h2 {
  color: var(--blue-dark);
  font-size: 38px;
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}

.contact-info {
  display: grid;
  gap: 32px;
}

.contact-info h3 {
  color: var(--blue-dark);
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 16px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  text-decoration: none;
  font-size: 20px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: var(--blue);
  color: #ffffff;
}

dl {
  margin: 0;
}

dl > div {
  margin-bottom: 20px;
}

dt {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

dd {
  margin: 0;
  font-size: 15px;
}

dd a {
  text-decoration: none;
}

/* =========================
   フッター
========================= */

.footer {
  background: linear-gradient(90deg, #2aa8ae, #1c8fc8);
  color: #fff;
  padding: 14px 0;
  font-size: 12px;
  text-align: center;
}

/* =========================
   スマホ
========================= */

@media (max-width: 800px) {

  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 35px 0 38px;
  }

  .hero-grid,
  .two-col,
  .profile-grid,
  .services-grid,
  .voices-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-image {
    order: 2;
  }

  .brand-row {
    align-items: center;
  }

  .brand-logo {
    width: 65px;
    height: 65px;
  }

  .message {
    padding: 55px 0;
  }

  .two-col {
    gap: 32px;
  }

  .message h2 {
    font-size: 34px;
  }

  .white-copy {
    font-size: 15px;
  }

  .profile {
    padding: 50px 0;
  }

  .profile-grid {
    gap: 25px;
  }

  .profile-image {
    height: auto;
    aspect-ratio: 4 / 4.5;
  }

  .profile-copy {
    padding: 10px 0;
  }

  .profile-copy h2,
  .voices h2 {
    font-size: 34px;
  }

  .services {
    padding: 55px 0;
  }

  .services::before {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .services-grid {
    gap: 18px;
  }

  .service {
    padding: 25px 21px;
  }

  .image-card {
    padding: 0;
  }

  .image-card img {
    height: 220px;
  }

  .voices {
    padding: 50px 0;
  }

  .voices-grid {
    gap: 26px;
  }

  .voices-grid > img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .contact {
    padding: 48px 0;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact h2 {
    font-size: 31px;
  }

  .achievements {
  padding: 55px 0;
}

.achievements h2 {
  font-size: 34px;
}

.achievements-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

}

@media (max-width: 420px) {

  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 27px;
  }

  .brand-row p {
    font-size: 13px;
  }

  .message h2 {
    font-size: 31px;
  }

  .service {
    border-radius: 14px;
  }
  .service ul {
  padding-left: 22px;
}

.service li {
  margin-bottom: 6px;
}

.service li::marker {
  color: #1599d6;
}
/* SNS */
.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

}
/* LINEボタンだけ丸アイコン設定を上書き */
.socials a.line-button {
  width: auto;
  height: 44px;
  min-width: 190px;
  padding: 0 22px;
  border-radius: 999px;

  background: #06c755;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.socials a.line-button:hover {
  background: #05b84e;
  color: #ffffff;
  transform: translateY(-3px);
}
/* =========================
   ご利用案内
========================= */

.guide {
  padding: 90px 0;
}

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

.guide-label {
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  opacity: 0.65;
}

.guide-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.guide-heading p {
  line-height: 1.9;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.guide-card {
  padding: 35px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.guide-card h3 {
  margin: 15px 0 5px;
  font-size: 1.6rem;
}

.guide-card p {
  line-height: 1.9;
}

.guide-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.8rem;
}

.guide-price {
  margin: 10px 0 25px;
}

.guide-price strong {
  font-size: 2rem;
}

.guide-note {
  margin: 25px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.course-box,
.support-box,
.session-method,
.flow {
  margin-top: 35px;
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.course-box h3,
.support-box h3,
.session-method > h3,
.flow > h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.course-box p,
.support-box p {
  line-height: 1.9;
}

.course-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 30px 0 20px;
}

.course-points div {
  padding: 22px 12px;
  text-align: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
}

.course-points strong,
.course-points span {
  display: block;
}

.course-points strong {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.course-points span {
  font-size: 0.85rem;
}

.course-small,
.method-note {
  font-size: 0.85rem;
  opacity: 0.75;
}

.method-grid,
.flow-grid {
  display: grid;
  gap: 20px;
  margin-top: 25px;
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-card,
.flow-course {
  padding: 25px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
}

.method-card h4,
.flow-course h4 {
  margin-top: 0;
  font-size: 1.2rem;
}

.method-card p,
.flow-course li {
  line-height: 1.8;
}

.flow-course ol {
  margin-bottom: 0;
  padding-left: 1.5em;
}

.flow-course li {
  margin-bottom: 8px;
}

/* スマホ */
@media (max-width: 768px) {
  .guide {
    padding: 60px 0;
  }

  .guide-cards,
  .course-points,
  .method-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .guide-card,
  .course-box,
  .support-box,
  .session-method,
  .flow {
    padding: 25px 20px;
  }

  .guide-heading br {
    display: none;
  }
}
/* =========================
   TOPへ戻るボタン
========================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  width: 64px;
  height: 64px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: #16324f;
  color: #fff;

  font-size: 12px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.back-to-top i {
  margin-bottom: 2px;
  font-size: 18px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* スマホ */
@media (max-width: 768px) {
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 55px;
    height: 55px;
    font-size: 10px;
  }

  .back-to-top i {
    font-size: 16px;
  }
}