@charset "UTF-8";

:root {
  --color-main: #2f7fc1;
  --color-main-dark: #1c5a91;
  --color-navy: #16283f;
  --color-accent: #eef4fa;
  --color-text: #2f2f2f;
  --color-text-sub: #666666;
  --color-border: #dbe3ec;
  --color-white: #ffffff;
  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.9;
  font-size: 15px;
  overflow-x: hidden;
}

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

a {
  color: var(--color-main-dark);
  text-decoration: none;
}

a:hover {
  opacity: 0.75;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.header {
  border-bottom: 3px solid var(--color-main);
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 300;
}

.header__top {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 13px;
  text-align: right;
  padding: 6px 20px;
}

.header__top strong {
  color: #9fd1ff;
  font-size: 16px;
  margin-left: 8px;
}

.header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.header__logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.header__logo img {
  height: 40px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-sub);
}

/* --- nav (mobile hamburger) --- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 320;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.25s;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

.nav-toggle.is-active span {
  background: transparent;
}

.nav-toggle.is-active span::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.gnav__list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.gnav__list a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.gnav__list a:hover {
  color: var(--color-main-dark);
  border-bottom-color: var(--color-main);
  opacity: 1;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--color-accent);
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,40,63,0.85) 0%, rgba(28,58,84,0.75) 55%, rgba(47,127,193,0.7) 100%);
}

.hero__overlay {
  position: relative;
  padding: 70px 20px 60px;
  text-align: center;
}

.hero__catch {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #9fd1ff;
  margin: 0 0 14px;
}

.hero__title {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.5;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  opacity: 0.92;
}

.hero__cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
}

.btn--primary {
  background: var(--color-main);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-main-dark);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.7);
}

.page-title {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 48px 20px;
  margin: 0;
  font-size: 26px;
}

/* ---------- Section common ---------- */
section {
  padding: 60px 0;
}

.section__title {
  font-size: 24px;
  color: var(--color-navy);
  text-align: center;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 16px;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--color-main);
}

.lead {
  text-align: center;
  color: var(--color-text-sub);
  max-width: 760px;
  margin: 0 auto 40px;
}

/* ---------- Intro (代表挨拶) ---------- */
.intro {
  background: var(--color-accent);
}

.intro__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.intro__photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-main);
  flex-shrink: 0;
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__text p {
  margin: 0 0 1.2em;
}

.intro__text .sign {
  text-align: right;
  color: var(--color-text-sub);
  font-size: 14px;
}

/* ---------- Business (業務内容) ---------- */
.business__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.business__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-main);
  padding: 32px 28px;
  border-radius: 4px;
}

.business__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-main-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.business__photo {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  background: var(--color-accent);
  border-radius: 4px;
  margin-bottom: 18px;
}

.business__item h3 {
  color: var(--color-navy);
  font-size: 18px;
  margin: 0 0 12px;
}

.business__item p {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0 0 10px;
}

.business__item ul {
  font-size: 13.5px;
  color: var(--color-text-sub);
  padding-left: 1.2em;
  list-style: disc;
}

.business__item ul li {
  margin-bottom: 4px;
}

/* ---------- Cases / Voice ---------- */
.cases__list {
  display: grid;
  gap: 20px;
}

.cases__list li {
  background: var(--color-white);
  border-left: 4px solid var(--color-main);
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 14.5px;
  color: var(--color-text-sub);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.voice-grid img {
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* ---------- Mascot ---------- */
.mascot-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--color-main);
  vertical-align: middle;
  margin-right: 14px;
  display: inline-block;
}

.mascot-icon--cta {
  width: 56px;
  height: 56px;
  margin: 0 0 12px;
  border: 2px solid var(--color-white);
}

/* ---------- Features ---------- */
.features {
  background: var(--color-accent);
}

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

.features__item {
  background: var(--color-white);
  padding: 30px 24px;
  border-radius: 4px;
  text-align: center;
}

.features__item .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 16px;
}

.features__item h3 {
  color: var(--color-navy);
  font-size: 17px;
  margin: 0 0 12px;
}

.features__item p {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-navy);
  padding: 18px 40px 18px 44px;
  position: relative;
  cursor: pointer;
}

.faq__q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 20px;
  color: var(--color-text-sub);
  transition: transform 0.2s;
}

.faq__q.is-open::after {
  transform: rotate(45deg);
}

.faq__a {
  display: none;
  padding: 0 20px 20px 44px;
  font-size: 14px;
  color: var(--color-text-sub);
  position: relative;
}

.faq__a::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__item.is-open .faq__a {
  display: block;
}

/* ---------- Area / Info table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 700px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--color-border);
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
}

.info-table th {
  background: var(--color-accent);
  width: 30%;
  color: var(--color-navy);
  white-space: nowrap;
}

.area-map {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px;
}

.area-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.area-tags span {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
}

/* ---------- License notice ---------- */
.license-box {
  background: var(--color-accent);
  border: 1px solid var(--color-border);
  padding: 18px 24px;
  font-size: 13px;
  color: var(--color-text-sub);
  max-width: 700px;
  margin: 0 auto;
  border-radius: 4px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-main-dark);
  color: var(--color-white);
  text-align: center;
  padding: 50px 20px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.cta-band p {
  margin: 0 0 24px;
  opacity: 0.9;
  font-size: 14px;
}

.cta-band .tel-link {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 18px;
}

/* ---------- Company table ---------- */
.company-photo {
  max-width: 760px;
  margin: 0 auto 30px;
  border-radius: 4px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 760px;
  margin: 0 auto;
}

.company-table th,
.company-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 16px;
  text-align: left;
  font-size: 14.5px;
  vertical-align: top;
}

.company-table th {
  width: 32%;
  color: var(--color-navy);
  background: var(--color-accent);
}

/* ---------- Contact ---------- */
.contact-lead {
  text-align: center;
  margin-bottom: 40px;
}

.tel-box {
  text-align: center;
  background: var(--color-accent);
  padding: 24px;
  margin-bottom: 40px;
  font-size: 15px;
}

.tel-box strong {
  color: var(--color-main-dark);
  font-size: 22px;
  margin-left: 8px;
}

.privacy-box {
  background: var(--color-accent);
  padding: 24px 28px;
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 40px;
}

.privacy-box h3 {
  color: var(--color-navy);
  font-size: 14px;
  margin: 0 0 12px;
}

.privacy-box ul {
  padding-left: 1.2em;
  list-style: disc;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 700px;
  margin: 0 auto;
}

.form-table th,
.form-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.form-table th {
  width: 30%;
  font-size: 14px;
  font-weight: 600;
}

.required {
  color: #c0392b;
  font-size: 12px;
  margin-left: 6px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
  background: var(--color-white);
}

.form-table textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 50px;
}

.form-submit button {
  background: var(--color-main);
  color: var(--color-white);
  border: none;
  padding: 14px 56px;
  font-size: 15px;
  border-radius: 2px;
  cursor: pointer;
}

.form-submit button:hover {
  background: var(--color-main-dark);
}

.form-notice {
  background: #fdecea;
  color: #c0392b;
  padding: 16px 20px;
  margin: 0 auto 30px;
  max-width: 700px;
  border-radius: 4px;
  font-size: 14px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success h2 {
  color: var(--color-navy);
}

.form-hint {
  margin: 6px 0 0;
  font-size: 0.85em;
  color: #777;
}

.privacy-agree {
  margin: 20px 0;
  font-size: 0.95em;
  text-align: center;
  padding-top: 30px;
}

.privacy-agree input[type="checkbox"] {
  margin-right: 6px;
  vertical-align: middle;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.captcha-box img {
  border: 1px solid #ccc;
  background: #f5f5f5;
}

.captcha-box button {
  padding: 6px 12px;
  font-size: 0.85em;
  cursor: pointer;
  background: #fff;
  border: 1px solid #999;
  border-radius: 4px;
}

.captcha-box button:hover {
  background: #eee;
}

/* ---------- Page top button ---------- */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  border: none;
  cursor: pointer;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer__inner {
  text-align: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer__nav a {
  color: var(--color-white);
  font-size: 13px;
}

.footer__info {
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 16px;
}

.footer__copy {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header__top {
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .header__inner {
    padding: 12px 20px;
  }

  .gnav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100%;
    background: var(--color-white);
    box-shadow: -2px 0 12px rgba(0,0,0,0.15);
    padding: 90px 24px 24px;
    transition: right 0.3s;
    z-index: 310;
  }

  .gnav.is-open {
    right: 0;
  }

  .gnav__list {
    flex-direction: column;
    gap: 4px;
  }

  .gnav__list a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 305;
  }

  .nav-overlay.is-open {
    display: block;
  }

  .hero__overlay {
    padding: 46px 16px 40px;
  }

  .hero__title {
    font-size: 22px;
  }

  .page-title {
    font-size: 20px;
    padding: 32px 20px;
  }

  section {
    padding: 40px 0;
  }

  .intro__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro__photo {
    margin: 0 auto;
  }

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

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

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

  .info-table th {
    width: 40%;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 6px;
  }

  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .form-table th {
    padding-bottom: 4px;
  }

  .cta-band .tel-link {
    font-size: 22px;
  }
}
