:root {
  --navy: #1F2F54;
  --blue: #57C4F5;
  --orange: #e96134;
  --pink: #FF99FF;
  --green: #1c8774;
  --pale: #edf7fc;
  --line: #d6e0e8;

  --white: #FFFFFF;
  --muted: #483D8B;

  color: var(--orange);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }


body { margin: 0; min-width: 320px; }

a { color: inherit; }

button { color: inherit; font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: auto; width: 100%; height:100%;}

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 15px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility { color: white; background: var(--navy); font-size: 18px; }
.utility-inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between;  font-size: 18px; }
.utility p { margin: 0; color: var(--white); }

.brand-row { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 25px; }

.agencies, .agency { display: flex; align-items: center; gap: 10px; }
.agencies { gap: 18px; }



.mark { display: grid; width: 540px; height: 90px; place-items: center; color: var(--blue); font-size: 12px; }
.mark.green { border-color: var(--green); border-radius: 9px 2px; color: var(--green); }
.mark.green1 { color: var(--green); }



.agency strong { color: var(--navy); font-size: 10px; white-space: nowrap; }

.divider { width: 1px; height: 42px; background: var(--line); }

.site-name { color: var(--muted); font-size: 20px; }
.site-name strong { display: block; color: var(--navy); font-size: 24px; }

.menu-button { display: none; }

.global-nav { border-top: 1px solid var(--line); border-bottom: 4px solid var(--blue); }

.nav-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.nav-list a { position: relative; display: flex; min-height: 72px; align-items: center; justify-content: center; flex-direction: column; border-left: 1px solid var(--line); 



color: var(--navy); font-size: 15px; font-weight: bold; text-align: center; text-decoration: none; }

.nav-list a:last-child { border-right: 1px solid var(--line); }
.nav-list a.active::after { position: absolute; right: 20%; bottom: -4px; left: 20%; height: 4px; background: var(--orange); content: ""; }
.nav-list small { display: block; color: #87919d; font-size: 14px; }



.breadcrumb { padding: 12px 0; background: #f6f8fa; color: var(--muted); font-size: 12px; min-height: 20px;}
.breadcrumb .container { display: flex; gap: 12px; }
.breadcrumb a { color: var(--blue); }

.hero { background: linear-gradient(115deg, #eaf7fc, #f8fcfe); }
.hero-inner { display: flex; min-height: 120px; align-items: center; justify-content: space-between; }

.kicker { color: var(--blue); font-size: 11px; font-weight: bold; letter-spacing: .2em; height: auto; }

.hero h1 { margin: 12px 0; color: var(--navy); font-size: 28px; line-height: 1.45; }
.hero p:last-child { color: var(--muted); }
.hero-symbol { display: grid; width: 80px; height: 80px; place-items: center; border: 5px solid white; border-radius: 40%; color: white; background: var(--orange); font-size: 24px; font-weight: bold; box-shadow: 0 15px 45px rgb(18 53 91 / .12); }
.layout { display: grid; grid-template-columns: 210px 1fr; gap: 65px; padding-block: 70px 100px; }

aside { position: sticky; top: 20px; height: max-content; border-top: 3px solid var(--navy); color: var(--navy); }
aside strong, aside a { display: block; padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
aside strong { background: #f6f8fa; }
.page-menu { margin-bottom: 80px; padding: 25px 30px; border: 1px solid var(--line); color: var(--navy); }
.page-menu > div { display: flex;  grid-template-columns: repeat(4, 1fr); margin-top: 15px; }
.page-menu a { display: flex; gap: 10px; padding: 8px 32px 0px; border-left: 1px solid var(--line); font-size: 15px; font-weight: bold; text-decoration: none; }
.page-menu a:first-child { border: 0; padding-left: 0; }
.page-menu span { color: var(--blue); font-size: 18px; }



article { margin-bottom: 70px; color: #344457; }
.section-title { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.section-title span { color: var(--blue); font-size: 30px; font-weight: bold; }
.section-title h2 { margin: 0; color: var(--navy); font-size: 25px; }
.subsection { margin-bottom: 70px; }
.subsection > h3 { padding: 13px 18px; border-left: 5px solid var(--blue); color: var(--navy); background: var(--green); }
.subsection h4 { color: var(--navy); }
.subsection > p { line-height: 2; }

.subsection scroll-box {width: 300px; height: auto; max-width: 100%; overflow-y: scroll; border: 2px solid #333; padding: 10px; transform-origin: 0 0; }
.subsection scroll-box > h3 { padding: 13px 18px; border-left: 5px solid var(--blue); color: var(--navy); background: var(--green); }

  .grid-container { display: grid;  grid-template-columns: repeat(1, 1fr);  gap: 10px;    max-width: 600px;   margin: 10px auto;  }
  .grid-container button {  padding: 10px;  font-size: 25px; background: var(--navy);  background-color: var(--orange);   color: white;
    border: none;    border-radius: 5px;    cursor: pointer;    transition: background-color 0.3s;  }
  .grid-container button:hover {    background-color: var(--blue);  }
  .grid-container b { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--orange); }



.important { display: flex; gap: 18px; margin: 30px 0; padding: 22px; border: 1px solid #f2b69f; border-left: 5px solid var(--orange); background: #fff8f5; }
.important b { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--orange); }
.important strong { color: #b63c18; }
.important p { margin: 5px 0 0; }
.info { padding: 22px 27px; background: #f6f8fa; }
.info h4 { margin-top: 0; }
.accordion { border-top: 1px solid var(--line); }
.law { border-bottom: 1px solid var(--line); }
.law button { display: flex; width: 100%; align-items: center; gap: 18px; padding: 20px 10px; border: 0; color: var(--navy); background: white; cursor: pointer; text-align: left; }
.law button > span { min-width: 40px; color: var(--blue); }
.law button i { position: relative; width: 24px; height: 24px; margin-left: auto; border: 1px solid var(--blue); border-radius: 50%; }
.law button i::before, .law button i::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: var(--blue); content: ""; transform: translate(-50%, -50%); }
.law button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.law.open button i::after { transform: translate(-50%, -50%); }
.law-body { padding: 0 65px 20px;  text-align: left;}


.qa { display: flex; gap: 18px; margin: 30px 0; padding: 22px; border: 1px solid #4169E1; border-left: 5px solid var(--blue); background: #F0F8FF; text-align: left;}
.qa b { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px;  border-radius: 50%; color: white; background: var(--blue); }

.qa strong { color: #1F2F54; text-align: left;}
.qa p { margin: 5px 0 0; text-align: left;}

.info { padding: 11px 27px; background: var(--blue); text-align: left;}
.info h4 { margin-top: 0; text-align: left;}
.accordion { border-top: 1px solid var(--line); text-align: left;}
.law { border-bottom: 1px solid var(--line); text-align: left;}

.law button { display: flex; width: 100%; align-items: left; gap: 18px; padding: 20px 10px; border: 0; color: var(--navy); background: F0F8FF; cursor: pointer; text-align: center; }

.law button > span { min-width: 30px; color: var(--blue); }
.law button i { position: relative; width: 24px; height: 24px; margin-left: auto; border: 1px solid var(--blue); border-radius: 50%; }
.law button i::before, .law button i::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: var(--blue); content: ""; transform: translate(-50%, -50%); }
.law button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.law.open button i::after { transform: translate(-50%, -50%); }
.law-body { padding: 0 35px 20px; text-align: left;}



.contact-grid { display: flex; grid-template-columns: 1fr 1fr; gap: 22px;  text-align: center;  justify-content: center;  padding: 0 15px 1px; margin: 0 -28px 2px; }
.contact-card { overflow: hidden; padding: 0 15px 5px; border: 1px solid #b8dbea; border-top: 4px solid var(--blue); text-align: center; line-height:1;}
.contact-card small { display: block; margin: 0 -28px 20px; padding: 8px; color: white; background: var(--blue); font-size: 25px; font-color: var(--white)}

.contact-card h1 { color: var(--navy); font-size: 48px; padding: 0 15px 1px; margin: 0 -28px 2px; }
.contact-card h2 { color: var(--navy); font-size: 30px; padding: 0 15px 1px; margin: 0 -28px 2px;}
.contact-card h3 { color: var(--navy); font-size: 24px; padding: 0 15px 1px; margin: 0 -28px 2px;}
.contact-card h4 { color: var(--navy); font-size: 21px; padding: 0 15px 1px; margin: 0 -28px 2px;}
.contact-card h5 { color: var(--navy); font-size: 20px; padding: 0 15px 1px; margin: 0 -28px 2px;}

.contact-card .phone { display: block; color: var(--blue); font-size: 25px; font-weight: bold; text-decoration: none; }



.green-card { border-color: #b9ddd6; border-top-color: var(--green); }
.green-card small { background: var(--green); }
.green-card .phone { color: var(--green); }
.sample { display: flex; align-items: center; gap: 20px; padding: 28px; background: #f6f8fa; }
.sample > b { display: grid; width: 55px; height: 65px; place-items: center; border: 2px solid var(--orange); color: var(--orange); background: white; }
.sample h3, .sample p { margin: 3px 0; }
.disaster-box { padding: 30px 35px; border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.disaster-box h3 { color: var(--navy); }
.page-top { position: fixed; right: 20px; bottom: 20px; display: grid; width: 48px; height: 48px; place-items: center; color: white; background: var(--navy); text-decoration: none; }



footer { color: #ffffff; background: var(--navy); }
.footer-inner { display: flex; min-height: 170px; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p { color: #ffc0cb; font-size: 16px; color: var(--white); }
.footer-inner div:last-child { display: flex; gap: 20px; font-size: 16px; color: var(--white); }
.copyright { padding: 15px; border-top: 1px solid rgb(255 255 255 / .13); color:  var(--white);  font-size: 16px; text-align: center; }



@media (max-width: 800px) {
  .container { width: calc(100% - 32px); }
  .site-name { display: none; }
  .brand-row { min-height: 70px; }
  .agency strong { font-size: 11px; }
  .mark { width: 38px; height: 38px; font-size: 10px; }
  .menu-button { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; background: var(--blue); }
  .menu-button span { width: 31px; height: 2px; background: white; }
  .global-nav { display: none; }
  .global-nav.open { display: block; }
  .nav-list { grid-template-columns: 1fr; width: 100%; }
  .nav-list a { min-height: 55px; align-items: flex-start; padding-left: 20px; border: 0; border-top: 1px solid var(--line); }
  .hero-inner { min-height: 240px; }
  .hero h1 { font-size: 24px; }
  .hero-symbol { display: none; }
  .layout { display: block; padding-top: 40px; }
  aside { display: none; }
  .page-menu > div { display: block; }
  .page-menu a, .page-menu a:first-child { padding: 10px 0; border: 0; border-top: 1px solid var(--line); }
  .section-title { align-items: flex-start; gap: 10px; }
  .section-title h2 { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; justify-content: center; flex-direction: column; }
}



