/* Setting
=============================================== */
:root{
  --main-color: #176142;
  --sub-color: #496c68;
  --accent-color: #2eaeec;

  --font-color: #3a3f51;
  --link-color: #0050a8;

  --sm-dt-color: #333;
  --sm-arrow: url(/img/fm/qos01/frame/sm-arrow.png);
  --spm-arrow: url(/img/fm/qos01/frame/spm-arrow.png);

  --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); }

img {
  display: block;
  max-width: 100%;
  height: auto;
}
:where(p, li, dd, dt) img {
  display: inline;
  vertical-align: middle;
}

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: 90px;
  @media (max-width: 767px) {
    scroll-padding-top: 70px;
  }
}
body {
  margin: 0;
  padding: 0;
  background-color:var(--bg-colorA);
  line-height: 1.6;
  font-size: 18px;
  font-weight: normal;
  font-family: "Noto Sans JP", "Roboto", "Helvetica Neue", "Yu Gothic", sans-serif;
  color: var(--font-color);
  @media (max-width: 767px) {
    line-height: 1.5;
    font-size: 16px;
  }
}
#top {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ///// HEADER /////////////////////////////// */
.hd {
  z-index: 1000;
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background-color: transparent;
  color: #fff;
  transition: all 0.4s ease;
}
.hd.is-fixed {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.hd__inner{
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
}

/* SLOGAN
--------------------------- */
.hd__slogan {
  padding: 2px 20px;
  font-size: 13px;
  color: #fff;
  @media (max-width: 767px) {
    padding: 2px 8px;
    font-size: 10px;
    color: #fff;
  }
}
.hd.is-fixed .hd__slogan {
  display: none;
}

/* HEADER MAIN
--------------------------- */
/* コンテナ（左右端に配置） */
.hd__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 65px;
  @media (max-width: 767px) {
    padding: 0 8px;
    height: 50px;
  }
}

/* HEADER LOGO
--------------------------- */
.hd__logo {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.hd__logo a {
  text-decoration: none;
}
.hd__logo img {
  width: 300px;
  height: auto;
  transition: opacity .3s ease;
  @media (max-width: 767px) {
    width: 200px;
  }
}
.hd.is-fixed .hd__logo img {
  width: 220px;
  height: auto;
  @media (max-width: 767px) {
    width: 200px;
  }
}

.logo--white { opacity: 1; }
.logo--color { display: none !important; }

.hd.is-fixed .logo--white { display: none; }
.hd.is-fixed .logo--color { display: block !important; opacity: 1; }


/* ///// PC GLOBAL MENU ////////////////////////// */
.hd__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;

  margin: 0;
  padding: 0;
  list-style: none;
  @media (max-width: 767px) {
    display: none;
  }
}
.hd__nav-list > li > a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
}
.hd__nav-list > li > a:hover,
.hd__nav-list > li > a:focus-visible {
  text-decoration: underline;
  outline: none;
}
.hd.is-fixed .hd__nav a {
  font-size: 16px;
  color: #111;
}

/* HAMBURGER MENU
--------------------------- */
.hd__menu-button {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 70px;
  height: 70px;
  @media (max-width: 767px) {
    display: block;
    right: 10px;
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 767px) {
  .hd.is-fixed .hd__menu-button {
    top: 0;
  }
}

/* button tag */
.c-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: background 0.3s;
  background-color: transparent;
}
.c-hamburger__line {
  display: block;
  width: 36px;
  height: 4px;
  margin: 3px 0;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hd.is-fixed .c-hamburger__line {
  background-color: #444;
}

/* ///// SP GLOBAL MENU ////////////////////////// */
.global-menu {
  z-index: 1000;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:  rgba(23, 97, 66, 0.90);
  backdrop-filter: blur(4px);
  color: #fff;
  transition: opacity 0.5s ease;
  opacity: 0;
  visibility: hidden;
}
.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;
}

/* メニューヘッダ */
.global-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 10px;
  max-width: 1920px;
  width: 100%;
}

.global-menu__logo img {
  margin: 0;
  width: 200px;
  height: auto;
  @media (max-width: 767px) {
    height: auto;
  }
}

/* 閉じるボタン */
.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::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__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__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 {
  clear: both;
  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: 70px 20px 0;
  max-width: 1280px;
  width: 100%;
  height: 300px;
  @media (max-width: 767px) {
    padding-top: 60px;
    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) {
    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%;
    overflow: hidden;
  }
  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 {
  display: block;
  padding: 10px 10px 10px 30px;
  width: auto;
  background: var(--sm-arrow) 8px center/14px no-repeat;
  color: #444;
}
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;
  background: var(--sm-arrow) 16px center/14px no-repeat;
}

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%;
}

/* ///// FOOTER /////////////////////////////// */
.ft {
  padding: 80px 0 0;
  background-color: var(--footer-bg-color);
  color: #fff;
  @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: 120px; height: auto; }
.ft__company { margin: 0; font-size: 30px; }

.ft__address {
  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; }
  }
}

.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; }

/* SP */
@media (max-width: 767px) {
  .ft__nav-list{
    flex-direction: column;
    flex-wrap: nowrap;
    border-top: 1px dotted #fff;
    gap: 0;
  }
  .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 currentColor;
    border-left:8px solid #fff;
    transition:transform .25s ease;
  }
}

/* COPYRIGHT
--------------------------- */
.ft__copyright {
  text-align: center;
  padding: 16px 0;
  font-size: 15px;
  color: #fff;
  @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: #595959;
  opacity: 0.9;
  @media (max-width: 767px) {
    bottom: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
  }
  a {
    display: block;
    width: 100%;
    height: 100%;
  }
  img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }
}

.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;
}

