@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Shippori+Mincho:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* 親テーマのヘッダー・フッターには当てない */
.trunk-page,
.trunk-page *,
.trunk-page *::before,
.trunk-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* :where で詳細度を下げ、.flow_list などのクラス指定が後から勝つようにする */
.trunk-page :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.trunk-page :where(img) {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

:root {
  --color-gold: #9C7B36;
  --color-light-gold: #ddaf50;
  --color-brown: #6E6152;
  --color-dark-brown: #211a13;
  --color-beige: #F4EDE0;
  --color-light-beige: #FAF6ED;
  --font-style: "Shippori Mincho", serif;
  --font-en: "Marcellus", serif;
  --font-serif: "Noto Serif", serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body.page-trunk {
  color: var(--color-brown);
  font-family: var(--font-style);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;

  --footbg-color: #333;
  --foottxt-color: #fff;
}

body.page-trunk .widget-area .xbt-block-section {
  --section-background-color: #333;
  color: #fff;
}

body.page-trunk .footer {
  background-color: #333;
  color: #fff;
}

body.page-trunk .widget-area a,
body.page-trunk .footer a {
  color: #fff;
}

body.page-trunk #menu-footer a:hover {
  color: var(--link-color);
}

.inner {
  max-width: 1320px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.sp_only {
  display: none;
}

@media (max-width: 767px) {

  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }
}

/* ======================= */
/* ページビジュアル */
/* ======================= */

.pv {
  background: var(--color-dark-brown);
  padding: 90px 0 109px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.pv_inner {
  max-width: 1300px;
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.pv_title {
  font-size: 2.4rem;
  font-family: var(--font-style);
  font-weight: 500;
  color: var(--color-light-gold);
  text-align: center;
  margin-bottom: 58px;
}

.pv_title em {
  display: block;
  font-style: normal;
  margin-top: 24px;
}

.pv_logo_img {
  max-width: 356px;
  width: 100%;
  margin: 0 auto 25px;
}

.pv_subtitle_wrap {
  position: relative;
  margin-bottom: 84px;
}

.pv_subtitle {
  color: #fff;
  font-size: 4.8rem;
  font-family: var(--font-style);
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.pv_subtitle_line {
  display: block;
  max-width: 520px;
  width: 100%;
  aspect-ratio: 520/20;
  background: var(--color-light-gold);
  mask-image: url('../img/trunk/pv_subtitle_line.svg');
  -webkit-mask-image: url('../img/trunk/pv_subtitle_line.svg');
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  position: absolute;
  bottom: -52px;
  left: 50%;
  transform: translateX(-50%);
}

.pv_text {
  color: #fff;
  font-family: var(--font-style);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 2;
  text-align: center;
  margin-bottom: 48px;
}

.pv_list {
  display: flex;
  gap: 40px;
}

.pv_item {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - 80px) / 3);
  border: 1px solid var(--color-light-gold);
  padding: 16px 20px;
}

.pv_item_text_en {
  color: var(--color-light-gold);
  font-size: 1.4rem;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.32em;
  text-align: center;
  margin-bottom: 8px;
}

.pv_item_title {
  color: #fff;
  font-family: var(--font-style);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 2;
  text-align: center;
  margin-bottom: 8px;
}

.pv_item_text {
  color: var(--color-light-gold);
  font-family: var(--font-style);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

@media (max-width: 1060px) {

  .pv_list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .pv_item {
    max-width: 380px;
    width: 100%;
  }
}

@media (max-width: 767px) {

  .pv {
    padding: 60px 0;
  }

  .pv_inner {
    padding: 0 20px;
  }

  .pv_title {
    font-size: 2rem;
    margin-bottom: 48px;
  }

  .pv_title em {
    margin-top: 18px;
  }

  .pv_title em img {
    max-width: 200px;
    width: 100%;
  }

  .pv_logo_img {
    max-width: 256px;
  }

  .pv_subtitle_wrap {
    margin-bottom: 64px;
  }

  .pv_subtitle {
    font-size: 2.8rem;
  }

  .pv_subtitle_line {
    max-width: 300px;
    bottom: -32px;
  }

  .pv_text {
    font-size: 1.6rem;
    margin-bottom: 36px;
  }

  .pv_item {
    max-width: 320px;
    min-height: auto;
    padding: 16px 20px 20px;
  }

  .pv_item_text_en {
    font-size: 1.2rem;
  }

  .pv_item_title {
    font-size: 2.2rem;
  }

  .pv_item_text {
    font-size: 1.6rem;
  }
}

/* 背景と装飾 */

.pv_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.pv_bg img {
  width: 100%;
  aspect-ratio: 1440/1025;
  object-fit: cover;
  object-position: top;
}

.pv_line {
  display: block;
  inset: 24px;
  border: 2px solid #9C7B36;
  position: absolute;
  z-index: -1;
}

.pv_line::after {
  content: '';
  inset: 10px;
  border: 1px solid #9C7B36;
  position: absolute;
}

@media (max-width: 767px) {

  .pv_line {
    inset: 8px;
  }

  .pv_line::after {
    inset: 6px;
  }
}

/* ======================= */
/* 導入団体様 */
/* ======================= */

.introduction {
  padding: 40px 0 56px;
  overflow: hidden;
}

.introduction_inner {
  max-width: 1370px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.introduction_title_wrap {
  text-align: center;
  margin-bottom: 40px;
}

.introduction_title {
  display: inline-block;
  color: var(--color-gold);
  font-size: 2.4rem;
  font-family: var(--font-style);
  font-weight: 700;
  padding: 0 16px;
  position: relative;
}

.introduction_title::before {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--color-gold);
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
}

.introduction_title::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--color-gold);
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
}

.introduction_marquee {
  overflow: hidden;
  width: 100%;
}

.introduction_list {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
}

.introduction_list.is-loop {
  animation: loop linear infinite;
}

.introduction_item {
  flex: 0 0 auto;
}

.introduction_item img {
  display: block;
  max-width: none;
  height: auto;
}

@keyframes loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--loop-shift) * -1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .introduction_list {
    width: auto;
    max-width: 1370px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ======================= */
/* ナビゲーション */
/* ======================= */

.nav_wrap {
  position: relative;
}

.nav_area {
  background: var(--color-beige);
  box-shadow: 0 0 40px 0 rgba(176, 141, 60, 0.40) inset;
  padding: 40px 0;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.nav_area.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  z-index: 100;
  box-shadow:
    0 0 40px 0 rgba(176, 141, 60, 0.40) inset,
    0 8px 24px rgba(33, 26, 19, 0.12);
}

/* 横スクロール可能なときは .inner を外し、左右余白も一緒に流す */
.nav_area.is-scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.nav_area.is-scrollable .inner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.nav_area.is-scrollable .trunk_nav_list {
  justify-content: flex-start;
  width: max-content;
  max-width: none;
  overflow: visible;
  box-sizing: content-box;
  padding-left: 20px;
  padding-right: 20px;
}

.nav_scrollbar {
  display: none;
}

.trunk_nav_list {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.trunk_nav_item a {
  display: block;
  color: var(--color-dark-brown);
  font-size: 2rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  text-decoration: none;
  padding: 0 27px 0 16px;
  position: relative;
}

.trunk_nav_item a:hover {
  opacity: 0.7;
}

.trunk_nav_item a::after {
  content: '';
  width: 8px;
  aspect-ratio: 1;
  border-top: 1px solid var(--color-dark-brown);
  border-right: 1px solid var(--color-dark-brown);
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%) rotate(135deg);
}

@media (max-width: 1060px) {

  .trunk_nav_list {
    gap: 20px;
  }

  .trunk_nav_item a {
    font-size: 1.6rem;
  }
}

@media (max-width: 767px) {

  html {
    scroll-padding-top: 44px;
  }

  .nav_area {
    padding: 24px 0 12px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .nav_area.is-scrollable {
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
  }

  .nav_area.is-scrollable::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .nav_area.is-scrollable .inner {
    width: 100%;
  }

  .nav_area.is-scrollable .nav_scrollbar {
    display: block;
    position: sticky;
    left: 20px;
    flex: none;
    height: 4px;
    margin-top: 8px;
    background: rgba(33, 26, 19, 0.18);
    border-radius: 2px;
    pointer-events: none;
  }

  .nav_scrollbar_thumb {
    display: block;
    height: 100%;
    background: var(--color-gold);
    border-radius: 2px;
  }

  .trunk_nav_list {
    justify-content: flex-start;
    gap: 0;
  }

  .trunk_nav_item {
    flex-shrink: 0;
  }

  .trunk_nav_item a {
    font-size: 1.4rem;
    padding: 0 20px 0 12px;
    white-space: nowrap;
  }

  /* メニューボタン（60px）の左に、同じ高さで並べる */
  .nav_area.is-fixed {
    top: 0;
    width: calc(100% - 60px);
    height: 60px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .nav_area.is-fixed.is-scrollable {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
  }
}

/* ======================= */
/* 共通 */
/* ======================= */

.bg_dark_brown {
  background: var(--color-dark-brown);
}

.bg_beige {
  background: var(--color-beige);
}

.bg_light_beige {
  background: var(--color-light-beige);
}

.title_wrap {
  margin-bottom: 40px;
}

.title_en {
  color: var(--color-gold);
  font-size: 1.4rem;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.32em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.title {
  color: var(--color-dark-brown);
  font-size: 4rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

.bg_dark_brown .title {
  color: var(--color-beige);
}

@media (max-width: 767px) {

  .title_en {
    line-height: 1.6;
    margin-bottom: 6px;
  }

  .title {
    font-size: 3.4rem;
    line-height: 1.6;
  }
}

/* ======================= */
/* ８つの特徴 */
/* ======================= */

.feature {
  padding: 80px 0;
}

.feature_text_wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 70px;
}

.feature_text {
  color: #B6AEA1;
  line-height: 2.4;
  text-align: center;
}

.feature_img {
  max-width: 940px;
  width: 100%;
  margin: 0 auto 80px;
}

/* タブ切り替え */

.feature_tab_wrap {
  max-width: 1136px;
  width: 100%;
  margin: 0 auto;
}

.feature_tab_list {
  width: 100%;
  display: flex;
  gap: 16px;
}

.feature_tab_item {
  width: calc((100% - 16px) / 2);
}

.feature_tab_item_label {
  width: 100%;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-beige);
  font-family: var(--font-style);
  text-align: center;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  background: #6E6152;
  border: 1px solid var(--color-gold);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 0;
}

.feature_tab_item_label::after {
  content: '';
  width: 100%;
  height: 1px;
  background: transparent;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
}

.feature_tab_item_label:hover {
  background: transparent;
}

.feature_tab_item input:checked + .feature_tab_item_label {
  background: transparent;
}

.feature_tab_item input:checked + .feature_tab_item_label::after {
  background: var(--color-dark-brown);
}

input[name="feature_tab_item"] {
  display: none;
}

.feature_tab_content {
  display: none;
  padding: 40px 0 56px;
  clear: both;
  border: 1px solid var(--color-gold);
  overflow: hidden;
}

.feature_tab_area:has(#school:checked) ~ .feature_contents_area #school_content,
.feature_tab_area:has(#company:checked) ~ .feature_contents_area #company_content {
  display: block;
}

.feature_tab_content_inner {
  max-width: 992px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.feature_contents_title_wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.feature_contents_title {
  display: inline-block;
  color: var(--color-gold);
  font-size: 2.4rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
}

.feature_contents_title_deco {
  flex-shrink: 0;
}

.feature_contents_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  counter-reset: number;
}

#company_content .feature_contents_list {
  counter-reset: number 4;
}

.feature_contents_item {
  counter-increment: number;
  padding-left: 68px;
  position: relative;
}

.feature_contents_item::before {
  content: counter(number, decimal-leading-zero);
  width: 48px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
  text-align: center;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.feature_contents_item_title {
  color: var(--color-beige);
  font-size: 2.4rem;
  font-family: var(--font-style);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 13px;
}

.feature_contents_item_text {
  color: var(--color-beige);
  font-family: var(--font-style);
  font-weight: 500;
}

.warranty_list {
  margin-top: 40px;
  display: flex;
  border: 1px solid var(--color-gold);
}

.warranty_item {
  width: calc(100% / 3);
  min-height: 158px;
  padding: 24px 40px;
}

.warranty_item:not(:last-child) {
  border-right: 1px solid var(--color-gold);
}

.warranty_item_title {
  color: var(--color-gold);
  font-size: 1.8rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
}

.warranty_item_title::before {
  content: '';
  width: 11px;
  aspect-ratio: 1;
  background: url(../img/trunk/title_icon02.svg) no-repeat center center / contain;
  position: absolute;
  top: 14px;
  left: 0;
}

.warranty_item_text {
  color: var(--color-beige);
  font-family: var(--font-style);
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {

  .feature {
    padding: 60px 0;
  }

  .feature_text_wrap {
    gap: 20px;
    margin-bottom: 50px;
  }

  .feature_text {
    line-height: 2;
  }

  .feature_img {
    margin-bottom: 60px;
  }

  /* タブ切り替え */

  .feature_tab_list {
    gap: 10px;
  }

  .feature_tab_item {
    width: calc((100% - 10px) / 2);
  }

  .feature_tab_item_label {
    min-height: 46px;
    font-size: 1.6rem;
  }

  .feature_tab_content {
    padding: 30px 0 40px;
  }

  .feature_contents_title_wrap {
    gap: 10px;
    margin-bottom: 36px;
  }

  .feature_contents_title {
    font-size: 1.9rem;
    line-height: 1.8;
  }

  .feature_contents_list {
    gap: 30px;
  }

  .feature_contents_item {
    padding-left: 48px;
  }

  .feature_contents_item::before {
    width: 38px;
    font-size: 1.6rem;
  }

  .feature_contents_item_title {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .feature_contents_item_text {
    font-size: 1.4rem;
  }

  .warranty_list {
    flex-direction: column;
  }

  .warranty_item {
    width: 100%;
    min-height: auto;
    padding: 20px 20px 24px;
  }

  .warranty_item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-gold);
  }

  .warranty_item_title {
    margin-bottom: 6px;
  }

  .warranty_item_text {
    font-size: 1.4rem;
  }
}

/* ======================= */
/* 一般的な端末保証サービスとの違い */
/* ======================= */

.comparison {
  padding: 80px 0;
}

.comparison_text {
  line-height: 2;
  text-align: center;
  margin-bottom: 40px;
}

.comparison_table_wrap {
  position: relative;
  margin-bottom: 16px;
}

.comparison_table_hint {
  display: none;
}

.comparison_table_wrap::after {
  content: '';
  display: none;
}

.comparison_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-gold);
}

.comparison_table thead tr,
.comparison_table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--color-gold);
}

.comparison_table thead th:first-child {
  width: 22%;
}

.comparison_table thead th:nth-child(2),
.comparison_table thead th:nth-child(3),
.comparison_table thead th:nth-child(4) {
  width: 26%;
}

.comparison_table thead th:first-child,
.comparison_table tbody th {
  color: var(--color-dark-brown);
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: left;
  background: rgba(156, 123, 54, 0.10);
  padding: 10px 24px;
}

.comparison_table thead th.thead_main_th {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--color-gold);
  font-family: var(--font-style);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  background: rgba(156, 123, 54, 0.10);
  border-left: 1px solid var(--color-gold);
  padding: 10px 24px;
  box-shadow:
  inset 0  12px 20px -12px rgba(176, 141, 60, 0.7),
  inset 12px 0 20px -12px rgba(176, 141, 60, 0.7),
  inset -12px 0 20px -12px rgba(176, 141, 60, 0.7);
  position: relative;
}

.thead_main_th_logo {
  width: 85px;
}

.comparison_table thead th:nth-child(3),
.comparison_table thead th:nth-child(4) {
  color: var(--color-dark-brown);
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: left;
  background: rgba(5, 5, 5, 0.10);
  border-left: 1px solid var(--color-gold);
  padding: 10px 24px;
}

.comparison_table tbody td.tbody_main_td {
  color: var(--color-gold);
  font-family: var(--font-style);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  background: #fff;
  border-left: 1px solid var(--color-gold);
  padding: 10px 24px;
  box-shadow:
  inset 12px 0 20px -12px rgba(176, 141, 60, 0.7),
  inset -12px 0 20px -12px rgba(176, 141, 60, 0.7);
  position: relative;
}

.comparison_table tbody tr:last-child td.tbody_main_td {
  box-shadow:
    inset 0 -12px 20px -12px rgba(176, 141, 60, 0.7),
    inset 12px 0 20px -12px rgba(176, 141, 60, 0.7),
    inset -12px 0 20px -12px rgba(176, 141, 60, 0.7);
}

.comparison_table tbody td:not(.tbody_main_td) {
  color: var(--color-dark-brown);
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  border-left: 1px solid var(--color-gold);
  padding: 10px 24px;
}

.note_list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note_item {
  font-size: 1.3rem;
  line-height: 2;
  padding-left: 18px;
  position: relative;
}

.note_item::before {
  content: '※';
  position: absolute;
  left: 0;
}

@media (max-width: 1280px) {

  .comparison_table_wrap {
    margin-left: -20px;
    margin-right: -20px;
  }

  .comparison_table_scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 20px;
    padding-right: 20px;
  }

  .comparison_table_wrap::after {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    z-index: 1;
    width: 80px;
    background: linear-gradient(90deg, rgba(250, 246, 237, 0), rgba(250, 246, 237, .8), var(--color-light-beige));
    opacity: var(--comparison-fade-opacity, 0);
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .comparison_table_hint {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%,-50%);
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .comparison_table_wrap.is-hint-hidden .comparison_table_hint {
    opacity: 0;
  }

  .comparison_table {
    width: 1280px;
    min-width: 1280px;
  }
}

@media (max-width: 767px) {

  .comparison_table {
    width: 1060px;
    min-width: 1060px;
  }

  .comparison_table thead th,
  .comparison_table thead th:first-child,
  .comparison_table thead th.thead_main_th,
  .comparison_table thead th:nth-child(3),
  .comparison_table thead th:nth-child(4),
  .comparison_table tbody th,
  .comparison_table tbody td,
  .comparison_table tbody td.tbody_main_td,
  .comparison_table tbody td:not(.tbody_main_td) {
    font-size: 1.4rem;
    padding: 10px 10px;
  }
}

/* ======================= */
/* 導入事例 */
/* ======================= */

.case {
  padding: 80px 0;
}

.case_text {
  color: #B6AEA1;
  line-height: 2;
  text-align: center;
  margin-bottom: 48px;
}

.case_list {
  display: flex;
  border: 1px solid var(--color-gold);
  margin-bottom: 80px;
}

.case_item {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 3);
  padding: 37px 20px 20px;
}

.case_item:not(:last-child) {
  border-right: 1px solid var(--color-gold);
}

.case_item_title {
  color: #B6AEA1;
  font-family: var(--font-style);
  line-height: 2;
}

.case_item_main_text {
  color: var(--color-gold);
  font-family: var(--font-style);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
}

.case_item_main_text em {
  font-size: 6rem;
  font-style: normal;
  font-weight: 400;
  padding: 0 8px;
}

/* 中の span が最終の数字の幅を保つ。カウント中の数字は重ねて右揃え */
.case_item_main_text em.js-countup {
  position: relative;
  display: inline-block;
}

.case_item_main_text em.js-countup.is-counting span {
  visibility: hidden;
}

.case_item_main_text em.js-countup.is-counting::after {
  content: attr(data-current);
  position: absolute;
  top: 0;
  right: 8px;
  white-space: nowrap;
}

.case_item_note {
  color: #B6AEA1;
  font-family: var(--font-style);
  line-height: 2;
  padding-left: 16px;
  margin-top: 10px;
  position: relative;
}

.case_item_note::before {
  content: '※';
  position: absolute;
  left: 0;
}

@media (max-width: 1060px) {

  .case_list {
    max-width: 500px;
    width: 100%;
    flex-direction: column;
    margin-inline: auto;
  }

  .case_item {
    width: 100%;
    min-height: auto;
    padding: 20px 20px 30px;
  }

  .case_item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-gold);
  }
}

@media (max-width: 767px) {

  .case {
    padding: 60px 0;
  }

  .case_text {
    margin-bottom: 32px;
  }

  .case_list {
    margin-bottom: 60px;
  }

  .case_item_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* スライダー */

.case_slider_wrap {
  overflow: hidden;
}

.case_slider.swiper {
  overflow: hidden;
  height: auto;
}

.case_slider .swiper-wrapper {
  height: auto;
  align-items: stretch;
}

.case_slider .swiper-slide {
  width: 380px;
  height: auto;
  display: flex;
}

.case_slider_item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #2D2417;
  border: 1px solid #2D2417;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.case_slider_item:hover {
  border-color: var(--color-gold);
}

.case_slider_item_logo_wrap {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FDFBF6;
  padding: 20px;
}

.case_slider_item_text_wrap {
  flex: 1;
  padding: 16px 24px 24px;
  position: relative;
}

.case_slider_item_tag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.case_slider_item_tag_item {
  color: #B6AEA1;
  font-size: 1.4rem;
  font-family: var(--font-style);
  line-height: 2;
  padding-left: 14px;
  position: relative;
}

.case_slider_item_tag_item::before {
  content: '#';
  position: absolute;
  left: 0;
}

.case_slider_item_title {
  color: var(--color-beige);
  font-size: 2rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  margin-bottom: 16px;
}

.case_slider_item_text {
  color: #B6AEA1;
  font-size: 1.8rem;
  font-family: var(--font-style);
  line-height: 1.6;
}

.case_slider_item_arrow {
  display: block;
  width: 32px;
  aspect-ratio: 1;
  background: var(--color-gold);
  position: absolute;
  bottom: 0;
  right: 0;
}

.case_slider_item_arrow::after {
  content: '';
  width: 8px;
  aspect-ratio: 1;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  position: absolute;
  top: 50%;
  left: calc(50% - 2px);
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 767px) {

  .case_slider .swiper-slide {
    max-width: 380px;
    width: calc(100% - 56px);
  }
}

/* ポップアップ */

html.is-modal-open {
  scroll-behavior: auto;
}

html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.case_modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.case_modal.is-open {
  display: flex;
}

/* 親テーマの article { display: block } より優先して、開いていないパネルを隠す */
.case_modal_panel[hidden] {
  display: none;
}

.case_modal_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 26, 19, 0.88);
}

.case_modal_window {
  width: 100%;
  max-width: 1120px;
  max-height: min(80vh, 800px);
  display: flex;
  flex-direction: column;
  background: var(--color-beige);
  position: relative;
  z-index: 1;
  margin: auto;
  overflow: hidden;
}

.case_modal_x {
  width: 64px;
  aspect-ratio: 1;
  background: var(--color-brown);
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.case_modal_x::after {
  content: '';
  width: 24px;
  aspect-ratio: 1;
  background: url('../img/trunk/close_icon.svg') no-repeat center center / contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.case_modal_x:hover {
  opacity: 0.6;
}

.case_modal_scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 80px 120px 80px 80px;
}

.case_modal_close {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  margin: 80px auto 0;
  padding: 12px 20px;
  color: var(--color-beige);
  font-size: 1.8rem;
  font-family: var(--font-style);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.08em;
  background: var(--color-brown);
  border: 1px solid var(--color-brown);
  cursor: pointer;
}

.case_modal_close:hover {
  opacity: 0.7;
}

.case_modal_close_text {
  display: inline-block;
  padding-left: 32px;
  position: relative;
}

.case_modal_close_text::before {
  content: '';
  width: 16px;
  aspect-ratio: 1;
  background: url('../img/trunk/close_icon.svg') no-repeat center center / contain;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ポップアップの中身 */

.modal_top {
  display: flex;
  gap: 40px;
  margin-bottom: 64px;
}

.modal_logo_area {
  max-width: 380px;
  width: 45%;
  aspect-ratio: 380/240;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 20px;
}

.modal_top_text_area {
  flex: 1;
}

.modal_tag_list {
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 24px;
}

.modal_tag_item {
  color: var(--color-brown);
  font-size: 1.4rem;
  font-family: var(--font-style);
  font-weight: 400;
  line-height: 2;
  padding-left: 12px;
  position: relative;
}

.modal_tag_item::before {
  content: '#';
  position: absolute;
  left: 0;
}

.modal_title {
  color: var(--color-dark-brown);
  font-weight: 2.4rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal_text {
  color: var(--color-dark-brown);
  font-size: 2rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.8;
}

.modal_content_wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.modal_content_title {
  color: var(--color-gold);
  font-size: 1.8rem;
  font-family: var(--font-style);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--color-gold);
  padding: 0 0 8px 20px;
  margin-bottom: 16px;
  position: relative;
}

.modal_content_title::before {
  content: '';
  width: 11px;
  aspect-ratio: 1;
  background: url('../img/trunk/title_icon02.svg') no-repeat center center / contain;
  position: absolute;
  top: 14px;
  left: 0;
}

.modal_content_text {
  color: var(--color-dark-brown);
}

.modal_after_list {
  margin-top: 32px;
  display: flex;
  border: 1px solid var(--color-gold);
}

.modal_after_item {
  width: calc(100% / 3);
  min-height: 128px;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(156, 123, 54, 0.10);
}

.modal_after_item:not(:last-child) {
  border-right: 1px solid var(--color-gold);
}

.modal_after_item_text {
  color: var(--color-dark-brown);
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  position: relative;
}

.modal_after_item_text::after {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--color-gold);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.modal_after_item_main_text {
  color: var(--color-gold);
  font-size: 2rem;
  font-family: var(--font-style);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: center;
}

.modal_voice_area {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.modal_voice_img {
  width: 100px;
}

.modal_voice_text_area {
  flex: 1;
}

.modal_voice_title {
  color: var(--color-gold);
  margin-bottom: 8px;
}

.modal_voice_text {
  color: var(--color-dark-brown);
}

.font_number {
  font-family: var(--font-en);
}

@media (max-width: 1060px) {

  .case_modal_scroll {
    padding: 80px 60px 80px 60px;
  }
}

@media (max-width: 767px) {

  .case_modal {
    padding: 20px 12px;
  }

  .case_modal_scroll {
    padding: 48px 20px 24px;
  }

  .case_modal_x {
    width: 44px;
  }

  .case_modal_x::after {
    width: 20px;
  }

  .case_modal_close {
    min-width: 180px;
    min-height: 36px;
    margin: 50px auto 0;
    padding: 6px 20px;
    font-size: 1.6rem;
  }

  .case_modal_close_text {
    padding-left: 22px;
  }

  .case_modal_close_text::before {
    width: 12px;
  }

  /* ポップアップの中身 */

  .modal_top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
  }

  .modal_logo_area {
    max-width: 380px;
    width: 100%;
    aspect-ratio: 380/240;
  }

  .modal_top_text_area {
    width: 100%;
  }

  .modal_tag_list {
    max-width: 100%;
    margin-bottom: 12px;
  }

  .modal_title {
    font-weight: 2.4rem;
    margin-bottom: 8px;
  }

  .modal_text {
    font-size: 1.6rem;
  }

  .modal_content_wrap {
    gap: 30px;
  }

  .modal_content_title {
    font-size: 1.8rem;
    padding: 0 0 8px 20px;
    margin-bottom: 8px;
  }

  .modal_content_text {
    font-size: 1.4rem;
  }

  .modal_after_list {
    max-width: 440px;
    width: 100%;
    margin: 20px auto 0;
    flex-direction: column;
  }

  .modal_after_item {
    width: 100%;
    min-height: auto;
    padding: 16px 20px;
  }

  .modal_after_item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-gold);
  }

  .modal_after_item_text {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .modal_after_item_text::after {
    width: 16px;
  }

  .modal_after_item_main_text {
    font-size: 2rem;
  }

  .modal_voice_area {
    gap: 10px;
    margin-top: 30px;
  }

  .modal_voice_img {
    width: 80px;
  }

  .modal_voice_title {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .modal_voice_text {
    font-size: 1.4rem;
  }
}

/* ======================= */
/* 申請の流れ */
/* ======================= */

.flow {
  padding: 80px 0 153px;
}

.flow_text {
  line-height: 2;
  text-align: center;
  margin-bottom: 72px;
}

.flow_list {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  padding: 26px 0;
  counter-reset: number;
}

.flow_list::before {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 149, 82, 0.00) 0%, #B99552 50%, rgba(185, 149, 82, 0.00) 100%);
  position: absolute;
  top: 0;
  left: 0;
}

.flow_list::after {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 149, 82, 0.00) 0%, #B99552 50%, rgba(185, 149, 82, 0.00) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
}

.flow_item {
  width: calc(100% / 5);
  padding: 43px 10px 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  counter-increment: number;
}

.flow_item::before {
  content: counter(number, decimal-leading-zero);
  color: var(--color-gold);
  font-size: 1.5rem;
  font-family: var(--font-serif);
  line-height: 2;
  letter-spacing: 0.32em;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_item:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 100%;
  background: rgba(35, 28, 21, 0.16);
  position: absolute;
  top: 0;
  right: 0;
}

.flow_item_title {
  color: var(--color-dark-brown);
  font-size: 1.8rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 8px;
}

.flow_item_text {
  color: #6E6152;
  font-size: 1.3rem;
  font-family: var(--font-style);
  line-height: 2;
  text-align: center;
}

@media (max-width: 767px) {

  .flow {
    padding: 60px 0 80px;
  }

  .flow_text {
    margin-bottom: 40px;
  }

  .flow_list {
    max-width: 300px;
    flex-direction: column;
    padding-top: 0;
  }

  .flow_list::before {
    content: '';
    display: none;
  }

  .flow_item {
    width: 100%;
    padding: 43px 10px 20px;
  }

  .flow_item:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
  }

  .flow_item_title {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
}

/* ======================= */
/* なぜ、「Trunk」なのか。 */
/* ======================= */

.story {
  padding: 156px 0;
  position: relative;
  z-index: 0;
}

.story::after {
  content: '';
  inset: 24px;
  border: 1px solid rgba(214, 185, 120, 0.22);
  position: absolute;
  z-index: -1;
}

.story .inner {
  padding: 0 40px;
}

.story_logo {
  max-width: 300px;
  width: 100%;
  margin: 0 auto 56px;
}

.story_text_wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.story_text {
  color: #B6AEA1;
  line-height: 2.4;
  text-align: center;
}

@media (max-width: 767px) {

  .story {
    padding: 80px 0;
  }

  .story::after {
    inset: 10px;
  }

  .story .inner {
    padding: 0 30px;
  }

  .story_logo {
    max-width: 240px;
    margin: 0 auto 36px;
  }

  .story_text_wrap {
    gap: 30px;
  }
  
  .story_text {
    line-height: 2;
  }
}

/* ======================= */
/* 導入のご相談・資料請求 */
/* ======================= */

.contact {
  padding: 136px 0;
}

.contact_text {
  line-height: 2;
  text-align: center;
  margin-bottom: 40px;
}

.contact_list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.contact_item {
  max-width: 392px;
  width: 100%;
  min-height: 180;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #DCD8D2;
  background: #FFFCF6;
  padding: 20px 24px;
}

.contact_item_title {
  color: var(--color-gold);
  font-size: 1.4rem;
  font-family: var(--font-en);
  line-height: 2;
  letter-spacing: 0.32em;
  text-align: center;
}

.contact_item_main {
  width: 100%;
  margin-bottom: 11px;
}

.contact_item_main span,
.contact_item_main a {
  display: block;
  color: var(--color-gold);
  font-size: 2.4rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px dashed #B99552;
  padding-bottom: 4px;
  pointer-events: none;
}

.contact_item_note {
  font-size: 1.3rem;
  font-family: var(--font-style);
  line-height: 2;
  text-align: center;
}

.contact_btn {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}

.contact_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  color: var(--color-dark-brown);
  font-size: 2rem;
  font-family: var(--font-style);
  font-weight: 500;
  line-height: 2;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #D8BE83 0%, #B4924D 100%);
}

.contact_btn a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {

  .contact {
    padding: 80px 0;
  }

  .contact_text {
    margin-bottom: 30px;
  }

  .contact_list {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .contact_item {
    padding: 20px 20px;
  }

  .contact_item_main a {
    pointer-events: auto;
  }

  .contact_btn {
    max-width: 300px;
    margin: 0 auto 32px;
  }

  .contact_btn a {
    min-height: 50px;
    font-size: 1.8rem;
  }
}
