
/* ============================================
  ■ Material Symbols
============================================ */

.site-header-wrap .material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;

  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;

  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

textarea {
    box-sizing: border-box;
}
/* ============================================
  ■ Header
============================================ */
.site-header-wrap :is(a:link,a:visited){
    color:var(--on-surface);
}




.site-header-wrap :is(a:link,a:visited){
    color:#fff;
}

.site-header {
  width: 100%;
  background: var(--primary);
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--scale-24);
  max-width: 1280px;
  height: var(--scale-36);
  margin-inline: auto;
  padding-inline: var(--scale-48);
}

.site-header__link {
color: var(--surface, #FFF);
font-size: var(--scale-16, 16px);
font-style: normal;
font-weight: 700;
line-height: 120%; /* 19.2px */

  display: inline-flex;
  align-items: center;
  gap: var(--scale-4);
  text-decoration: none;
  transition: opacity var(--transition);
}

.site-header__link:hover {
  opacity: 0.8;
}

.site-header__icon {
  font-size: var(--scale-18);
  line-height: 1;
}

.site-header__text {
  line-height: 1;
}

@media screen and (max-width:767px) {
    .site-header-wrap ~ article{
        margin-top: 0;
    }   
}

/* ============================================
  ■ Hero Navigation
============================================ */

.hero-nav {
  display: flex;
  padding: var(--scale-20, 20px);
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 100000px;
  background: var(--surface, #FFF);
  box-shadow: 0 var(--scale-4, 4px) var(--scale-16, 16px) 0 rgba(0, 0, 0, 0.04);
  margin-bottom: var(--scale-40);
}

@media screen and (min-width: 768px) {
.hero-nav--top.is-fixed{
    position: fixed;
    top: var(--scale-20);
    width: calc(100% - var(--scale-20) * 2);
    box-sizing: border-box;
    z-index: 1000000;
}    
}

.hero-nav__logo {
  flex-shrink: 0;
}

.hero-nav__logo img {
  display: block;
  height: auto;
  max-width:160px;
}

.hero-nav__menu {
      flex-grow: 1;
    justify-content: end;
  display: flex;
  align-items: center;

  margin: 0 var(--scale-8) 0 auto;
  padding: 0;

  list-style: none;
}

.hero-nav__menu :is(a:link, a:visited) {
color: var(--primary, #00407C);
text-align: center;
font-family: "Noto Sans JP";
font-size: var(--scale-14, 14px);
font-style: normal;
font-weight: 700;
line-height: 130%; /* 18.2px */

padding: 0 var(--scale-12, 12px);

  text-decoration: none;
}

.hero-nav__toggle {
  display: none;
}

.hero-nav__buttons {
  display: flex;
  gap: var(--scale-12);
}

.hero-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--scale-8);

  min-height: var(--scale-56);

  padding:
    0
    var(--scale-24);

  color: var(--surface);

  font-size: var(--scale-16);
  font-weight: 700;

  text-decoration: none;

  border-radius: 999px;

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.hero-nav__button:hover {
  opacity: 0.9;
}

.hero-nav__button--green {
  background: var(--tertiary);
box-shadow: 0 var(--scale-8, 8px) 0 0 rgba(0, 0, 0, 0.20), 0 var(--scale-4, 4px) 0 0 rgba(0, 0, 0, 0.50), 0 var(--scale-4, 4px) 0 0 var(--tertiary, #2AB961);
}

.hero-nav__button--blue {
  background: var(--secondary);
box-shadow: 0 var(--scale-8, 8px) 0 0 rgba(0, 0, 0, 0.20), 0 var(--scale-4, 4px) 0 0 rgba(0, 0, 0, 0.50), 0 var(--scale-4, 4px) 0 0 var(--secondary, #0080CC);
}

.hero-nav__button .material-symbols-outlined {
  font-size: var(--scale-20);
}

@media (max-width: 767px) {


  .site-header {
    display: none;
  }

  .hero-nav {
    position: relative;

    min-height: auto;
    margin:
      0 auto
      var(--scale-24);
    border-radius: 0;

    padding:
      var(--scale-16)
      var(--scale-20);

  }

  .hero-nav__menu,
  .hero-nav__buttons {
    display: none;
  }

  .hero-nav__logo img {
    width: 180px;
  }

  .hero-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 40px;
    height: 40px;

    padding: 0;

    background: none;
    border: 0;
    cursor: pointer;
  }

  .hero-nav__toggle span {
    width: 100%;
    height: 3px;

    background: var(--on-surface);
    border-radius: 999px;
  }

  .hero-nav {
    border-radius: var(--scale-20);
  }

  .hero-nav__menu {
    display: none;
  }

  .hero-nav__menu.is-open {
    display: flex;

    position: absolute;
    top: calc(100% + var(--scale-8));
    left: 0;

    flex-direction: column;

    width: 100%;

    background: var(--surface);

    border-radius: var(--scale-8);

    overflow: hidden;

    box-shadow: var(--shadow-m);
  }

  .hero-nav__menu.is-open li {
    width: 100%;
  }

  .hero-nav__menu.is-open a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: var(--scale-56);

    border-bottom: 1px solid var(--border);
  }
}


/* ============================================
  ■ Hero Navigation SP Drawer
============================================ */

.hero-nav__drawer {
  display: none;
}

@media (max-width: 767px) {
  .hero-nav {
    flex-wrap: wrap;
    border-radius: 0;
    position: fixed;
    
  }

  .hero-nav__toggle {
    position: relative;
  }

  .hero-nav__toggle.is-open span:nth-child(1) {
    position: absolute;
    rotate: 45deg;
  }

  .hero-nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hero-nav__toggle.is-open span:nth-child(3) {
    position: absolute;
    rotate: -45deg;
  }

  .hero-nav__drawer {
    display: none;
    width: 100vw;
    margin:
      var(--scale-16)
      calc(var(--scale-20) * -1)
      calc(var(--scale-16) * -1);
    background: var(--surface);
  }

  .hero-nav__drawer.is-open {
    display: block;
  }

  .hero-nav__drawer-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hero-nav__drawer-list :is(a:link, a:visited) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--scale-40);
    color: var(--on-surface);
    font-size: var(--scale-16);
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid #aeb8c5;
    padding: var(--scale-8);
  }
  .hero-nav__drawer-list a::after {
    content: "";
    position: absolute;
    right: var(--scale-24);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    rotate: 45deg;
    translate: 0 -3px;
  }
}


@media (max-width: 767px) {

  .hero-nav {
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    border-radius: 0;
    padding: 12px 18px;
    width:100%;
    box-sizing: border-box;
  }




  .hero-nav__logo img {
    max-width: 100%;
    width: 186px;

  }

  .hero-nav__toggle {
    width: 40px;
    height: 32px;
    gap: 6px;
  }

  .hero-nav__toggle span {
    height: 4px;
    background: var(--on-surface);
    border-radius: 0;
  }


}

/* ============================================
  ■ Lower Page Navigation
============================================ */

.page-nav-wrap {
  padding: var(--scale-20) var(--container-padding);
  background: var(--color-secondary);
   transition: all 0.5s ease;
   box-sizing: border-box;
}

.page-nav-wrap.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.page-nav-wrap .hero-nav {
  margin: 0 auto;
}

@media (max-width: 767px) {
    .page-nav-wrap {
      padding: 0;    
    }
}

/* ============================================
  ■ Footer
============================================ */

.site-footer {
  padding:
    var(--scale-40)
    var(--container-padding)
    var(--scale-80);
  color: var(--surface);
  background: var(--primary);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: var(--scale-56);

  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.site-footer__company {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  text-align: left;
}

.site-footer__logo {
  display: block;
  margin-bottom: var(--scale-24);
}

.site-footer__logo img {
  display: block;
  width: 240px;
  height: auto;
}

.site-footer__name {
  margin:0;

  font-size: var(--scale-24);
  font-weight: 500;
  line-height: 1.5;
}

.site-footer__address {
  font-style: normal;

  font-size: var(--scale-16);
  font-weight: 400;
  line-height: 1.7;
}

.site-footer__nav {
  grid-column: 2 / 3;
  grid-row: 1 / 2;

  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--scale-20);
}

.site-footer__heading {
  margin:
    0
    0
    var(--scale-16);

  font-size: var(--scale-18);
  font-weight: 900;
  line-height: 1.5;
  text-align: left;
}

.site-footer__group ul {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: none;
    display: block;
    width: auto;
    height: auto;
}

.site-footer__group li + li {
  margin-top: var(--scale-12);
}

.site-footer__group a {
  color: var(--surface);
  font-size: var(--scale-16);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer__group a:hover {
  text-decoration: underline;
}

.site-footer__cta {
  grid-column: 3 / 4;
  grid-row: 1 / 2;

  display: grid;
  gap: var(--scale-20);
  align-content: start;
}

.site-footer__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--scale-16);

  min-height: var(--scale-56);

  color: var(--secondary);

  font-size: var(--scale-20);
  font-weight: 700;
  text-decoration: none;

  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 5px 0 rgb(0 0 0 / 0.22);
  position: relative;
  padding: var(--scale-12) var(--scale-16);
}

:is(a:link, a:visited).site-footer__button--green {
  color: var(--tertiary);
}

:is(a:link, a:visited).site-footer__button--blue {
  color: var(--secondary);
}

.site-footer__button .material-symbols-outlined{
  position: absolute;
  right:var(--scale-16);
}

@media (max-width: 767px) {

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--scale-40);

  }

  .site-footer__cta {
    order: 1;
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .site-footer__company {
    order: 2;
    width: fit-content;
    margin-inline: auto;
  }

  .site-footer__logo img {
    width: 210px;
    margin-inline: auto;
  }

  .site-footer__nav {
    order: 3;
text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--scale-28);
  }
  .site-footer__heading{
    background-color: rgba(0,0,0,0.2);
    padding:0.5em;
  }

  .site-footer__group li + li {
    margin-top: var(--scale-10, 10px);
  }
    .site-footer__group li + .site-footer__heading{
      margin-top: 1em;
    }
}


