/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: #29253e;

  background: #ffffff;

  font-family:
	"Meiryo",
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    sans-serif;

  font-size: 15px;

  line-height: 1.7;
}

img {
  display: block;

  max-width: 100%;
  height: auto;
}

a {
  color: inherit;

  text-decoration: none;
}

button {
  font: inherit;
}



/* =========================================
   COMMON WIDTH
========================================= */

.common-container {
  width: calc(100% - 40px);

  max-width: 980px;

  margin-left: auto;
  margin-right: auto;
}



/* =========================================
   TOP BAR
========================================= */

.top-bar {
  min-height: 24px;

  color: #333333;

  background: #f1f1f1;

  font-size: 12px;
}

.top-bar-inner {
  min-height: 24px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}



/* =========================================
   HEADER
========================================= */

.site-header {
  position: relative;

  z-index: 100;

  background: #ffffff;
}

.header-inner {
  min-height: 110px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}



/* =========================================
   LOGO IMAGE
========================================= */

.site-logo {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  flex: 0 0 auto;
}

.site-logo:hover .site-logo-text strong {
  color: #f28a31;
}

.site-logo-mark {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.site-logo-mark-image {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}

.site-logo-text {
  display: flex;

  flex-direction: column;

  justify-content: center;
}

.site-logo-text small {
  display: block;

  color: #666666;

  font-size: 12px;

  line-height: 1.3;
}

.site-logo-text strong {
  display: block;

  color: #302356;

  font-size: 22px;

  font-weight: 700;

  line-height: 1.3;

  white-space: nowrap;

  transition: color 0.2s ease;
}



/* =========================================
   HEADER CONTACT
========================================= */

.header-contact {
  text-align: right;
}

.header-contact-caption {
  margin: 0 0 5px;

  color: #39285e;

  font-size: 14px;

  font-weight: 700;
}

.header-contact-caption small {
  font-size: 12px;
}

.header-contact-row {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 15px;
}

.header-tel {
  color: #39285e;

  font-family:
   "Meiryo",
    "Yu Gothic",
    Arial,
    sans-serif;

  font-size: 28px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 1px;
	
  font-variant-numeric: tabular-nums;
}

.header-contact-button {
  min-width: 130px;

  padding: 7px 14px;

  color: #ffffff;

  background: #39275f;

  font-size: 13px;

  text-align: center;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.header-contact-button:hover {
  background: #5a477d;

  transform: translateY(-1px);
}



/* =========================================
   GLOBAL NAV
========================================= */

.global-nav {
  border-bottom: 2px solid #39275d;

  background: #ffffff;
}

.global-nav-inner {
  display: grid;

  grid-template-columns:
    1fr
    1.35fr
    1fr
    1.55fr
    1fr
    1fr;
}



/* =========================================
   GLOBAL NAV BUTTON
========================================= */

.global-nav a {
  min-height: 58px;

  padding: 9px 6px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  border-left: 1px solid #dddddd;

  background: #ffffff;

  text-align: center;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.global-nav a:last-child {
  border-right: 1px solid #dddddd;
}



/* 日本語 */

.global-nav strong {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  color: #333333;

  font-size: 13px;

  line-height: 1.3;

  white-space: nowrap;

  transition: color 0.2s ease;
}



/* 英字 */

.global-nav small {
  margin-top: 3px;

  color: #888888;

  font-size: 8px;

  line-height: 1.2;

  transition: color 0.2s ease;
}



/* 左の丸 */

.nav-dot {
  width: 8px;
  height: 8px;

  flex: 0 0 8px;

  display: block;

  background: #2c4c8a;

  border-radius: 50%;

  transition: background-color 0.2s ease;
}



/* =========================================
   GLOBAL NAV HOVER
   背景は白のまま
========================================= */

.global-nav a:hover {
  background: #ffffff;
}



/* 日本語だけオレンジ */

.global-nav a:hover strong {
  color: #f28a31;
}



/* 丸もオレンジ */

.global-nav a:hover .nav-dot {
  background: #f28a31;
}



/* 英字はグレーのまま */

.global-nav a:hover small {
  color: #888888;
}



/* =========================================
   CURRENT PAGE
========================================= */

.global-nav a.is-current {
  background: #ffffff;
}

.global-nav a.is-current strong {
  color: #333333;
}

.global-nav a.is-current .nav-dot {
  background: #333333;
}

.global-nav a.is-current small {
  color: #888888;
}



/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-button {
  display: none;

  width: 46px;
  height: 46px;

  padding: 9px;

  background: #ffffff;

  border: 1px solid #dddddd;

  cursor: pointer;
}

.menu-button span {
  width: 100%;
  height: 2px;

  margin: 6px 0;

  display: block;

  background: #39275d;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}



/* OPEN */

.menu-button.is-open span:nth-child(1) {
  transform:
    translateY(8px)
    rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform:
    translateY(-8px)
    rotate(-45deg);
}



/* =========================================
   COMMON SIDEBAR
========================================= */

.common-sidebar {
  width: 100%;
}



/* =========================================
   SIDEBAR BANNER
========================================= */

.sidebar-banner {
  margin-bottom: 13px;

  display: block;

  border: 1px solid #cccccc;

  background: #ffffff;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sidebar-banner img {
  width: 100%;
}

.sidebar-banner:hover {
  opacity: 0.85;

  transform: translateY(-1px);
}



/* =========================================
   SIDEBAR OFFICE
========================================= */

.sidebar-office {
  border: 1px solid #cccccc;

  background: #f5f5f5;
}

.sidebar-office h2 {
  margin: 0;

  padding: 7px 10px;

  color: #ffffff;

  background: #38265f;

  font-size: 16px;

  text-align: center;
}

.sidebar-office-inner {
  padding: 10px 12px 13px;
}

.sidebar-office p {
  margin: 0 0 9px;

  color: #333333;

  font-size: 13px;

  line-height: 1.5;
}

.sidebar-office hr {
  margin: 10px 0;

  border: 0;

  border-top: 1px solid #cccccc;
}



/* PHONE */

.sidebar-tel {
  display: block;

  color: #39275d;

  font-family:
    "Meiryo",
    "Yu Gothic",
    Arial,
    sans-serif;

  font-size: 20px;

  font-weight: 700;

  line-height: 1.3;

  white-space: nowrap;
	
  font-variant-numeric: tabular-nums;
}

.sidebar-tel-time {
  font-size: 11px !important;

  font-weight: 700;

  white-space: nowrap;
}



/* CONTACT */

.sidebar-contact-button {
  margin-top: 8px;

  padding: 6px 10px;

  display: block;

  color: #ffffff;

  background: #39275d;

  font-size: 13px;

  text-align: center;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-contact-button:hover {
  background: #5a477d;

  transform: translateY(-1px);
}



/* =========================================
   FOOTER
========================================= */

.site-footer {
  margin-top: 70px;

  color: #333333;

  background: #ffffff;
}



/* =========================================
   FOOTER NAV
========================================= */

.footer-nav {
  color: #ffffff;

  background: #21183a;
}

.footer-nav-inner {
  min-height: 34px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 5px 18px;
}

.footer-nav a {
  padding: 6px 0;

  color: #ffffff;

  font-size: 11px;

  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #f28a31;
}



/* =========================================
   FOOTER AREA
========================================= */

.footer-area {
  padding-top: 12px;
  padding-bottom: 15px;

  font-size: 11px;

  line-height: 1.65;
}

.footer-area p {
  margin: 0 0 6px;
}

.footer-area-title {
  font-weight: 700;
}



/* =========================================
   COPYRIGHT
========================================= */

.copyright {
  padding: 10px 20px;

  border-top: 1px solid #dddddd;

  color: #444444;

  font-size: 11px;

  text-align: center;
}



/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

  .header-contact {
    display: none;
  }


  .menu-button {
    display: block;
  }



  /* =====================================
     MOBILE NAV
  ====================================== */

  .global-nav {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    border-bottom: 0;

    background: #ffffff;

    box-shadow:
      0 8px 15px
      rgba(0, 0, 0, 0.12);
  }


  .global-nav.is-open {
    display: block;
  }


  .global-nav-inner {
    width: 100%;

    display: block;
  }


  .global-nav a {
    min-height: 52px;

    padding: 10px 20px;

    align-items: flex-start;

    border: 0;

    border-bottom: 1px solid #dddddd;
  }


  .global-nav strong {
    font-size: 14px;
  }


  .global-nav small {
    padding-left: 14px;
  }

}



/* =========================================
   SMARTPHONE
========================================= */

@media screen and (max-width: 600px) {

  body {
    font-size: 14px;
  }


  .common-container {
    width: calc(100% - 30px);
  }



  /* =====================================
     TOP BAR
  ====================================== */

  .top-bar {
    display: none;
  }



  /* =====================================
     HEADER
  ====================================== */

  .header-inner {
    min-height: 76px;

    gap: 15px;
  }



  /* =====================================
     LOGO
  ====================================== */

  .site-logo-image {
    width: 230px;
  }



  /* =====================================
     FOOTER
  ====================================== */

  .footer-nav-inner {
    padding-top: 8px;
    padding-bottom: 8px;

    justify-content: flex-start;
  }


  .footer-nav a {
    width: calc(50% - 10px);

    font-size: 11px;
  }


  .footer-area {
    font-size: 10px;
  }

}



/* =========================================
   SMALL SMARTPHONE
========================================= */

@media screen and (max-width: 420px) {

  .site-logo-image {
    width: 200px;
  }


  .menu-button {
    width: 42px;
    height: 42px;
  }


  .footer-nav a {
    width: 100%;
  }

}