/* ========================================
   CSS変数
   ======================================== */
:root {
  --color-primary: #04aa3a;
  --font-inter: "Inter", sans-serif;
  --font-family--zen-kaku-gothic-new: 'Zen Kaku Gothic New', sans-serif;
  --c-key: #04AA3A;
  --c-text: #4D4D4D;
  --c-sub: #6b7280;
  --c-line: #DBDBDB;
  --c-bg: #fff;
  --max: 1000px;
  --pad: 0 clamp(16px, 2.5vw, 30px) clamp(16px, 2.5vw, 30px) clamp(16px, 2.5vw, 30px);
}

/* ==========================================================================
   Reset Styles
   ========================================================================== */
body {
  width: 100%;
  -webkit-font-smoothing: antialiased;
  color: #333;
  font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  margin: 0;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

b,
strong {
  font-weight: 700;
}

sub,
sup {
  font-size: smaller;
}

ruby>rt {
  font-size: 50%;
}

main {
  display: block;
}

:where(ol:not([type])),
:where(ul:not([type])) {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
}

:where(th, td) {
  word-break: break-all;
  border: 0;
}

code,
pre {
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
}

svg:not([fill]) {
  fill: currentcolor;
}

[hidden] {
  display: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button;
  cursor: pointer;
  display: inline-block;
}

[role=button] {
  cursor: pointer;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  background-color: #f7f7f7;
  border: 1px solid hsla(0, 0%, 78%, .5);
  border-radius: 0;
  color: #333;
  padding: .25em .5em;
}

[type=color] {
  padding: 0;
}

[type=range] {
  vertical-align: middle;
}

[aria-busy=true] {
  cursor: progress;
}

[aria-controls] {
  cursor: pointer;
}

[aria-disabled] {
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

button,
input,
select,
textarea {
  outline: 0;
  box-sizing: border-box;
  font-size: 100%;
}

p {
  margin: 0;
}

/* ========================================
swellのスタイルを上書き
======================================== */
.-body-solid .p-breadcrumb.-bg-on {
  box-shadow: none;
}

.p-breadcrumb.-bg-on {
  background: none;
}

.p-breadcrumb {
  --padding-block-end: 80px;
  padding-block-end: var(--padding-block-end);

  @media (width <=768px) {
    --padding-block-end: 40px;
  }
}

.icon-home:before {
  content: "\e922";
  display: none;
}

.hero-image+p,
.p-breadcrumb~p {
  display: none;
}

.category {
  .l-mainContent__inner>.post_content {
    padding: 0;
  }
}

.c-postTitle {
  display: none;
}

.p-articleMetas {
  display: none;
}

/* ========================================
カテゴリアーカイブページ
======================================== */

/* ========================================
h1コンテンツ
======================================== */
.sec01 .hero-image__text {
  padding-block: 15px;
}

.news_txt h1 {
  font-size: 16px;
  margin: 0;
  padding-block: 7px;
  background-color: rgb(47, 162, 66);
  color: #fff;
  text-align: center;
}

/* ========================================
テストページスタイル
======================================== */
h2 {
  font-size: clamp(23px, 3.2vw, 31px);
  line-height: 1.6;
  margin-bottom: clamp(16px, 2.5vw, 30px);
}

/* ===================== flex実装 ===================== */

/* flex ラッパ */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 54px 27px
}

@media (max-width:767px) {
  .flex {
    gap: 0;
  }
}

.flex>* {
  flex: 1 1 100%
}

/* SPは1列 */

/* 2カラム（>=768px） */
@media (min-width:768px) {
  .flex.flex-2>* {
    flex: 1 1 calc((100% - 27px)/2)
  }
}



/* 3カラム（768px〜は2列、992px〜3列） */
.flex.flex-3 {
  gap: 0;
}

@media (min-width:768px) {
  .flex.flex-3>* {
    flex: 1 1 calc((100% - 27px)/3)
  }
}

@media (min-width:992px) {
  .flex.flex-3>* {
    flex: 1 1 calc((100% - 32px)/3)
  }
}

/* セクション - 基本構造 */
.sec {
  padding: 60px 0;
}

/* .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} */

.section-body {
  margin-top: 40px;
}

/* タイトル・見出し */
.sec-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 16px 0 12px;
}

/* テキスト */
.lead {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

.p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* Flexboxレイアウト */
.flex {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.flex-2 {
  flex-wrap: wrap;
}

.flex-2>* {
  flex: 1 1 calc(50% - 10px);
  min-width: 280px;
}

/* ボックス・カード */
/* .box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

/* リンク付きボックス */
/* .link_abso {
  position: relative;
}

.link_abso .link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
} */

/* セクション余白 */
.sec:not(:last-child) {
  padding-block: 100px;
}

.sec:last-child {
  padding-top: 100px;
}

.sec:first-child {
  padding-block: 0 100px;
}

@media (max-width: 767px) {
  .sec:not(:last-child) {
    padding-block: 50px;
  }

  .sec:last-child {
    padding-top: 50px;
  }

  .sec:first-child {
    padding-block: 0 50px;
  }
}

/* セクション内側の枠 */
.section-inner {
  width: min(92vw, var(--max));
  margin-inline: auto;
  border: 1px solid var(--c-line);
  background: #fff;
}

@media (max-width: 767px) {
  .section-inner {
    border: none;
    width: 100%;
  }
}

/* セクションタイトル */
.sec-title {
  padding: 13px 16px;
  background: var(--c-key);
  color: #fff;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .sec-title {
    padding: 6px;
  }
}

/* セクション本文ラッパー */
.section-body {
  padding: var(--pad);
}

@media (max-width: 767px) {
  .section-body {
    padding: 0;
  }
}

/* リード文 */
.lead {
  color: var(--c-sub);
  margin: 0 0 45px;
}

@media (max-width: 767px) {
  .lead {
    margin: 0 0 30px;
  }
}

/* ボックス */
.box {
  background: #fff;
}

.box.list {
  margin-bottom: 50px;
}

.box.list .p {
  padding: 10px 20px 20px;
}

@media (max-width: 767px) {
  .box.list {
    margin-bottom: 30px;
  }

  .box.list .p {
    padding: 5px 0 10px;
  }
}

/* 見出し */
.h3 {
  padding: 16px 0;
  margin: 0 0 10px;
  color: var(--c-key);
  border-bottom: 1px solid var(--c-key);
  font-weight: 800;
}

.h3--fill {
  margin: 0 0 10px;
  background: var(--c-key);
  color: #fff;
  padding: 14px 18px;
  border: none;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .h3 {
    padding: 10px 0;
  }

  .h3--fill {
    margin: 0 0 5px;
    padding: 7px 9px;
  }
}

/* 段落 */
.p {
  margin: 0 0 10px;
}

/* プレースホルダー画像 */
.ph {
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 4px;
}

.ph--16x9 {
  aspect-ratio: 16 / 9;
}

/* .ph::before {
  content: '';
  display: block;
  background: linear-gradient(135deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(225deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(315deg, #e0e0e0 25%, #f0f0f0 25%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
} */

/* リンク */
.linkline {
  margin-top: 16px;
}

.link {
  color: #0066cc;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-right: 20px;
}

.link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: right 0.3s ease;
}

.link:hover {
  text-decoration: underline;
}

.link:hover::after {
  right: -4px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .sec {
    padding: 40px 0;
  }

  .sec-title {
    font-size: 24px;
  }

  .lead {
    font-size: 14px;
  }

  .flex-2 {
    flex-direction: column;
  }

  .flex-2>* {
    flex: 1 1 100%;
  }

}

/* ========================================
コンテナ・レイアウト
======================================== */
#container {
  background-color: #fff;
}

/* ========================================
   コピーライト
   ======================================== */
#copyright,
.footer-copyright {
  font-size: 12px;
  z-index: 10;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  background-color: #08bb41;
  padding-block: 20px;
}

/* ========================================
   ページコンテンツ
   ======================================== */
.page-content p,
.content p {
  line-height: 2.5;
  margin: 0 0 2em 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  clear: both;
  line-height: 1.4;
  margin: 0 0 10px 0;
  padding: 10px 0 0 0;
}

.page-content h2,
.content h2 {
  font-size: 24px;
}

.page-content h3,
.content h3 {
  font-size: 22px;
}

/* ========================================
   改行制御
   ======================================== */
br.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  br.sp {
    display: inline;
  }

  br.pc {
    display: none;
  }
}

@media (max-width: 767px) {
  span.sp {
    display: none;
  }
}

/* ========================================
   スクロールマージン
   ======================================== */
#company {
  scroll-margin-top: 12em;
}

#before-after,
#service,
#price,
#area,
#gallery {
  scroll-margin-top: 9em;
}

@media (max-width: 767px) {
  #company {
    scroll-margin-top: 2em;
  }

  #before-after,
  #service,
  #price,
  #area,
  #gallery {
    scroll-margin-top: 0;
  }
}

/* ========================================
   テキストユーティリティ
   ======================================== */
.text-lg--price {
  font-size: 50px;
  font-weight: 700;

  @media (width <=768px) {
    font-size: 33px;
  }
}

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

.text-center--md {
  @media (width >=768px) {
    text-align: center;
  }
}

/* ========================================
   コンテナ・セクション
   ======================================== */
.container {
  width: min(calc(100% - 30px), 1100px);
  margin-inline: auto;

  &:has(.category-posts) {
    padding-block-end: 50px;
  }
}

.section-container {
  --margin-bottom: 170px;
  width: min(calc(100% - 30px), 1100px);
  margin: 0 auto var(--margin-bottom);

  @media (width >=1100px) {
    border: solid 1px #dbdbdb;
  }

  @media (width <=768px) {
    --margin-bottom: 70px;
  }

  &:has(.faq-items) {
    padding-block-end: 60px;
  }
}

.category {
  .post_content {
    .hero-image {
      margin-bottom: 0;
    }

    >:last-child {
      --margin-bottom: 170px;
      margin-bottom: var(--margin-bottom) !important;

      @media (width <=768px) {
        --margin-bottom: 60px;
      }
    }
  }

  .p-breadcrumb .p-breadcrumb__list {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }
}

/* セクションスタイル (test.css由来) */
.sec:not(:last-child) {
  padding-block: 100px;
}

.sec:last-child {
  padding-top: 100px;
}

@media (max-width:767px) {
  .sec:not(:last-child) {
    padding-block: 50px;
  }

  .sec:last-child {
    padding-top: 50px;
  }
}

.sec:first-child {
  padding-block: 0 100px;
}

@media (max-width:767px) {
  .sec:first-child {
    padding-block: 0 50px;
  }
}

/* セクション枠/幅 */
.section-inner {
  width: min(92vw, var(--max));
  margin-inline: auto;
  border: 1px solid var(--c-line);
  background: #fff;
}

@media (max-width:767px) {
  .section-inner {
    border: none;
    width: 100%;
  }
}

.section-plain {
  width: min(92vw, var(--max));
  margin-inline: auto;
}

.sec-title {
  padding: 13px 16px;
  background: var(--c-key);
  color: #fff;
  font-weight: 800;
  text-align: center;
  letter-spacing: .04em;
}

@media (max-width:767px) {
  .sec-title {
    padding: 6px;
  }
}

/* セクション本文 */
.section-body {
  padding: var(--pad);
}

@media (max-width:767px) {
  .section-body {
    padding: 0;
  }
}

.section-body.wide {
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width:767px) {
  .section-body.wide {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-intro:has(.link-text--icon) {
  padding-block-end: 50px;
}

.section-intro__title {
  --font-size: 31px;
  --padding: 18px;
  padding: var(--padding);
  font-size: var(--font-size);
  color: #fff;
  text-align: center;
  background-color: var(--color-primary);

  @media (width <=768px) {
    --font-size: 23px;
    --padding: 12px;
  }
}

.section-intro__desc {
  --padding: 30px 30px 60px;
  padding: var(--padding);

  @media (width <=768px) {
    --padding: 15px 0 30px;
  }
}

/* ========================================
  リード文
  ======================================== */
.lead {
  color: var(--c-sub);
  margin: 0 0 45px;
}

@media (max-width:767px) {
  .lead {
    margin: 0 0 30px;
  }
}

.lead.lead-law {
  color: var(--c-sub);
  margin: 0 0 30px;
}

@media (max-width:767px) {
  .lead.lead-law {
    margin: 0 0 15px;
  }
}

.small {
  font-size: 12px;
  color: #777;
}

/* ========================================
   ボックス
   ======================================== */
.box {
  background: #fff;
}

.box.list .p {
  padding: 10px 20px 20px;
}

@media (max-width:767px) {
  .box.list .p {
    padding: 5px 0 10px;
  }
}

.p_0pb {
  padding: 10px 20px 0;
}

@media (max-width:767px) {
  .p_0pb {
    padding: 10px 0 0;
  }
}

/* ========================================
   画像プレースホルダ
   ======================================== */
.ph {
  position: relative;
  background: var(--c-key);
  width: 100%;
}

.ph span {
  color: #fff;
  font-weight: 700;
  font-size: 32px;
  position: absolute;
  left: 10px;
  bottom: 0;
}

.ph--5x4 {
  aspect-ratio: 5/4;
}

.ph--16x9 {
  aspect-ratio: 16/9;
}

.ph--wide {
  aspect-ratio: 12/3.3;
}

@media (max-width:767px) {
  .ph--wide {
    aspect-ratio: 12 / 7;
  }

  .spph--5x7 {
    aspect-ratio: 5 / 7;
  }
}

.ph--1x1 {
  aspect-ratio: 1/1;
}

.triangle-wrap {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 5%;
}

.ph-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 21px solid var(--c-key);
  border-right: 0;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 5%;
}

@media (max-width:767px) {
  .before-after.updown .triangle-wrap {
    position: relative;
  }

  .before-after.updown .ph-triangle {
    border-bottom: none;
    border-right: 28px solid transparent;
    border-left: 28px solid transparent;
    border-top: 21px solid var(--c-key);
  }
}

/* ========================================
   見出しバリエーション
   ======================================== */
.h3 {
  padding: 16px 0;
  margin: 0 0 10px;
  color: var(--c-key);
  border-bottom: 1px solid var(--c-key);
  font-weight: 800;
}

.h3--plain {
  margin: 0 0 6px;
  color: var(--c-key);
  font-weight: 800;
  border: none;
}

.h3--fill {
  margin: 0 0 10px;
  background: var(--c-key);
  color: #fff;
  padding: 14px 18px;
  border: none;
  line-height: 1.4;
}

.h3--center {
  text-align: center;
  margin-inline: auto;
}

@media (max-width:767px) {
  .h3 {
    padding: 10px 0;
  }

  .h3--plain {
    margin: 0 0 3px;
  }

  .h3--fill {
    margin: 0 0 5px;
    padding: 7px 9px;
  }
}

.p {
  margin: 0 0 10px;
}

/* ========================================
   リンク
   ======================================== */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--c-key);
  line-height: 1;
}

.link::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-key);
  flex-shrink: 0;
}

.link::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.linkline {
  text-align: center;
  margin: 15px auto 30px;
}

.linkline.more {
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width:767px) {
  .linkline.more {
    margin-bottom: 20px;
  }
}

article.box {
  position: relative;
}

article.box.link_abso {
  padding-bottom: 60px;
}

@media (max-width:767px) {
  article.box.link_abso {
    padding-bottom: 0;
    margin-bottom: 30px;
  }
}

article.box.wide-img:not(:last-child) {
  margin-bottom: 60px;
}

article.box .linkline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (max-width:767px) {
  article.box .linkline {
    position: relative;
    margin: 0;
  }
}

/* ========================================
   説明リスト
   ======================================== */
.desc-lists {
  display: block flex;
  flex-direction: column;
  row-gap: 24px;
  padding-block-end: 60px;

  @media (width >=768px) {
    --padding-x: 50px;
  }
}

.desc-list__title {
  --font-size: 20px;
  padding: 12px 20px;
  font-size: var(--font-size);
  color: #fff;
  background-color: var(--color-primary);

  @media (width <=480px) {
    --font-size: 16px;
  }
}

.desc-list__data {
  --padding: 20px;
  padding: var(--padding);

  @media (width <=480px) {
    font-size: 14px;
    --padding: 20px 0;
  }
}

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

  >a {
    display: inline flex;
    column-gap: 6px;
    align-items: center;
    font-weight: 700;
    line-height: 1;

    &::before {
      display: inline-block;
      width: 18px;
      aspect-ratio: 1;
      content: "";
      background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMzggMTguNzZDMTQuNTYwNCAxOC43NiAxOC43NiAxNC41NjA0IDE4Ljc2IDkuMzhDMTguNzYgNC4xOTk1NyAxNC41NjA0IDAgOS4zOCAwQzQuMTk5NTcgMCAwIDQuMTk5NTcgMCA5LjM4QzAgMTQuNTYwNCA0LjE5OTU3IDE4Ljc2IDkuMzggMTguNzZaIiBmaWxsPSIjMDRBQTNBIi8+CjxwYXRoIGQ9Ik04LjQxMDAzIDQuOTUwMkwxMi44NCA5LjM4MDI1TDguNDEwMDMgMTMuODAwMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
      background-repeat: no-repeat;
      background-size: contain;
      translate: 0 1px;
    }
  }
}

/* ========================================
   カード
   ======================================== */
.card-items {
  --padding--x: 30px;
  display: block flex;
  flex-wrap: wrap;
  gap: 28px 60px;
  padding: 0 var(--padding--x) 60px;

  @media (width <=768px) {
    --padding--x: 0;
  }
}

.card-item {
  @media (width >=768px) {
    width: calc(50% - 30px);
  }
}

.card-item__image {
  img {
    width: stretch;
  }
}

.card-item__title {
  padding-block: 18px;
  margin-block-end: 18px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: solid 1px var(--color-primary);
}

.card-item__desc:has(+ .link-text--icon) {
  margin-block-end: 20px;
}

/* ========================================
   カラムレイアウト
   ======================================== */
.columns {
  padding-block-end: 50px;
}

.columns-items {
  --padding--x: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  padding-inline: var(--padding--x);

  @media (width <=768px) {
    --padding--x: 0;
  }

  &:has(+ .link-text--icon) {
    --padding-bottom: 50px;
    padding-bottom: var(--padding-bottom);

    @media (width <=768px) {
      --padding-bottom: 30px;
    }
  }
}

.columns-item {
  display: flex;
  gap: 20px;

  @media (width <=768px) {
    flex-direction: column;
  }
}

.columns-item__image {
  @media (width >=768px) {
    flex: 1;
  }

  img {
    width: stretch;
  }
}

.columns-items__text {
  flex: 2.4;
}

.columns-item__title {
  --space--x: 18px;
  padding-block-end: var(--space--x);
  margin-block-end: var(--space--x);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: solid 1px var(--color-primary);

  @media (width <=768px) {
    --space--x: 8px;
  }
}

.columns-single__items {
  display: flex;
  flex-direction: column;
  row-gap: 60px;

  @media (width >=768px) {
    padding-inline: 30px;
  }

  &:has(+ .link-text--icon) {
    padding-block-end: 50px;
  }
}

.columns-single__item__image {
  margin-block-end: 20px;

  >img {
    width: stretch;
    height: 260px;
    object-fit: cover;
  }
}

.columns-single__item__title {
  margin-block-end: 10px;
  text-align: center;
}

/* ========================================
   メディアオブジェクト
   ======================================== */
.media {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.media .thumb {
  flex: 0 0 140px;
}

.media .thumb .ph {
  width: 100%;
  aspect-ratio: 1/1;
}

.media h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

@media (max-width:560px) {
  .media {
    flex-direction: column;
  }

  .media .thumb {
    flex-basis: auto;
    width: 100%;
  }
}

/* mediaLR */
.mediaLR {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

@media (max-width:767px) {
  .mediaLR {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 30px;
  }
}

.mediaLR:last-child {
  margin-bottom: 30px;
}

.mediaLR .img {
  flex: 1 1 35%;
  aspect-ratio: 12/10;
  background: var(--c-key);
}

@media (max-width:767px) {
  .mediaLR .img {
    aspect-ratio: 12 / 7;
  }
}

.mediaLR>div:last-child {
  flex: 1 1 65%;
}

.mediaLR>div:last-child h3.h3 {
  padding-top: 0;
}

/* ========================================
   Before/After
   ======================================== */
.before-after {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.before-after>* {
  flex: 1 1 100%;
}

.before-after>* {
  flex: 1 1 calc((100% - 35px)/2);
}

@media (max-width:768px) {
  .before-after>* {
    flex: 1 1 calc((100% - 35px)/2);
  }

  .before-after.updown>* {
    flex: 1 1 100%;
  }
}

.caption-center {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: 20px;
}

@media (max-width:768px) {
  .caption-center {
    margin-top: 10px;
  }
}

/* ========================================
   テーブル
   ======================================== */
.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.table th,
.table td {
  padding: 10px 12px;
  border-top: 1px solid var(--c-line);
  text-align: left;
}

.table thead th {
  background: #f2fbf5;
}

.table.table--thlabel,
.table.table--thlabel td {
  border: none;
}

.table.table--thlabel tr {
  display: flex;
}

.table.table--thlabel tr:not(:last-child) {
  margin-bottom: 10px;
}

.table.table--thlabel th,
.table.table--thlabel td {
  padding: 3px 10px;
  display: block;
}

.table.table--thlabel th {
  border: 1px solid var(--c-sub);
  text-align: center;
  width: 160px;
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width:767px) {
  .table.table--thlabel th {
    width: 110px;
  }
}

.table.table--thlabel td {
  width: calc(100% - 160px);
  padding-left: 20px;
}

@media (max-width:767px) {
  .table.table--thlabel td {
    width: calc(100% - 110px);
    padding-left: 10px;
  }
}

/* ========================================
   価格表示
   ======================================== */
p.yen {
  text-align: center;
}

p.yen span {
  font-weight: 800;
  display: block;
}

p.yen40 span {
  font-size: 40px;
}

@media (max-width:767px) {
  p.yen40 span {
    font-size: 33px;
  }
}

p.yen50 span {
  font-size: 50px;
}

@media (max-width:767px) {
  p.yen50 {
    margin-top: 10px;
  }

  p.yen50 span {
    font-size: 30px;
  }
}

/* ========================================
   FAQ
   ======================================== */
.qa {
  display: block;
  list-style: none;
}

.qa .q,
.qa .a {
  position: relative;
  padding-left: 45px;
}

.qa .q.bracket,
.qa .a.bracket {
  padding-left: 35px;
}

.qa .q {
  font-size: 20px;
}

.qa .a {
  background: #fff;
  margin-bottom: 45px;
}

.qa span {
  font-family: Inter;
  position: absolute;
  font-size: 30px;
  left: 10px;
  top: 4px;
  font-weight: 700;
}

@media (max-width:767px) {
  .qa span {
    font-size: 25px;
    top: 2px;
  }
}

.qa .a span {
  line-height: 1;
}

@media (max-width:767px) {
  .qa .a span {
    color: var(--c-key);
  }
}

/* リンク群 */
.links-center {
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
  margin-bottom: 30px;
}

.links-center a {
  color: var(--c-text);
  display: inline-block;
  padding: 2px 4px;
  text-decoration: underline;
  font-size: clamp(14px, 2.2vw, 16px);

  &:hover {
    text-underline-offset: 3px;
  }
}

/* 目次 */
.box.list {
  margin-bottom: 50px;
}

@media (max-width:767px) {
  .box.list {
    margin-bottom: 30px;
  }

  .box.link-list h3 {
    text-align: center;
  }
}

.box.mokuji ul {
  list-style: none;
  width: 100%;
}

.box.mokuji ul li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.box.mokuji ul.parent {
  padding-left: 10px;
  margin-bottom: 10px;
}

.box.mokuji ul.parent li {
  font-size: 16px;
}

.box.mokuji ul.parent li a {
  font-size: 16px;
  color: var(--c-text);
}

@media (max-width:767px) {
  .box.mokuji ul.parent li a {
    font-size: 14px;
  }
}

.box.mokuji ul.parent li ul.child {
  list-style: none;
  padding-top: 10px;
  padding-left: 15px;
}

.box.mokuji ul.parent li ul.child li {
  margin-bottom: 8px;
}

.box.mokuji .en {
  color: #fff;
  position: relative;
  display: flex;
  width: 28px;
  height: 28px;
  background: var(--c-key);
  border-radius: 100%;
  left: -8px;
  top: 1px;
  justify-content: center;
  align-items: center;
  padding-bottom: 1px;
}

.box.mokuji .en.daen {
  width: 44px;
  border-radius: 5rem;
}

@media (max-width:767px) {
  .box.mokuji .en {
    width: 23px;
    height: 23px;
  }

  .box.mokuji .en.daen {
    width: 39px;
  }
}

/* 相場ボックス */
.souba-box {
  border: solid 1px #DBDBDB;
  margin-bottom: 30px;
}

.souba-box .item {
  background-color: #EBF3DB;
  border-top: solid 1px #DBDBDB;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 16px;
}

@media (max-width:767px) {
  .souba-box .item {
    font-size: 16px;
    padding: 4px;
  }
}

.souba-box .cost {
  border-top: solid 1px #DBDBDB;
  text-align: center;
  padding: 16px;
}

.souba-box .cost span {
  font-size: 20px;
  font-weight: 500;
}

@media (max-width:767px) {
  .souba-box .cost {
    padding: 4px;
  }

  .souba-box .cost span {
    font-size: 14px;
  }
}

.souba-item:not(:last-child) .item,
.souba-item:not(:last-child) .cost {
  border-right: solid 1px #DBDBDB;
}

@media (max-width:767px) {

  .souba-item:not(:last-child) .item,
  .souba-item:not(:last-child) .cost {
    border-right: none;
  }
}

.no-mg {
  margin: 0;
}

/* ========================================
   ace410-block (test.css由来)
   ======================================== */
.ace410-block {
  padding: 5em 0;
}

.ace410-block-inner {
  width: 1000px;
  margin: 0 auto;
}

.ace410-block img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

.ace410-block,
.ace410-block span,
.ace410-block p {
  font-size: 16px;
  line-height: 1.6;
  font-family: "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, sans-serif;
}

@media (max-width: 1100px) {
  .ace410-block {
    padding: 4em 0;
  }

  .ace410-block-inner {
    width: auto;
    margin: 0 2em;
  }

  .ace410-block,
  .ace410-block span,
  .ace410-block p {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .ace410-block {
    padding: 3em 0;
  }

  .ace410-block-inner {
    margin: 0 1.5em;
  }
}

/* ========================================
   ヘッダー
   ======================================== */
#header_fix {
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 999;
  width: 100%;
  height: 120px;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: all;
  transition-duration: 1s;
  transform: translateY(-20%) translateX(0%);
  border-bottom: none;
  background-color: rgb(255 255 255 / 95%);
}

#header_fix.active {
  transform: translateY(0%) translateX(0);
  visibility: visible;
  opacity: 1;
  transition-duration: 1s;
}

@media (max-width: 767px) {
  #header_fix.active {
    display: none;
  }
}

h1.spacer {
  display: none;
}

#header_blok {
  height: 120px;
  display: flex;
  width: 100%;
  background-color: #fff;
  border-bottom: 8px solid #1f9e47;
}

.header01 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
}

.header01 img {
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

.header10 {
  width: 38%;
}

.header20 {
  width: 48%;
}

#header-button ul {
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

#header-button ul li {
  line-height: 0;
  padding-right: 0.5em;
}

#header-button ul li:last-of-type {
  padding-right: 0;
}

button.btn-img {
  background-color: transparent;
  border: none;
}

.btn-img img {
  transition: all 0.4s;
}

.btn-img:hover img {
  opacity: 0.6;
}

.company {
  background-color: #fff;
  margin: 8em 0;
}

.acecontact {
  padding-top: 90px;
  background-color: #fff;
}

.thanks {
  padding-top: 100px;
  background-color: #fff;
}

@media (max-width: 1300px) {
  .header01 {
    width: 100%;
    box-sizing: border-box;
    padding: 0 2em;
  }
}

@media (max-width: 1200px) {

  #header_fix,
  #header_blok {
    height: 110px;
  }

  #header_blok {
    border-bottom: 5px solid #1f9e47;
  }

  #page_header {
    margin-top: 110px;
  }

  .company {
    margin: 6em 0;
  }

  .acecontact {
    padding-top: 80px;
  }

  .thanks {
    padding-top: 80px;
  }
}

@media (max-width: 1050px) {

  #header_fix,
  #header_blok {
    height: 100px;
  }

  #page_header {
    margin-top: 100px;
  }

  .company {
    margin: 5em 0;
  }

  .acecontact {
    padding-top: 70px;
  }

  .thanks {
    padding-top: 60px;
  }
}

@media (max-width: 900px) {

  #header_fix,
  #header_blok {
    height: 80px;
  }

  #page_404_header,
  #page_header {
    margin-top: 80px;
  }

  .company {
    margin: 4em 0;
  }

  .acecontact {
    padding-top: 60px;
  }

  .thanks {
    padding-top: 40px;
  }
}

@media (max-width: 800px) {

  #header_fix,
  #header_blok {
    height: 70px;
  }

  #page_header {
    margin-top: 70px;
  }

  .acecontact {
    padding-top: 50px;
  }

  .thanks {
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  #header_blok {
    position: static;
    padding: 0 4.5em;
    height: 60px;
    width: auto;
    border-top: none;
    border-bottom: 3px solid #1f9e47;
  }

  #page_404_header,
  #page_header,
  .top_content {
    margin-top: 0;
  }

  .company {
    margin: 3em 0 2em;
  }

  .acecontact {
    padding-top: 20px;
  }

  .thanks {
    margin-top: 20px;
    padding: 15px;
  }

  .header01 {
    padding: 0;
  }

  .header10 {
    width: auto;
  }

  .header20 {
    display: none;
  }
}

.header-block {
  --padding: 25px 28px 0;
  padding: var(--padding);

  @media (width <=1100px) {
    --padding: 18px 12px 18px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.header-logo {
  --width: 38%;
  width: var(--width);

  @media (width <=768px) {
    --width: 61.5%;
  }
}

.header-address {
  width: 48%;

  @media (width <=1100px) {
    display: none;
  }
}

.header-address__list {
  display: flex;
  column-gap: 0.5em;
}

.header-block--clone {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  visibility: hidden;
  padding-block: 25px;
  background-color: rgb(255 255 255 / 0.95);
  border-bottom: 5px solid #1f9e47;
  opacity: 0;
  transform: translateY(-20%) translateX(0%);
  transition: all;
  transition-duration: 1s;

  &.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%) translateX(0);
  }
}

/* ========================================
   ナビゲーション
   ======================================== */
:root.is-active .menu-page-global-container,
:root.is-active .header-nav__body {
  transform: translateX(0);
}

.header-nav__container {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.menu-open,
.menu-close {
  position: fixed;
  top: 15px;
  right: 15px;

  @media (width >=1100px) {
    display: none;
  }
}

.menu-open {
  z-index: 10;
}

.menu-open__button {
  position: relative;
  display: block flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  inline-size: 42px;
  aspect-ratio: 1;
  padding-block: 10px 4px;
  color: #fff;
  background-color: var(--color-primary);
  border: unset;
  border-radius: 6px;
}

.menu-open__label {
  font-family: var(--font-family--zen-kaku-gothic-new);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-open__line {
  --border-radius: 6px;
  --background-curreent: currentcolor;
  display: grid;
  flex-direction: column;
  grid-template-areas: "stack";
  gap: 10px;
  align-items: flex-start;
  align-self: stretch;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background-color: var(--background-curreent);
  border-radius: var(--border-radius);

  &::before,
  &::after {
    grid-area: stack;
    height: 2px;
    content: '';
    background-color: inherit;
    background-color: currentcolor;
    border-radius: var(--border-radius);
  }

  &::before {
    translate: 0 5px;
  }

  &::after {
    translate: 0 11px;
  }
}

.menu-close__button {
  --rotate: 45deg;
  --color-line: #fff;
  display: block grid;
  grid-template: "line" 3px / 30px;
  place-content: center;
  block-size: 48px;
  aspect-ratio: 1;
  background: unset;
  border: unset;

  &::before,
  &::after {
    grid-area: line;
    align-self: stretch;
    content: "";
    background: var(--color-line);
    border-radius: 4px;
  }

  &::before {
    rotate: var(--rotate);
  }

  &::after {
    rotate: calc(var(--rotate)*-1);
  }

  span {
    display: none;
  }
}

.header-nav__body {
  @media (width <=1100px) {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    align-content: center;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.645, 0.045, 0.355, 1);
  }
}

.menu-page-global-container {
  @media (width <=1100px) {
    position: absolute;
    top: 0;
    right: 0;
    width: 100svw;
    height: 100%;
    overflow-y: scroll;
    background-color: rgb(0 0 0 / 0.6);
    backdrop-filter: blur(3px);
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-overflow-scrolling: touch;
  }
}

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

  @media (width <=1100px) {
    flex-direction: column;
    row-gap: 2rem;
    padding: 95px 4.3cqw;
  }

  .menu-item {
    flex: 1;

    >a {
      --nav-link-display: block;
      --nav-link-font-size: var(--font-size-sm);
      --nav-link-padding-block: 10px;
      --nav-link-text-align: left;
      display: var(--nav-link-display);
      padding-block: var(--nav-link-padding-block);
      font-size: var(--nav-link-font-size);
      font-weight: 700;
      line-height: 1.75;
      color: var(--color-text-gray);
      text-align: var(--nav-link-text-align);
      transition: color 0.3s ease;

      @media (width <=1100px) {
        --nav-link-display: flex;
        --nav-link-font-size: 15px;
        display: block flex;
        column-gap: 1rem;
        align-items: center;
        color: #fff;

        &::before {
          display: inline-block;
          width: 9px;
          height: 15px;
          content: "";
          background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229%22%20height%3D%2215%22%20viewBox%3D%220%200%209%2015%22%20fill%3D%22none%22%3E%20%20%3Cpath%20d%3D%22M1.5%201.5L7.5%207.5L1.5%2013.5%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
          background-repeat: no-repeat;
        }
      }

      @media (width >=1100px) {
        --nav-link-text-align: center;
      }
    }
  }
}

.nav-link:hover {
  color: var(--color-primary);
}

/* ========================================
   ファーストビュー
   ======================================== */
/* 伐採ページ */
.baxtusai .top_content01.first-view-pc {
  text-align: center;
  background-image: url(../../image/baxtusai/baxtusai-top-pc3-1920.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 100%;
}

/* フロント */
.home .top_content01.first-view-pc {
  text-align: center;
  background-image: url(../../image/first-view/sentei/pc930-2.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 100%;
}

.top_content01.first-view-pc img {
  display: block;
  margin: 0 auto;
}

.top_content02 {
  display: block;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
  box-sizing: content-box;
}

#container .first-view-tb,
#container .first-view-sp {
  display: none;
}

@media (max-width: 1100px) {
  #container .first-view-pc {
    display: none;
  }

  #container .first-view-tb {
    display: block;
  }
}

@media (max-width: 767px) {
  #container .first-view-tb {
    display: none;
  }

  #container .first-view-sp {
    display: block;
  }
}

.hero-image {
  display: block grid;
}

.hero-image__pic {
  grid-row: 1 / -1;
  grid-column: 1 / -1;

  img {
    width: stretch;
  }
}

.hero-image__text {
  z-index: 1;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  align-content: center;
  align-self: center;
  width: min(calc(100% - 30px), 1000px);
  padding: 30px;
  margin-inline: auto;
  color: #333;
  background-color: rgb(255 255 255 / 0.92);
  border-radius: 6px;
}

.hero-image__title {
  padding-block-end: 20px;
  margin-block-end: 15px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  color: var(--color-primary);
  border-bottom: solid 1px var(--color-primary);

  @media (width <=480px) {
    padding-block-end: 25px;
    margin-block-end: 10px;
    font-size: 42px;
  }
}

.hero-image__desc {
  font-size: 14px;
  line-height: 1.8;

  @media (width <=768px) {
    font-size: 12px;
  }
}

/* ========================================
   スクロールアニメーション
   ======================================== */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

_:-ms-lang(x)::-ms-backdrop,
.m_scroll {
  display: -ms-grid;
  overflow: hidden;
}

.m_scroll__wrap {
  display: flex;
  overflow: hidden;
}

ul.m_scroll__list {
  display: flex;
  list-style: none;
  margin: 0;
  margin-top: -2px;
}

.m_scroll__list--left {
  animation: infinity-scroll-left 195s infinite linear 0.5s both;
}

li.m_scroll__item {
  line-height: 0;
}

.m_scroll__item,
.m_scroll__item img {
  width: 600px;
}

.top_content_scroll {
  position: relative;
  text-align: center;
}

.top_content_scroll img {
  vertical-align: bottom;
}

.top_content_scroll01 {
  width: 100%;
  height: 100%;
  position: absolute;
  margin: auto;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.top_content_scroll01 img {
  height: 600px;
  max-width: 100%;
  max-height: 100%;
}

.sp_block {
  display: none;
}

@media (max-width: 1300px) {
  .top_content_scroll01 img {
    height: auto;
    max-width: calc(100% - 40px);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 550px;
  }
}

@media (max-width: 1100px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 500px;
  }
}

@media (max-width: 1000px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 480px;
  }
}

@media (max-width: 950px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 450px;
  }
}

@media (max-width: 900px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 430px;
  }
}

@media (max-width: 850px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 410px;
  }
}

@media (max-width: 800px) {

  .m_scroll__item,
  .m_scroll__item img {
    width: 390px;
  }
}

@media (max-width: 767px) {
  .pc_block {
    display: none;
  }

  .sp_block {
    display: block;
  }

  .top_content_scroll01 img {
    margin: 0 auto;
    height: 550px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 550px;
  }
}

/* ========================================
   コンテンツブロック
   ======================================== */
.ace400_blok {
  padding: 5em 0;
}

.ace410_blok {
  width: 800px;
  margin: 0 auto;
}

.top_content img,
.ace400_blok img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

#container .nemsp {
  display: none;
}

@media (max-width: 1100px) {
  .ace400_blok {
    padding: 4em 0;
  }

  .ace410_blok {
    width: auto;
    margin: 0 4em;
  }
}

@media (max-width: 850px) {
  .ace410_blok {
    margin: 0 2em;
  }
}

@media (max-width: 767px) {
  .ace410_blok {
    margin: 0 1em;
  }

  #container .nempc {
    display: none;
  }

  #container .nemsp {
    display: block;
  }
}

/* BG画像付きブロック */
@media (min-width: 750px) {
  .ace400_blok.BG_img {
    background: url(../../image/content/bg-pattern_g.jpg) repeat;
  }

  .ace400_blok.BG_img .arrow {
    border-top: 50px solid #009a31;
  }

  .BG_img .main_content_g1.heading {
    padding: 0;
  }
}

.ace400_blok.BG_img {
  padding: 0;
  margin-bottom: 0;
}

.BG_img .ace410_blok {
  width: auto;
}

.main_content_g1 {
  padding: 4em 1em 8em;
}

.BG_img .main_content_g1.heading img {
  display: block;
  margin: 0 auto;
  width: 800px;
}

@media (max-width: 1100px) {
  .BG_img .ace410_blok {
    margin: 0;
  }

  .main_content_g1.main1 {
    padding: 4em 6em 8em;
  }
}

@media (max-width: 850px) {
  .BG_img .main_content_g1.heading img {
    width: auto;
  }

  .main_content_g1.main1 {
    padding: 4em 2em 8em;
  }
}

@media (max-width: 767px) {
  .ace400_blok.BG_img {
    padding: 0;
  }

  .main_content_g1,
  .main_content_g1.main1 {
    padding: 0;
  }
}

@media (max-width: 375px) {
  .front_contents .ace400_blok:nth-child(2) {
    margin-top: -1px;
  }
}

/* ========================================
   サービスセクション
   ======================================== */
@media (min-width: 800px) {
  .BG_img.service .ace410_blok {
    text-align: center;
    background-image: url(../../image/content/service-title-1920.jpg);
    background-repeat: no-repeat;
    background-position: center top;
  }
}

.service .main_content_g1 img {
  width: 1100px;
}

@media (max-width: 1200px) {
  .service .main_content_g1 img {
    width: auto;
  }
}

.main_content_g1.service_conten3 {
  @media (width >=768px) {
    padding-block-end: 8em;
  }
}

/* ========================================
   動画セクション
   ======================================== */
.video {
  padding: 80px 10px 70px;
  margin-block-start: -44px;
  background-image: url("../image/content/dougahaikei_osouji_sp.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;

  @media (width >=768px) {
    margin-block-start: -11.4svw;
    background-image: url("../image/content/dougahaikei_osouji_pc.webp");
  }

  iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
  }
}

.video_title {
  margin-block-end: 24px;

  @media (width >=768px) {
    width: min(62.96svw, 1020px);
    padding-block-start: 12.5svw;
    margin-inline: auto;
  }
}

.video_content {
  @media (width >=768px) {
    width: min(55.56svw, 800px);
    margin-inline: auto;
  }
}

/* ========================================
   ビフォーアフターセクション
   ======================================== */
@media (min-width: 800px) {
  .BG_img.before-after .ace410_blok {
    text-align: center;
    background-image: url(../../image/content/baa-title2-1920.jpg);
    background-repeat: no-repeat;
    background-position: center top;
  }
}

.before-after .main_content_g1 img {
  width: 700px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .before-after .main_content_g1 img {
    width: auto;
  }
}

@media (max-width: 767px) {
  .ace400_blok.BG_img.before-after.case2 {
    background: url(../../image/content/bg-pattern_g.jpg) repeat;
    background-size: 14px;
  }

  .before-after.case2.before-after .acc-img img:nth-child(n + 2),
  .before-after.case2.before-after .acc-content img {
    padding: 1em 1em 0;
    box-sizing: border-box;
  }

  .acc-btn-block {
    background: #fff;
    padding: 20px 0 50px;
  }

  .acc-btn {
    margin-block-start: 0;
  }

  .acc-btn-block.acc-on {
    background: transparent;
  }
}

/* ========================================
   実績セクション
   ======================================== */
@media (min-width: 800px) {
  .BG_img.assignment .ace410_blok {
    text-align: center;
    background-image: url(../../image/content/assignment-title-1920-01.jpg);
    background-repeat: no-repeat;
    background-position: center top;
  }
}

.assignment .main_content_g1 img {
  width: 850px;
}

@media (max-width: 950px) {
  .assignment .main_content_g1 img {
    width: auto;
  }
}

/* ========================================
   料金セクション
   ======================================== */
@media (min-width: 800px) {
  .BG_img.price .ace410_blok {
    text-align: center;
    background-image: url(../../image/content/price-title2-1920.jpg);
    background-repeat: no-repeat;
    background-position: center top;
  }
}

.price .main_content_g1 img {
  width: 700px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .price .main_content_g1 img {
    width: auto;
  }
}

/* ========================================
   エリアセクション
   ======================================== */
.nem1.content3 .ace410_blok {
  padding: 0;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .nem1.content3 .nemsp {
    padding: 2em 0 5em;
  }
}

.nem1.content3.area .ace410_blok {
  width: 950px;
}

@media (max-width: 1050px) {
  .nem1.content3.area .ace410_blok {
    width: auto;
    padding: 0 3em;
  }
}

@media (max-width: 850px) {
  .nem1.content3.area .ace410_blok {
    padding: 0 1em;
  }
}

@media (max-width: 767px) {
  .ace400_blok.nem2 {
    padding: 0;
    background: url(../../image/content/bg-pattern_g.jpg) repeat;
    background-size: 12px;
  }

  .ace400_blok.nem2 .arrow {
    border-top: 25px solid #0ea33f;
  }

  .nem2 .main_content_g1.main1.nemsp {
    padding: 0 1em;
  }

  .nem2 .main_content_g1.main1.nemsp img {
    padding: 1em 0 5em;
  }
}

.ace400_blok.nem1 {
  padding: 0;
  background: url(../../image/content/bg-pattern_g.jpg) repeat;
}

.nem1 .ace410_blok {
  padding: 5em 0 8em;

  @media (width <=767px) {
    padding: 2em 0 5em;
  }
}

@media (max-width: 767px) {
  .ace400_blok.nem1 {
    background-size: 12px;
  }
}

/* ========================================
   汎用見出し・矢印
   ======================================== */
.ace410_c2 {
  color: #fff;
  text-align: center;
  letter-spacing: 0.05em;
  background-color: #00a73c;
}

h2.ace410_m2 {
  text-align: center;
  line-height: 1.6;
  font-size: 38px;
  margin: 0;
  padding: 2em 0 2.5em;
  line-height: 1.9;
}

h2.ace410_m2:after {
  content: "";
  margin: 0 auto;
  display: block;
  width: 140px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
}

.ace400_blok .arrow {
  width: 0;
  border-top: 50px solid #00a73c;
  border-right: 80px solid transparent;
  border-left: 80px solid transparent;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  body h2.ace410_m2 {
    font-size: 22px;
  }

  h2.ace410_m2:after {
    width: 90px;
  }

  .ace400_blok .arrow {
    border-top: 25px solid #00a73c;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
  }
}

h2.ace500_m2 {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #1e2d3c;
  margin: -10px 0 80px 0;
  padding-top: 12px;
}

h2.ace500_m2:before {
  content: "";
  display: block;
  height: 0.375rem;
  width: 6rem;
  background-color: #08bb41;
  border-radius: 0.375rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
}

@media (max-width: 767px) {
  h2.ace500_m2 {
    font-size: 20px;
    margin: 20px 0 50px 0;
  }
}

/* ========================================
   対応エリア
   ======================================== */
.area_ul {
  list-style: none;
}

.area_li {
  border: 3px solid #00a73c;
  border-radius: 5px;
  margin-bottom: 3em;
  background-color: #fff;
}

.area_li:last-of-type {
  margin-bottom: 0;
}

h3.area_m1 {
  color: #fff;
  text-align: center;
  letter-spacing: 0.05em;
  background-color: #00a73c;
  padding: 0.8em 0;
  font-size: 22px;
}

.area_t1 {
  padding: 1em;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .area_li {
    margin-bottom: 1em;
  }

  h3.area_m1 {
    font-size: 18px;
  }

  .area_t1 {
    font-size: 16px;
  }
}

/* ========================================
   FAQアイテム (common.css独自スタイル)
   ======================================== */
@media (min-width: 750px) {
  .ace400_blok.nem1.faq {
    background: #fff;
  }
}

.faq-items {
  --padding--x: 30px;
  display: block flex;
  flex-direction: column;
  row-gap: 60px;
  padding-inline: var(--padding--x);

  @media (width <=768px) {
    --padding--x: 0;
  }

  &:has(+ .link-text--icon) {
    --padding-bottom: 50px;
    padding-bottom: var(--padding-bottom);

    @media (width <=768px) {
      --padding-bottom: 30px;
    }
  }
}

.faq-item__title,
.faq-item__data {
  --icon-font-size: 32px;
  display: block flex;
  column-gap: 10px;

  >span {
    font-family: var(--font-inter);
    font-size: var(--icon-font-size);
    font-weight: 700;

    @media (width <=768px) {
      --icon-font-size: 25px;
    }
  }
}

.faq-item__title {
  --font-size: 20px;
  align-items: center;
  padding-inline: 15px;
  font-size: var(--font-size);
  color: #fff;
  background-color: var(--color-primary);

  @media (width <=480px) {
    --font-size: 15px;
  }
}

.faq-item__data {
  padding: 15px;

  >span {
    color: #4d4d4d;
  }
}

.faq dl {
  margin-bottom: 2em;
  padding: 0px 0 10px 0;
  line-height: 1.6em;
  font-size: 18px;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow: hidden;
  border: 3px solid #00a73c;
  border-radius: 5px;
}

.faq dl:last-of-type {
  margin-bottom: 0;
}

.faq dl dt {
  margin: 0 0 0 0;
  padding: 20px 50px 20px 60px;
  position: relative;
  background-color: #00a73c;
  color: #fff;
  font-weight: bold;
  font-family:
    "Sawarabi Mincho",
    Noto Sans CJK,
    sans-serif;
  display: flex;
  align-items: center;
}

span.faq_q {
  color: #00a73c;
  font-weight: bold;
  background-color: #fff;
  padding: 0px 10px 4px;
  border-radius: 20px;
  font-size: 17px;
  margin-right: 1em;
}

.faq dl dd {
  margin: 20px 0 5px 0;
  padding: 0 50px 0 60px;
  position: relative;
  font-family:
    "Sawarabi Mincho",
    Noto Sans CJK,
    sans-serif;
  display: flex;
  align-items: flex-start;
}

span.faq_a {
  color: #fff;
  font-weight: bold;
  background-color: #00a73c;
  padding: 1px 12px 4px;
  border-radius: 20px;
  font-size: 17px;
  margin-right: 1em;
}

span.faq_qText {
  padding-bottom: 0.2em;
}

@media (max-width: 767px) {
  .faq dl {
    font-size: 14px;
    border: 2px solid #00a73c;
  }

  .faq dl dt {
    padding: 1.5em 1em 1.5em 1.5em;
  }

  span.faq_q {
    padding: 1px 9px 5px;
    font-size: 16px;
    margin-right: 0.5em;
  }

  .faq dl dd {
    padding: 0em 1.5em 0.5em 1.5em;
    font-family:
      "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  }

  span.faq_a {
    padding: 2.5px 9px 5px 10px;
    font-size: 18px;
    margin-right: 0.5em;
  }

  span.faq_qText {
    padding-bottom: 0;
  }

  span.faq_aText.s1 {
    padding-top: 0.25em;
  }
}

/* ========================================
   ご利用の流れ
   ======================================== */
@media (min-width: 750px) {
  .ace400_blok.nem1.flow {
    background: #fff;
  }
}

.flow_ul {
  list-style: none;
  border-bottom: none;
  border-top: none;
}

.flow_li {
  position: relative;
  display: flex;
  padding: 2em 3em;
  background-color: #fff;
  border: 3px solid #00a73c;
  border-radius: 5px;
  margin-bottom: 6em;
  line-height: 1.6em;
  font-size: 18px;
}

.flow_li:last-of-type {
  margin-bottom: 0;
}

.flow_li::before {
  content: "step:01";
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  padding: 0 10px 4px;
  border-radius: 20px;
  background-color: #fff;
  border: 3px solid #00a73c;
  color: #00a73c;
  line-height: 1.5;
}

.flow_li:nth-child(2)::before {
  content: "step:02";
}

.flow_li:nth-child(3)::before {
  content: "step:03";
}

.flow_li::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  border-top: 50px solid #00a73c;
  border-right: 80px solid transparent;
  border-left: 80px solid transparent;
  border-radius: 3px;
}

.flow_li:last-of-type:after {
  display: none;
}

.flow_li1 {
  width: 40%;
  box-sizing: border-box;
}

.flow_li2 {
  width: 60%;
  box-sizing: border-box;
  padding-left: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow_g1 img {
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
}

h3.flow_m1 {
  color: #fe4610;
  margin-bottom: 0.5em;
}

.flow_t1 {
  margin-bottom: 0;
  font-size: 14px;
}

@media screen and (max-width: 950px) {
  h3.flow_m1 {
    font-size: 16px;
  }

  .flow_t1 {
    font-size: 12px;
    line-height: 2;
  }
}

@media screen and (max-width: 767px) {
  .nem1.flow .ace410_blok {
    padding: 3em 0 5em;
  }

  .flow_li {
    flex-direction: column;
    padding: 1.5em 1em 1em 1em;
    margin-bottom: 4em;
    border: 2px solid #00a73c;
  }

  .flow_li::before {
    border-radius: 18px;
    line-height: 1.4;
    border: 2px solid #00a73c;
  }

  .flow_li::after {
    bottom: -42px;
    border-top: 30px solid #00a73c;
    border-right: 50px solid transparent;
    border-left: 50px solid transparent;
  }

  .flow_li1 {
    width: auto;
  }

  .flow_li2 {
    width: auto;
    padding-left: 0;
  }

  h3.flow_m1 {
    font-size: 16px;
    padding: 1em 0 0 0.3em;
    margin-bottom: 0.2em;
  }

  .flow_t1 {
    font-size: 14px;
    line-height: 2;
  }
}

/* ========================================
   お客様の声
   ======================================== */
:where(.voice) {
  .ace410_blok {
    width: 700px;

    @media (width <=1100px) {
      width: auto;
    }
  }
}

.voice_ul {
  list-style: none;
  border-bottom: none;
  border-top: none;
}

li.voice_li {
  background-color: #fff;
  padding: 2em;
  border: 2px solid #e5e5e5;
  border-radius: 5px;
}

.voice_c10 {
  display: flex;
  margin-bottom: 2em;
}

.voice_c2 {
  width: 80%;
}

.voice_c3 {
  width: 20%;
}

li.voice_li {
  padding: 2em;
  border: 2px solid #e5e5e5;
  border-radius: 5px;
  margin-bottom: 2em;
  line-height: 1.6;
}

h3.voice_m1 {
  font-size: 20px;
  color: #00a73c;
}

p.voice_t1 {
  margin-top: 0.8em;
  font-weight: bold;
}

p.voice_t2 {
  font-size: 16px;
}

@media (max-width: 767px) {
  li.voice_li {
    padding: 1em;
    margin-bottom: 1em;
  }

  .voice_c2 {
    width: 75%;
  }

  .voice_c3 {
    width: 25%;
  }

  .voice_c10 {
    margin-bottom: 1em;
  }

  h3.voice_m1 {
    font-size: 14px;
  }

  p.voice_t1 {
    font-size: 10px;
  }

  p.voice_t2 {
    font-size: 12px;
  }
}

/* ========================================
   ギャラリー
   ======================================== */
.gallery ul {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.gallery ul li {
  width: calc(100% / 2);
  line-height: 0;
  list-style: none;
}

.gallery_photo {
  padding: 0.3em;
}

.gallery_photo_1 {
  overflow: hidden;
}

.gallery_photo_1 img {
  vertical-align: bottom;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

@media (min-width: 1100px) {
  .gallery .ace410_blok {
    width: 1000px;
  }

  .gallery ul li {
    width: calc(100% / 3);
  }
}

/* ========================================
   お問い合わせ
   ======================================== */
.ace400_blok.contactblok {
  padding: 3em 0;
  overflow: hidden;
  background: url(../../image/content/pixta_98488990_M.jpg) repeat 0% 12%;
  background-size: cover;
  position: relative;
}

.ace400_blok.contactblok::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(255 255 255 / 20%);
  z-index: 1;
}

.contactblok .ace410_blok {
  width: 850px;
  position: relative;
  z-index: 99;
}

.contact {
  text-align: center;
  letter-spacing: 0.05em;
  padding: 1.2em 0 0.9em;
  border-radius: 16px;
  border: 4px solid #08bb41;
  background: #fff url(../../image/content/anshin-kaitai-footer-image-test-03.png) right calc(100% + 1px) no-repeat;
  background-size: 40%;
}

.contact_tag {
  margin-bottom: 0.5em;
}

.contact_tag.nempc {
  margin: 0 1em 1em;
}

.contact_box {
  display: flex;
  margin: 0 auto;
}

.contact_box.nempc {
  flex-direction: column;
  width: 65%;
  margin: 0 auto 0 5%;
}

.nempc .contact_item {
  padding: 0.5em;
}

.nempc .contact_item:first-of-type img {
  margin: 0 auto;
  width: 90%;
}

.contact_item {
  box-sizing: border-box;
  padding: 1em;
  flex: 1;
}

.contact_item img {
  transition: all 0.4s;
}

.contact_itembutton:hover img,
.nemsp .contact_item:hover img {
  opacity: 0.7;
}

.contact_item.button_box {
  display: flex;
  gap: 0.5em;
}

.contact_itembutton {
  flex: 1;
}

@media (max-width: 1100px) {
  .contactblok .ace410_blok {
    width: auto;
  }
}

@media (max-width: 950px) {
  .contactblok .ace410_blok {
    margin: 0 2em;
  }

  .contact {
    border: 4px solid #08bb41;
  }
}

@media (max-width: 767px) {
  .ace400_blok.contactblok {
    background: url(../../image/content/pixta_93544403_M.jpg) repeat 0% top;
    background-size: cover;
  }

  .ace400_blok.contactblok::before {
    background-color: rgb(255 255 255 / 30%);
  }

  .contactblok .ace410_blok {
    margin: 0 1em;
  }

  .contact {
    border-radius: 8px;
    padding: 1.2em 0.8em 0.5em;
    text-align: left;
    background: #fff;
    border: 3px solid #08bb41;
  }

  .contact_box {
    width: auto;
  }

  .contact_item {
    padding: 0em 0 0.5em;
  }
}

/* ========================================
   固定バー (acebar)
   ======================================== */
@media (min-width: 750px) {
  #acebar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #acebar {
    position: fixed;
    right: 0px;
    bottom: -3px;
    z-index: 999;
    width: 100%;
    opacity: 0;
    transition: all;
    transition-duration: 1s;
    transform: translateY(20%) translateX(0%);
  }

  #acebar.active {
    transform: translateY(0%) translateX(0);
    opacity: 1;
    transition-duration: 1s;
  }

  ul.acebar {
    margin: 0;
    list-style: none;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    text-align: center;
    width: 100%;
    z-index: 9998;
    line-height: 1.5;
    height: auto;
  }

  .acebar_item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .acebar a {
    display: block;
  }

  .acebar a img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
  }

}

/* ========================================
   フェードアップアニメーション
   ======================================== */
.fadeUpTrigger {
  opacity: 0;
  transition: all;
  transform: translateY(20px) translateX(0);
}

.fadeUpTrigger.fadeUp {
  transform: translateY(0) translateX(0);
  opacity: 1;
  transition-duration: 3s;
}

/* ========================================
   ローディング
   ======================================== */
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.loader {
  margin: 60px auto;
  font-size: 5px;
  position: relative;
  text-indent: -9999em;
  border: 3px solid rgba(3, 110, 183, 0.2);
  border-top-color: #08bb41;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ========================================
   スプラッシュスクリーン
   ======================================== */
#splash2,
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo2,
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.splashbg {
  display: none;
}

body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 120%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #10b544;
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@media (max-width: 767px) {
  body.appear .splashbg {
    width: 200%;
    animation-duration: 1s;
    background-color: #0cad3f;
  }
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }

  50% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50.001% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

.home #container {
  opacity: 0;
}

body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#splash2 {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999999;
  text-align: center;
  color: #fff;
  margin-top: 0;
}

body.appear2 #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

/* ========================================
  会社概要
  ======================================== */
.company h2.ace500_m2 {
  margin-bottom: 2em;
}

.ace500_table {
  width: 1000px;
  margin: 0 auto;
}

.ace500_table {
  padding: 0 1em 1em 1em;
  text-align: left;
  line-height: 2.5;
  font-size: 15px;
}

.ace500_table table {
  width: 100%;
  border-collapse: collapse;
}

.ace500_table th {
  border-right: 1px solid #ddd;
}

.ace500_table th:last-of-type {
  border-right: none;
}

.ace500_table th,
.ace500_table td {
  padding: 20px 5px 20px 50px;
}

.ace500_table td:nth-child(1) {
  width: 25%;
  font-weight: bold;
  vertical-align: top;
}

.ace500_table tbody tr {
  border-bottom: 1px solid #ddd;
}

@media (max-width: 1050px) {
  .ace500_table {
    width: 95%;
  }
}

@media (max-width: 767px) {
  .company h2.ace500_m2 {
    margin-bottom: 1em;
  }

  .ace500_table {
    width: auto;
    font-size: 14px;
  }

  .ace500_table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 1em 0;
  }

  .ace500_table th,
  .ace500_table td {
    padding: 0;
  }

  .ace500_table td a {
    color: #000;
  }

  .ace500_table td:nth-child(1) {
    width: auto;
  }

  .ace500_table td:nth-child(2) {
    padding: 0 1em;
  }

  .ace500_table tbody tr:last-of-type {
    border-bottom: none;
  }
}

ul.ace526 {
  margin: 0;
  list-style: none;
}

li.ace526_item {
  display: flex;
  margin-bottom: 0.8em;
}

.ace526_c1:first-of-type {
  white-space: nowrap;
  font-weight: bold;
}

@media (max-width: 767px) {
  li.ace526_item {
    line-height: 2;
    margin: 0.8em 0;
    flex-direction: column;
  }

  .ace526_c1:first-of-type {
    border-bottom: 1px dashed #ccc;
  }
}

#container~a:not([class]) {
  display: none;
}

/* ========================================
   アコーディオン
   ======================================== */
.acc-content {
  width: fit-content;
  margin-inline: auto;
  max-height: 80px;
  overflow-y: hidden;
  position: relative;
  transition: max-height 1s ease-in-out;
}

.acc-item {
  &:not(:has(.acc-on)) {
    .acc-content {
      &::before {
        display: block;
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        content: "";
        height: 80px;
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.8) 50%,
            #fff 100%);
        z-index: 9999;
      }
    }
  }
}

.acc-btn {
  cursor: pointer;
  background-color: #fff;
  color: #1f9e47;
  border: 0;
  border-radius: 30px;
  border: solid 2px #1f9e47;
  display: block;
  padding-inline: 30px;
  padding-block: 15px;
  margin-block-start: 20px;
  margin-inline: auto;
  width: 100%;
  max-width: 280px;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .acc-btn:hover {
    opacity: 0.7;
  }
}

/* ========================================
   フッターサイトマップ
   ======================================== */
.footer {
  background: #f0f0f0;
}

/* ========================================
   フッターサイトマップ
   ======================================== */
.footer-sitemap {
  padding-block: 20px;

  ul {
    list-style: none;
    display: flex;
    justify-content: center;

    li {
      &:nth-child(n + 2):before {
        content: "|";
      }

      a {
        color: #333;
        margin: 0 1.5em;
        transition-property: color;
        transition-duration: 0.3s;
        transition-timing-function: ease;

        &:hover {
          @media (hover: hover) {
            text-decoration: underline;
          }
        }
      }
    }
  }
}

/* ========================================
   プライバシーポリシー
   ======================================== */
.aceprivacy {
  padding-block-start: 90px;

  @media (max-width: 800px) {
    padding-block-start: 50px;
  }

  @media (max-width: 767px) {
    padding-block-start: 20px;
  }
}

.ttlbox h2 {
  font-size: 36px;
  text-align: center;
}

.inner {
  display: block;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1000px;
  font-size: 14px;
}

#privacy .ttlbox .inner {
  padding-top: 50px;
  padding-bottom: 0px;
}

#privacy .cntbox .inner {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: left;

  @media (max-width: 767px) {
    padding-top: 40px;
  }
}

#privacy .cntbox .inner dl:nth-of-type(n + 2) {
  margin-top: 30px;
}

#privacy .cntbox .inner {
  font-size: 18px;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

#privacy .cntbox .inner dt {
  margin-bottom: 5px;
  font-weight: bold;
}

#privacy .cntbox .prfbox {
  margin-top: 50px;
  padding: 30px;
  border: 1px solid #ccc;

  @media (max-width: 767px) {
    padding: 25px;
  }
}

#privacy .cntbox .prfbox .cmp {
  margin-bottom: 10px;
}

/* ========================================
404ページ
======================================== */
#page_404_header {
  width: 100%;
  height: -webkit-calc(100vh - 151px);
  height: calc(100vh - 151px);
  position: relative;
  text-align: center;
  background-image: url(../../image/404/pixta_33696581_M.jpg);
  background-repeat: no-repeat;
  background-position: center top;
}

#page_404_header .catch_area {
  position: absolute;
  z-index: 2;
  text-align: center;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#page_404_header .catch {
  font-size: 48px;
  font-weight: 500;
}

#page_404_header .desc {
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0 0 0;
}

#page_404_header .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}