@charset "utf-8";

/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

:root {
  /*--content-width: 760px;*/
  --main-text: #333;
  --link-text: #333;
  --color-red: #f0482c;
  --color-gray: #808080;
  --color-green: #390;
  /* #f64f34 ロゴの赤をPhotoshopでとった値 */
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

html {
  font-size: 62.5%;
}
body,h1,h2,h3,h4,h5,h6,
p,th,td,dt,dd,li {
  font-size: 1.4rem;
  font-family: "Helvetica Neue", Arial, "Noto Sans JP","Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--main-text);
}
h1,h2,h3,h4,h5,h6,
b,strong {
  font-weight: 700;
}
table {
  border-collapse: collapse;
  border: none;
  border-spacing: 0;
}

body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  overflow-x: clip;
}
main {
  flex: 1;
}


/**
  header
**/
header {
  /*overflow: hidden;*/
  border-top: 2px solid #333;
  background: #fff;
}
header.fixed {
  position: sticky;
  top: 0;
  z-index: 1;
}
header .inner {
  position: relative;
  padding: 0 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: min(1280px, 100%);
  height: 98px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a,
a:link,
a:visited {
  color: var(--link-text);
  text-decoration: none;
}
#breadcrumbs a,
#pagetop a,
a#fancybox-close,
a#fancybox-next,
a#fancybox-prev {
  border: none;
}
@media (hover: hover) {
  /* リンクの場合 */
  a:any-link:hover {
    opacity: .7;
    /*color: blue;*/
  }
  /* ボタンの場合 */
  button:enabled:hover {
    opacity: .7;
    /*color: blue;*/
  }
  /* 特定できない場合 
  .button:where(:any-link, :enabled, summary):hover {
  }*/
}
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/**
  logo
**/
header .logo {
  width: 210px;
  height: auto;
}

header .group {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: 100%;
}
header .group p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .1em;
}

/**
  navigation
**/
.menu-global-container {
  /*width: 570px;*/
  width: 680px;
}
#menu-global {
  position: relative;
  display: flex;
}
#menu-global li {
  position: relative;
}
#menu-global a,
#menu-global a:visited,
#menu-global a:active,
#menu-global a:hover {
  border:none;
}
#menu-global a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 65px;
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
}
#menu-global li:nth-of-type(3) a {
  width: 120px;
}
#menu-global .sub-menu {
  flex-direction: column;
  justify-content: start;
  position: absolute;
  /*top: 60px;*/
  top: 65px;
  left: 50%;
  padding: 20px 0;
  width: 220px;
  background: var(--main-text);
  /*transform: translateY(8%) translateX(-50%);*/
  transform: translateY(20px) translateX(-50%);
  transition: all .3s ease;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  visibility: hidden;
  opacity: 0;
  text-align: center;
}
#menu-global > .menu-item:hover .sub-menu {
  opacity: 1;
  transform: translateY(0%) translateX(-50%);
  visibility: visible;
  z-index: 999;
  /*top: 60px;
  top: 65px;
  left: 50%;
  background: var(--main-text);*/
}
/*#menu-global > .menu-item.menu-item-297 .sub-menu,
#menu-global > .menu-item.menu-item-297:hover .sub-menu {
  left: unset;
  right: -100%;
}*/
#menu-global .menu-item .sub-menu li:hover {
  background: #525252;
}
#menu-global .sub-menu a {
  padding-left: 44px;
  height: 55px;
  color: #fff;
}
#menu-global li:nth-of-type(3) .sub-menu a,
#menu-global li:nth-of-type(6) .sub-menu a {
  justify-content: start;
  width: 100%;
}
#menu-global .sub-menu a::after {
  content: attr(data-desc);
  position: absolute;
  right: 43px;
  display: block;
  display: flex;
  align-items: center;
  height: 60px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}
.drawerBtn {
  display: none;
}
@media screen and (min-width: 1020px) {
  #menu-global li:nth-last-child(-n+3) {
    display: none;
  }
  #menu-global .sub-menu li:nth-last-child(-n+3) {
    display: block;
  }
}


@media screen and (max-width: 1350px) {
  /*#menu-global .sub-menu,*/
  #menu-global > .menu-item.menu-item-297 .sub-menu,
  #menu-global > .menu-item.menu-item-297:hover .sub-menu {
    /*left: unset;
    right: -100%;*/
    left: calc(50% - 36px);
  }
}

@media screen and (max-width: 1019px) {
  header .logo {
    width: 175px;
  }
  header .group {
    flex-direction: row;
    padding-right: 150px;
  }
  .drawerBtn {
    display: block;
  }
  .drawerBtn {
    position: absolute;
    position: fixed;
    top:0;
    right: 0;
    z-index: 1;
    width: 100px;
    height: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .drawerBtn > div {
    width: 36px;
    height: auto;
  }
  .drawerBtn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: .3s;
    border-radius: 2px;
  }
  .drawerBtn span + span {
    margin-top: 13px;
  }
  .drawerBtn.on span:nth-of-type(1) {
    transform: rotate(135deg) translate(6px, -6px);
    transform: rotate(135deg) translate(10px, -10px);
  }
  .drawerBtn.on span:nth-of-type(2) {
    opacity: 0;
  }
  .drawerBtn.on span:nth-of-type(3) {
    transform: rotate(-135deg) translate(6.5px, 6px);
    transform: rotate(-135deg) translate(12px, 10px);
  }
  .menu-global-container {
    position: fixed;
    display: block;
    visibility: hidden;
    width: 280px;
    height: calc(100vh + 100px);
    height: 100vh;
    height: 100dvh;
    top: 100px;
    right: 0;
    z-index: 10;
    background: #333;
    transition: all .3s;
    transform: translateX(280px);
    overflow-y: scroll;
  }
  .menu-global-container.on {
    visibility: visible;
    transition: all .3s;
    transform: translateX(0);
    padding-bottom: 280px;
    z-index: 10;
  }
  #menu-global {
    display: block;
    padding: 20px 0;
  }
  .overlay {
    display: none;
  }
  .overlay.on {
    position: fixed;
    top: 0;
    display: block;
    animation: show 0.2s linear 0s;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
  }

  #menu-global a {
    display: flex;
    justify-content: start;
    align-items: center;
    padding-left: 65px;
    width: 100%;
    height: 54px;
    color: #fff;
  }
  #menu-global li:nth-of-type(3) a,
  #menu-global li:nth-of-type(6) a {
    width: 100%;
  }
  #menu-global .menu-item-has-children.on .sub-menu,
  #menu-global .sub-menu,
  #menu-global > .menu-item.menu-item-297.on:hover .sub-menu {
    position: relative;
    display: block;
    top: unset;
    left: unset;
    /*z-index: 1000;*/
    padding: 7px 0;
    width: 100%;
    background:none;
    transform: unset;
    text-align: left;
    background: #525252;

    visibility: visible;
    opacity: 1;
  }
  #menu-global li {
    position: relative;
  }
  #menu-global li.menu-item-has-children::before,
  #menu-global li.menu-item-has-children::after {
    display: block;
    position: absolute;
    background: #fff;
    content: '';
    width: 12px;
    height: 1px;
    top: 25px;
    right: 65px;
  }
  #menu-global li.menu-item-has-children::after {
    transform: translateY(-50%) rotate(90deg);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
  }
  #menu-global li.menu-item-has-children.on::after {
    transform: translateY(-50%) rotate(0deg) !important;
  }
  #menu-global li.menu-item-has-children ul {
    display: none;
    width: 280px;
    /*transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;*/
  }
  /*#menu-global li.menu-item-has-children.on ul {
    display: block;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
  }*/
  #menu-global li:not(.menu-item-has-children)::after {
    content: '';
    display: block;
    position: absolute;
    top: 46%;
    right: 71px;
    width: 9px;
    height: 9px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg) translateY(-50%);
    pointer-events: none;
  }
  #menu-global .sub-menu li:not(.menu-item-has-children)::after {
    content: unset;
  }

  #menu-global li.menu-item-74::after {
    content: unset;
  }
  #menu-global li.menu-item-74 a {
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-transform: unset;
    margin: 0 auto;
    padding-left: 45px;
    border: 1px solid #808080;
    width: 240px;
    height: 80px;
    color: #fff;
    font-size: 14px;
  }
  #menu-global li.menu-item-74 a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 62px;
    transform: translateY(-50%);
    width: 18px;
    height: 26px;
    background: url('../images/common/map_pin.png') no-repeat center / contain;
  }

  #menu-global .sub-menu li a {
    padding-left: 90px;
    height: 40px;
    color: #fff;
  }
  #menu-global .sub-menu li a::after {
    right: 65px;
  }
  #menu-global li.menu-item-74 {
    margin-top: 27px;
  }
}
@media screen and (max-width: 900px) {
  header .group {
    padding-right: 100px;
  }
}
@media screen and (max-width: 767px) {
  header .group p {
    display: none;
  }
}
@media screen and (max-width: 539px) {
  header .inner {
    height: 78px;
  }
  header .logo {
    width: 140px;
  }
  .menu-global-container {
    top: 80px;
  }
  .drawerBtn {
    width: 78px;
    height: 78px;
  }
}


/**
pagetop
**/
.pagetop {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 10%;
  bottom: 17%;
  border: 1px solid #ccc;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  transition: .15s ease-in-out;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .pagetop {
    right: .5em;
    bottom: 2em;
  }
}

/**
  footer
**/
footer {
  margin-top: 130px;
  background: #333;
}
footer dt,
footer dd,
footer li,
footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer p {
  color: #fff;
}
footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 10px;
  width: min(1280px, 100%);
  height: 210px;
}
footer .company_info dt {
  font-size: 2rem;
  font-weight: 700;
}
footer .company_info dd {
  font-size: 1.4rem;
}
footer .statement {
  display: flex;
  flex-direction: column;
  align-items: end;
  row-gap: 40px;
}
footer .statement ul {
  display: flex;
  justify-content: end;
}
footer .statement ul li {
  font-size: 1.4rem;
}
footer .statement ul li:not(:last-of-type) {
  position: relative;
}
footer .statement ul li:not(:last-of-type)::after {
  content: "｜";
}
footer .statement ul li a {
  padding: 0 1em;
}
footer .statement ul li:last-of-type a {
  padding-right: 0;
}
footer .statement p.copyright {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
}
@media screen and (max-width: 1019px) {
  footer {
    margin-top: 100px;
  }
  footer .inner {
    flex-direction: column;
    justify-content: center;
    height: 90px;
  }
  footer .company_info dt {
    font-size: 1.6rem;
  }
  footer .company_info dd {
    display: none;
  }
  footer .statement {
    display: block;
    text-align: center;
  }
  footer .statement ul {
    display: none;
  }
  footer .statement p.copyright {
    font-size: .8rem;
  }
}
@media screen and (max-width: 539px) {
  footer {
    margin-top: 60px;
  }
}

/**
  General Settings
**/
#breadcrumbs {
  margin: 0 auto 50px;
  width: min(1280px, 98%);
  font-size: 1.4rem;
  font-weight: 500;
}

body:not(.home) .sec_mv {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 calc(50% - 50vw) 30px;
  height: 200px;
  font-weight: 500;
  background: url('../images/common/bg_title.png') no-repeat #333 center / 1680px 200px;
}
body:not(.home) .sec_mv .inner {
  display: flex;
  align-items: center;
  padding-left: 40px;
  margin: 0 auto;
  width: min(1280px, calc(100% - 20px));
  height: 100%;
}
body:not(.home) .sec_mv h1,
body.single .sec_mv p {
  font-size: 3.4rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body:not(.home) .sec_mv h1 span,
body.single .sec_mv p span {
  display: inline-block;
}
body:not(.home) .sec_mv h1 span:nth-of-type(2),
body.single .sec_mv p span:nth-of-type(2) {
  margin-left: 10px;
  font-size: 1.8rem;
  /*text-transform: none;*/
}
body.page main .inner {
  margin: 0 auto;
  width: min(980px, calc(100% - 20px));
}

main h2,
.single main h1 {
  margin-bottom: 35px;
  padding-bottom: 8px;
  border-bottom: 1px solid #bbb;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--color-red);
}
main h2.nostyle {
  border: unset;
  color: unset;
}


@media screen and (max-width: 767px) {
  body:not(.home) .sec_mv .inner {
    padding-left: 20px;
  }
  main h2,
  .main h2,
  .archive main h2,
  .single main h1 {
    font-size: 1.6rem;
    margin-bottom: 1em;
  }
}

/**
  Shared Style
**/

/**
 * 箇条書き
**/
ul.disc li,
ul.note li {
  position: relative;
  padding-left: 1em;
}
ul.disc li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
}
ul.note li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
}

/**
 * FAQアコーディオン
**/
dl.acrd {
  margin: 1em auto 3em;
}
dl.acrd dt,
dl.acrd dd {
  position: relative;
  padding-left: 1.25em;
}
dl.acrd dt {
  margin: 1em 0 .25em;
  padding-bottom: .25em;
  padding-right: 1.25em;
  border-bottom: 1px solid rgba(0,0,0,.2);
  cursor: pointer;
}
dl.acrd.faq dt::before {
  position: absolute;
  content: "Q";
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
  color: var(--color-red);
}
dl.acrd dt::after {
  position: absolute;
  content: "▼";
  width: 1em;
  height: 1em;
  right: 0;
  top: 0;
  color: var(--color-red);
}
dl.acrd dt.on::after {
  content: "▲";
}
dl.acrd dd {
  display: none;
}
dl.acrd.faq dt.on + dd::before {
  position: absolute;
  content: "A";
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
  color: var(--color-red);
}

/**
  テーブルのスタイルを上書き
**/
.wp-block-table th,
.wp-block-table td {
  border: none;
}
.wp-block-table table {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
.wp-block-table th,
.wp-block-table td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
