@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Old+Mincho&display=swap');
@font-face {
  font-family: "Hare";
  src: url(../css/font/Harenosora.otf) format("opentype");
}


/* *** */
html {
  font-size: 3.125vw;
}
@media screen and (min-width: 374px) {
  html {
    font-size: 2.673796791vw;
  }
}
@media screen and (min-width: 576px) {
  html {
    font-size: 1.736111111vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.302083333vw;
  }
}
@media screen and (min-width: 992px) {
  html {
    font-size: 1.008064516vw;
  }
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media screen and (min-width: 1200px) {
  html {
    font-size: 10px;
  }
}

/* font */

body {
  background-color: #fff;
  color: var(--text-color);
  font-family: "Zen Old Mincho", "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 400;
  word-wrap: break-word;
  position: relative;

  font-optical-sizing: auto;
  font-feature-settings: "palt";
  overflow-wrap: break-word;
}
.container {
  font-size: 1.2em;
  line-height: 1.75;
  margin: 0 auto;
  position: relative;
  @media screen and (min-width: 374px) {
    font-size: 1.2em;
  }
  @media screen and (min-width: 576px) {
    font-size: 1.3em;
  }
  @media screen and (min-width: 768px) {
    font-size: 1.4em;
  }
  @media screen and (min-width: 992px) {
    font-size: 1.5em;
  }
  @media screen and (min-width: 1200px) {
    font-size: 1.6em;
  }
}
html,
body,
.container {
  height: 100%;
}
.container-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.footer {
  margin-top: auto;
}
header,
main,
footer {
  width: 100%;
  min-width: 1%;
  margin: 0 auto;
  z-index: 1;
}
nav {
  position: relative;
  z-index: 1;
}
footer {
  margin-top: auto;
  position: relative;
}
main,
footer .site-footer {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.main {
}
.main-inner,
.footer-inner {
  padding: 0 1.25em;
}
@media screen and (min-width: 768px) {
  .main-inner,
  .footer-inner {
    padding: 0 1.5em;
  }
}
@media screen and (min-width: 992px) {
}
/* *** */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}
[class*="-heading"] > .heading-inner {
  display: inline-block;
}
em {
  font-size: 1em;
  font-style: normal;
  font-weight: bold;
}
strong {
  font-size: 1em;
  font-style: normal;
  font-weight: bold;
}
.marker {
  background-color: transparent;
  background-image: linear-gradient(transparent 77%, rgba(var(--yellow-rgb), .67) 0%);
}

.under-line {
  background-image: linear-gradient(transparent 77%, rgba(var(--red-rgb), .67) 0%);
}

/* clearfix */
.cf::after,
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* link && pointer */
a {
  color: var(--link-text-color);
  text-decoration: none;
  transition: color .3s ease;
}
a[href^="tel:"] {
  color: var(--text-color);
}
@media screen and (min-width: 992px) {
  /* a:hover {
    color: var(--link-text-hover-color);
  } */
  a.btn-inner:hover {
    opacity: .77;
  }
}
a:focus {
  outline: 0;
  outline: none;
  outline: .125em solid rgba(var(--main-blue-rgb), .7);
}
a.dec-none,
a.tel-num {
  color: var(--text-color);
  text-decoration: none;
}
.text-btn > a {
  background-color: var(--black);
  border-radius: 3em;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 1.25em 2em 1.15em;
}
.text-btn > a .string {
  font-size: 1.125em;
  font-weight: bold;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .07em;
  display: block;
  padding-left: .07em;
}
.text-text {
  margin: 2em 0;
}
form :focus {
  /* outline: .125em solid var(--outline-color); */
  outline: .125em solid rgba(var(--main-blue-rgb), .7);
}
form a:focus,
button:focus {
  outline: .125em solid rgba(var(--main-blue-rgb), .7);
}
@media screen and (min-width: 992px) {
  a.tel-num-sp {
    color: var(--text-color);
    text-decoration: none;
  }
}
.pointer {
  cursor: pointer;
}

/* img */
img {
  border: 0;
  border: none;
  width: 100%;
  height: auto;
  min-height: 1%;
  vertical-align: top;

  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}
a img.transform {
  transition: transform .3s ease;
}
a.hover img.transform,
a:hover img.transform {
  opacity: .77;
  transform: scale(1.03);
}

/* list */
::marker {
  color: rgba(var(--black-rgb), .77);
}
/* nav li {
  position: relative;
} */
nav li::before {
  position: absolute;
}
ul.list {
  margin: 1em 0;
  padding: 0 0 0 1.5em;
}
.list-before + ul.list {
  margin-top: 0;
}
ul.list > li {
  margin: 0;
  padding: 0;
}
ul.list-dot {
  padding-left: 1em;
}
/* ul.list > li:nth-child(n+2) {
  margin-top: .3em;
} */
ul.style-none,
ol.style-none,
ul.check-list,
ul.contact,
ul.field,
ol.field,
ul.item,
ol.item,
ul.menu,
ul.nav,
ol.step {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.style-none + .style-none {
  margin: 2em 0 1em;
}
ul.style-none > li,
ol.style-none > li,
ul.check-list > li,
ul.contact > li,
ul.field > li,
ol.field > li,
ul.item > li,
ol.item > li,
ul.menu > li,
ul.nav > li,
ol.step > li {
  margin: 0;
  padding: 0;
}
ul > li > p,
ol > li > p {
  margin: 0;
}
ul > li > p.margin,
ol > li > p.margin {
  margin: 1em 0;
}

/* ol.num-list */
ol.num-list {
  list-style-type: none;
  counter-reset: item;
  margin: 1em 0;
  padding: 0;
}
ol.num-list > li {
  margin: 0;
  padding: 0 0 0 2em;
  position: relative;
}
ol.num-list > li:nth-child(n+2) {
  margin-top: .3em;
}
ol.num-list > li::before {
  counter-increment: item;
  content: counter(item)".";
  font-size: 1em;
  text-align: center;
  display: block;
  width: 1.5em;
  position: absolute;
  left: 0;
}

/* ul.check-list */
ul.check-list > li {
  line-height: 1.5;
  margin: .5em 0;
  padding-left: 2em;
  position: relative;
}
ul.check-list > li::before,
ul.check-list > li::after {
  content: "";
  position: absolute;
}
ul.check-list > li::before {
  background-color: var(--blue-dark);
  display: block;
  width: 1.4em;
  height: 1.4em;
  top: .25em;
  left: 0;
}
ul.check-list > li::after {
  border-bottom: .1875em solid #fff;
  border-left: .1875em solid #fff;
  display: block;
  width: 1.2em;
  height: .8em;
  top: .25em;
  left: .1em;
  transform: rotate(-45deg);
}

/* dl, dt, dd */
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* others */
.pc-only {
  display: none;
  @media screen and (min-width: 768px) {
    display: block;
  }
}
.sp-only {
  display: block;
  @media screen and (min-width: 768px) {
    display: none;
  }
}
.align-center,
.text-center {
  text-align: center;
}
.align-right,
.text-right {
  text-align: right;
}
.i-block,
.inline-block {
  display: inline-block;
}
.d-block,
.display-block {
  display: block;
}
.d-none,
.display-none {
  display: none;
}
.nowrap {
  white-space: nowrap;
}
.narrow.before {
  display: inline-block;
  margin-left: -.5em;
}
.narrow.after {
  letter-spacing: -.5em;
}
.text-bold {
  font-weight: bold;
}
.text-justify {
  text-align: justify;
}
.text-small {
  font-size: .9em;
  line-height: 1.2;
}
/* text-color */
.text-color01 {
  color: var(--red);
}
/* font-family設定 */
.font-serif {
  font-family: serif;
}
.font-hare {
  font-family: 'Hare', serif;
}
/* .border */
.border {
  border: .0625em solid var(--gray);
}
.border .text-text {
  margin: 0;
}
/* .lang-en */
.lang-en {
  font-size: 1.23em;
}
.serif {
  font-family: "Noto Serif Japanese", serif;
}
/* .em-px */
.em-px {
  font-size: 1em;
  display: block;
  width: 1em;
  height: 0;
  position: absolute;
}
/* .kome */
.kome {

}
.kome-inner {
  display: flex;
}
.text-right .kome-inner {
  justify-content: end;
}
.colon {
  padding: 0 .15em;
}

/* .breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 1;
}
.breadcrumb .list {
  list-style-type: none;
  display: flex;
  margin: 1.5em 0 0;
  padding: 0;
}
.breadcrumb .list-inner {
  position: relative;
  & > .link-text,
  & > span {
   display: inline-block;
   padding: .25em .6em;
  }
  & > .link-text {
    margin-right: .5em;
    padding-left: 0;
  }
  &:not(:first-of-type) > .link-text {
    margin: 0 .5em;
  }
  &:first-child::before {
    display: none;
  }
  &::before {
    content: "\f105";
    color: var(--main-blue-dark);
    font-size: .9em;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -.5em;
    top: calc(50% - .75em);
  }
  @media screen and (min-width: 768px) {
    & > .link-text,
    & > span {
     padding: .5em;
    }
    &:not(:first-of-type) > .link-text {
    margin: 0 .5em 0 0;
    }
  }
}
.breadcrumb .link-text {
  color: var(--main-blue-dark);
  font-size: 1em;
  font-weight: bold;
  font-weight: 700;
  text-decoration: none;
  & > span {
    position: relative;
  }
  & > span::before {
    background-color: var(--main-blue);
    content: "";
    width: 0;
    height: .09375em;
    position: absolute;
    top: auto;
    bottom: 0;
    transition: width .33s ease;
  }
  &:hover > span::before {
    width: 100%;
    transition: width .33s ease;
  }
}
.breadcrumb .current {
  color: rgba(var(--black-rgb), .67);
  font-weight: normal;
  font-weight: 400;
}
.bracket-before {
  margin: 0 .1em 0 .2em;
}
.parentheses-before {
  margin: 0 0 0 -.3em;
}
.bracket-after {
  margin: 0 .2em 0 .1em;
}
.parentheses-after {
  margin: 0 -.3em 0 0;
}

/* ---------------------------
共通パーツ系
--------------------------- */
/* .logo ロゴ共通の大きさ */
.logo {
  width: 6em;
  position: relative;
  @media screen and (min-width: 374px) {
    width: 8em;
    position: relative;
  }
  @media screen and (min-width: 576px) {
    width: 11em
  }
  @media screen and (min-width: 768px) {
    width: 9em;
  }
  @media screen and (min-width: 992px) {
    width: 12em;
  }
}
/* box要素 */
.item-box,
.text-box,
.box {
}
.item-box .text-text,
.text-box .text-text,
.box .text-text {
  margin: 0;
}
.box-border,
.box-border-color01,
.box-radius-only,
.box-radius,
.box-radius-color01,
.box-shadow,
.box-shadow-color01,
.box-radius-shadow,
.box-style01,
.box-style01-color01,
.box-style02 {
  padding: 1.5em 1em;
  @media screen and (min-width: 768px) {
    padding: 1.5em ;
  }
}
.box-color01 {
  background-color: var(--sub-red);
  color: #fff;
}

/* .box-border */
.box-border {
  border: .125em solid var(--text-color);
}
/* .box-border-color01 */
.box-border-color01 {
  border: .125em solid var(--main-red);
}

.box-border-color01 .box-heading,
.text-box.box-border-color01 .box-heading,
.text-box.box-radius-color01 .box-heading {
  color: var(--main-red);
  font-weight: bold;
  margin-bottom: 1em;
}
.box-border-color01 .box-heading .heading-inner,
.box[class$="-color01"] .box-heading .heading-inner,
.item-box[class$="-color01"] .box-heading .heading-inner,
.text-box[class$="-color01"] .box-heading .heading-inner {
  font-size: 1.2em;
}
/* .box-radius */
.box-radius,
.box-radius-color01 {
  border: .125em solid var(--text-color);
  border-radius: 8px;
}
.box-radius-only {
  border-radius: 8px;
}
.box-radius-color01 {
  border: .125em solid var(--main-red);
}
/* .box-shadow */
.box-shadow {
  box-shadow: .0625em .125em 6px #a6a6a6;
  /* box-shadow: 0px .4em 1em 0em rgb(10 10 10 / 8%); */
}
.box-shadow .box-header .box-heading {
  font-weight: bold;
  margin-bottom: 1em;
}
.box-shadow .box-header .box-heading .heading-inner {
  font-size: 1.1em;
}
/* .box-shadow-color01 */
.box-shadow-color01 {
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--main-red);
}
/* .box-radius-shadow */
.box-radius-shadow {
  border-radius: 8px;
  box-shadow: .0625em .125em 6px #a6a6a6;
}
/* .box-style01 */
.box-style01 {
  @media screen and (min-width: 768px) {
    padding-top: 0;
  }
}
.box-style01,
.box-style01-color01 {
  background-color: #f7f7f7;
  padding-top: 0;
  position: relative;
}
.box-style01 .box-header .header-inner,
.box-style01-color01 .box-header .header-inner {
  background-color: var(--dark-navy);
  margin: 0 -1em;
  padding: 1.5em 2em;
}
.box-style01-color01 .box-header .header-inner {
  background-color: var(--sub-red);
}
.box-radius.box-style01-color01 .box-header .header-inner {
  margin: -.125em -1.125em 0;
  border-radius: 8px 8px 0 0 ;
  @media screen and (min-width: 768px) {
    margin: -.125em -1.625em 0;
  }
}

.box-style01 .box-heading,
.box-style01-color01 .box-heading {
  color: #fff;
}
.box-style01 .box-heading > .heading-inner {
  font-size: 1.2em;
  letter-spacing: .05em;
}
.box-style01 > .box-inner > div ,
.box-style01-color01 > .box-inner > div {
  margin: 0;
  padding-top: 1.5em;
}
.box-style01 .box-inner .list {
  text-align: center;
  width: fit-content;

  margin-inline: 0 auto;
}
.box-style01 .box-inner .list .list-inner {
  text-align: left;
}
/* .box-style01 .box-radius-color01 */
.box-style01 .box-radius-color01 {
  background-color: #fff;
  width: calc(100% - 3em);
  margin: 0 ;
  position: absolute;
  top: calc(100% - 2.5em);
}
@media screen and (min-width: 768px) {
  .box-shadow .box-heading .heading-inner {
    font-size: 1.2em;
  }
  .box-style01 .box-header .header-inner,
  .box-style01-color01 .box-header .header-inner {
    margin: 0 -1.5em;
  }
}

/* .box-style02 */
.box-style02 {
  background-color: #fff;
  border-radius: 8px;
  position: relative;
}
.box-style02 .box-header {
  text-align: center;
  position: absolute;
  top: -1.5em;
  left: 0;
  @media screen and (min-width: 768px) {
    top: -1.5em;
  }
}
.box-style02 .box-header .header-inner {
  background-color: var(--dark-navy);
  border-radius: 4em;
  display: inline-block;
  padding: .8em 1.5em;
}
.box-style02 .box-heading,
.box-style02-color01 .box-heading {
  color: #fff;
}
/* テキスト下にアンダーライン */
.text-area-underline,
.text-text.text-area-underline {
  font-family: 'Hare', serif;
  width: 100%;
  margin: 0 auto 4em;
  position: relative;
  &::before {
    background-color: var(--main-blue-dark);
    content: "";
    width: 40%;
    height: .09375em;
    position: absolute;
    top: auto;
    bottom: -2em;
    left: 30%;
  }
}

/* table装飾 */
.table {
  width: 100%;
}
.table th,
.table td {
  font-weight: 400;
  width: 50%;
  padding: 1em .5em;
  @media screen and (min-width: 768px) {
    padding: 1em;
  }
}
.table thead th {
  background-color: var(--dark-navy);
  color: #fff;
  font-weight: 400;
  text-align: center;
}
.table thead th:not(:first-of-type) {
  border-left: .0625em solid #fff;
}
.table tbody {
  border-right: .0625em solid #d9d9d9;
  border-bottom: .0625em solid #d9d9d9;
  border-left: .0625em solid #d9d9d9;
}
.table tbody th,
.table tbody td {
  border-top: .0625em solid #d9d9d9;
}
.table tbody th {
  background-color: #f7f7f7;
  text-align: center;
}
.table tbody td {
  border-left: .0625em solid #d9d9d9;
}
.table-color01 thead th,
.table-color01 tbody th {
  background-color: var(--sub-red);
  color: #fff;
}

/* form装飾 */
form input,
form select,
form textarea {
  border: 1.5px solid #809095;
}
.form .field-inner {
  padding-bottom: 2em;
}
/* .form .field-header */
.form .field-header {
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  flex-direction: row;
  padding: 1em 0;
  @media screen and (min-width: 768px) {
    padding: 1.5em .5em;
  }
  @media screen and (min-width: 992px) {
    padding: 1.5em;
  }
}
.form .field-header .must,
.form .field-header .mustnot {
  min-width: 3em;
  margin: 0 0 auto 0;
}
.form .field-header .must {
  background-color: var(--red);
  border-radius: 4px;
  color: #fff;
  margin-left: .5em;
  padding: .1em .4em .15em;
}
.form .field-header .header-inner {
  margin: 0 0 auto 0;
}
/* .form .field-body */
/* form > checkbox/radioボタンの装飾 */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="submit"],
input[type="reset"],
textarea,
select,
button {
  font-size: 16px;
  line-height: 1.4;
  width: 100%;
  padding: .6em 1em;
  @media screen and (min-width: 992px) {
    font-size: 1.25em;
  }
}
.form select {
  cursor: pointer;
}
.form .input-radio label .label-inner,
.form .input-checkbox label .label-inner {
  font-size: 1.2em;
  padding-left: 1.5em;
}
.input-checkbox,
.input-radio {
  width: 100%;
  height: 100%;
  position: relative;
}
input[type="checkbox"],
input[type="radio"] {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}
.label-checkbox,
.label-radio {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.label-checkbox::before,
.label-checkbox::after,
.label-radio::before,
.label-radio::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.label-checkbox::before,
.label-radio::before {
  background-color: #fff;
  border: .125em solid var(--main-blue-dark);
  width: 1.4em;
  height: 1.4em;
  top: .4em;
  left: .2em;
  z-index: 1;
  transition: background-color .23s ease;
}
.label-checkbox::before {
  border-radius: 2px;
}
.label-radio::before,
.label-radio::after {
  border-radius: 50%;
}
.label-checkbox::after {
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  width: .7em;
  height: 1em;
  top: .4em;
  left: .5em;
  z-index: 1;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity .23s ease;
}
.label-radio::after {
  background-color: var(--main-blue-dark);
  width: 1em;
  height: 1em;
  top: .605em;
  left: .405em;
  z-index: 1;
  opacity: 0;
  transition: background-color .23s ease;
}

input[type="checkbox"]:checked + .label-checkbox::before {
  background-color: var(--main-blue-dark);
  transition: background-color .23s ease;
}
input[type="checkbox"]:checked + .label-checkbox::after,
input[type="radio"]:checked + .label-radio::after {
  opacity: 1;
  transition: opacity .23s ease;
}
input:focus,
select:focus,
textarea:focus,
input[type="checkbox"]:focus + .label-checkbox,
input[type="radio"]:focus + .label-radio {
  outline: .125em solid rgba(var(--main-blue-rgb), .7);
  transition: outline .15s ease;
}
@media screen and (min-width: 768px) {
  #article-contact .form .field-inner,
  #article-contact .form .field-header {
    display: flex;
    flex-direction: row;
  }
}

/* form > .field-inner.field-howto */
#article-contact .field-howto .field-body .list.item {
  grid-template-columns: 1fr 1fr 1fr;
}
/* form > .field-inner.field-select */
.field-select .body-inner {
  position: relative;
  &::before {
    background-color: #7c7c7c;
    clip-path: polygon(100% 0, 0 0, 50% 66%);
    content: "";
    width: 1em;
    height: 1em;
    pointer-events: none;
    position: absolute;
    top: calc(50% - .25em);
    right: 1em;
  }
}
.field-select select {
  appearance: none;
}

/* form > .field-inner.field-privacy-policy */
.field-privacy-policy .body-inner {
  line-height: 1.2;
}
.field-privacy-policy a {
  position: relative;
  z-index: 3;
  &::before {
    background-color: var(--text-color);
    content: "";
    width: 0;
    height: .0625em;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    transition: width .23s ease;
  }
  &:hover::before {
    width: 100%;
    transition: width .23s ease;
  }

  & .inline-block {
    line-height: 1;
  }
}
.field-privacy-policy a .icon {
  padding: 0 .15em;
  @media screen and (min-width: 576px) {
    padding: 0 .2em;
  }
}
.field-privacy-policy .label-checkbox::before,
.field-privacy-policy .label-checkbox::after {
  top: .1em;
}


/* ---------------------------
ヘッダー・フッター
--------------------------- */
/* header */
.header {
  background-color: #fff;
  position: fixed;
  z-index: 2;
}
.header > .header-inner {
  /* font-family: "Hare" , serif; */
  padding-block: .5em;
  @media screen and (min-width: 768px) {
    padding: .5em 1.5em ;
  }
  @media screen and (min-width: 1200px) {
    padding: .5em 1.5em ;
    margin: 0 auto;
    max-width: var(--document-max-width);
  }
}
.nav .nav-menu {
  gap: 1em;
}
.nav .nav-menu_item {
  & .nav-menu-inner {
    position: relative;
  }
  & .nav-menu-inner::before {
    background-color: var(--main-blue);
    content: "";
    width: 0;
    height: .09375em;
    position: absolute;
    top: auto;
    bottom: -.15em;
    transition: width .33s ease;
  }
  & .nav-menu-inner > span {
    font-size: .9em;
    letter-spacing: -.025em;
  }
  @media screen and (min-width: 1200px) {
    & .nav-menu-inner:hover::before {
      width: 100%;
      transition: width .33s ease;
    }
    & .nav-menu-inner.link-here::before {
      width: 100%;
    }
  }
}

/* .header .nav.header-nav */
.header-nav  {
  & .nav-bg {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 0;
    position: fixed;
    top: 3.5em;
    left: 0;
    transition: height .33s ease;
    z-index: -1;
  }
  & .active .nav-bg {
    height: 100%;
    transition: height .33s ease;
    transition-delay: .1s;
  }
  @media screen and (min-width: 576px) {
  }
  @media screen and (min-width: 768px) {
    & .nav-bg {
      top: 4.6em;
    }
  }
  @media screen and (min-width: 1200px) {
    & .nav-bg {
      display: none;
    }
  }
}
.header-nav .hamberger-btn {
  cursor: pointer;
  width: 2em;
  height: 2em;
  position: fixed;
  top: 1em;
  right: 1.25em;
  z-index: 10;
  & .btn-inner::before,
  & .btn-inner::after {
    content: "";
  }
  & .hamberger {
    background-color: var(--blue-dark);
    display: block;
    width: 100%;
    height: 2.5px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transform: none;
    transform-origin: right center;
    transition: transform .33s ease, opacity .33s ease, display .33s ease;
  }
  & .hamberger:nth-child(2) {
    top: .75em;
    transform-origin: center;
  }
  & .hamberger:nth-child(3) {
    top: 1.5em;
  }
  @media screen and (min-width: 768px) {
    right: 1.5em;
  }
  @media screen and (min-width: 1200px) {
    & .hamberger {
      display: none;
    }
  }
}
.header-nav {
  margin: auto 0;
  & .nav-menu {
    display: flex;
    flex-direction: row;
    padding: 0;
    position: relative;
    top: 0;
  }
  @media screen and (max-width: 1199px) {
    & .nav-menu {
      background-color: #fff;
      display: flex;
      flex-direction: column;
      margin: 0;
      padding: 5em 2em 3em;
      width: 100%;
      height: 0;
      overflow-y: scroll;
      position: fixed;
      /* top: 0; */
      top: -99vh;
      left: 0;
      /* transition: height .33s ease, top .33s ease; */
    }
    & .active .nav-menu {
      height: auto;
      top: 0;
      transition: height .33s ease, top .33s ease;
    }
    & .nav-menu > .nav-menu_item {
      & a {
        display: none;
        padding: .5em 0;
      }
      & .nav-menu-inner > span {
        font-size: 1.2em;
      }
    }
    & .active .nav-menu > .nav-menu_item a {
      display: block;
    }
  }
  @media screen and (min-width: 1200px) {
    & .nav-menu {
      gap: .7em;
    }
    & .nav-menu > .nav-menu_item {
      & .nav-menu-inner > span {
        font-size: .85em;
      }
    }
  }
  @media screen and (min-width: 1400px) {
    & .nav-menu {
      gap: 1em;
    }
    & .nav-menu > .nav-menu_item {
      & .nav-menu-inner > span {
        font-size: .9em;
      }
    }
  }
}

.header-nav .active .hamberger-btn {
  .hamberger:nth-child(1) {
    transform: rotate(-45deg);
    transition: transform .33s ease;
    transform-origin: right center;
  }
  .hamberger:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }
  .hamberger:nth-child(3) {
    transform: rotate(45deg);
    transition: transform .33s ease;
    transform-origin: right center;
  }
}

.header .site-header {
  & .header-inner {
    line-height: 1;
  }
  @media screen and (min-width: 768px) {
    & .header-inner {
      display: flex;
      justify-content: space-between;
    }
  }
}
.header .site-heading {
  margin: auto 4em auto 1.25em;
  display: inline-block;
  position: relative;
  z-index: 11;
  & .heading-inner {
    display: block;
  }
  & .link-text {
    display: block;
  }
  /* & .logo-text {
    font-size: .8em;
  } */
  @media screen and (min-width: 374px) {
    margin: auto 4em auto 1.25em;
  }
  @media screen and (min-width: 768px) {
    margin: auto 0;
  }
  @media screen and (min-width: 1200px) {
    margin: auto auto auto 0;
    & .logo-text {
      font-size: 1em;
    }
  }
}
.logo-text {
  display: flex;
  flex-direction: row;
  gap: .25em;
  & > span {
    color: var(--blue-dark);
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: auto 0;
  }
  @media screen and (min-width: 576px) {
    & > span {
      font-size: 1.3em;
    }
  }
  @media screen and (min-width: 992px) {
    & > span {
      font-size: 1.2em;
      text-wrap-mode: nowrap;
    }
  }
   @media screen and (min-width: 1200px) {
    & > span {
      font-size: 1em;
    }
  }
}

/* .footer */
.footer {
  background: linear-gradient(0deg, #dcf2f4 78%, transparent 98%);
  & .footer-inner {
    padding-block: 4em 4.5em;
  }
  @media screen and (min-width: 576px) {
    & .footer-inner {
    padding-bottom: 5.5em;
    }
  }
  @media screen and (min-width: 768px) {
    & .footer-inner {
      padding-bottom: 0;
    }
  }
  @media screen and (min-width: 1400px) {
    & .footer-inner {
      max-width: var(--document-max-width);
      margin: 0 auto;
      padding-inline: 3em;
    }
  }
}
.footer .page-top-btn {
  position: fixed;
  top: auto;
  bottom: 0;
  left: auto;
  right: 0;
  z-index: 10;
  & .btn-inner {
  }
  & .btn-inner .link-text {
    position: relative;
    top: -3.5em;
    bottom: auto;
    &::before {
      background-color: var(--main-blue);
      content: "";
      width: 7em;
      height: 7em;
      position: absolute;
      top: auto;
      left: auto;
      right: -3.8em;
      bottom: -3.8em;
      transform: rotate(45deg);
    }
    & > span:first-of-type {
      color: #fff;
      position: absolute;
      top: -1.25em;
      left: -1em;
      font-size: 2em;
    }
    & > span:nth-of-type(2) {
      color: #fff;
      letter-spacing: 0.05em;
      font-size: 1.1em;
      writing-mode: tb;
      position: absolute;
      top: -4.1em;
      left: -2em;
    }
  }
  @media screen and (min-width: 374px) {
    & .btn-inner .link-text {
      top: -5.5em;
      bottom: auto;
      &::before {
        width: 9em;
        height: 9em;
        right: -4.5em;
        bottom: -6em;
      }
      & > span:first-of-type {
        top: -1em;
      }
    }
  }
  @media screen and (min-width: 576px) {
    & .btn-inner .link-text {
      top: -5em;

      &::before {
        width: 10em;
        height: 10em;
        right: -5em;
        bottom: -5em;
      }
      & > span:first-of-type {
        top: -1.75em;
      }
    }
  }
  @media screen and (min-width: 768px) {
    & .btn-inner .link-text {
      top: 0;
      &::before {
      width: 12em;
      height: 12em;
      right: -7em;
      bottom: -5.3em;
      transform: rotate(40deg);
      transition: background-color .33s ease;
      }
      & > span:first-of-type {
        top: -3.4em;
        left: -1em;
        transition: top .33s ease;
      }

      &:hover::before {
        background-color: #59c6d7;
        transition: background-color .33s ease;
      }
      &:hover > span:first-of-type {
        top: -3.55em;
        transition: top .33s ease;
      }
    }
  }
}
.footer .footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1em;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 2em;
    margin: 2em 4em 0 0;
  }
}
.footer .footer-container-about {
  margin-bottom: 1em;
  & .icon {
    font-size: 1.2em;
    line-height: 1;
  }
  & .text-text {
    margin: 0;
  }
  @media screen and (min-width: 768px) {
    margin-bottom: 0;
    width: calc(50% - 4em);
    & .list .list-inner {
      padding-bottom: .5em;
    }
  }
}

.footer .footer-container-nav {
  & .footer-nav > .nav-inner {

  }
  & .footer-nav .nav-menu_item {
    line-height: 1.6;
    padding: 0 0 .5em 1em;
    position: relative;
    &:before {
      content: "-";
      width: 1em;
      height: auto;
      margin: 0 auto;
      position: absolute;
      top: -.1em;
      left: .1em;
    }
  }
  & .footer-nav .nav-menu_item {
    & .nav-menu-inner > span {
      font-size: 1.1em;
      letter-spacing: .05em;
    }
  }
  & .footer-nav .nav-menu_item {
    & .nav-menu-inner:hover::before {
      width: 100%;
      transition: width .33s ease;
    }
  }

  @media screen and (min-width: 576px) {
    & .footer-nav > .nav-inner {
      flex-direction: row;
      display: flex;
      gap: 10%;
    }
  }
  @media screen and (min-width: 768px) {
    & .footer-nav > .nav-inner {
      flex-direction: row;
      display: flex;
      gap: 2em;
    }
    & .footer-nav .nav-menu_item {
      padding: 0 0 .5em 1em;
    }
    & .footer-nav .nav-menu_item .nav-menu-inner {
      & > span {
        font-size: 1em;
      }
    }
  }
  @media screen and (min-width: 992px) {
    & .footer-nav .nav-menu_item {
      padding: 0 0 .75em 1em;
    }
  }
  @media screen and (min-width: 1200px) {
    & .footer-nav > .nav-inner {
      gap: 3em;
    }
  }
}
.footer .copyright {
  margin-top: 2em;
  padding-bottom: 2em;
  @media screen and (min-width: 768px) {
    margin-top: 4em;
  }
}

/* ---------------------------
index.html
--------------------------- */
.main {
  margin-top: 3.5em;
  @media screen and (min-width: 768px) {
    margin-top: 4.5em;
  }
}
.main-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* .article */
.article {
  margin: 0 0 4em;
}
@media screen and (min-width: 768px) {
  .article {
    margin: 0 0 8em;
  }
}
.article[id^="article-"]:not(:first-of-type):before {
  content: "";
  width: 100%;
  display: block;
  margin-top: calc(160px - 20em);
  padding-top: calc(20em - 160px);
  position: relative;
  height: 100%;
  z-index: -1;
}
.main-inner .article:last-of-type {
  margin-bottom: 0;
}
.article.article-top {
  margin-top: -4em;
}
.article-inner {
  padding: 2em 0;
}

.article-heading_styleA {
  text-align: center;
  margin-bottom: 6em;
  & > .heading-inner {
    color: var(--blue-dark);
    font-size: 1.4em;
    position: relative;
    &::before {
      background-color: var(--blue-dark);
      content: "";
      width: 3em;
      height: 1px;
      position: absolute;
      top: auto;
      bottom: -1em;
      left: calc(50% - 1.5em);
    }
  }
  & > .heading-inner > .ja {
    font-size: 1em;
  }
  @media screen and (min-width: 768px) {
    margin-bottom: 8em;
    & > .heading-inner > .ja {
      font-size: 1.2em;
    }
  }
}
.article-heading_styleB {
  text-align: center;
  width: 100%;
  margin: 0 auto 4em;
  & > .heading-inner {
    position: relative;
    &::before {
      background-color: var(--blue-dark);
      content: "";
      width: 3em;
      height: 1px;
      position: absolute;
      top: auto;
      bottom: -2em;
      left: calc(50% - 1.5em);
    }
  }
  @media screen and (min-width: 768px) {
    width: 83%;
    & > .heading-inner {
      font-size: 1.2em;
    }
  }
}
.article-heading_styleC,
.page-inheritance .article-heading {
  padding-left: 2em;
  margin-bottom: 2em;
  position: relative;
  font-family: 'Hare', serif;
  &::before {
    background-color: var(--main-blue);
    content: "";
    width: 1.25em;
    height: 1.25em;
    position: absolute;
    top: calc(50% - .625em);
    left: 0;
  }
  & .heading-inner {
    font-size: 1.4em;
    letter-spacing: .025em;
  }
}
.heading_styleD {
  padding-left: 1.5em;
  position: relative;
  font-family: 'Hare', serif;
  &::before {
    background-color: var(--main-blue);
    content: "";
    width: 1em;
    height: 1em;
    position: absolute;
    top: calc(50% - .5em);
    left: 0.15em;
    transform: rotate(45deg);
  }
  & .heading-inner {
    font-size: 1.25em;
    letter-spacing: .025em;
  }
}
.item-box .heading_styleD {
  & + div[class$="-box"] {
    padding-left: 1.5em;
  }
}


.heading-after-line {
  position: relative;
  overflow: hidden;
  & > .heading-inner {
    position: relative;
    padding-right: 1em;
  }
  @media screen and (min-width: 576px) {
    & > .heading-inner::before {
      background-color: var(--text-color);
      content: "";
      width: 30%;
      height: 1px;
      position: absolute;
      top: 57%;
      left: auto;
      right: -30%;
    }
  }
}


/* .fadein */
.fadein {
  opacity: 0;
}
.fadein.scrollin {
  opacity: 0;
  animation-name: fadeinAnime;
  animation-duration: .8s;
  animation-fill-mode: forwards;
}
@keyframes fadeinAnime {
  from {
    opacity: 0;
    transform: translateY(5em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadein.fadein-side.scrollin {
  animation-name: fadeinSideAnimeA;
  animation-duration: .65s;
}
@keyframes fadeinSideAnimeA {
  from {
    opacity: 0;
    transform: translateX(-5em);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* logo */
.img-img.logo {
  width: 2.8em;
  height: 2.8em;
}
/* .btn */
.btn {
  & .btn-inner {
    width: 100%;
    height: 100%;
  }
  & .link-text {
    background-color: var(--main-blue);
    border: 1.5px solid var(--main-blue);
    border-radius: .1em;
    color: #fff;
    display: inline-block;
    padding: .4em 2.5em .4em 1em;
    position: relative;
    transition: color .33s ease, background-color .4s ease;
    &::before {
      content: "\f053";
      font-weight: bold;
      font-family: 'Font Awesome 6 Free';
      position: absolute;
      top: 22.5%;
      left: 0;
      transition: right .33s ease;
    }
    & > span {
      /* font-size: 1.2em; */
    }
    &:hover {
      background-color: #fff;
      color: var(--main-blue);
      transition: color .33s ease, background-color .4s ease;
    }
    &:hover::before {
      right: 1em;
      transition: right .33s ease;
    }
  }
}

/* .contact */
.contact {
  font-family: "Hare", serif;
  & .contact-tel {
    & .link-text p {
      margin: auto 0;
    }
    & .link-text .tel-num {
      display: flex;
      justify-content: center;
    }
    & .link-text .tel-num .icon {
      background-color: var(--main-blue);
      border-radius: 50%;
      color: #fff;
      display: inline-block;
      margin-right: .25em;
      width: 2.5em;
      height: 2.5em;
    }
    & .link-text .tel-num .icon .fa-phone {
      font-size: 1.4em;
      margin: .35em 0;
      width: 100%;
    }
    & .link-text .tel-num .icon .fa-solid {
      display: flex;
      justify-content: center;
    }
    & .link-text .tel-num .number {
      font-size: 1.4em;
      line-height: 1;
    }
    & .link-text .tel-time {
      position: relative;
    }
    & .link-text .tel-time > p {
      text-align: center;
    }
    & .link-text .tel-time > p > span {
      font-size: .9em;
    }
  }
  @media screen and (min-width: 768px) {
    & .contact-tel {
      & .link-text .tel-num .icon {
        margin-right: .35em;
        width: 4em;
        height: 4em;
        position: relative;
        top: .5em;
      }
      & .link-text .tel-num .icon .fa-phone {
        font-size: 2em;
        margin: .5em auto;
      }
      & .link-text .tel-num .number {
        font-size: 2.2em;
      }
      & .link-text .tel-time {
        margin-top: -.8em;
      }
      & .link-text .tel-time > p {
        padding-left: 4.5em;
        width: 100%;
      }
      & .link-text .tel-time > p > span {
        font-size: 1em;
        letter-spacing: .06em;
      }
    }
  }
  & .contact-email {
    & .body-inner {
      background-color: var(--main-blue);
      border: 1.5px solid var(--main-blue);
      transition: background-color .4s ease;
    }
    & .link-text {
      color: #fff;
      display: inline-block;
      transition: color .33s ease;
    }
    & .link-text .link-inner {
      display: flex;
      padding: .5em 1em;
      padding: .5em 1em .6em;
    }
    & .link-text .icon {
      color: #fff;
      display: inline-block;
      padding-bottom: .1em;
      transition: color .33s ease;
    }
    &:hover .body-inner {
      background-color: #fff;
      transition: background-color .4s ease;
    }
    &:hover .link-text,
    &:hover .link-text .icon {
      color: var(--main-blue);
      transition: color .33s ease;
    }
  }
  @media screen and (min-width: 768px) {
  }

}

/* .header .contact */
.header .contact-area {
  width: 100%;
  position: fixed;
  top: auto;
  bottom: 0;
  z-index: 10;
  & .area-inner {
    background-color: #fff;
  }
  @media screen and (min-width: 768px) {
    width: auto;
    margin-right: 3em;
    position: relative;
    & .area-inner {
      background-color: transparent;
    }
  }
  @media screen and (min-width: 1200px) {
    margin-right: 0;
  }
}
.header .contact {
  display: flex;
  flex-direction: row;
  gap: .25em;
  padding: 0 1.25em;
  @media screen and (min-width: 374px) {
    padding: 0 .5em;
  }
  @media screen and (min-width: 576px) {
    padding: 0 .5em;
  }
  @media screen and (min-width: 768px) {
    gap: .5em;
  }
  @media screen and (min-width: 1200px) {
    padding: 0 0 0 .5em;
  }
  @media screen and (min-width: 1400px) {
    padding: 0 0 0 1em;
  }
}
.header .contact .contact-tel {
  width: 50%;
  margin: auto 0;
  & .item-body {
    padding: .3em 0;
  }
  & .link-text .tel-num {
    justify-self: center;
    line-height: 1;
  }
  & .link-text .tel-num .icon {
    width: auto;
    height: auto;
    top: 0;
  }
  & .link-text .tel-num .icon .fa-phone {
    font-size: 1em;
    margin: .25em ;
    width: auto;
  }
  & .link-text .tel-num .number {
    font-size: 1em;
    letter-spacing: -.03em;
  }
  & .link-text .tel-time {
    line-height: 1;
    margin-top: -.1em;
    & > p {
      text-align: center;
      padding: 0;
      margin: auto 0 .15em;
    }
    & > p > span {
      font-size: .65em;
    }
  }
  @media screen and (min-width: 374px) {
    & .item-body {
      padding: .5em 0;
    }
    & .link-text .tel-num .icon .fa-phone {
      font-size: 1.4em;
    }
    & .link-text .tel-num .number {
      font-size: 1.8em;
    }
    & .link-text .tel-time {
      text-align: center;
      margin-top: 0;
      & > p > span {
        font-size: .8em;
        line-height: 1.2;
      }
    }
  }
  @media screen and (min-width: 576px) {
    & .item-body {
      padding: .75em 0;
    }
    & .link-text .tel-num .number {
      font-size: 2.2em;
    }
    & .link-text .tel-num .icon .fa-phone {
      font-size: 2em;
    }
    & .link-text .tel-time {
      & > p {
        margin: .1em 0;
      }
      & > p > span {
        font-size: 1.2em;
      }
    }
  }
  @media screen and (min-width: 768px) {
    width: auto;
    & .item-body {
      padding: 0;
    }
    & .link-text .tel-num {
      flex-direction: row;
    }
    & .link-text .tel-num .number {
      font-size: 1.2em;
    }
    & .link-text .tel-num .icon .fa-phone {
      font-size: 1.2em;
      margin: .35em;
    }
    & .link-text .tel-time {
      margin-top: 0;
      & > p > span {
        font-size: .8em;
        letter-spacing: -.005em;
      }
    }
  }
  @media screen and (min-width: 1400px) {
    & .link-text .tel-num .number {
      font-size: 1.4em;
    }
    & .link-text .tel-time {
      & > p > span {
        font-size: .85em;
      }
    }
  }
}
.header .contact .contact-email {
  width: 50%;
  margin: auto 0;
  & .body-inner {
    background-color: #107393;
    border: 1.5px solid #107393;
    border-radius: 5em;
  }
  & .item-body {
    padding: .3em 0;
  }
  & .link-text:focus {
    border-radius: 4em;
    outline: .125em solid #a4a4a4;
  }
  & .link-text .email-icon {
    line-height: 1;
    margin: auto 0;
    position: relative;
    top: .05em;
  }
  & .link-text .email-text {
    margin: auto 0;
  }
  & .link-text .email-text .email-main-text {
    margin: 0;
    padding-left: .35em;
    line-height: 1;
  }
  & .link-text .email-text .email-main-text > span {
    font-size: .75em;
  }
  &:hover .body-inner {
    background-color: #fff;
  }
  &:hover .link-text,
  &:hover .link-text .icon {
    color: #107393;
  }

  @media screen and (min-width: 374px) {
    & .item-body {
      padding: .5em 0;
    }
    & .link-text > .link-inner {
      padding: .5em 1em;
    }
    & .link-text .email-icon .icon {
      font-size: 1.4em;
    }
    & .link-text .email-text .email-main-text > span {
      font-size: 1em;
      letter-spacing: -.02em;
    }
  }
  @media screen and (min-width: 576px) {
    & .body-inner {
      display: block;
      width: max-content;
      margin: 0 auto;
    }
    & .link-text > .link-inner {
      padding: .5em 2em;
    }
  }
  @media screen and (min-width: 768px) {
    width: auto;
    margin: auto;

    & .item-body {
      padding: 0;
    }
    & .link-text > .link-inner {
      padding: .35em 1em;
    }
    & .link-text .email-text .email-main-text > span {
      font-size: .9em;
      line-height: 1.2;
    }
    & .link-text .email-text .email-main-text .pc-only {
      display: none;
    }
  }
  @media screen and (min-width: 992px) {
    margin: auto 0;
    & .link-text > .link-inner {
      padding: .5em 1em;
    }
    & .email-icon .icon {
      font-size: 1.5em;
    }
    & .link-text .email-text .email-main-text {
      line-height: 1.2;
      margin: 0;
    }
  }
  @media screen and (min-width: 1200px) {
    margin: 0;
    & .item-body,
    & .item-body .body-inner {
      height: 100%;
    }
    & .link-text {
      display: flex;
      height: 100%;
    }
    & .link-text .email-text .email-main-text .pc-only {
      display: block;
    }
  }
  @media screen and (min-width: 1300px) {
    & .link-text .email-text .email-main-text {
      & br.pc-only {
        display: none;
      }
    }
  }
}

/* サイドに装飾がある */
.article-inner.side-deco_A {
  position: relative;
  &::before,
  &::after {
    background: url(../img/suimon_01.webp) no-repeat;
    background-size: cover;
    content: "";
    width: 27em;
    height: 17em;
    position: absolute;
    z-index: -1;
    opacity: .7;
  }
  &::before {
    top: -3em;
    left: auto;
    right: -13em;
  }
  &::after {
    top: 30em;
    left: -17em;
  }
  @media screen and (min-width: 1200px) {
    &::before {
      top: -3em;
      left: calc(50vw + 18em);
    }
    &::after {
      top: 30em;
      left: calc(27em - 50vw);
    }
  }
}
.article-inner.side-deco_B {
  position: relative;
  &::before {
    background: url(../img/suimon_02.webp) no-repeat;
    background-size: cover;
    content: "";
    width: 27em;
    height: 17em;
    position: absolute;
    top: -3em;
    left: auto;
    right: -13em;
    z-index: -1;
  }
  &::after {
    background: url(../img/light_01.webp) no-repeat;
    background-size: cover;
    content: "";
    width: 12em;
    height: 12em;
    position: absolute;
    top: 25em;
    left: -6em;
    z-index: -1;
  }
  @media screen and (min-width: 1200px) {
    &::before {
      top: -3em;
      left: calc(50vw + 14em);
    }
    &::after {
      left: -10em;
    }
  }
}
/* .waiting-box 準備中 */
.waiting-box {
  padding: 4em 2em;
  margin-bottom: 6em;
  position: relative;
  &::before {
    background: rgba(0, 0, 0, 0.2);
    /* content: ""; */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  & .text-text {
    text-align: center;
    & > span {
      font-size: 1.6em;
    }
  }
}

/*
 .home #article-mainvisual
*/
 #article-mainvisual {
  & .article-inner {
    padding: 0;
    position: relative;
  }
  @media screen and (min-width: 768px) {
    margin: 0 0 6em;
    & .article-inner {
      margin: 0 calc(50% - 50vw + 1.5em);
      width: calc(100vw - 3em);
      max-width: var(--document-max-width);
    }
  }
  @media screen and (min-width: 1600px) {
    & .article-inner {
      margin: 0 calc(50% - 800px);
      padding: 0 3em;
      width: 100vw;
    }
  }
}
.home #article-mainvisual .article-header {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  & .header-inner {
    background-color: rgba(var(--main-blue-rgb), .85);
    border-radius: .2em;
    color: #f4f4f4;
    text-align: center;
    width: max-content;
    padding: 1em .75em;
    margin: auto 0;
  }
  & .mainvisual-heading {
    margin-top: .5em;
    position: relative;
    & > span {
      line-height: 1.6;
      font-family: "Hare", serif;
    }
    &::before {
      background-color: #fff;
      content: "";
      width: 100%;
      height: 1px;
      position: absolute;
      top: -0.5em;
      left: 0;
    }
    &::after {
      background-color: #fff;
      content: "";
      width: 100%;
      height: 1px;
      position: absolute;
      top: auto;
      bottom: -.5em;
      left: 0;
    }
  }
  & .mainvisual-sub-heading {
    font-size: .8em;
    letter-spacing: .05em;
    display: inline-block;
    margin-top: 1.5em;

  }
  @media screen and (min-width: 374px) {
    & .header-inner {
      padding: 1.5em 2em;
    }
    & .mainvisual-heading {
      padding: .5em 0;
      & > span {
        font-size: 1.6em;
      }
    }
    & .mainvisual-sub-heading {
      font-size: 1.2em;
      margin-top: 1em;
    }
  }
  @media screen and (min-width: 576px) {
    & .header-inner {
      padding: 2em 3em;
    }
    & .mainvisual-heading {
      & > span {
        font-size: 2em;
      }
    }
    & .mainvisual-sub-heading {
      font-size: 1.6em;
    }
  }
  @media screen and (min-width: 768px) {
    display: block;
    height: auto;
    transform: none;
    top: auto;
    left: -1.5em;
    bottom: 1.5em;
    & .header-inner {
      padding: 2em 5em 2em 3em;
    }
  }
  @media screen and (min-width: 992px) {
    bottom: 2em;
    & .header-inner {
      padding: 3em 6em 3em 4em;
    }
    & .mainvisual-heading {
      padding: 1em 0;
    }
    & .mainvisual-sub-heading {
      margin-top: 1.2em;
    }
  }
  @media screen and (min-width: 1600px) {
    left: 0;
    & .header-inner {
      padding: 3em 8em;
    }
  }
}

.home .mainvisual .img-img {
  width: 100vw;
  margin: 0 -1.25em;
  & img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 12% 0;
  }
  @media screen and (min-width: 768px) {
    width: 100%;
    margin: 0 auto;
    & img {
      aspect-ratio: unset;
      object-fit: cover;
    }
  }
  @media screen and (min-width: 1200px) {
    width: 100%;
    margin: 0 auto;
  }
}
/* .sub-page #article-mainvisual */
.sub-page #article-mainvisual {
  margin-bottom: 2em;
  & .article-header {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
  }
  & .article-header > .header-inner {
    width: 100%;
    height: 100%;
  }
  & .mainvisual-heading {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    vertical-align: super;
  }
  & .mainvisual-heading > .heading-inner {
    color: #fff;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 2px 2px 0px #1497aa;
    margin: auto 0;
  }
  @media screen and (min-width: 768px) {
    & .mainvisual-heading > .heading-inner {
      font-size: 2em;
      letter-spacing: .05em;
    }
  }
}
.sub-page #article-mainvisual .mainvisual {
  margin: 0 -1.25em;
  & .img-img {
    position: relative;
    z-index: 0;
  }
  & .img-img::after {
    /* background-color: rgba(255, 255, 255, .45); */
    background-color: rgb(255 255 255 / .45);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  & .img-img img {
    aspect-ratio: 10 / 3;
    object-fit: cover;
    object-position: center ;
  }
  @media screen and (min-width: 768px) {
    margin: 0 -1.5em;
  }
}
.sub-page #article-mainvisual .mainvisual.img-img::before {
  /* background-color: rgba(255, 255, 255, .45); */
  background-color: rgb(255 255 255 / .45);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/*
 .home　#article-message　メッセージ
*/
#article-message.fadein.scrollin {
  animation-delay: .2s;
}

#article-message .article-heading {
  & .text-small {
    padding-bottom: 0.25em;
  }
}
#article-message .item-box {
   & > .box-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 3em;
    @media screen and (min-width: 768px) {
      flex-direction: row;
      gap: 1em;
    }
  }
}
#article-message .item-box .img-box {
  @media screen and (min-width: 768px) {
    margin: auto 0 ;
    width: 50%;
    position: relative;
    left: -1.5em;
  }
}
#article-message .item-box .text-box {
  & > .box-inner {
    position: relative;
    &::before,
    &::after {
      background-color: #9e9e9e;
      content: "";
      height: 1px;
      position: absolute;
    }
    &::before {
      width: calc(100% - 8.5em);
      top: 1em;
      left: auto;
      right: 0;
    }
    &::after {
      width: 100%;
      top: auto;
      bottom: 0;
      left: auto;
      right: 0;
    }
  }
  & .box-heading {
    font-family: "Hare", serif;
    padding-bottom: 1em;
    position: relative;
    & .heading-inner {
      font-size: 1.5em;
    }
  }
  & .text-right {
    & > span {
      font-size: 1.2em;
    }
  }
  @media screen and (min-width: 768px) {
      width: 50%;
  }

}
#article-message .text-box .btn {
  padding: 2em 0;
  & .btn-inner {
    text-align: center;
  }
  .link-text {
    padding: .4em 2.5em .4em 1em;
    &::before {
      content: "\f054";
      left: auto;
      right: 1.25em;
    }
  }
  @media screen and (min-width: 768px) {
    padding: 1em 0;
  }
}

/*
 .home　#article-gyoumu　業務内容
*/
#article-gyoumu .list  {
  display: grid;
  gap: 2em;
  @media screen and (min-width: 576px) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  @media screen and (min-width: 768px) {
    width: 86%;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  & .list-inner {
    border: 1px solid var(--gray);
    border-radius: .1em;
  }
  & .list-inner .box-inner {
    height: 100%;
  }
  & .list-inner a {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 1em 2em;
    position: relative;
    z-index: 0;
  }
  & .img-box {
    padding-bottom: 1.5em;
    position: relative;
    & > .box-inner {
      width: 6em;
      margin: auto;
    }
    &::before,
    &::after {
      content: "";
      width: 80%;
      height: 1px;
      margin: 0 auto;
      position: absolute;
      top: auto;
      bottom: 0;
      left: 10%;
    }
    &::before {
      background-color: var(--gray);
    }
    &::after {
      background-color: var(--main-blue);
      width: 0;
      transition: width .23s ease;
    }
    @media screen and (min-width: 768px) {
      & .img-box {
        padding-bottom: 2em;
      }
    }
  }
  & .text-box {
    margin: 1.5em 0;
    text-align: center;
    & .text-heading > .heading-inner {
      font-size: 1.4em;
    }
    @media screen and (min-width: 768px) {
      margin: 2em 0;
    }
  }
  & .btn {
    margin-top: auto;
    & .btn-inner {
      text-align: center;
      margin-bottom: 1em;
    }
    & .icon {
      color: #fff;
      font-size: 1.4em;
      position: relative;
      left: 0;
      transition: left .33s ease;
      &::before {
        background-color: var(--main-blue);
        border-radius: 50%;
        content: "";
        width: 2.5em;
        height: 2.5em;
        position: absolute;
        top: -.5em;
        left: -1em;
        z-index: -1;
      }
    }
    & .icon .fa-solid {
      position: relative;
      z-index: 1;
    }
  }
}
#article-gyoumu .list .list-inner a:hover {
  & .img-box::after {
    width: 80%;
    transition: width .23s ease;
  }
  & .btn .icon {
    left: .25em;
    transition: left .33s ease;
  }
}
/* #article-contact */
#article-contact .box-shadow {
  background-color: #fff;
  @media screen and (min-width: 768px) {
    width: 86%;
    margin: 0 auto;
  }
}
#article-contact .contact {
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: center;
  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 3em;
  }
}
#article-contact .contact .contact-email {
  & .item-body > .body-inner {
    border-radius: .1em;
    width: 100%;
    max-width: 15em;
    margin: 0 auto;
  }
  & .email-main-text {
    line-height: 1.2;
    margin: unset;
  }
  & .email-main-text > span {
    font-size: 1.2em;
  }
  & .link-text {
    display: flex;
    justify-content: center;
    height: 100%;
  }
  & .link-text .link-inner {
    gap: 1em;
    padding: .75em;
  }
  & .link-text .icon {
    font-size: 1.6em;
    line-height: 1;
  }
  & .link-text .link-inner .email-icon,
  & .link-text .link-inner .email-text {
    margin: auto 0;
  }
  & .link-text .icon .fa-solid {
    margin: auto 0;
  }
  @media screen and (min-width: 374px) {
    & .link-text .link-inner {
      padding: .75em 1em;
    }
  }
  @media screen and (min-width: 768px) {

    & .item-body {
      display: flex;
      height: 100%;
    }
    & .item-body > .body-inner {
      display: flex;
      max-width: none;
    }
    & .link-text .icon {
      font-size: 2.5em;
    }
    & .link-text .link-inner {
      padding: .5em 2em;
    }
    & .email-main-text {
      margin: unset;
    }
  }
}

/* #article-access */
#article-access .item-box {
  .map .map-inner {
      width: 100%;
      height: 24em;
    }
  .text-text {
    margin: 2em 0;
  }
}
/*
 .sub-page 下層ページ
 */
.sub-page .article:last-of-type#article-contact {
  position: relative;
  &::before,
  &::after {
    border: .09375em solid var(--main-blue);
    content: "";
    margin: 0;
    padding: 0;
    width: 1em;
    height: 1em;
    position: absolute;
    transform: rotate(45deg);
    top:  0;
    left: calc(50% - .5em);
  }
  &::after{
    top: 2.5em;
  }
  & .article-heading {
    text-align: center;
    margin: 4em auto 2em;
    padding-left: 0;
  }
  & .article-heading::before {
    display: none;
  }
}
.sub-page .group .item-box .check-list {
  & .list-inner {
    margin: .5em 0 1em;
  }
  & > .list-inner::before {
    width: 1.2em;
    height: 1.2em;
    top: .2em;
  }
  & > li.list-inner::after {
    width: 1em;
    height: .6em;
    top: .3em;
    left: 0.1em;
  }
}


/*
プライバシーポリシーページ
.page-privacy-policy
*/
.page-privacy-policy #article-privacy-policy {
  & .group-inner .text-box {
    margin-bottom: 6em;
  }
  & .article-heading > .heading-inner {
    font-size: 1.1em;
  }
  @media screen and (max-width: 991px) {
    & .article-heading > .heading-inner .inline-block {
      display: contents;
    }
  }
  @media screen and (min-width: 992px) {
    & .article-heading > .heading-inner {
      font-size: 1.2em;
      line-height: 1.7;
    }
  }
}
.page-privacy-policy #article-privacy-policy .item-box {
  & .item > .list-inner {
    margin-bottom: 3em;
  }
  & .list-heading {
    margin-bottom: .5em;
  }
  & .list-heading > .heading-inner {
    font-size: 1.15em;
    font-weight: bold;
  }
}

/*
お問い合わせページ
.page-contact
*/
.page-contact .group {
  & .text-box {
    margin-bottom: 2em;
  }
  & .item-box {
    margin-bottom: 4em;
  }
}
.page-contact .item-box .contact .contact-tel {
  width: max-content;
  margin: 0 auto 1em;
  & .item-body {
    padding: .75em 1em;
    position: relative;
  }
  & .item-body::before {
    background-color: transparent;
    border: .09375em solid var(--main-blue);
    border-radius: .25em;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  & .item-body::after {
    background-color: transparent;
    border: .09375em solid var(--main-blue);
    border-radius: .25em;
    content: "";
    width: 106%;
    height: 116%;
    position: absolute;
    top: -8%;
    left: -3%;
    z-index: -1;
  }
}
/* .page-contact #article-contact-tel  */
.page-contact #article-contact-tel {
  margin-bottom: 0;
}

/* .page-contact #article-form */
.page-contact #article-form .article-heading {
  & > .heading-inner {
    font-size: 1.4em;
  }
  & > .heading-inner::before {
    bottom: -1em;
  }
}
.page-contact #article-form .form-box {
  & > .box-inner {
    background-color: #f1f2f5;
    padding: 2em 1.5em;
    margin: 0 -1.5em;
  }
  @media screen and (min-width: 768px) {
    & > .box-inner {
      padding: 2em 2.5em 2em 1em;
      margin: 0;
    }
  }
}
.page-contact #article-form .field-inner {

  @media screen and (min-width: 768px) {
    display: flex;
    gap: 2em;
    & .field-header {
      width: 30%;
      justify-content: space-between;
      & .header-inner > span,
      & .header-inner > a > span {
        font-size: 1.1em;
        font-weight: bold;
      }
    }
    & .field-body {
      width: 70%;
      padding-top: 1.5em;
      & .text-input {
        margin: auto 0 ;
      }
    }
    &.field-name .field-body > .body-inner,
    &.field-tel .field-body > .body-inner {
      display: flex;
      flex-direction: row;
      gap: 1.5em;
    }
    &.field-name .field-body .text-input,
    &.field-tel .field-body .text-input {
      width: 100%;
    }
  }
}
.page-contact #article-form .field + .btn-box {
  text-align: center;
  margin: 0 auto;
  & .btn-inner {
    display: inline-block;
  }
  & .submit {
    background-color: rgba(var(--main-blue-rgb), .1);
    border: .0625em solid var(--main-blue-dark);
    font-family: "Zen Old Mincho", "Noto Sans JP", sans-serif;
    font-size: 1.4em;
    letter-spacing: .05em;
    padding: .75em 1.5em;
    transition: color .33s ease, background-color .33s ease;
    &.is-active {
      background-color: var(--main-blue);
      color: #fff;
      cursor: pointer;
      transition: color .33s ease, background-color .33s ease;
    }
  }
}
.page-contact select:invalid {
  color: #7c7c7c;
}
/*
サンクスページ
.page-contact-thanks
*/
.page-contact-thanks {
  & .btn {
    text-align: center;
    margin-top: 5em;
  }
  & .btn .link-text {
    padding: 1em 1.5em 1em 2.5em;
    position: relative;
  }
  & .btn .link-text::before {
    content: "\f053";
    font-weight: bold;
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: calc(50% - .75em);
    left: 1.2em;
    right: auto;
  }
}


/*
相続手続ページ
.page-inheritance
*/
.page-inheritance .article,
.page-testament .article,
.article-dia {
  margin: 0 0 5em;
  position: relative;
  &::after {
    border: .09375em solid var(--main-blue);
    content: "";
    width: 1em;
    height: 1em;
    position: absolute;
    transform: rotate(45deg);
    top: calc(100% + 2.5em);
    left: calc(50% - .5em);
  }
}
.page-inheritance .article:first-of-type,
.page-inheritance .article#article-breadcrumb,
.page-testament .article:first-of-type,
.page-testament .article#article-breadcrumb{
  &::after {
    content: none;
  }
}

.page-inheritance [id^="article-"]:not(#article-contact) .icon {
  width: 5em;
}
.page-inheritance .article-heading {
  margin-bottom: 2em;
}
.page-inheritance .group .item-box .item-heading {
  margin-bottom: 2em;
  position: relative;
  overflow: hidden;
  & > .heading-inner {
    font-size: 1.2em;
  }
  @media screen and (min-width: 768px) {
    & > .heading-inner {
      font-size: 1.25em;
    }
  }
}
.page-inheritance .group .item-box {
  padding-left: 1.5em;
  @media screen and (min-width: 768px) {
    padding-left: 2em;
    & .text-box.text-center {
      margin-left: -2em;
    }
  }
}
/* .page-inheritance #article-first */
.page-inheritance #article-first {
  & .check-list .list-inner {
    margin-bottom: 1em;
  }
  & .check-list .list-inner > span {
    font-size: 1.1em;
  }
  & .check-list + .text-text.text-center {
    padding-right: 1.5em;
  }
  @media screen and (min-width: 768px) {
    & .check-list + .text-text.text-center {
      padding-right: 2em;
    }
  }
}

/* .page-inheritance #article-hard */
.page-inheritance #article-hard {
  & .item-box {
    padding: 0;
  }
  & .item {
    display: flex;
    gap: 3em;
    flex-direction: column;
    margin-bottom: 4em;
  }
  & .item > .list-inner {
    border: .0625em solid #797979;
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 0 auto;
    padding: 1em ;
    position: relative;
    &::before,
    &::after {
      content: "";
      background-color: #c6eaf0;
      display: block;
      width: 3.6em;
      height: 3.6em;
      position: absolute;
    }
    &::before {
      clip-path: polygon(0 0, 0% 100%, 100% 0);
      top: -.75em;
      left: -.75em;
    }
    &::after {
      clip-path: polygon(100% 100%, 0% 100%, 100% 0);
      top: auto;
      bottom: -.75em;
      left: auto;
      right: -.75em;
    }
    & .img-box {
      margin: 1em auto .5em;
    }
    & .img-box::before {
      border: .0625em solid #fff;
      content: "";
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }
    & .text-box {
      z-index: 2;
    }
  }
  @media screen and (min-width: 576px) {
    & .item-box {
      padding: 0 0 0 1.5em;
    }
  }
  @media screen and (min-width: 768px) {
    & .item {
      gap: 1.5em;
      flex-direction: row;
    }
    & .item > .list-inner {
      width: 25%;
    }
  }
  @media screen and (min-width: 992px) {
    & .item {
      gap: 2.5em;
    }
    & .item > .list-inner {
      padding: 1em 1em 2em;
    }
    & .item-box {
      max-width: 1080px;
      margin: 0 auto;
    }
  }
}
/* .page-inheritance #article-risk */
.page-inheritance #article-risk {
  & .item-box {
    padding-left: 0;
  }
  & .item .list-inner {
    border: .09375em solid var(--main-blue);
    counter-increment: risk-number;
    display: flex;
    flex-direction: column;
    padding: 1em;
    margin-bottom: 2em;
    position: relative;
    &::before {
      content: "Risk";
      font-size: 1.2em;
      line-height: 1;
      margin: 1em 0 1em;
      position: relative;
    }
    &::after {
      color: var(--main-blue);
      content: "0"counter(risk-number);
      font-size: 2.6em;
      line-height: 1;
      position: absolute;
      left: 1.4em;
    }
    & .text-box {
      padding: 0;
    }
    & .list-heading {
      padding-bottom: .5em;
    }
    & .list-heading > .heading-inner {
      font-size: 1.2em;
      font-weight: bold;
      width: 100%;
    }
  }
  @media screen and (min-width: 576px) {
    & .item-box {
      padding-left: 1.5em;
    }
    & .item .list-inner {
      flex-direction: row;
      &::before {
        margin: 1em 0 auto;
      }
      & .text-box {
        padding: 0 0 0 4em;
        width: calc(100% - 2.4em);
      }
      & .list-heading {
        padding-bottom: .25em;
      }
    }
  }
  @media screen and (min-width: 768px) {
    & .item-box {
      padding-left: 2.5em;
    }
  }

}
/* .page-inheritance #article-contact */

/*
相続手続ページ
.page-testament
*/
.page-testament .item-box {
  padding-left: 1.25em;
  & > .box-inner > .text-text {
    margin-bottom: 4em;
  }
  & > .box-inner > .text-center.article-dia {
    letter-spacing: -.04em;
  }
  & .box  {
    margin: 0 0 2em;
    & .heading_styleD {
      margin-bottom: 1em;
    }
    & .heading_styleD > .heading-inner {
      font-size: 1.4em;
    }
    & div[class$="-box"] {
      padding-left: 1.5em;
    }
  }
  & .box .text-box {
     & .text-heading  {
      margin-bottom: .5em;
     }
     & .text-heading > .heading-inner {
      font-size: 1.2em;
      font-weight: 700;
      line-height: 1.4;
     }
  }
  @media screen and (min-width: 768px) {
    padding-left: 1.5em;
    & > .box-inner > .text-center.article-dia {
      letter-spacing: inherit;
    }
    & .box  {
      margin: 0 0 4em;
    }
    & .box:last-of-type {
      margin: 0;
    }
  }
}
.page-testament .table-box {
  margin: 0 0 0 -1.25em;
  @media screen and (min-width: 768px) {
    margin: 0 auto;
    max-width: 900px;
  }
  & .text-text {
    margin-bottom: 1em;
  }
  & .text-text > span {
    font-size: 1.2em;
  }
}
.page-testament .table {
  & thead tr:first-of-type th,
  & tbody tr th {
    width: 26%;
  }
  & thead tr th,
  & tbody tr td {
    width: 37%;
  }
  & thead th {
    background-color: var(--blue-dark);
    font-weight: bold;
  }
  & tbody th {
    background-color: #dcf2f4;
    font-weight: bold;
  }
  & tbody tr td {
    background-color: #fff;
  }
  @media screen and (min-width: 768px) {
    & thead tr:first-of-type th,
    & tbody tr th {
      width: 24%;
    }
    & thead tr th,
    & tbody tr td {
      width: 38%;
    }
  }
}
.page-testament .text-text.article-dia {
  margin: 6em 0 4em -1.5em;
  &::after {
    top: -2.5em;
  }
}

/*
 借金問題ページ
 .page-debt
*/
.page-debt .item-box,
.page-company-regist .item-box,
.page-real-estate .item-box,
.page-about .item-box {
  padding-left: 1.25em;
  & > .box-inner > .box {
    margin: 4em 0;
  }
  & .box-heading {
    margin-bottom: 2em;
  }
  & .box-heading.heading_styleD {
    margin-bottom: 1em;
  }
  & .box-heading > .heading-inner {
    font-size: 1.2em;
    line-height: 1.4;
  }
  & .box {
    margin-bottom: 4em;
    &:last-of-type {
      margin-bottom: 0;
    }
    & .text-box .text-heading {
      margin-bottom: 1em;
    }
    & .text-box .text-heading > .heading-inner {
      font-size: 1.2em;
      font-weight: 700;
      line-height: 1.4;
    }
    /*  */
  }
  & + .text-text {
    margin: 4em 0 0;
  }

  @media screen and (min-width: 768px) {
    padding-left: 1.5em;
    & .box-heading > .heading-inner {
      font-size: 1.25em;
    }
    & .item {
      padding-right: 3em;
    }
  }
}
.page-debt .item-box .box {
  & .text-box .text-text:not(:last-of-type) {
    margin: 0 0 .5em;
  }
}

/*
 会社に関する登記ページ
 .page-company-regist
*/
.page-company-regist .item-box .box {
  & .text-box .text-text {
    margin: 1em 0;
  }
  &.article-dia {
    margin-bottom: 6em;
  }
  &.article-dia::after {
    left: calc(50% - 1em);
    @media screen and (min-width: 768px) {
      left: calc(50% + .25em);
    }
  }
}

/*
 不動産登記のページ
 .page-real-estate
*/
.page-real-estate #article-real-estate {
  margin-bottom: 4em;
}
.page-real-estate .main .item-box {
  & .text-text,
  & dl.text-box {
    margin: 2em 0;
  }
  & dl.text-box > .box-inner {
    display: flex;
    flex-direction: column;
    gap: .5em;
    margin: 0 0 1em;
  }
  & dl.text-box dt {
    position: relative;
  }
  & dl.text-box dt.heading_styleD {
    padding-right: 5em;
  }
  & dl.text-box dd {
    padding-left: 1.5em;
  }
  & .heading_styleD + .text-text {
    padding-left: 1.5em;
  }

  @media screen and (min-width: 768px) {
    & dl.text-box > .box-inner {
      display: grid;
      grid-template-columns: 2fr 5fr;
      gap: 1em;
    }
    & dl.text-box dt.heading_styleD {
      &::after {
        background-color: var(--text-color);
        content: "";
        width: 4em;
        height: 1px;
        position: absolute;
        top: 57%;
        left: auto;
        right: 0;
      }
    }
    & dl.text-box dd {
      padding-left: 0;
    }
  }
  @media screen and (min-width: 992px) {
    & dl.text-box > .box-inner {
      grid-template-columns: 1fr 3fr;
    }
  }
}
.page-real-estate #article-have-to .item-box dl.text-box {

  & dt {
    padding-right: 2em;
    width: max-content;
  }
  & dt > span {
    font-size: 1.2em;
  }
  & dt::before {
    background-color: var(--main-blue);
    content: "";
    width: .09375em;
    height: 80%;
    position: absolute;
    top: 10%;
    left: auto;
    right: 0;
  }
  @media screen and (min-width: 768px) {
    & > .box-inner {
      grid-template-columns: 10.4em 1fr;
      gap: 2em;
    }
    & dt {
      width: 100%;
    }
  }
}
/*
 事務所概要のページ
 .page-about
*/
.page-about .article-heading {
  &.heading-after-line .heading-inner::before {
    width: 100%;
    right: -100%;
  }
}
.page-about .item-box.article-dia,
.page-about .box.article-dia {
  margin: 0 0 8em;
  &::after {
    top: calc(100% + 3.5em);
  }
}
.page-about #article-intro .item-box {
  & > .box-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  &:first-of-type > .box-inner {
    gap: 2em;
  }
  &:first-of-type .img-box {
    border: 1px solid #c5c5c5;
    background-color: #fff;
    /*  */
  }

  @media screen and (min-width: 768px) {
    & > .box-inner {
      flex-direction: row;
    }
    &:first-of-type .text-text {
      width: 62%;
    }
    &:first-of-type .img-box {
      width: 38%;
    }
  }
}
.page-about .main .box {
  & > .box-inner {
    border: .0625em solid var(--gray);
    margin: 0 auto;
  }
  @media screen and (min-width: 768px) {
    & > .box-inner {
      width: 86%;
    }
  }
}

.page-about .box .text-box {
  & > .box-inner {
    display: flex;
    flex-direction: row;
  }
  & dt,
  & dd {
    padding: 1em ;
  }
  & dt {
    background-color: var(--main-blue);
    border-bottom: .0625em solid #fff;
    color: #fff;
    width: 25%;
  }
  & dd {
    background-color: #fff;
    border-bottom: .0625em solid var(--gray);
    width: 75%;
  }
  & > .box-inner:last-of-type dt,
  & > .box-inner:last-of-type dd {
    border-bottom: none;
  }
  @media screen and (min-width: 768px) {
    & dt {
      width: 20%;
    }
    & dd {
      width: 80%;
    }
  }
}
.page-about .map-box {
    margin: 0 auto;
    & .map {
      width: 100%;
        height: 40em;
      & + .text-text {
        margin: 1em 0;
      }
    }
  @media screen and (min-width: 768px) {
    width: 86%;
    & .map {
      height: 30em;
    }
  }
}
/*
 事務所概要のページ
 .page-fee
*/
.page-fee .breadcrumb + .text-box .text-text {
  text-align: center;
  position: relative;
  z-index: 1;
  & > span {
    font-size: 1.1em;
  }
}
.page-fee #article-fee-inheritance .box,
.page-fee .article:not(:last-of-type) .box {
  & > .box-inner {
    margin: 0 auto;
  }
  @media screen and (min-width: 768px) {
    & > .box-inner {
      width: 76%;
    }
  }
}
.page-fee .table {
  & th,
  & td {
    width: 50%;
    padding: .75em 1em;
  }
  & th {
    background-color: var(--main-blue-dark);
    color: #fffdf7;
    font-weight: bold;
    text-align: left;
    letter-spacing: .02em;
  }
  & th[colspan="2"] {
    background-color: #2791a0;
    text-align: center;
  }
  & th > span {
    font-size: 1.1em;
  }
  & td {
    background-color: #fff;
    padding: .75em 1em;
  }

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

.page-fee tr.tr-flex {
  display: flex;
  & th {
    background-color: #ebf2f4;
    color: var(--text-color);
    display: flex;
    width: 80%;
    padding: .5em .75em;
  }
  & th > span {
    font-size: 1em;
    margin: auto 0;
  }
  & td {
    display: flex;
    justify-content: center;
  }
  & td > span {
    margin: auto 0;
  }
  @media screen and (min-width: 768px) {
    & th {
      width: 100%;
    }
  }
}
/*
 コラムのページ
 .page-article
*/
.page-article #article-mainvisual .mainvisual {
  & .img-img img {
    object-position: 0 78%;
  }
}
.page-article #article-column .group .item-box > .box-inner {
  @media screen and (min-width: 992px) {
    display: flex;
    flex-direction: row;
    gap: 3em;
    margin: 0 auto;
  }
}
.page-article #article-column .article {
  & > .article-inner {
    padding: 0;
  }
}
.page-article .sub-box {
  & > .box-innner {
    padding: 1em .5em;
  }
  & .text-text {
    background-color: var(--main-blue-dark);
    color: #fff;
    padding: 1em;
  }
  & .text-text > span {
    font-size: 1.1em;
  }
  & .item {
    margin-bottom: 3.75em;
    & > .list-inner {
      border-bottom: .0625em solid #e3e3e3;
    }
    & > .list-inner > .link-text {
      display: block;
      padding: 1em;
      transition: background-color .2s ease;
    }
    &  > .list-inner time {
      padding-right: .5em;
    }
    & > .list-inner .heading {
      display: block;
    }
    &  > .list-inner > .link-text:hover {
      background-color: #ddf1f4;
      transition: background-color .2s ease;
    }
  }
  @media screen and (min-width: 992px) {
    width: 30%;
  }
}
.page-article .main-box {
  margin: 0 0 6em;
  & .item {
    display: flex;
    flex-wrap: wrap;
    gap: 3em 2em;
    margin: 0 0 5em;
  }
  @media screen and (min-width: 992px) {
    width: 70%;
    &.article-dia::after {
      content: none;
    }
    & .item {
      margin: 0;
    }
  }
}
.page-article .main-box .list-inner {
  width: 100%;
  @media screen and (min-width: 576px) {
    width: calc(50% - 1em);
    height: auto;
  }
  & .article,
  & .article-inner,
  & .link-box {
    height: 100%;
  }
  & .article-inner {
    box-shadow: 0px 0.4em 1em 0em rgb(10 10 10 / 8%);
  }
  & .link-box {
    display: block;
    &:focus {
      outline: .125em solid rgba(var(--main-blue-rgb), .7);
    }
  }
  & .text-text {
    margin: 0 0 .5em;
    & time {
      margin-right: .5em;
    }
  }
  & .img-box {
    margin: 0;
    overflow: hidden;
    & .img-img {
      aspect-ratio: 4 / 3;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .33s ease;
    }
  }
  & .text-box {
    & .box-inner {
      padding: 1em;
    }
  }

  & .link-box:hover {
    & .img-img {
      transform: scale(1.05);
      transition: transform .33s ease;
    }
    & .title-heading {
      opacity: .65;
      transition: opacity .33s ease;
    }
    & .title-heading::before {
      width: 100%;
      transition: width .33s ease;
    }
  }
  & .title-heading {
    display: inline-block;
    margin-bottom: .5em;
    position: relative;
    transition: opacity .33s ease;
    & .heading-inner {
      font-size: 1.1em;
    }
    /* &::before {
      background-color: var(--main-blue);
      content: "";
      width: 0;
      height: .09375em;
      position: absolute;
      top: auto;
      bottom: -.15em;
      transition: width .33s ease;
    } */
  }
}

.page-article .main-box .btn {
  margin: 4em 0 0;
  text-align: center;
  & .link-text {
    padding: 1em 1.5em 1em 2.5em;
    position: relative;
  }
  & .link-text:before {
    content: "\f053";
    font-weight: bold;
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: calc(50% - .75em);
    left: 1.25em;
    right: auto;
  }
  & .link-text:hover > span::before {
    color: var(--main-blue);
    transition: color .4s ease;
  }
}

.page-article .article .article-tag {
  color: var(--blue-dark);
  display: inline-block;
  position: relative;
  transition: opacity .33s ease;
}
.page-article-single .article .article-tag {
  &:hover {
    opacity: .6;
    transition: opacity .33s ease;
  }
}

/*
 .page-trust
*/
.page-trust {

}

/* 2025-07-31 added 一時的にコラムのホバーアクション禁止 */
.page-article .sub-box .category-column {
  pointer-events: none;
  background-color: rgba(87, 87, 87, 0.35);
}
/*  */

/*  ↓↓↓ ここから追加 ↓↓↓  */
/*
 .page-xxx
*/


/*  */
