/* Setting
=============================================== */
:root{
  --bg-color: #fff;

  --main-color: #1f2e51;
  --sub-color: var(--main-color);
  --accent-color: var(--main-color);

  --font-color: #3a3f51;
  --link-color: #0050a8;

  --sm-dt-color: #333;
  --sm-arrow-color: #3888fa;

  --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: ""; }

/* //////////////////////////////////////////// */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
  @media (max-width: 767px) {
    scroll-padding-top: 155px;
  }
}
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",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "BIZ UDPGothic",
    "Meiryo",
    -apple-system,
    sans-serif;
  color: var(--font-color);
  @media (max-width: 767px) {
    line-height: 1.5;
    font-size: 16px;
  }
}

/* ///// HEADER /////////////////////////////// */

/* ===========================
   PC GLOBAL MENU
=========================== */

/*  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;
  }
}

.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 24px;
  max-width: 1920px;
}

/* Top Header
--------------------------- */
.hd__top {
  background-color: var(--main-color);
  font-size: 13px;
  color: #fff;

  @media (max-width: 767px) {
    font-size: 11px;
  }
}
/* FIXED */
.hd.is-fixed .hd__top {
  display: none;
}

.hd__top-inner {
  justify-content: space-between;
  padding-top: 5px;
  padding-bottom: 5px;

  @media (max-width: 767px) {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* P TAG */
.hd__top-text,
.hd__top-tel {
  margin: 0;
}
@media (max-width: 767px) {
  .hd__top-tel {
    display: none;
  }
}
.hd__top-tel img {
  display: inline-block;
  margin: 0;
  margin-right: 8px;
  width: 12px;
}

/* Main Header
--------------------------- */
.hd__main {
  position: relative;
  justify-content: center;
  background-color: var(--bg-color);
  border-bottom: 1px solid #e5e5e5;

}
.hd__main-inner {
  height: 80px;

  @media (max-width: 767px) {
    justify-content: space-between;

    padding: 0 10px;
    height: 60px;
  }
}

/* SITE LOGO
--------------------------- */
.hd__logo a {
  text-decoration: none;
}
.hd__logo img {
  display: block;
  width: 240px;
  height: auto;
  @media (max-width: 767px) {
    width: 200px;
  }
}
/* FIXED */
.hd.is-fixed .hd__logo img {
  width: 220px;
  height: auto;
  @media (max-width: 767px) {
    width: 200px;
  }
}

/* Navigation
--------------------------- */
.hd__nav {
  margin-left: auto;
  margin-right: 32px;

  @media (max-width: 900px) {
    display: none;
  }
}

.hd__nav-list {
  display: flex;
  gap: 28px;
}
.hd__nav-list a {
  letter-spacing: 2px;
  color: var(--main-color) !important;

  @media (max-width: 960px) {
    font-size: 15px;
  }
}

/* Contact Button
--------------------------- */
.hd__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 32px;
  border-radius: 5px;
  background-color: var(--main-color);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  @media (max-width: 960px) {
    font-size: 15px;
  }
  @media (max-width: 900px) {
    display: none;
  }
}
.hd__contact-btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.hd__contact-btn span {
  letter-spacing: 2px;
  color: #fff;
}
.hd__contact-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ===========================
   SP GLOBAL MENU
=========================== */

/* SP TEL BUTTON
--------------------------- */
.hd__call-button {
  display: none;

  @media (max-width: 767px) {
    display: block;
    border-radius: 4px;
    margin-left: auto;
    margin-right: 16px;
    padding: 4px;
    width: 38px;
    height: 38px;
    background-color: var(--main-color);
  }
}

/* HAMBURGER BUTTON
--------------------------- */
.hd__menu-button {
  display: none;

  @media (max-width: 900px) {
    display: block;
    margin-left: auto;
    margin-right: 16px;
    width: 50px;
    height: 50px;
  }
  @media (max-width: 767px) {
    margin-left: 0;
    margin-right: 0;
  }
}

/* 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;
  transition: background 0.3s;
}
.c-hamburger__line {
  display: block;
  margin: 3px 0;
  border-radius: 2px;
  width: 36px;
  height: 4px;
  background-color: #444;
  transition: transform 0.3s, opacity 0.3s;
}

/* SP MENU AREA
--------------------------- */
.global-menu {
  visibility: hidden;

  z-index: 1000;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;

  background-color: rgba(31, 46, 81, 0.90);
  backdrop-filter: blur(4px);
  color: #fff;
  transition: opacity 0.5s ease;
  opacity: 0;
}
.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;
  margin: 0 auto;
  padding: 10px 10px;
  max-width: 1920px;
  width: 100%;
}

/* SP MENU LOGO
--------------------------- */
.global-menu__logo img {
  margin: 0;
  width: 200px;
  height: auto;
  @media (max-width: 767px) {
    height: auto;
  }
}

/* SP CLOSE BUTTON
--------------------------- */
.global-menu__close {
  position: relative;
  padding: 20px;
  width: 50px;
  height: 50px;
  background: none;
  border: 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);
}

/* SP MENU TEL BUTTON
--------------------------- */
.global-menu__tel {
  display: flex;
  justify-content: center; /* 横方向 */

  margin-top: 30px;
}

/* SP MENU LIST
--------------------------- */
.global-menu__list {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin: 0;
  padding: 0 0 10vh;
  text-align: center;
  list-style: none;
}
.global-menu__list li {
  margin: 10px 0;
  font-size: 28px;
  font-size: 22px;
}
.global-menu__list a {
  color: #fff;
  text-decoration: none;
}
.global-menu__list a:hover {
  color: #2eaeec;
}

/* ///// MAIN VISUAL ////////////////////////// */
#main_image_area_bg {
  width: 100%;
  background-color: var(--main-color);
  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: 30px 20px;
  max-width: 1280px;
  width: 100%;
  height: 270px;
  @media (max-width: 767px) {
    height: 150px;
  }
}
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) {
    width: 100%;
  }
}

/* PC */
@media (min-width: 768px) {
  .ContentBody {
    margin: 0px auto;
    max-width: 1200px;
    overflow: hidden;
  }

  /* MAIN AREA
  --------------------------- */
  /* 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;
  }
  /* two column */
  .MainArea {
    float: left;
    padding: 0 10px 50px;
    min-height: 400px;
    width: calc(100% - 270px);
  }

  /* SIDE AREA
  --------------------------- */
  .SideArea {
    float: right;
    padding-bottom: 50px;
    width: 250px;
    /* SP */
    @media (max-width: 767px) {
      padding: 10px;
      width: 100%;
      height: auto;
    }
  }
}
/* SP */
@media (max-width: 767px) {
  .ContentBody {
    width: 100%;
  }
  .ContentBody:after {
    clear: both;
    display: block;
    content: "";
  }

  /* MAIN_AREA
  --------------------------- */
  #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;
  }
  /* two column */
  .MainArea {
    padding: 10px;
    max-width: 480px;
  }

  /* SIDE AREA
  --------------------------- */
  .SideArea {
    margin: 0 auto;
    padding: 10px;
    max-width: 480px;
    width: 100%;
    height: auto;
  }
}

/* ///// SIDE MENU ////////////////////////////// */

dl.SideMenu {
  display: block;
  margin: 0 0 20px;
  padding: 0px;
  width: 100%;
}
dl.SideMenu dt {
  display: block;
  margin: 0px;
  padding: 16px 5px;
  width: auto;
  background-color: var(--sm-dt-color);
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
dl.SideMenu dd {
  margin: 0;
  padding: 0;
  background-color: #fff;
}
dl.SideMenu dd.SList {
  display: block;
  border-bottom: 1px gray dotted ;
}
dl.SideMenu a {
  position: relative;
  display: block;
  padding: 10px 10px 10px 30px;
  width: auto;
  color: #444;
}
dl.SideMenu a::after{
  position: absolute;
  top: 50%;
  left: 4px;
  border-top: solid 3px var(--sm-arrow-color);
  border-right: solid 3px var(--sm-arrow-color);
  width: 10px;
  height: 10px;
  transform: rotate(45deg) translateY(-50%);
  content: "";
}

dl.CategoryMenu {
  margin: 0;
  padding: 0;
}
dl.CategoryMenu dt {
  border-bottom: 1px gray dotted ;
  padding: 10px 5px;
  background-color: #fff;
  text-align: center;
  font-weight: bold;
  color: #634e25;
}
dl.CategoryMenu dd a {
  padding-left: 45px;
}

a#sm_current,
dd.SmCurrent a { font-weight: bold; }

/* SIDE BANNER
--------------------------- */
ul.SideBanner {
  display: block;
  margin: 0px;
  padding: 0px;
  width: 100%;
  list-style-type: none;
}
ul.SideBanner li {
  display: block;
  margin: 0 0 10px 0;
  padding: 0px;
  text-align:center;
}
ul.SideBanner a {
  display: block;
  width: 100%;
}
ul.SideBanner img {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

/* ///// CONTACT AREA /////////////////////////////// */
.contact-section {
  position: relative;
  background-image: url(/img/fm/nl01/frame/bg-contact.webp);
  background-size: cover;
  background-position: center;
  width: 100%;
}
.contact-section::before {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 40, 80, 0.35);
  content: "";
}

.contact-section__inner {
  position: relative;
  margin: 0 auto;
  padding: 80px 20px;
  max-width: 1100px;

  @media (max-width: 767px) {
    padding: 70px 10px;
  }
}

.contact-section__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

/* 左側 */
.contact-section__text {
  @media (max-width: 767px) {
    padding: 0 20px;
  }
}
.contact-section__title {
  display: inline-block;
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
  letter-spacing: 0.10em;
  line-height: 1.4;
  font-size: clamp(32px, 4vw, 58px);
  color: #fff;

  @media (max-width: 767px) {
    margin-bottom: 30px;
    font-size: 26px;
  }
}
.contact-section__title span{
  display: block;
  letter-spacing: 0.15em;
  font-size: 18px;
  font-weight: bold;

  @media (max-width: 767px) {
    font-size: 16px;
  }
}

.contact-section__lead {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #fff;

  @media (max-width: 767px) {
    margin-bottom: 30px;
    font-size: 16px;
  }
}

/* 右側 */
.contact-section__actions {
  display: flex;
  flex-direction: column;
  gap: 40px;

  @media (max-width: 767px) {
    gap: 20px;
    margin: 0 auto;
  }
}

/* ボタン */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 0 42px;
  border-radius: 999px;
  width: 460px;
  height: 95px;

  background: #fff;
  text-decoration: none;
  color: var(--main-color) !important;

  box-shadow: 0 10px 25px rgba(0,0,0,.25);

  @media (max-width: 767px) {
    padding: 0 15px;
    width: 340px;
    font-size: 16px;
  }
}
a.contact-btn:hover {
  text-decoration: none !important;
  opacity: 0.9;
}

.contact-btn__icon {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  line-height: 1;
}

.contact-btn__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-btn__sub {
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-btn__main {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;

  @media (max-width: 767px) {
    font-size: 20px;
  }
}

.contact-btn--tel .contact-btn__icon {
  margin-left: 24px;

  @media (max-width: 767px) {
    margin-left: 20px;
  }
}
.contact-btn--tel .contact-btn__main {
  letter-spacing: 0.10em;
}
.contact-btn--form .contact-btn__icon {
  margin-left: 10px;
  @media (max-width: 767px) {
    margin-left: 20px;
  }
}

/* ///// FOOTER /////////////////////////////// */
.ft {
  padding: 80px 0 0;
  background-color: var(--footer-bg-color);
  color: var(--footer-font-color);

  @media (max-width: 767px) {
    padding-top: 30px;
  }
}
.ft a { color: inherit; }

.ft__inner{
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 12px;

  margin: 0 auto;
  padding: 0 24px 90px;
  max-width: 1440px;
  container-type: inline-size;
}
/* 行1=ブランド / 行2=住所&ナビ */
.ft__brand   { grid-column: 1; grid-row: 1; align-self: start; }
.ft__address { grid-column: 1; grid-row: 2; align-self: start; }
.ft__nav     { grid-column: 2; grid-row: 2; align-self: start; }

/* スマホ対応 */
@media (max-width: 768px) {
  .ft__inner{
    grid-template-columns: 1fr; /* 1列 */
    grid-template-rows: auto auto auto;
    padding: 0;
  }
  .ft__brand   { grid-column: 1; grid-row: 1; padding-left: 20px; }
  .ft__address { grid-column: 1; grid-row: 2; padding-left: 20px;  }
  .ft__nav     { grid-column: 1; grid-row: 3; }
}

.ft__logo { margin-bottom: 30px; }
.ft__logo a { display: inline-block; }
.ft__logo img { width: 150px; height: auto; }
.ft__company { margin: 0; font-size: 22px; }

.ft__address {
  font-size: 16px;
  line-height: 1.7;
  font-style: normal;

  @media (max-width: 767px) {
    margin-bottom: 20px;
    line-height: 1.4;
  }
  @container (width < 1100px) {
    & .mq-br { display: inline; }
  }
}

/* =========================
   FOOTER NAV（PC）
========================= */
.ft__nav {
}
.ft__nav-list {
  display: flex;
  flex-wrap: wrap;
  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;
}

/* 1行目：メインナビ（左寄せ） */
.ft__nav-list.main-nav {
  justify-content: flex-end;
}

/* 2行目：サブナビ（右寄せ） */
.ft__nav-list.sub-nav {
  justify-content: flex-end;
  margin-top: 15px;
  font-size: 15px;
}

/* =========================
   FOOTER NAV（SP）
========================= */
@media (max-width: 767px) {

  .ft__nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    border-top: 1px dotted #fff;
  }

  .ft__nav-list li {
    border-bottom: 1px dotted #fff;
  }

  .ft__nav-list a {
    position: relative;
    display: block;
    padding: 10px 0 10px 40px;
    font-size: 12px;
  }

  /* 右向き三角アイコン */
  .ft__nav-list a::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    transition: transform .25s ease;
  }

  /* SPではサブナビも左寄せに戻す */
  .ft__nav-list.sub-nav {
    justify-content: flex-start;
    margin-top: 0;
    font-size: 12px;
  }
}

/* COPYRIGHT
--------------------------- */
.ft__copyright {
  text-align: center;
  padding: 16px 0;
  font-size: 15px;
  color: var(--copyright-font-color);

  @media (max-width: 767px) {
    padding: 0;
    line-height: 50px;
    font-size: 12px;
  }
}

/* PAGE TOP/
--------------------------- */
.c-pagetop-fixed {
  z-index: 999;
  position: fixed;
  bottom: 30px;
  right: 30px;

  width: 60px;
  height: 60px;
  background-color: rgba(13, 77, 147, 0.8);

  @media (min-width: 1920px) {
    right: auto;
    left: calc(50% + 960px - 30px - 60px);
  }
  @media (max-width: 767px) {
    bottom: 0px;
    right: 0px;
    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;
  transform: translateY(-2px);
  @media (max-width: 767px) {
    width: 40px;
    height: 40px;
    transform: none;
  }
}
.pagetop-icon polygon {
  fill: #fff;
}

