@charset "UTF-8";

/*==========================================

Theme Name: 株式会社サニックス仙台
Author: kpj
Author URI: 
Description:  株式会社サニックス仙台のテーマです
Version: 1.0
Text Domain: 
Tags: 
License: 
License URI: 
Tested up to: 6.8.1
Requires PHP: 8.3.8

全デバイス共通［common］
　・ヘッダー
　・フッター
  ・ボタン
	・リンク
　・テキスト

===========================================*/
:root {
  --text-color: #151515;
  --line-color: #888;
  --bg-color: #e5e5e5;
  --main-color: #E83E34;
}

html {
  font-size: 62.5%;
}

body {
  color: var(--text-color);
  font-family: 'ZenKakuGothicNew', sans-serif;
  font-style: normal;
  font-size: 1.6rem;
  position: relative;
}

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

a:link {
  color: #065FD4;
  transition-duration: .3s;
}

@media (hover: hover) {

  a:hover,
  a:visited:hover,
  .footerNavList li a:hover {
    opacity: .8;
  }
}

/*フォント*/

@font-face {
  font-family: 'ZenKakuGothicNew';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/ZenKakuGothicNew-Medium.woff') format('woff');
}

@font-face {
  font-family: 'ZenKakuGothicNew';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/ZenKakuGothicNew-Bold.woff') format('woff');
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


/* スキップリンク */
.skip-nav {
  margin: 0;
  position: relative;
}

.skip-link a {
  position: absolute;
  top: -120px;
  display: inline-block;
  padding: 2px 10px;
  text-align: center;
  font-size: 1.2rem;
  color: #FFF;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  background: var(--text-color);
  transition: top .3s ease;
  z-index: 999999;
}

.skip-link a:focus-visible {
  left: 0;
  top: 0;
}

/*視覚的には非表示にしつつ、スクリーンリーダでは読む*/
.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

a[href^="tel:"] {
  pointer-events: none;
  text-decoration: none;
  color: var(--text-color);
}

/*==========================================
 PC［1001px~］
===========================================*/
/*------------
 header
------------*/
.headerWrap {
  margin: 0 auto;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  z-index: 999;
  transition-duration: .5s;
}

.headerWrap.js-fixed {
  margin: auto;
  padding: 0;
  position: fixed;
  top: 0;
  background-color: rgba(255 255 255 / .7);
  right: 0;
  left: 0;
  box-shadow: 0 0 15px rgba(63 49 43 / .1);
}

.headerInner.flex {
  margin: auto;
  padding: 20px 5%;
  width: 100%;
  position: relative;
  transition-duration: .3s;
  align-items: center;
  flex-wrap: nowrap;
}

.headerWrap.js-fixed .headerInner {
  width: 100%;
}

/*ロゴ*/
.logoArea {
  margin: 0 auto 0 0;
  width: 125px;
  /* height: 70px;*/
  display: flex;
  align-content: center;
  align-items: center;
  transition-duration: .3s;
}

.logoArea a {
  padding: 5px 10px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition-duration: .3s;
}

@media (hover: hover) {
  .logoArea a:hover {
    opacity: .7;
  }
}

.logoArea .logo {
  width: 100%;
  height: 100%;
  pointer-events: auto;
  display: block;
  transition-duration: .3s;
  object-fit: contain;
  object-position: left;
}

/*===global-nav===*/
.global-nav {
  width: fit-content;
}

.js-fixed .global-nav {
  margin: 0 0 0 auto;
}

.global-nav .nav-list {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  position: relative;
}

.global-nav .nav-list>li {
  margin-left: clamp(.5em, 3vw, 25px);
  /* flex-grow: 1;
  flex-basis: 0;
  z-index: 1;*/
}

.global-nav .nav-list .nav-item a {
  padding: .5em 0;
  height: 100%;
  display: flex;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.25;
  align-items: center;
  flex-direction: column;
  font-size: clamp(1.1rem, 1.2vw, 1.6rem);
  letter-spacing: 0;
  color: var(--text-color);
  position: relative;
}

.home .global-nav .nav-list .nav-item a {
  color: #fff;
}

.headerWrap.js-fixed .global-nav .nav-list .nav-item a {
  color: var(--text-color);
}

.global-nav .nav-list .nav-item.contact>a {
  padding: .5em 1em;
  background-color: var(--main-color);
  border-radius: 50vmax;
  color: #fff !important;
  transition-duration: .3s;
}

@media (hover: hover) {
  .global-nav .nav-list .nav-item.contact>a:hover {
    opacity: 1;
    background-color: var(--text-color);
  }
}

/*カレント*/
.global-nav .nav-list .nav-item.current-menu-item>a {
  position: relative;
}

.global-nav .nav-list .nav-item.current-menu-item>a::before {
  content: '';
  margin: auto;
  width: 3px;
  height: 3px;
  position: absolute;
  top: -5px;
  right: 0;
  left: 0;
  border-radius: 50vmax;
  background-color: var(--main-color);
}

.global-nav .nav-list .nav-item.contact.current-menu-item>a::before {
  content: none;
}


@media screen and (min-width: 1023px) {

  /*PCに反映するスタイル*/

  .global-nav .nav-list .nav-item:hover>a,
  .global-nav .nav-list .nav-item a:hover {
    opacity: .7;
  }

  /* サブメニュー*/
  .nav-item_sub {
    margin: 0 calc(50% - 50vw);
    padding: 0;
    width: 100vw;
    position: absolute;
    top: 150px;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition-duration: .3s;
    /*transform: scale(0.7);*/
    position: fixed;
  }

  /*最後から1番目２番目*/
  :is(.nav-item:nth-last-child(1), .nav-item:nth-last-child(2)) .nav-item_sub {
    right: 0;
  }

  .nav-item .nav-item_sub.focused,
  .nav-item:hover .nav-item_sub {
    /* display: block;*/
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    top: 80px;
  }

  .nav-item_sub .inner {
    display: flex;
    margin: 0 auto;
    padding: 2em;
    width: 95%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0 0 0 / .1);
  }

  .nav-item_sub .inner p.menu-ttl {
    margin: 0;
    font-size: 7rem;
    width: 30%;
    font-weight: bold;
  }

  .nav-item_sub .inner p.menu-ttl .jp {
    padding-left: 60px;
    font-size: 2rem;
    font-weight: 400;
    display: block;
    position: relative;
  }

  .nav-item_sub .inner p.menu-ttl .jp::before {
    content: '';
    width: 50px;
    height: 10px;
    position: absolute;
    top: 5px;
    left: 0;
    background-image: url("images/ttl-parts.svg");
    background-repeat: no-repeat;
  }

  .nav-item_sub .inner p.menu-ttl-sub {
    margin: 2em 0 1em;
    padding-left: 20px;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
  }

  .nav-item_sub .inner p.menu-ttl-sub:first-child {
    margin-top: 0;
  }

  .nav-item_sub .inner p.menu-ttl-sub::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 100vmax;
  }

  .nav-item_sub .inner>:is(ul, div) {
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 1em 2em;
  }


  .global-nav .nav-list .nav-item_sub ul li {
    width: 100%;
    border-bottom: solid 1px var(--bg-color);
  }

  .global-nav .nav-list .nav-item_sub a {
    padding: 1.25em 1.7em 1.25em .25em;
    width: 100%;
    display: block;
    color: var(--text-color) !important;
    font-size: 1.4rem;
  }

  .global-nav .nav-list .nav-item .nav-item_sub a::before {
    content: none;
  }

  .global-nav .nav-list .nav-item_sub ul li a {
    position: relative;
    text-align: left;
    color: var(--text-color);
  }

  .global-nav .nav-list .nav-item_sub ul li a:hover {
    opacity: .7;
  }

  .global-nav .nav-list .nav-item_sub ul li a::after {
    content: "";
    position: absolute;
    transition-duration: .3s;
    width: 20px;
    height: 20px;
    background-image: url("images/arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
  }


  .global-nav .nav-list .nav-item_sub ul li a:hover::after {
    right: 0;
  }

}

/*ハンバーガーメニューは非表示*/
.hamburger,
.hamburger-nav {
  display: none;
}

@media print {
  .nav-item_sub {
    display: none;
  }
}

/*------------
	footer
------------*/
footer {
  position: relative;
  background: #fff;
}

/*-- contactArea --*/
#contactArea {
  border-top: solid 1px var(--bg-color);
}

#contactArea .inner {
  padding: 150px 0;
  container-type: inline-size;
  row-gap: 5em;
  column-gap: 2em;
}

@container (min-width: 400px) and (max-width: 800px) {
  #contactArea .inner.col-2.tb-w50>div {
    width: fit-content;
    margin: 0 auto;
  }
}

#contactArea p {
  line-height: 1.7;
}

#contactArea h3 {
  margin-bottom: 1em;
  font-size: clamp(1.8rem, 1.733rem + 0.33vw, 2rem);
}

#contactArea .telnum {
  font-size: clamp(3rem, 2.333rem + 3.33vw, 5rem);
}

#contactArea .btm-bgcolor {
  margin: 0;
}

/*-- footerArea --*/
#footerArea {
  position: relative;
}

#footerArea>.inner {
  margin-top: min(10%, 100px);
  padding-bottom: 150px;
  position: relative;
  z-index: 1;
}

.footerTopLogo {
  margin: -100px 0 150px;
  width: min(100%, 1280px);
}

#footerArea>.inner>.flex {
  position: relative;
}

#footerArea .addressArea {
  width: 50%;
  font-weight: bold;
  color: #fff;
}


.footerCacthImg {
  margin-bottom: 100px;
  width: min(100%, 350px);
  height: auto;
  display: block;
}

#footerArea .addressArea a {
  color: #fff;
  text-decoration: none;
}

#footerArea .addressArea p:first-child {
  margin-bottom: 1em;
  font-size: clamp(2rem, 1.833rem + 0.83vw, 2.5rem);

}

#footerArea .addressArea .telnum {
  font-size: 3rem;
}

#footerArea .addressArea .telnum a {
  font-size: 5rem;
  color: #fff;
}

#footerArea address {
  font-style: normal;
  font-size: clamp(1.4rem, 1.327rem + 0.36vw, 1.6rem);
  line-height: 1.5;
  position: relative;
  letter-spacing: 0;
}

/*-- footerMenu --*/
.footerMenu {
  width: min(40%, 400px);
}

.footerNavList {
  margin-top: -15px;
  justify-content: flex-end;
  gap: 1em;
}

.footerNavList li {
  width: calc(50% - 2em);
}


.footerNavList a {
  padding: 10px 0;
  font-size: clamp(1.4rem, 1.327rem + 0.36vw, 1.6rem);
  line-height: 1.7;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: block;
}

/*-- page top --*/
#pagetop {
  margin: 0;
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 0;
}

#pagetop a {
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

#pagetop a img {
  margin-left: 1em;
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
  transition-duration: .3s;
}

@media (hover: hover) {
  #pagetop a:hover img {
    transform: translateY(-5px);
  }
}

/*---small----*/
small {
  margin: 150px 0;
  display: flex;
  align-items: center;
  color: #fff;
}

small.copy {
  font-size: 1.2rem;
}

small.copy span {
  padding-right: .25em;
  font-size: 1.7rem;
}

/*画像*/
.footerimgBox {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: solid 20px #fff;
}

.footerimgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/*------------
ボタンのスタイル
------------*/

:is(.btm, .btm-bgcolor).fit-content a {
  width: fit-content;
  min-width: 190px;
}


:is(.btm, .btm-bgcolor).w100 a {
  width: 100%;
}

:is(.btm, .btm-bgcolor).btm-center a {
  margin: 2em auto;
  display: block;
}

.btm.color-wh a {
  color: #FFF;
}

.btm {
  margin: 2.5em 0;
  width: min(100%, 215px);
  position: relative;
}

.btm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--main-color);
  transition: all 0.6s ease 0s;
}

.btm :is(a, span) {
  padding: 20px 40px 20px 0;
  margin-left: auto;
  width: min(100%, 215px);
  font-size: clamp(1.4rem, 1.333rem + 0.33vw, 1.6rem);
  line-height: 1.5;
  position: relative;
  text-decoration: none !important;
  transition-duration: .3s;
  font-weight: bold;
  display: inline-block;
  color: var(--text-color);
  border-bottom: solid 1px var(--line-color);
}

.btm :is(a, span)::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: url('images/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  transition-duration: .3s;
  background-size: 20px 20px;
}


@media (hover: hover) {
  .btm a:hover {
    opacity: 1;
  }

  .btm a:hover::before {
    right: -5px;
  }

  .btm:hover::after {
    width: 100%;
  }
}

/*btm-bgcolor*/
.btm-bgcolor {
  margin: 2.5em 0;
  position: relative;
}

.btm-bgcolor a {
  padding: 20px 40px 20px 20px;
  width: min(100%, 300px);
  font-size: clamp(1.4rem, 1.333rem + 0.33vw, 1.6rem);
  line-height: 1.5;
  position: relative;
  text-decoration: none !important;
  transition-duration: .3s;
  font-weight: bold;
  display: inline-block;
  background-color: var(--main-color);
  border-radius: 50vmax;
  color: #fff;
}

.btm-bgcolor a::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url('images/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  transition-duration: .3s;
  background-size: 30px 30px;
}

@media (hover: hover) {
  .btm-bgcolor a:hover {
    background-position: 0 100%;
    background-color: var(--text-color);
    opacity: 1;
  }

  .btm-bgcolor a:hover::before {
    right: 15px;
  }
}

/*------------
 リンク
------------*/
:where(.contentArea) a:hover {
  color: var(--text-color);
}

:is(main, header) a:not(.no-icon)[href$=".pptx"]:after,
:is(main, header) a:not(.no-icon)[href$=".ppt"]:after,
:is(main, header) a:not(.no-icon)[href$=".pdf"]:after,
:is(main, header) a:not(.no-icon)[href$=".doc"]:after,
:is(main, header) a:not(.no-icon)[href$=".docx"]:after,
:is(main, header) a:not(.no-icon)[href$=".xls"]:after,
:is(main, header) a:not(.no-icon)[href$=".xlsm"]:after,
:is(main, header) a:not(.no-icon)[href$=".xlsx"]:after,
:is(main, header) a:not(.no-icon)[href^="https://"][target="_blank"]:after,
:is(main, header) a:not(.no-icon)[href^="http://"][target="_blank"]:after {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 0 5px;
}

:is(main, header) a:not(.no-icon)[href^="http://"][target="_blank"]:after,
:is(main, header) a:not(.no-icon):not([href^="https://sanics-sendai.com/"])[href^="https://"][target="_blank"]:after {
  content: url("images/icon-blank.svg");
  width: 15px;
  height: 15px;
}

.btm a:not(.no-icon)[href$=".pdf"][target="_blank"]:after,
:is(main, header) a:not(.no-icon)[href$=".pdf"]:after {
  content: url("images/icon-pdf.svg");

}

.btm a:not(.no-icon)[href$=".docx"][target="_blank"]:after,
.btm a:not(.no-icon)[href$=".doc"][target="_blank"]:after,
:is(main, header) a:not(.no-icon)[href$=".doc"]:after,
:is(main, header) a:not(.no-icon)[href$=".docx"]:after {
  content: url("images/icon-word.svg");
}

.btm a:not(.no-icon)[href$=".xls"][target="_blank"]:after,
.btm a:not(.no-icon)[href$=".xlsm"][target="_blank"]:after,
.btm a:not(.no-icon)[href$=".xlsx"][target="_blank"]:after,
:is(main, header) a:not(.no-icon)[href$=".xls"]:after,
:is(main, header) a:not(.no-icon)[href$=".xlsm"]:after,
:is(main, header) a:not(.no-icon)[href$=".xlsx"]:after {
  content: url("images/icon-excel.svg");
}

.btm a:not(.no-icon)[href$=".pptx"][target="_blank"]:after,
.btm a:not(.no-icon)[href$=".ppt"][target="_blank"]:after,
:is(main, header) a:not(.no-icon)[href$=".pptx"]:after,
:is(main, header) a:not(.no-icon)[href$=".ppt"]:after {
  content: url("images/icon-ppt.svg");
}

/*PDFのサイズの表示*/

#contentArea .no-pdfsize .pdfsize {
  display: none;
}

:is(#contentArea, .newsList) .pdfsize {
  display: inline;
}

/*------------
 コンテンツ
------------*/
.sp-on,
.tb-on {
  display: none;
}

.inner {
  margin: 0 auto;
  width: min(90%, 1000px);
}

/*--見出し--*/
#contentArea :where(h2, h3, h4, h5, h6),
:where(main, footer) :where(h2, h3, h4, h5, h6) {
  margin: 0 0 1.25em;
  font-size: clamp(2.8rem, 2.733rem + 0.33vw, 3rem);
  line-height: 1.25;
  font-weight: bold;
  position: relative;
}

#contentArea :is(h2, h3).en,
:where(main, footer) :is(h2, h3).en {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#contentArea h3,
:where(main, footer) h3 {
  font-size: clamp(2rem, 1.833rem + 0.83vw, 2.5rem);
}

#contentArea h4,
:where(main, footer) h4 {
  font-size: clamp(1.8rem, 1.727rem + 0.36vw, 2rem);
}

#contentArea h5,
:where(main, footer) h5 {
  font-size: clamp(1.6rem, 1.527rem + 0.36vw, 1.8rem);
}

#contentArea h6,
:where(main, footer) h6 {
  font-size: 1.6rem;
}

#contentArea h2,
h2.h2-ttl {
  margin-bottom: 2em;
  position: relative;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-weight: bold;
}

#contentArea h2 .jp,
h2.h2-ttl .jp {
  margin-bottom: .5em;
  line-height: 1.25;
  font-size: clamp(1.4rem, 1.2476rem + 0.7619vw, 2rem);
  font-weight: normal;
  color: var(--main-color);
}

#contentArea h2 .en,
h2.h2-ttl .en {
  font-family: "Montserrat", serif;
  font-weight: bold;
  font-size: clamp(4rem, 2.9841rem + 5.0794vw, 8rem);
}

#contentArea h2.color-wh :is(.jp, .en),
:is(h2.h2-ttl).color-wh :is(.jp, .en) {
  color: #fff;
}

#contentArea h3,
h3.h3-ttl {
  padding-left: 25px;
  min-height: 2em;
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  border-left: solid 5px var(--text-color);
}

#contentArea h4,
h4.h4-ttl {
  padding-left: 20px;
}

:is(.h2-ttl-bgcolor, h3.h3-ttl, h4.h4-ttl)::before {
  content: '';
  width: 5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--text-color);
}

#contentArea :is(h3, h4).no-border {
  margin-bottom: .5em;
  border: none;
  padding-left: 0;
  display: block;
}

/*------------
	 テキスト関連
------------*/
.m-bottom0 {
  margin-bottom: 0;
}

.m-bottom1em {
  margin-bottom: 1em;
}

.m-bottom3em {
  margin-bottom: 3em;
}

.text-small {
  font-size: 1.2rem;
}

.text-lead {
  font-size: clamp(1.8rem, 1.727rem + 0.36vw, 2rem);
}

.text-bold {
  font-weight: bold;
}

.text-wh {
  color: #fff;
}

.text-bl-color {
  color: var(--bl-color)
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-fit-content {
  margin-inline: auto;
  width: fit-content;
}

ruby rt {
  margin-bottom: .5em;
}

:where(main) p {
  font-size: clamp(1.4rem, 1.333rem + 0.33vw, 1.6rem);
  line-height: 1.8;
}


.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/*--ボックス--*/
.box {
  padding: 2em;
  border-radius: .5vmax;
  position: relative;
}

.box.bg-color {
  background-color: inherit;
  border-radius: 1.5vmax;
  overflow: hidden;
}

.box.border {
  border: solid 1px var(--bg-color);
}

.box.bg-color::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-image: url(images/bg-partsImg.jpg);
  opacity: .3;
}

.box :is(.btm, .btm-bgcolor) {
  margin: 1.5em 0;
}

.box :is(.btm, .btm-bgcolor):last-child {
  margin-bottom: 0;
}


:where(.col-2, .col-3, .col-4) {
  row-gap: 50px;
}

:where(.col-2)> :is(div, li) {

  width: 48%;
}

:where(.col-3)> :is(div, li) {
  width: 30%;
}

:where(.col-3)::after {
  content: "";
  display: block;
  width: 30%;
}

:where(.col-4)> :is(div, li) {
  width: 22%;
}

:where(.col-4)::before,
:where(.col-4)::after {
  content: "";
  display: block;
  width: 22%;
}

:where(.col-4)::before {
  order: 1;
}

:where(.col-2)> :is(div, li).btm-bgcolor {
  margin-top: 0;
}

.wp-block-file:not(.wp-element-button) {
  margin-bottom: 1em;
}

.wp-block-file .wp-block-file__button {
  background: var(--main-color);
  text-decoration: none;
  padding: 0.25em 0.5em;
  color: #fff;
}

.has-main-color-color {
  color: var(--main-color);
}

.has-bg-color-color {
  color: var(--bg-color);
}

.has-text-color-color {
  color: var(--text-color);
}

.has-line-color-color {
  color: var(--line-color);
}

.has-bold-color-color {
  color: #FF4A4A
}

.has-main-color-background-color {
  background-color: var(--main-color);
}

.has-bg-color-background-color {
  background-color: var(--bg-color);
}

.has-text-color-background-color {
  background-color: var(--text-color);
}

.has-line-color-background-color {
  background-color: var(--line-color);
}

.has-bold-color-background-color {
  background-color: #FF4A4A;
}

mark {
  font-style: normal;
}

/*右側写真はみ出し*/

@media (min-width: 782px) {

  .col-overflow-left.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:last-child,
  .col-overflow-right.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:first-child {
    flex-basis: 50%;
    flex-grow: 0;
  }

  .col-overflow-left.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:last-child {
    padding-left: 3em;
  }

}

.col-overflow-left.wp-block-columns>.wp-block-column:first-child {
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
}

.col-overflow-right.wp-block-columns>.wp-block-column:last-child {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 0 0;
}

:is(.col-overflow-left, .col-overflow-right) .wp-block-image img {
  width: 100%;
}


/*--サムネイルリスト--*/

.thumb-cardList li a {
  padding: 2em;
  color: var(--text-color);
  background-color: #fff;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  border: solid 1px var(--line-color);
  border-right: none;
}

@media (hover: hover) {
  .thumb-cardList li a {
    opacity: 1;
  }
}

/*レイアウト*/
.thumb-ImgWrap {
  order: 1;
}

.thumb-cardList h3 {
  order: 2;
}

.thumb-text,
.facilityKinds {
  order: 3;
}

/*ENDレイアウト*/
.thumb-cardList h3 {
  margin-bottom: 0;
  padding-right: 40px;
  font-weight: 700;
  position: relative;
}

.thumb-cardList h3::after {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  right: 0;
  background-image: url("images/arrow.svg");
  background-repeat: no-repeat;
  transition-duration: .3s;
}

@media (hover: hover) {
  .thumb-cardList a:hover h3::after {
    right: -5px;
  }
}

.thumb-ImgWrap {
  margin-bottom: 25px;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.facilityImg {
  width: 100%;
  aspect-ratio: 400/300;
  object-fit: cover;
  transition-duration: .3s;
  display: block;
}

@media (hover: hover) {
  .thumb-cardList a:hover .thumb-ImgWrap .facilityImg {
    transform: scale(1.05);
    filter: brightness(70%);
  }
}

/*--アコーディオン--*/
.details {
  margin: 2em 0;
  border-bottom: solid 1px var(--line-color);
}

.details-summary {
  padding: 0;
  font-weight: bold;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  transition-duration: .3s;
  position: relative;
}

.details-summary:hover {
  cursor: pointer;
  opacity: 0.8;
}

.details-summary::-webkit-details-marker {
  display: none;
}

#contentArea .details-summary h2 {
  width: 100%;
  margin-bottom: 1em;
  padding-right: 30px;
  text-align: left;
  flex-direction: row;
  font-size: clamp(2rem, 1.833rem + 0.83vw, 2.5rem);
}

.details-summary .montserrat {
  margin: 0 1em 0 0;
  width: fit-content;
  font-weight: normal;
  display: inline-block;
  font-size: clamp(2.8rem, 2.733rem + 0.33vw, 3rem);
}

.details-summary .arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  background-color: var(--bg-color);
  position: absolute;
  top: .25em;
  right: 0;
  border-radius: 50%;
}

.details-summary .arrow::before,
.details-summary .arrow::after {
  content: '';
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 1px solid var(--text-color);
  position: absolute;
  transition-duration: .3s;

}

.details-summary .arrow::before {
  top: 50%;
  right: 25%;
  transform: rotate(-90deg);
}

.details-summary .arrow::after {
  top: 30%;
  right: 48%;
}

.details-summary.is-active .arrow::after {
  transform: rotate(-90deg);
  top: 50%;
  right: 25%;
}

.details-content {
  padding: 25px 20px 0;
}

.detailsinner {
  padding: 0 0 2em;
}

/*--ENDアコーディオン--*/


/*==========================================
 tb［541px-1080px以下］
===========================================*/
@media screen and (max-width: 1080px) {
  body {
    background-position: -50px -50px;
    background-size: 400px;
  }

  /*------------
	 header
	------------*/
  .open .headerWrap {
    z-index: 1;
  }

  .headerWrap.js-fixed,
  .headerWrap {
    padding: 0;
    background: inherit;
  }

  .headerInner {
    height: 85px;
    padding: 10px 5% 10px 10px;
  }

  .headerWrap.js-fixed {
    box-shadow: none;
  }

  .global-nav {
    display: none;
  }

  .hamburger-nav {
    margin: 65px 0 0;
    padding: 50px 0 200px;
  }

  .hamburgerLine {
    width: 30px;
    top: 25px;
  }

  .hamburgerLine:before {
    top: -10px;
  }

  .hamburgerLine:after {
    top: 10px;
    right: 0;
  }

  .hamburgerText::before {
    top: -15px;
  }

  /*hamburger menu*/

  /* hamburger */
  .hamburger-nav {
    display: none;
    position: relative;
  }

  .hamburger {
    margin: 0 0 0 auto;
    display: block;
    height: 85px;
    width: 85px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
    border: none;
    background: var(--text-color);
    transition: .5s;
  }

  .hamburgerLine {
    display: block;
    height: 2px;
    width: 45px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    transition: 0.5s;
  }

  .hamburgerLine:before,
  .hamburgerLine:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #fff;
    transition: inherit;
  }

  .hamburgerLine:before {
    top: -15px;
  }

  .hamburgerLine:after {
    top: 15px;
    right: 0;
  }

  /*アクティブ*/
  .open .hamburger {
    background: var(--text-color);
  }

  .open .hamburgerLine {
    background: inherit;
    background: var(--text-color);
  }

  .open .hamburgerLine::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #fff;
  }

  .open .hamburgerLine::after {
    top: 0;
    transform: rotate(-45deg);
    width: 100%;
    background-color: #fff;
  }

  /*ENDアクティブ*/

  /*中身*/
  .hamburger-nav {
    margin: 0 0 0;
    padding: 100px 0 200px;
    height: 100%;
    width: 80%;
    position: fixed;
    right: -100%;
    top: 0px;
    overflow: scroll;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    transition-duration: .3s;
    display: block;
    z-index: 99999;
    background-size: auto auto;
    background-color: #fff;
  }

  .open .hamburger-nav {
    right: 0;
    overflow-x: hidden;
    visibility: visible;
  }

  body.open::before {
    content: '';
    background: rgba(255, 255, 255, .8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
  }

  .is-fixed .hamburger-nav {
    top: 0;
  }

  /*hamburger menu*/

  .hamburger-list {
    margin: 0 auto 50px;
    width: 80%;
  }

  .hamburger-list>.nav-item {
    position: relative;
    border-bottom: solid 1px var(--bg-color);
  }

  .hamburger-list .nav-item.border-dot::before {
    background-image: radial-gradient(circle, #ddd 1.5px, transparent 1.5px);
    ;
  }

  .hamburger-list .nav-item a {
    padding: 1.5em .5em 1.5em 0;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
  }

  .hamburger-list .parent {
    display: block;
    width: 100%;
  }

  .hamburger-list .button {
    padding: 1em .5em 1em 0;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background-color: inherit;
    font-weight: bold;
    font-family: 'ZenKakuGothicNew', sans-serif;
    color: var(--text-color);
    font-size: 1.8rem;
    text-align: left;
  }

  .hamburger-list .button::before,
  .hamburger-list .button::after {
    content: '';
    position: absolute;
    background: var(--text-color);
    top: 1.8em;
    right: 5px;
    width: 20px;
    height: 2px;
    transition: all 0.3s;
  }

  .hamburger-list .button::before {
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
  }

  .hamburger-list .button::after {
    transform: translateX(-50%);
    width: 20px;

  }

  .hamburger-list .button.open::before {
    transform: translate(-50%, -50%);
  }

  .hamburger-list .button.open::after {
    opacity: 0;
  }

  .hamburger-list .contact {
    margin: 3em auto;
    border: none;
  }

  .hamburger-list .contact a {
    text-align: center;
    background-color: var(--main-color);
    border-radius: 50vmax;
    color: #fff;
  }

  /*子要素*/
  .nav-item_sub {
    display: none;
    padding-bottom: 1em;

  }

  .nav-item_sub li {
    width: 100%;
  }


  .hamburger-list .nav-item_sub .menu-ttl {
    margin: 1em 0;
    padding-left: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
  }

  .hamburger-list .nav-item_sub .menu-ttl::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 100vmax;
  }

  .hamburger-list .nav-item_sub li a {
    padding: .8em 2.5em .8em .5em;
    position: relative;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
  }

  .hamburger-list .nav-item_sub li a::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("images/arrow.svg");
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
  }

  /*------------
		footer
	------------*/
  #footerArea>.inner {
    width: calc(90% - 20px);
  }

  .footerTopLogo {
    margin-bottom: 70px;
  }

  .footerNavList li {
    width: 100%;
  }

  #pagetop {
    bottom: -5em;
  }

  small {
    margin:
      5em 0 150px;
  }

  /*------------
		 コンテンツ
	------------*/
  .tb-on {
    display: block;
  }

  .tb-none {
    display: none;
  }

  /*------------
  カラム
  ------------*/
  :where(.col-2)> :is(div, li) {
    width: 100%;
  }

  :where(.col-2.tb-w50)> :is(div, li),
  :where(.col-3, .anchorArea)> :is(div, li) {
    width: 48%;
  }

}


/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 781px) {

  /*WPブレイクポイント*/
  .sp-column-reverse {
    flex-direction: column-reverse;
  }

  /*右側写真はみ出し*/

  :is(.col-overflow-left, .col-overflow-right).wp-block-columns {
    overflow: hidden;
    flex-wrap: nowrap
  }

  .col-overflow-left.wp-block-columns>.wp-block-column:first-child,
  .col-overflow-right.wp-block-columns>.wp-block-column:last-child {
    padding: 0;
  }

}

@media screen and (max-width: 540px) {

  /* iOSでのデフォルトスタイルをリセット */
  input[type="submit"],
  input[type="button"] {
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
  }

  input[type="submit"]::-webkit-search-decoration,
  input[type="button"]::-webkit-search-decoration {
    display: none;
  }

  input[type="submit"]:focus,
  input[type="button"]:focus {
    outline-offset: -2px;
  }

  a[href^="tel:"] {
    pointer-events: auto;
    text-decoration: underline;
  }

  /*------------
		 header
	------------*/
  .headerWrap {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .headerInner.flex,
  .headerInner {
    padding: 5px 5%;
    height: 70px;
  }

  .logoArea {
    height: 100%;
  }

  /*hamburger*/

  .hamburger {
    height: 70px;
    width: 70px;
  }

  .hamburgerLine {
    width: 25px;
    top: 30px;
  }

  .hamburgerLine::before {
    top: -10px;
  }

  .hamburgerLine::after {
    top: 10px;
  }

  .hamburger-menu {
    width: 80%;
  }

  .hamburger-menu-list li a {
    font-size: 1.4rem;
  }

  .hamburger-list .contact a {
    padding: 1em;
  }

  /*.sp-submenu*/
  .sp-submenu {
    width: 90%;
  }

  /*------------
		footer
	------------*/
  #contactArea .inner {
    padding: 100px 0;
  }

  .footerTopLogo {
    margin: -3em 0 70px;
    height: 100px;
  }

  #footerArea .addressArea {
    width: 100%;
  }

  .footerCacthImg {
    margin-bottom: 50px;
    width: min(100%, 220px);
  }

  #footerArea address {
    margin-bottom: 100px;
    width: min(100%, 350px);
  }

  .footerMenu {
    margin-bottom: 50px;
    width: min(100%, 350px);
  }

  .footerNavList li {
    width: calc(45% - 1em);
  }

  #pagetop {
    margin-left: auto;
    position: static;
  }

  .footerimgBox {
    border: solid 10px #fff;
  }

  small {
    margin: 5em 0;
  }

  small.copy {
    justify-content: center;
  }

  /*------------
		 コンテンツ
	------------*/
  main {
    padding: 0;
  }

  .sp-on {
    display: block;
  }

  .sp-none,
  .pc-on {
    display: none;
  }

  .asideMenuList li {
    width: 48%;
  }

  /*メニューリスト*/
  .menuList.col-3 {
    margin-bottom: 100px;
  }

  .menuListCat li {
    padding: 4px 5px 2px;
  }


  /*------------
  カラム
  ------------*/
  :where(.col-2, .col-3, .col-4) {
    row-gap: 30px;
  }

  :where(.col-2.tb-w50)> :is(div, li),
  :where(.col-2, .col-3, .col-4).sp-w100>:is(div, li) {
    width: 100%;
  }



}