* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #24364b;
  background: #f7f9fc;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5edf5;
}

.header-inner {
  width: min(1120px, 92%);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: #164f91;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.logo-main {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.logo-sub {
  margin: 0;
  font-size: 11px;
  color: #607086;
}

.header-tel {
  font-size: 12px;
  color: #607086;
}

.header-tel strong {
  display: block;
  color: #123c70;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.header-logo{
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* hero */
.hero {
  background: linear-gradient(135deg, #0f4a8a 0%, #115da7 100%);
  color: #fff;
  padding: 70px 0 72px;
}

.hero-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-size: 12px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.hero-text {
  max-width: 860px;
  margin: 0 0 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tags span {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  font-size: 12px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
}

.btn-white {
  background: #fff;
  color: #164f91;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}

/* quick */
.quick-menu {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #eaf3fb;
  border-top: 1px solid #d4e4f0;
  border-bottom: 1px solid #d4e4f0;
}

.quick-item {
  min-height: 150px;
  border-right: 1px solid #d4e4f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: #315878;
  font-size: 13px;
  padding: 30px 10px;
}

.quick-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10%;
}

.quick-item p {
  font-size: 15px;
  font-weight: 600;
}

.quick-item:last-child {
  border-right: none;
}

/* section */
.section {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 70px 0;
}

.section h2 {
  margin: 0 0 34px;
  padding-left: 16px;
  border-left: 3px solid #164f91;
  color: #123c70;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.case-box,
.white-card,
.area-box {
  background: #fff;
  border: 1px solid #dfe8f1;
  padding: 28px;
  margin-bottom: 22px;
}

.case-box > ul {
  columns: 2;
  column-gap: 60px;
}

.case-card ul,
.case-card-b ul {
  columns: 1;
}

.case-box h3 {
  margin: -28px -28px 20px;
  padding: 12px 20px;
  background: #eaf3fb;
  color: #164f91;
  font-size: 17px;
}

.case-grid,
.feature-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.case-card,
.feature-card,
.staff-card {
  background: #fff;
  border: 1px solid #dfe8f1;
  padding: 28px;
}

.case-card h4 {
  margin: 0 0 10px;
  color: #164f91;
  font-size: 16px;
}

.case-card p,
.feature-card p,
.white-card p,
.case-card-b {
  margin: 0;
  font-size: 14px;
}

.case-card-b {
  background: #dbeeff;
  border: 1px solid #dfe8f1;
  padding: 28px;
  margin-top: 24px;
}

.case-card-b h4 {
  color: #164f91;
  font-size: 16px;
}

.case-card-b ul {
  font-size: 16px;
}

.case-note{
    margin-top: 24px;
    background: #dbeeff;
    padding: 28px 36px;
    line-height: 2;
}

.case-note {
  color: #164f91;
}

/* feature */
.feature-card {
  min-height: 210px;
}

.feature-card span {
  display: block;
  margin-bottom: 0px;
  color: #9ab8d4;
  font-size: 50px;
  font-family: Georgia, serif;
}

.feature-card h3 {
  margin: 0 0 12px;
  color: #164f91;
  font-size: 18px;
}

/* pale */
.pale {
  width: 100%;
  background: #eaf5fd;
  padding-left: max(4%, calc((100% - 1120px) / 2));
  padding-right: max(4%, calc((100% - 1120px) / 2));
}

.message-card {
  padding: 30px;
}

.message-card.blue {
  background: #164f91;
  color: #fff;
  margin-bottom: 0;
}

.message-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

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

.msw-list-card {
  margin-bottom: 0;
  border-top: none;
}

.msw-footer {
  margin-top: 0;
  padding: 22px 32px;
  background: #dbeeff;
  color: #164f91;
  font-weight: 700;
  line-height: 1.9;
  border: 1px solid #dfe8f1;
  border-top: none;
}

.care-card {
  margin-bottom: 0;
  line-height: 2.1;
}

.care-card p {
  margin-bottom: 18px;
  font-size: 16px;
}

.care-card li {
  margin-bottom: 6px;
}

.care-footer {
  margin-top: 0;
  padding: 24px 32px;
  background: #dbeeff;
  color: #164f91;
  font-weight: 700;
  line-height: 2;
  border: 1px solid #dfe8f1;
  border-top: none;
}

/* area */
.area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.area-tabs span {
  background: #164f91;
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
}

.area-tabs .area-sub {
  background: #eef2f5;
  color: #315878;
  border: 1px solid #d4e4f0;
}

.area-map {
  margin-top: 26px;
  border: 1px solid #dfe8f1;
  overflow: hidden;
}

/* flow */
.flow-list {
  position: relative;
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid #dfe8f1;
  padding: 28px 0;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: #dfe8f1;
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 32px;
  background: transparent;
}

.flow-item > span {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #164f91;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.flow-item h3 {
  margin: 0 0 8px;
  color: #164f91;
  font-size: 20px;
}

.flow-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}


/* staff */
.staff-role {
  color: #164f91;
  font-size: 13px;
  margin: 0 0 4px;
}

.staff-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: #123c70;
}

.staff-photo {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center center;
  margin: 0 0 22px;
}


/* contact */
.contact-section {
  background: #164f91;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.contact-inner {
  width: min(780px, 92%);
  margin: 0 auto;
}

.contact-inner h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.contact-inner p {
  margin: 0 0 28px;
  font-size: 16px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 2;
}

.contact-tel {
  margin: 30px 0;
}

.contact-tel span {
  display: block;
  font-size: 13px;
}

.contact-tel strong {
  font-size: 56px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* footer */
.site-footer {
  background: #123c70;
  color: #fff;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 40px;
}

.footer-info {
  margin: 0;
  text-align: left;
}

.footer-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-info p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}

.copyright {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

/* smartphone */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .header-tel {
    text-align: right;
  }

  .header-tel strong {
    font-size: 14px;
  }

  .hero {
    padding: 48px 0 52px;
  }

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

  .hero-lead {
    font-size: 15px;
  }

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

  .quick-item {
    min-height: 76px;
    font-size: 12px;
  }

  .section {
    padding: 20px 0;
  }

  .section h2 {
    font-size: 20px;
    margin-left: 8px;
    padding-left: 8px;
  }

  .quick-item {
    border-bottom: 1px solid #d8e2ec;
  }


  .case-grid,
  .feature-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .case-box,
  .white-card,
  .area-box,
  .case-card,
  .staff-card {
    padding: 15px;
  }

  .case-box h3 {
    margin: -22px -22px 18px;
  }

  .case-box ul {
    columns: 1;
    font-size: 11px;
  }

  .case-card-b {
    padding-top: 10px ;
    font-size: 11px;
  }

  .case-note {
    font-size: 14px;
  }

  .feature-card {
    padding-top: 0px;
  }

  .feature-card h3 {
    font-size: 15px;
    margin-top: 0px;
  }

  .feature-card p {
    font-size: 11px;
  }

  .contact-tel strong {
    font-size: 26px;
  }

  .flow-list {
    padding: 24px 0;
  }

  .flow-list::before {
    left: 38px;
    top: 48px;
    bottom: 48px;
  }

  .flow-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 24px 18px;
  }

  .flow-item > span {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .fukuzoe-photo {
      width: 140%;
      max-width: 320px;
  }

  .contact-inner p {
    font-size: 13px;
  }

  .site-footer{
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-info{
    text-align: center;
  }
}