/* Setting
=============================================== */
:root{
  --bg-color: #fff;

  --main-color: #134075;
  --sub-color: #2D200D;
  --accent-color: #2eaeec;

  --font-color: #3a3f51;
  --link-color: #0050a8;

  --footer-bg-color: var(--main-color);
  --footer-font-color: #fff;
  --copyright-font-color: #fff;
}

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

a { text-decoration: none; }
a:link    { color: var(--link-color); }
a:visited { color: var(--link-color); }
a:hover   { color: var(--link-color); text-decoration: underline; }
a:active  { color: var(--link-color); }

button {
  appearance: none;
  -webkit-appearance: none;

  background: none;
  border: none;

  outline: none;
  box-shadow: none;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
:where(p, li, dd, dt) img {
  display: inline;
}

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

/* PC */
@media (min-width: 768px) {
  a[href^="tel:"] { pointer-events: none; }
  .BrSmp,.SmpBr,.BrSp,.SpBr,.PcNone { display: none; }
}
/* TAB */
@media (min-width: 768px) and (max-width: 980px) {
  .BrTab,.TabBr,.TabNone { display: none; }
}
/* SP */
@media (max-width: 767px) {
  .BrPc,.PcBr,.SmpNone,.SpNone { display: none; }
}
/* Media query */
.mq-br { display: none; }

/* Clear fix */
.CL { clear: both; }
.CF:after { clear: both; display: block; content: ""; }

/* //////////////////////////////////////////// */

/* scroll-padding-top for JS */
:root {
  --scroll-padding-default: 170px;
  --scroll-padding-fixed: 80px;
}
@media (max-width: 767px) {
  :root {
    --scroll-padding-default: 146px;
    --scroll-padding-fixed: 60px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;

  @media (max-width: 767px) {
    scroll-padding-top: 146px;
  }
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);

  line-height: 1.6;
  font-size: 18px;
  font-weight: normal;
  font-family:
  "Noto Sans JP",
  system-ui,
  -apple-system,
  "Hiragino Sans",
  "Hiragino Kaku Gothic ProN",
  "BIZ UDPGothic",
  "Meiryo",
  sans-serif;
  color: var(--font-color);

  @media (max-width: 767px) {
    line-height: 1.5;
    font-size: 16px;
  }
}

/* ///// HEADER /////////////////////////////// */

/*  Header Common
--------------------------- */
.hd {
  z-index: 1000;
  width: 100%;
}
.hd.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  animation: headerFadeIn .35s ease both;
}
@keyframes headerFadeIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* list reset */
.hd ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd__top-inner,
.hd__main-inner {
  display: flex;
  align-items: center;

  margin: 0 auto;
  padding: 0 20px;
  max-width: 1920px;

  @media (max-width: 767px) {
    padding: 0 10px;
  }
}

/* Top Header
--------------------------- */
.hd__top {
  background-color: var(--main-color);
  font-size: 13px;
  color: #fff;

  @media (max-width: 767px) {
    font-size: 11px;
  }
}
.hd.is-fixed .hd__top {
  display: none;
}

.hd__top-inner {
  justify-content: space-between;
}

.hd__top-slogan{
  margin: 0;
  padding: 8px 0;

  @media (max-width: 767px) {
    padding: 5px 0;
  }
}

.hd__top-nav {
  @media (max-width: 767px) {
    display: none;
  }
}
.hd__top-list {
  display: flex;
  gap: 20px;
}
.hd__top-list a {
  color: #fff;
  text-decoration: none;
}

/* Main Header
--------------------------- */
.hd__main {
  background-color: var(--bg-color);
  border-bottom: 1px solid #e5e5e5;
}

.hd__main-inner {
  height: 80px;

  @media (max-width: 960px) {
    justify-content: space-between;
    height: 60px;
  }
  @media (max-width: 767px) {
    justify-content: space-between;
    height: 60px;
  }
}

/* Site Logo
--------------------------- */
.hd__logo a {
  text-decoration: none;
}
.hd__logo img {
  display: block;
  width: 200px;
  height: auto;

  @media (max-width: 767px) {
    width: 180px;
  }
}
.hd.is-fixed .hd__logo img {
  width: 180px;
  height: auto;
}

/* Navigation
--------------------------- */
.hd__nav {
  margin-left: auto;
  margin-right: 32px;

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

.hd__nav-list {
  display: flex;
  gap: 28px;

  @media (max-width: 1280px) {
    gap: 20px;
  }
}
.hd__nav-list a {
  letter-spacing: 2px;
  color: var(--main-color) !important;

  @media (max-width: 1280px) {
    font-size: 16px;
  }
}

/* Contact Button
--------------------------- */
.hd__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  border-radius: 30px;
  padding: 14px 30px;
  background-color: #1669c4;
  transition: background-color 0.3s ease;

  text-decoration: none;

  @media (max-width: 960px) {
    display: none;
  }
  @media (max-width: 767px) {
    display: none;
  }
}
.hd__contact-btn:hover {
  background-color: #3db4cc;
  text-decoration: none;
}

.hd__contact-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  color: #fff;
  fill: currentColor;
}
.hd__contact-text {
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;

  @media (max-width: 1280px) {
    font-size: 15px;
  }
}

/* HAMBURGER BUTTON
--------------------------- */
.hd__menu-button {
  display: none;
  width: 50px;
  height: 50px;

  @media (max-width: 960px) {
    display: block;
  }
  @media (max-width: 767px) {
    display: block;
  }
}

/* BUTTON TAG */
.c-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
  background-color: transparent;

  cursor: pointer;
}
.c-hamburger__line {
  display: block;
  border-radius: 2px;
  margin: 3px 0;
  width: 36px;
  height: 4px;
  background-color: #444;
}

/* SP MENU
--------------------------- */
.global-menu {
  z-index: 1001;
  visibility: hidden;

  position: fixed;
  inset: 0;

  display: flex;
  flex-direction: column;

  background-color: rgba(31, 46, 81, 0.90);
  backdrop-filter: blur(4px);
  color: #fff;
}
.global-menu.is-visible {
  opacity: 1;
  visibility: visible;
}
/* スライド＋フェード */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.fade-slide.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* SP MENU HEADER
--------------------------- */
.global-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;

  margin: 0 auto;
  padding: 10px 10px;
  max-width: 1920px;
  width: 100%;
}

/* SP MENU LOGO
--------------------------- */
.global-menu__logo img {
  margin: 0;
  width: 200px;
  height: auto;
}

/* SP CLOSE BUTTON
--------------------------- */
.global-menu__close {
  position: relative;
  border: none;
  padding: 20px;
  width: 50px;
  height: 50px;
  background: none;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.global-menu__close:hover {
  transform: rotate(180deg) scale(1.2);
}
.global-menu__close:active {
  transform: rotate(360deg) scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}

.global-menu__close::before,
.global-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;

  width: 100%;
  height: 3px;
  background-color: #fff;
  transform-origin: center;
}
.global-menu__close::before {
  transform: rotate(45deg);
}
.global-menu__close::after {
  transform: rotate(-45deg);
}

/* メニュー領域
--------------------------- */
.global-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* SP MENU LIST
--------------------------- */
.global-menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin: -100px 0 0;
  padding: 0;
  text-align: center;
  list-style: none;
}
.global-menu__list li {
  margin: 10px 0;
  font-size: 22px;
}
.global-menu__list a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.global-menu__list a:hover {
  color: #2eaeec;
}

/* ///// MAIN VISUAL ////////////////////////// */
#main_image_area_bg {
  width: 100%;
  background-color: #2e3431;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#main_image_body {
  display: flex;
  justify-content: right;
  align-items: center;

  margin: 0px auto;
  padding-right: 20px;
  max-width: 1280px;
  width: 100%;
  height: 300px;

  @media (max-width: 767px) {
    padding-right: 10px;
    height: 170px;
  }
}
p#main_image_text {
  margin: 0;
  letter-spacing: 3px;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);

  @media (max-width: 767px) {
    font-size: 28px;
  }
}

/* ///// CONTENT AREA /////////////////////////////// */

/* パンくずリスト
--------------------------- */
#breadcrumbs {
  margin: 0px auto;
  padding: 10px 10px 20px;
  max-width: 1200px;
  width: 100%;
  font-size: 11px;

  @media (max-width: 767px) {
    padding-bottom: 10px;
    width: 100%;
  }
}

/* PC */
@media (min-width: 768px) {

  .ContentBody {
    margin: 0px auto;
    max-width: 1200px;
  }

  /* wide one column */
  section.ContentArea {
    clear: both;
    width: 100%;
  }
  section.ContentArea .ContentBody {
    padding: 100px 10px;
    min-height: 50px;
  }
  /* one column */
  #main_area.ContentBody {
    padding: 0 10px 50px;
    min-height: 400px;
  }
}
/* SP */
@media (max-width: 767px) {

  .ContentBody {
    width: 100%;
  }
  .ContentBody:after {
    clear: both;
    display: block;
    content: "";
  }

  #main_area {
    margin: 0 auto;
    width: 100%;
    height: auto;
    min-height: 200px;
  }
  /* wide one column */
  section.ContentArea {
    padding: 0;
    width: 100%;
    overflow: hidden;
  }
  section.ContentArea .ContentBody {
    margin: 0 auto;
    padding: 40px 10px;
    max-width: 480px;
  }
  /* one column */
  #main_area.ContentBody {
    padding: 10px 10px 40px;
    max-width: 480px;
  }
}

/* ///// CTA SECTION ////////////////////////// */

.cta {
  clear: both;
  position: relative;
  padding: 70px 0;
  width: 100%;
  background: url(../../../img/fm/ab01/frame/bg-contact.webp) center center no-repeat;
  background-size: cover;
}
.cta::before {
  position: absolute;
  inset: 0;

  background: rgba(40, 90, 160, 0.3);
  pointer-events: none;
  content: "";
}
.cta > * {
  position: relative;
  z-index: 1;
}

/* HEADING
--------------------------- */
.cta__heading {
  margin-bottom: 70px;
}
.cta__title {
  margin: 0;
  padding: 0;
  text-align: center;
  letter-spacing: 2px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;

  @media (max-width: 767px) {
    font-size: 26px;
  }
}
.cta__title-en {
  display: block;
  font-size: 18px;
  font-weight: bold;

  @media (max-width: 767px) {
    font-size: 16px;
  }
}
.cta__title-ja {
  display: block;
}

/* LEAD
--------------------------- */
.cta__lead {
  margin-bottom: 50px;
  text-align: center;
  font-size: 22px;
  color: #fff;
}

/* CONTACT BUTTON
--------------------------- */
.cta__button {
  margin: 0 auto;
  width: 460px;
  height: 100px;
}
.cta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  border-radius: 60px;
  width: 100%;
  height: 100%;
  background-color: #1669c4;

  letter-spacing: 2px;
  font-size: 26px;
  font-weight: bold;
  color: #fff !important;

  text-decoration: none;
}
.cta__link {
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.cta__link:hover {
  background-color: #3db4cc;
  text-decoration: none;
  transform: translateY(-4px) scale(1.03);
}

/* SVGメールアイコン */
.cta__icon,
.cta__icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

/* =========================
   SP（767px以下）
========================= */
@media (max-width: 767px) {
  .cta__heading {
    margin-bottom: 40px;
  }
  .cta__lead {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .cta__button {
    max-width: 355px;
    width: 90%;
    height: 80px;
  }

  .cta__link {
    font-size: 20px;
  }

  .cta__icon,
  .cta__icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ///// FOOTER /////////////////////////////// */

.ft {
  padding: 80px 0 0;
  background-color: var(--footer-bg-color);
  color: #fff;

  @media (max-width: 767px) {
    padding-top: 40px;
  }
}
.ft a {
  color: inherit;
}

/* INNER GRID(PC)
--------------------------- */
.ft__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;

  margin: 0 auto;
  padding: 0 24px 90px;
  max-width: 1536px;

  @media (max-width: 768px) {
    display: block;
    padding: 0;
    width: 100%;
  }
}

/* FOOTER NAV(PC)
--------------------------- */
.ft__nav {
  margin-top: 36px;
}
.ft__nav-list {
  display: flex;
  justify-content: center;
  gap: 24px;

  margin: 0;
  padding: 0;
  list-style: none;
}
.ft__nav-list a {
  color: #fff;
  text-decoration: none;
}
.ft__nav-list a:hover {
  text-decoration: underline;
}

/* サブナビ */
.ft__nav-list.sub-nav {
  margin-top: 20px;
  font-size: 15px;
}

/* FOOTER NAV(SP)
--------------------------- */
@media (max-width: 767px) {
  .ft__nav {
    margin-top: 0;
  }
  .ft__nav-list.main-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
  .ft__nav-list.main-nav {
    border-top: 1px dotted #fff;
  }
  .ft__nav-list.main-nav li {
    border-bottom: 1px dotted #fff;
  }
  .ft__nav-list.main-nav a {
    position: relative;
    display: block;
    padding: 10px 0 10px 40px;
    font-size: 12px;
  }

  /* 右向き三角アイコン */
  .ft__nav-list.main-nav a::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    transition: transform .25s ease;

    width: 0;
    height: 0;
  }

  .ft__nav-list.sub-nav {
    justify-content: center;
    margin-top: 0;
    padding: 20px 0;
    font-size: 12px;
  }
}

/* COPYRIGHT
--------------------------- */
.ft__copyright {
  padding: 16px 0;
  text-align: center;
  font-size: 15px;
  color: #fff;
  opacity: 0.8;

  @media (max-width: 767px) {
    padding: 0;
    line-height: 50px;
    font-size: 12px;
  }
}

/* PAGE TOP/
--------------------------- */
.c-pagetop-fixed {
  z-index: 999;
  position: fixed;
  right: 30px;
  bottom: 30px;

  border-radius: 50%;
  width: 60px;
  height: 60px;
  background-color: rgba(77, 179, 202, 0.8);

  @media (min-width: 1920px) {
    right: auto;
    left: calc(50% + 960px - 30px - 60px);
  }
  @media (max-width: 767px) {
    right: 0px;
    bottom: 0px;
 
    border-radius: 0;
    width: 50px;
    height: 50px;
  }
}
.c-pagetop-fixed {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.c-pagetop-fixed.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.c-pagetop-fixed  a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}
.pagetop-icon {
  width: 50px;
  height: 50px;
}
.pagetop-icon path {
  fill: #fff;
}

