:root {
  --color-text: #333;
  --color-blue: #2797ef;
  --color-footer: #f7f7f9;
  --content-width: 1012px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--color-text);
  background: #fff;
  font-family: "Poppins", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p {word-break: auto-phrase;}

.page-container {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 90px;
  background: #fff;
}

.site-header__inner {
  width: min(calc(100% - 72px), 1144px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo { width: 120px; }

.site-logo img,
.site-footer__logo img { width: 100%; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 58px;
}

.site-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 1.05;
}

.site-nav__link span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-nav__link small {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 400;
}

.site-nav__link:hover,
.site-nav__link:focus-visible { opacity: .55; }

.service-dropdown { position: relative; }

.service-dropdown__menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: 270px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -5px);
  background: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 12%);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.service-dropdown.is-open .service-dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 1024px) {
  .service-dropdown:hover .service-dropdown__menu,
  .service-dropdown:focus-within .service-dropdown__menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.service-dropdown__menu a {
  display: block;
  padding: 11px 13px;
  font-size: 13px;
}

.service-dropdown__menu a:hover,
.service-dropdown__menu a:focus-visible {
  color: var(--color-blue);
  background: #f6faff;
}

.menu-toggle { display: none; }

body.ibee-page .display-none,
body.ibee-page .mobile-menu-buttons {
  display: none;
}

body.ibee-page .mobile-menu-buttons {
  position: fixed;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1000;
  min-height: 50px;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  background: #fff;
  box-shadow: 0 0 5px rgb(169 169 169 / 90%);
  line-height: 1.4;
}

body.ibee-page .mobile-menu-buttons .menu-button {
  position: relative;
  width: 70px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body.ibee-page .mobile-menu-buttons .menu-button-in {
  width: 100%;
  min-height: 50px;
  display: grid;
  align-content: center;
  place-items: center;
  color: var(--color-text);
}

body.ibee-page .mobile-menu-buttons .menu-button:hover .menu-button-in,
body.ibee-page .mobile-menu-buttons .menu-button:focus-within .menu-button-in {
  opacity: .8;
}

body.ibee-page .mobile-menu-buttons .menu-icon {
  width: 100%;
  min-height: 22px;
  display: grid;
  place-items: center;
}

body.ibee-page .mobile-menu-buttons .menu-caption {
  display: block;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  opacity: .8;
}

body.ibee-page .logo-menu-button {
  flex-grow: 1;
  width: auto;
  overflow: hidden;
}

body.ibee-page .logo-menu-button img {
  width: auto;
  max-width: 160px;
  max-height: 42px;
  margin: 0 auto;
  object-fit: contain;
}

body.ibee-page .ibee-mobile-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
}

body.ibee-page .ibee-mobile-icon--menu::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 2px;
  left: 2px;
  height: 2px;
  background: var(--color-text);
  box-shadow:
    0 6px 0 var(--color-text),
    0 12px 0 var(--color-text);
}

body.ibee-page .ibee-mobile-icon--search {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-text);
  border-radius: 50%;
}

body.ibee-page .ibee-mobile-icon--search::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 9px;
  height: 2px;
  background: var(--color-text);
  transform: rotate(45deg);
  transform-origin: center;
}

body.ibee-page #navi-menu-close,
body.ibee-page #search-menu-close {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
  opacity: .5;
}

body.ibee-page .menu-content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  width: min(86vw, 400px);
  height: 100svh;
  padding: 10px 14px 30px;
  overflow: auto;
  background: #fff;
  transform: translateX(-105%);
  transition: transform .3s ease-in-out;
  -webkit-overflow-scrolling: touch;
}

body.ibee-page .menu-close-button {
  display: block;
  padding: 8px 0 12px;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

body.ibee-page .menu-drawer,
body.ibee-page .menu-drawer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ibee-page .menu-drawer > li {
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

body.ibee-page .menu-drawer > li:last-child {
  border-bottom: 0;
}

body.ibee-page .menu-drawer a {
  display: block;
  padding: 14px 10px;
  color: var(--color-text);
  border-radius: 12px;
  transition: background-color .2s ease;
}

body.ibee-page .menu-drawer a:hover,
body.ibee-page .menu-drawer a:focus-visible,
body.ibee-page .menu-drawer a:active {
  background-color: rgb(0 0 0 / 4%);
}

body.ibee-page .menu-drawer .sub-menu {
  padding-left: 20px;
}

body.ibee-page .menu-drawer .sub-menu a {
  padding-block: 10px;
  font-size: 14px;
}

body.ibee-page .menu-drawer .menu-en {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

body.ibee-page .menu-drawer .menu-jp {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
  opacity: .7;
}

body.ibee-page #navi-menu-input:checked ~ #navi-menu-close,
body.ibee-page #search-menu-input:checked ~ #search-menu-close {
  display: block;
}

body.ibee-page #navi-menu-input:checked ~ #navi-menu-content {
  transform: translateX(0);
}

body.ibee-page .search-menu-content {
  position: fixed;
  top: 40%;
  right: 5%;
  left: 5%;
  z-index: 1002;
  width: 90%;
  opacity: 0;
  transform: translateY(1500%);
  transition:
    opacity .25s,
    transform .25s;
}

body.ibee-page #search-menu-input:checked ~ #search-menu-content {
  opacity: 1;
  transform: translateY(0);
}

body.ibee-page .search-box {
  display: flex;
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 18%);
}

body.ibee-page .search-edit {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 0 14px;
  color: var(--color-text);
  border: 0;
  outline: none;
  font: inherit;
}

body.ibee-page .search-submit {
  width: 52px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid #e6e6e6;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 1023px) {
  body.ibee-page {
    padding-top: 50px;
  }

  body.ibee-page .site-header {
    display: none;
  }

  body.ibee-page .mobile-header-menu-buttons {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }
}

.site-footer { background: var(--color-footer); }

.site-footer__main {
  min-height: 339px;
  padding: 84px 24px 34px;
  text-align: center;
}

.site-footer__logo {
  display: block;
  width: 250px;
  margin: 0 auto 46px;
}

.site-footer__media-links {
  display: flex;
  justify-content: center;
  gap: 38px;
  color: #999;
  font-size: 11px;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.site-footer__nav li + li { border-left: 1px solid #ddd; }

.site-footer__nav a {
  display: block;
  min-width: 120px;
  font-size: 12px;
}

.site-footer a:hover,
.site-footer a:focus-visible { opacity: .55; }

.site-footer__copyright {
  height: 68px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #050505;
}

.site-footer__copyright small { font-size: 11px; }

@media (max-width: 800px) {
  .page-container { width: min(calc(100% - 36px), var(--content-width)); }
  .site-header { height: 68px; }
  .site-header__inner { width: calc(100% - 36px); }
  .site-logo { width: 98px; }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle__line {
    width: 100%;
    height: 2px;
    background: #111;
    transition: transform .2s, opacity .2s;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 20px rgb(0 0 0 / 8%);
    transition: max-height .3s ease;
  }

  .site-nav.is-open { max-height: 620px; }
  .site-nav__list { display: block; padding: 12px 18px 22px; }
  .site-nav__list > li { border-bottom: 1px solid #eee; }

  .site-nav__link {
    width: 100%;
    align-items: flex-start;
    padding: 14px 8px;
  }

  .site-nav__link small { font-size: 10px; }
  .service-dropdown__toggle { position: relative; }
  .service-dropdown__toggle::after { content: "+"; position: absolute; right: 10px; top: 20px; }
  .service-dropdown.is-open .service-dropdown__toggle::after { content: "−"; }

  .service-dropdown__menu {
    position: static;
    width: auto;
    max-height: 0;
    padding: 0 8px;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    transition: max-height .25s, padding .25s;
  }

  .service-dropdown.is-open .service-dropdown__menu {
    max-height: 180px;
    padding-block: 0 10px;
    transform: none;
  }

  .service-dropdown__menu a { padding: 10px 13px; }
  .site-footer__main { min-height: auto; padding: 62px 18px 36px; }
  .site-footer__logo { width: 200px; margin-bottom: 34px; }
  .site-footer__media-links { flex-direction: column; gap: 8px; }
  .site-footer__nav { flex-wrap: wrap; gap: 14px 0; margin-top: 30px; }
  .site-footer__nav li + li { border-left: 0; }
  .site-footer__nav a { min-width: 105px; }
}
