@charset "utf-8";

/* Reset
----------------------------------------------------------------- */
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;  
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}


/* Custom properties
----------------------------------------------------------------- */
:root {
  --blue: #043D78;
  --gray: #F0F3F5;
  --dark: #3B4043;
}


/* Font
----------------------------------------------------------------- */
.montserrat {
  font-family: 'Montserrat', sans-serif;
}


/* Base
----------------------------------------------------------------- */
html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  position: relative;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  color: var(--dark);
  font-weight: 400;
  line-height: 1.75;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media print, screen and (min-width: 768px) {
  body {
    min-width: 1068px;
  }
}

*,
*:before,
*:after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
ul,
ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul li,
ol li {
  margin: 0;
  padding: 0;
}
th {
	font-weight: normal;
}
sup {
  font-size: 0.7em;
  vertical-align: super;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media screen and (min-width: 768px) {
  a:hover {
    color: var(--blue);
  }
  a img {
    transition: opacity 0.2s ease;
  }
  a:hover img {
    opacity: 0.8;
  }
  a[href^='tel'] {
    pointer-events: none;
    cursor: text;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

*:focus {
  outline: none;
}

/* Utility
----------------------------------------------------------------- */
.u-hidden-sp {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-hidden-sp {
    display: block;
  }
  .u-hidden-pc {
    display: none;
  }
}


/* JS
----------------------------------------------------------------- */
.js-animation {
  visibility: hidden;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease, visibility 2s ease, transform 2s ease;
}
.js-animation.up {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


/* Buttons
----------------------------------------------------------------- */
.button {
  margin-top: 4rem;
}
.button a {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 76px;
  padding: 0 6rem 0 3rem;
  border: 2px solid var(--blue);
  border-radius: 100px;
  background: linear-gradient(90deg, #2B4272 50%, #162139 100%);
  color: #FFF;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button a::before {
  position: absolute;
  top: calc(50% - 30px);
  right: 12px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFF;
  content: '';
}
.button a::after {
  position: absolute;
  top: calc(50% - 7px);
  right: 32px;
  width: 19px;
  height: 14px;
  background: url(../img/icon-arrow-blue.svg) no-repeat center center / contain;
  transition: all 0.3s ease;
  content: '';
}
.button a[target='_blank']::after {
  top: calc(50% - 12px);
  right: 28px;
  width: 24px;
  height: 24px;
  background: url(../img/icon-target.svg) no-repeat center center / contain;
}
.button a:hover {
  color: var(--blue);
  background: #FFF;
}
.button a:hover::after {
  transform: translateX(4px);
}
@media screen and (min-width: 768px) {
  .button a {
    font-size: 1.5rem;
  }
}


/* Layout
----------------------------------------------------------------- */
/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  background: #FFF;
  box-shadow: 0 3px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 1rem;
}
.header-logo a {
  color: var(--blue);
  font-size: clamp(20px, 6.15384vw, 32px);
  font-family: 'Montserrat', sans-serif;
}
/* menu-button */
#menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 102;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bar {
  position: relative;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #FFF;
  transition: all 0.2s ease;
  transform-origin: center;
}
.bar::before,
.bar::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #FFF;
  transition: all 0.2s ease;
  transform-origin: center;
  content: '';
}
.bar::before {
  top: -6px;
}
.bar::after {
  top: 6px;
}
/* menu-open */
#menu-button.menu-open {
  background: #FFF;
}
#menu-button.menu-open .bar::before {
  left: 2px;
  width: 18px;
  background: var(--blue);
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
#menu-button.menu-open .bar::after {
  left: 2px;
  width: 18px;
  background: var(--blue);
  transform: rotate(-45deg) translate(4px, -4px);
}
@media screen and (min-width: 768px) {
  .header-inner {
    height: 80px;
    padding: 1rem 3.57142vw;
  }
  #menu-button {
    width: 60px;
    height: 60px;
  }
}

/* header-nav */
.header-nav {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 101;
  width: 100%;
  max-width: 400px;
  height: 100svh;
  background: var(--blue);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}
.header-nav.menu-open {
  right: 0;
}
/* nav-list */
.nav-list {
  padding: 5rem 2rem 2rem;
}
.nav-list > li ul {
  margin: 0.5rem 0 0 1.5rem;
}
.nav-list > li:not(:last-child) {
  margin-bottom: 1rem;
}
.nav-list a {
  display: block;
  padding: 0.75rem 0;
  color: #FFF;
  font-size: 1.25rem;
  line-height: 1.24;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}
.nav-list li li a {
  font-size: 0.8125rem;
}
.nav-list a:hover {
  color: #FFF;
}
.nav-list a span {
  display: block;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
@media screen and (min-width: 768px) {
  .header-nav {
    width: 40.83333vw;
    max-width: inherit;
  }
  .nav-list a {
    font-size: 1.5rem;
  }
  .nav-list li li a {
    font-size: 0.875rem;
  }
}

/* footer */
.footer {
  background: var(--gray);
}
.footer-links {
  padding: 60px 6.15384vw;
  background: #FFF
}
.footer-links ul {
  display: flex;
  justify-content: center;
  gap: 4.10256vw;
  margin: 0 auto;
}
.footer-links a {
  display: block;
}
@media screen and (min-width: 768px) {
  .footer-links {
    padding: 64px 4.7619vw;
  }
  .footer-links ul {
    gap: 48px;
  }
}

.footer-nav {
  padding: 42px 6.15384vw;
  background: var(--gray);
  font-size: 0.875rem;
}
.footer-nav a {
  color: var(--dark);
}
.accordion-list a {
  display: block;
  padding: 0.25em 0;
}
.link-list a,
.accordion-list > li:has(ul) > a,
.accordion-section button {
  font-weight: 700;
  font-size: 0.875rem;
  font-family: inherit;
}
.accordion-list > li > ul {
  margin-left: 1rem;
}
.accordion-section button {
  -webkit-appearance: button;
  appearance: button;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-family: inherit;
  cursor: pointer;
}

/* PC時は最初から開いた状態 */
@media screen and (min-width: 768px) {
  .accordion-content {
    display: block !important;
    margin-top: 1rem;
    opacity: 1;
    transform: translateY(0);
  }
  
  .accordion-section button {
    cursor: pointer;
  }
  
  .accordion-section button:hover {
    opacity: 0.7;
  }
}

/* スマホ時のみアコーディオン機能を有効化 */
@media screen and (max-width: 767px) {
  .accordion-content {
    margin-top: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }
  
  .accordion-content.is-open {
    height: auto;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .accordion-section button {
    -webkit-tap-highlight-color: transparent;
    position: relative;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
  }
  .accordion-section button::before,
  .accordion-section button::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #D0D0D0;
    transition: transform 0.2s ease;
    transform: translateY(-50%);
    content: '';
  }
  .accordion-section button::after {
    transform: translateY(-50%) rotate(90deg);
  }
  .accordion-section button[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .link-section a {
    display: flex;
    align-items: center;
    padding: 1rem 0;
  }
  .link-section a::after {
    width: 10px;
    height: 16px;
    margin-left: auto;
    background: url(../img/icon-arrow-right.svg) no-repeat center center / contain;
    content: '';
  }
}
@media screen and (min-width: 768px) {
  .footer-nav {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 48px 4.7619vw;
  }
  .link-list li:not(:first-child),
  .accordion-list > li:has(ul) {
    margin-top: 1em;
  }
}

.footer-bottom {
  padding: 24px 0 10px;
  border-top-right-radius: 40px;
  border-top-left-radius: 40px;
  background: #FFF;
  color: var(--blue);
  text-align: center;
}
.footer-heading {
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 26px;
  margin-bottom: 26px;
}
.footer-social li a {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.footer-link {
  color: var(--dark);
  font-size: 0.6875rem;
}
.footer-copyright {
  margin-top: 1em;
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 90px 24px 3.57142vw;
  }
  .footer-social {
    gap: 1rem;
    margin: 0 40px;
  }
  .footer-link {
    font-size: 0.8125rem;
  }
  .footer-copyright {
    margin-top: 0;
    margin-left: auto;
    font-size: 0.6875rem;
  }
}

button.js-scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 1rem;
  bottom: 20px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background: var(--blue) url(../img/icon-top.svg) no-repeat center center / auto 20px;
  border: none;
  border-radius: 50%;
  font-size: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.js-scroll-top.is-active{
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 768px) {
  button.js-scroll-top {
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
}
