/* ========== common ======================================== */
/* clamp viewport: 540-1100px */

:root {
  --primary-font-set: "Roboto", "Noto Sans JP", sans-serif;
  --font-SicHandicH: "sichandich", sans-serif;
  --font-MochiyPopOne: "Mochiy Pop One", sans-serif;
  --fontsize-2xl: clamp(26px, 1.022rem + 1.79vw, 36px);
  --fontsize-xl: clamp(20px, 1.009rem + 0.71vw, 24px);
  --fontsize-l: clamp(18px, 0.884rem + 0.71vw, 22px);
  --fontsize-m: clamp(16px, 0.879rem + 0.36vw, 18px);
  --Yellow: #FFD400;
  --Yellow_rgb: 255 212 0;
  --dYellow: #EAC200;
  --dYellow_rgb: 234 194 0;
  --Pink: #E3007F;
  --Pink_rgb: 227 0 127;
  --Blue: #007BC6;
  --Blue_rgb: 0 123 198;
  --lBlue: #5FB6E0;
  --lBlue_rgb: 95 182 224;
  --dBlue: #2B496B;
  --dBlue_rgb: 43 73 107;
}

*:hover {
  transition: .3s;
}

html, body {
  height: 100%;
}

html {
  font-family: var(--primary-font-set);
  font-weight: 400;
  font-size: var(--fontsize-m);
  font-feature-settings : "palt";
  font-optical-sizing: auto;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  overflow-x: hidden;
}

body {
  color: #000;
  font-size: 1rem;
  font-style: normal;
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: justify;
  overflow-x: hidden;
}

a,
button,
input[type="button"],
input[type="submit"],
label,
[role="button"] {
  cursor: pointer;
}

section:nth-of-type(n+2) {
  padding: 2.5rem 0;
}

img {
  width: 100%;
}

svg {
  image-rendering: optimizeQuality;
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
}

a {
  transition: 0.3s;
}

a:hover {
  opacity: 0.8;
}

h2 {
  font-weight: 700;
  font-size: var(--fontsize-2xl);
  margin-bottom: 2rem;
  color: var(--dBlue);
  text-align: center;
}

h3 {
  font-size: var(--fontsize-xl);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

h4 {
  font-size: var(--fontsize-l);
}

h5 {
  font-size: var(--fontsize-m);
}

p {
  margin-bottom: 1.2rem;
}

.mb10 { margin-bottom: 10px; }
.mb15 { margin-bottom: 15px; }
.mb20 { margin-bottom: 20px; }
.mb25 { margin-bottom: 25px; }
.mb30 { margin-bottom: 30px; }
.mb35 { margin-bottom: 35px; }
.mb40 { margin-bottom: 40px; }

.mt10 { margin-top: 10px; }
.mt15 { margin-top: 15px; }
.mt20 { margin-top: 20px; }
.mt25 { margin-top: 25px; }
.mt30 { margin-top: 30px; }
.mt35 { margin-top: 35px; }
.mt40 { margin-top: 40px; }

.op15 {
  opacity: 0.15;
}

.taC {
  text-align: center;
}

.fw600 {
  font-weight: 600;
}

.fw800 {
  font-weight: 800;
}

.flex {
  display: flex;
}

.jc-sb {
  justify-content: space-between;
}

.w900 {
  width: min(900px, 90%);
  margin-inline: auto;
}

.minh-100vh {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.scroll-target {
  scroll-margin-top: 80px;
}

.new_tab::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  content: "\f08e";
  margin-left: 0.35rem;
  vertical-align: 0.1rem;
}

.material-symbols-rounded {
  font-variation-settings:
  'wght' 400,
  'GRAD' 0;
}

.material-symbols-rounded.fill {
  font-variation-settings: 'FILL' 1;
}

@media (max-width: 1099px) {
  .dpn__max1099 {
    display: none;
  }
}

@media (max-width: 767px) {
  .dpn__max767 {
    display: none;
  }
}

@media (max-width: 599px) {
  .dpn__max599 {
    display: none;
  }
}

/* ========== header ======================================== */

header {
  width: 100%;
  height: auto;
  padding: 0.8rem 0;
  margin-bottom: 2rem;
  background-color: #fff;
  position: fixed;
  z-index: 999999;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0px 3px 15px 0px rgba(0 0 0 / 0.2);
}

.global-nav__inner {
  width: 100%;
  max-width: 1600px;
  height: 46px;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  align-items: stretch;
  gap: 4rem;
}

@media (min-width: 1100px) {
  .global-nav__inner {
    height: 66px
  }
}

.global-nav__logo {
  display: flex;
  align-items: center;
  padding-left: clamp(1rem, 0.036rem + 2.86vw, 2rem);
}

@media (min-width: 1100px) {
  .global-nav__inner {
    justify-content: space-between;
  }

  .global-nav__logo {
    width: 20%;
    padding-left: 2rem;
  }
}

.global-nav__logo img {
  width: auto;
  height: clamp(35px, calc(2.5vw + 7.5px), 55px);
}

.global-nav__hamburger {
  display: none;
  background: none;
  cursor: pointer;
  padding: 0 clamp(1rem, 0.036rem + 2.86vw, 2rem);
  z-index: 1001;
  display: flex;
  align-items: center;
}

@media (min-width: 1100px) {
  .global-nav__hamburger {
    display: none !important;
  }
}

@media (max-width: 1099px) {
  .global-nav__hamburger {
    display: flex;
    border-left: 1px solid #000;
  }

  .global-nav__hamburger::before {
    content: none;
  }
}

.hamburger-icon {
  position: relative;
  width: 30px;
  height: 4px;
  background-color: transparent;
  transition: all 0.3s ease;
  display: block;
}

.hamburger-icon::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 30px;
  height: 4px;
  background-color: #000;
  transition: all 0.3s ease;
}

.hamburger-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 30px;
  height: 4px;
  background-color: #000;
  transition: all 0.3s ease;
}

.global-nav__hamburger.active .hamburger-icon {
  background-color: transparent;
}

.global-nav__hamburger.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.global-nav__hamburger.active .hamburger-icon::after {
  width: 30px;
  height: 4px;
  background-color: #000;
  transform: rotate(-45deg);
  top: 0;
  left: 0;
}

.global-nav__menu-container {
  display: flex;
  flex: 1;
  gap: 4rem;
}

@media (max-width: 1099px) {
  .global-nav__menu-container {
    flex-direction: column;
    justify-content: flex-start;
    width: 90%;
    max-width: 430px;
    height: calc(100vh - 98px);
    position: absolute;
    top: 85px;
    right: 0;
    z-index: 1000;
    padding: 2rem 3rem;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .global-nav__menu-container.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.global-nav__menu,
.global-nav__sns {
  position: relative;
}

.global-nav__menu::before,
.global-nav__sns::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2rem;
  height: 100%;
  width: 1px;
  background-color: #000;
}

@media (max-width: 1099px) {
  .global-nav__menu::before,
  .global-nav__sns::before {
    content: none;
  }

  .global-nav__menu li {
    font-size: var(--fontsize-l);
    padding-bottom: clamp(1.5rem, 1.018rem + 1.43vw, 2rem);
  }
}

.global-nav__sns {
  padding-right: clamp(1rem, 0.036rem + 2.86vw, 2rem);
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.global-nav__sns ul {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 1100px) {
  .global-nav__menu {
    display: flex;
    align-items: center;
    flex: 1;
  }

  .global-nav__menu ul {
    display: flex;
    gap: 1.19rem;
    width: 100%;
  }

  .global-nav__menu li a {
    font-size: clamp(15px, -1.125rem + 3vw, 18px); /* 1100-1200px */
  }

  .global-nav__sns {
    padding-right: 3rem;
  }

  .global-nav__sns ul {
    justify-content: space-between;
  }
}

@media (max-width: 1099px) {
  .global-nav__sns ul {
    gap: 3rem;
  }

  .global-nav__sns i {
    font-size: var(--fontsize-2xl);
  }
}


/* ========== footer ======================================== */

footer {
  background-color: var(--Blue);
  color: #fff;
  padding: 2.5rem 0 1rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 3rem;
  padding: 0 clamp(1rem, 0.036rem + 2.86vw, 2rem);
}

@media (max-width: 767px) {
  .footer__inner {
    flex-direction: column;
    gap: 2rem;
  }
}

.footer__logo {
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .footer__logo {
    width: 35%;
  }
}

.footer__logo img {
  width: 100%;
  max-width: 300px;
}

.footer__sitemap {
  flex: 1;
  line-height: 2;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .footer__sitemap {
    width: 65%;
  }
}

.footer__sitemap-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer__sitemap-row:nth-of-type(n+2) {
  margin-top: 1rem;
}

@media (max-width: 360px) {
  .footer__sitemap-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__sitemap-row:not(:last-of-type) {
    margin-top: 0;
  }

  .footer__sitemap-row > div {
    margin-top: 1rem;
  }
}

.footer__sitemap-row:not(:last-of-type) div:first-of-type {
  width: 9rem;
}

.footer__sitemap-row > div {
  font-weight: 600;
}

.footer__sitemap-row > div:first-of-type {
  margin-right: 3rem;
}

.footer__sitemap-row > div > a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f105";
  margin-right: 0.2rem;
}

.footer__sitemap-row ul {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 410px) {
  .footer__sitemap-row:first-of-type > ul {
    flex-direction: column;
  }
}

.footer__sitemap-row ul li:not(:last-child) {
  margin-right: 1.5em;
}

.footer__sitemap-row ul i {
  font-size: var(--fontsize-xl);
  padding-top: 0.35rem;
}

.footer__copyright {
  text-align: center;
  font-size: clamp(14px, 0.754rem + 0.36vw, 16px);
  padding: 0 1rem;
}
