* {
  box-sizing: border-box;
}

/* ==============================
  01. 共通設定
============================== */
:root {
  --pc-width: 1120px;
  --content-width: 1040px;
  --narrow-width: 760px;
  --side-space: 40px;
  --side-space-sp: 28px;

  --color-main: #0089e8;
  --color-accent: #d9232e;
  --color-dark: #101828;
  --color-header: #636363;
  --color-bg-blue: #dff1ff;
  --color-bg-gray: #f5f7fa;
  --color-bg-yellow: #fff1bd;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 22px rgba(15, 23, 42, 0.04);
  --shadow-box: 0 10px 28px rgba(15, 23, 42, 0.06);

  --section-space: 86px;
  --section-space-tab: 70px;
}

body {
  margin: 0;
  color: #101828;
  font-size: 17px;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.85;
  background: #ffffff;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

p {
  margin: 0 0 16px;
}

/* ==============================
  02. ヘッダー・ナビ
============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.header-inner {
  width: min(var(--pc-width), calc(100% - var(--side-space)));
  min-height: 104px;
  margin: 0 auto;
  padding: 12px 0 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "logo info actions"
    ". nav nav";
  align-items: center;
  gap: 8px 28px;
}

.logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  color: #101828;
}

.logo-image-slot {
  width: 178px;
  height: 48px;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.logo-mark {
  color: #f18b2d;
  font-size: 18px;
}

.header-info {
  grid-area: info;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #101828;
}

.header-tel {
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e60021;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.header-tel::before {
  content: "";
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 22px;
  background: #e60021;
  border-radius: 4px;
}

.header-tel::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-time {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.header-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-action {
  min-width: 154px;
  padding: 10px 18px;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.header-action-blue {
  background: #00aeca;
}

.header-action-red {
  background: #e60021;
}

.hamburger {
  display: none;
  padding: 0;
  background: none;
  border: none;
}

.nav {
  grid-area: nav;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #101828;
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  padding: 10px 0;
  border-radius: 0;
  font-weight: 900;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--color-main);
  opacity: 1;
}

.nav-actions-mobile,
.nav-menu-title {
  display: none;
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: #0089e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(35px, 5vw, 53px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 900;
}

/* ==============================
  03. 共通レイアウト
============================== */
.section {
  padding: var(--section-space) 0;
}

.container {
  width: min(var(--content-width), calc(100% - var(--side-space)));
  margin: 0 auto;
}

.narrow {
  width: min(var(--narrow-width), calc(100% - var(--side-space)));
}

.center {
  text-align: center;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(27px, 3.4vw, 37px);
  line-height: 1.45;
  letter-spacing: -0.03em;
  font-weight: 900;
}

h3 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 900;
}

/* ==============================
  05. 各セクション
============================== */
.section-title {
  margin-bottom: 38px;
}

.section-title .label,
.section-outline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 32px;
  padding: 0 22px;
  color: var(--color-main);
  background: transparent;
  border: 3px solid var(--color-main);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.point-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: point-item;
}

.point-list li {
  position: relative;
  margin-bottom: 22px;
  padding-left: 76px;
  counter-increment: point-item;
}

.point-list li::before {
  content: "POINT\A" counter(point-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre;
  color: #ffffff;
  background: #2f65bd;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.point-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--color-main);
  font-size: 17px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 15px 26px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 137, 232, 0.22);
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.75;
}

.button.yellow {
  color: #111827;
  background: #ffe04d;
  border-radius: 999px;
  box-shadow: none;
}

.button.large {
  margin-top: 22px;
  min-width: 220px;
  padding: 15px 30px;
}

.common-contact-cta {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 96px 0;
  display: grid;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 55, 92, 0.82) 0%, rgba(0, 104, 154, 0.72) 58%, rgba(0, 137, 232, 0.58) 100%),
    url("images/common-contact-bg.webp") center / cover no-repeat;
}

.common-contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.common-contact-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 18px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.common-contact-cta h2 {
  min-height: 2.9em;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.45;
}

.common-contact-lead {
  min-height: 3.7em;
  width: min(780px, 100%);
  margin: 0 auto 34px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.common-contact-actions {
  width: min(760px, 100%);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.common-contact-phone,
.common-contact-button {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.common-contact-phone {
  flex-direction: column;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.common-contact-phone span {
  font-size: 14px;
}

.common-contact-phone strong {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.common-contact-phone small {
  font-size: 13px;
}

.common-contact-button {
  color: #ffffff;
  background: #e60021;
  font-size: 22px;
}

.common-contact-note {
  min-height: 1.7em;
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.privacy-page {
  background: #ffffff;
}

.privacy-section {
  padding: 86px 0 96px;
}

.privacy-content h1 {
  margin-bottom: 54px;
  color: #101828;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.35;
}

.privacy-content h2 {
  margin: 48px 0 22px;
  padding-left: 18px;
  color: #101828;
  border-left: 7px solid #0089e8;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.45;
}

.privacy-content h3 {
  margin: 34px 0 12px;
  color: #101828;
  font-size: 22px;
}

.privacy-content p {
  color: #374151;
  font-size: 15px;
  line-height: 2;
  font-weight: 700;
}

.site-footer {
  padding: 42px 20px;
  color: #6b7280;
  background: #ffffff;
  font-size: 13px;
}

.footer-inner {
  width: min(var(--content-width), calc(100% - var(--side-space)));
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #7fb2d3;
  text-align: center;
}

.footer-logo {
  margin-bottom: 18px;
  color: #f18b2d;
  font-size: 19px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: #0089e8;
}

/* ==============================
  06. タブレット・スマホ
============================== */
@media (max-width: 900px) {
  .header-inner {
    width: min(var(--pc-width), calc(100% - var(--side-space)));
    min-height: 56px;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .logo-image-slot {
    width: 150px;
    height: 34px;
    font-size: 11px;
  }

  .header-info,
  .header-actions {
    display: none;
  }

  .hamburger {
    position: relative;
    z-index: 30;
    width: 36px;
    height: 36px;
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    display: block;
    background: #174ea6;
    border-radius: 999px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
    width: min(78vw, 320px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 72px 24px 24px;
    color: #ffffff;
    background: #174ea6;
    white-space: normal;
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }

  .nav a {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .section {
    padding: 70px 0;
  }

  .button {
    width: 100%;
  }

  .common-contact-cta {
    padding: 78px 0;
  }

  .common-contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  .header-inner {
    width: min(var(--pc-width), calc(100% - 24px));
    gap: 6px 18px;
  }

  .logo-image-slot {
    width: 150px;
    height: 42px;
  }

  .header-info {
    gap: 12px;
  }

  .header-tel {
    font-size: 18px;
  }

  .header-time {
    font-size: 11px;
  }

  .header-action {
    min-width: 126px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    width: 100%;
    min-height: 64px;
    height: auto;
    padding: 0 0 0 24px;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo-image-slot {
    width: 160px;
    height: 42px;
    font-size: 12px;
  }

  .header-info {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    display: inline-flex;
    align-self: stretch;
    gap: 0;
  }

  .header-action {
    position: relative;
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 0;
    display: block;
    color: #ffffff;
    border-radius: 0;
    font-size: 0;
    line-height: 1;
    font-weight: 900;
  }

  .header-action-blue {
    background: #00aeca;
  }

  .header-action-pink,
  .header-action-red {
    background: #e60021;
  }

  .header-action-blue::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 30px;
    height: 30px;
    background: url("images/header-remote-icon.svg") center / contain no-repeat;
    transform: translateX(-50%);
  }

  .header-action-blue::after {
    content: "遠隔";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 12px;
    font-size: 11px;
    line-height: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .header-action-pink::before,
  .header-action-red::before {
    content: "✉";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1;
    transform: translateX(-50%);
  }

  .header-action-pink::after,
  .header-action-red::after {
    content: "問合せ";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 12px;
    font-size: 11px;
    line-height: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .hamburger {
    position: relative;
    z-index: 30;
    width: 64px;
    height: 64px;
    margin-left: 0;
    display: inline-flex;
    align-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #00aeca;
    border: none;
  }

  .hamburger span {
    width: 28px;
    height: 2px;
    display: block;
    flex: 0 0 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .hamburger::after {
    content: "MENU";
    height: 12px;
    margin-top: 1px;
    color: #ffffff;
    font-size: 11px;
    line-height: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .hamburger.is-open {
    background: #00aeca;
  }

  .hamburger.is-open::after {
    content: "CLOSE";
  }

  .hamburger.is-open span {
    width: 30px;
    height: 2px;
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: auto;
    z-index: 20;
    width: 100vw;
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 16px 26px;
    color: #101828;
    background: #ffffff;
    white-space: normal;
    overflow-y: auto;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }

  .nav-menu-title {
    width: min(100%, 460px);
    margin: 0 auto 4px;
    display: block;
    padding: 0 0 14px;
    color: #101828;
    font-size: 15px;
    font-weight: 900;
    border-bottom: 1px solid #d9dee8;
  }

  .nav a {
    position: relative;
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 18px 38px 18px 0;
    color: #101828;
    border-radius: 0;
    border-bottom: 1px solid #d9dee8;
    font-size: 16px;
    font-weight: 900;
  }

  .nav a::after {
    content: "＋";
    position: absolute;
    right: 4px;
    top: 50%;
    color: #00aeca;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-50%);
  }

  .nav-actions-mobile {
    width: min(100%, 460px);
    margin: 24px auto 0;
    display: grid;
    gap: 10px;
  }

  .nav-actions-mobile a {
    width: 100%;
    margin: 0;
    padding: 20px 18px;
    color: #ffffff;
    border-bottom: none;
    font-size: 18px;
    text-align: center;
  }

  .nav-actions-mobile a::before {
    margin-right: 8px;
    font-size: 16px;
  }

  .nav-actions-mobile a::after {
    content: none;
  }

  .nav-remote-mobile {
    background: #00aeca;
  }

  .nav-remote-mobile::before {
    content: "↔";
  }

  .nav-contact-mobile {
    background: #e60021;
  }

  .nav-contact-mobile::before {
    content: "✉";
  }

  .nav.is-open {
    transform: translateX(0);
  }
}

@media (max-width: 520px) {
  .container,
  .narrow,
  .footer-inner {
    width: min(calc(100% - var(--side-space-sp)), var(--pc-width));
  }

  .header-inner {
    min-height: 58px;
    padding-left: 14px;
  }

  .logo-image-slot {
    width: 132px;
    height: 38px;
    font-size: 10px;
  }

  .header-action,
  .hamburger {
    width: 58px;
    min-width: 58px;
    height: 58px;
    gap: 3px;
  }

  .nav {
    top: 58px;
    height: calc(100vh - 58px);
    padding: 14px 16px 24px;
  }

  .nav a {
    padding: 16px 36px 16px 0;
    font-size: 15px;
  }

  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 27px;
  }

  .common-contact-cta {
    min-height: auto;
    padding: 64px 0;
  }

  .common-contact-cta h2,
  .common-contact-lead,
  .common-contact-note {
    min-height: auto;
  }

  .common-contact-lead {
    font-size: 14px;
  }

  .common-contact-button {
    font-size: 18px;
  }
}