@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* ページ内スクロールアンカーのオフセット調整 */
[id^="section"] {
  scroll-margin-top: 100px;
}

a[rel=home] {
  position: relative;
  display: inline-block;
  /* 必要に応じて */
}

/* もしフェードなどのアニメーションをつけたい場合は以下のように transition を追加 */
a[rel=home] img {
  transition: opacity 0.5s ease-in-out;
}

a[rel=home] .first-view,
a[rel=home] .content-view {
  position: absolute;
  /* 画像同士が重なるように配置 */
  top: 15px;
  left: 15px;
  width: auto;
  /* 必要に応じてサイズを調整 */
  transition: opacity 0.5s ease-in-out;
}

/* 初期状態：白いロゴを表示、黒いロゴは透明にしておく */
a[rel=home] .first-view {
  opacity: 1;
  z-index: 2;
}

a[rel=home] .content-view {
  opacity: 0;
  z-index: 1;
}

/* スクロール後（.scrolled クラス付与時）に切り替え */
a[rel=home].scrolled .first-view {
  opacity: 0;
}

a[rel=home].scrolled .content-view {
  opacity: 1;
}

html {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  line-height: 170%;
  letter-spacing: 0.015em;
  scroll-behavior: smooth;
}

body {
  line-height: inherit;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-size: inherit;
}

.pc {
  display: block;
}

.sp {
  display: none;
}
img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* mouseover
--------------------------------------------------*/
label {
  cursor: pointer;
}

/* link
--------------------------------------------------*/
a {
  color: inherit;
  transition: all 0.4s;
}
a:link, a:active, a:visited {
  text-decoration: none;
}
/* < !-- 比較テーブル（複数行） --> */
.btn-link.bg_blue {
  background-color: #2876C3;
  color: #fff;
}

.layout-2column .main-content .timestamp {
  font-size: 22px;
  margin-top: 40px;
}

.under-container table td.flex {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 1.8181818182vw, 72px);
}
.under-container table td.flex .flex_item {
  display: inline-flex;
  flex-direction: column;
}
.under-container table dl {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.under-container table dl dt {
  width: 100px;
  font-weight: 500;
}
.under-container table dl dd {
  font-size: 92%;
  line-height: 155%;
}
.under-container .tax {
  background-color: transparent;
  padding: 0;
  color: #000;
  font-size: clamp(12px, 0.7272727273vw, 16px);
}
.under-container .check_layout_list {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.0909090909vw, 24px);
}
.under-container .check_layout_list li {
  position: relative;
  z-index: 0;
  padding-left: clamp(24px, 1.8181818182vw, 40px);
}
.under-container .check_layout_list li::before {
  content: "";
  display: block;
  width: clamp(16px, 1.4545454545vw, 32px);
  aspect-ratio: 1/1;
  background: url(../img/icon_check_layout_list.svg) no-repeat center/100% auto;
  position: absolute;
  top: 0;
  left: 0;
}
.under-container .tag_layout_list {
  display: flex;
  gap: clamp(12px, 1vw, 22px);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
.under-container .tag_layout_list li {
  width: -moz-fit-content;
  width: fit-content;
  padding: clamp(6px, 0.5454545455vw, 12px) clamp(18px, 1.4545454545vw, 32px);
  background-color: #fff;
  border-radius: 100px;
  font-size: clamp(14px, 1vw, 22px);
}
.under-container .tag_layout_list.after_etc::after {
  content: "etc...";
  display: block;
  font-size: clamp(14px, 1vw, 22px);
}
.under-container .btn-group.center {
  justify-content: center;
}
.under-container .parts + .parts {
  margin-top: 120px;
}
.under-container .profile-image img {
  margin: 0;
}
@media screen and (max-width: 1079px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.4vw;
  }
  body {
    line-height: 1;
    min-width: 1%;
    overflow-x: hidden;
    position: relative;
  }
  .parts {
    margin-bottom: 100px;
  }
  h2 {
  padding-top: 0;
}
.color-block {
  margin-bottom: 0;
}
.under-container .parts + .parts {
  margin-top: 0;
}
  a[href^="tel:"],
  a[href^="https://line"] {
    text-decoration: none !important;
  }
  .table-compare {
    width: 100%;
    overflow-x: auto;
  }
  .table-compare table {
    width: 200%;
    max-width: 720px;
  }
  .table-horizontal {
    overflow-x: auto;
  }
  .table-horizontal table {
    width: 160%;
    max-width: 720px;
  }
  .layout-2column .main-content .timestamp {
    font-size: 15px;
    margin-top: 20px;
  }
  .under-container .tag_layout_list {
    justify-content: flex-start;
    margin-top: 0;
  }
  
  /* スマホ時のスクロールオフセット調整 */
  [id^="section"] {
    scroll-margin-top: 80px;
  }
}
@media screen and (min-width: 768px) {
  .over {
    text-decoration: none !important;
  }
  .over:hover {
    opacity: 0.6;
    transition: opacity 0.3s;
  }
  a[href^="tel:"],
  a[href^="https://line"] {
    display: inline-block;
    pointer-events: none;
  }
}