@charset "utf-8";

/* ==========================================================================
   投資ガイド（GUIDE）専用スタイル
   guide/ 配下の 5 ページで共用する。
   寸法はすべて rem（1rem = 10px @1300px）で記述する。
   ========================================================================== */

/* --------------------------------------------------------------------------
   セクションの基本骨格
   .lower-section（lower.css）の内側で使う見出し・本文まわり
   -------------------------------------------------------------------------- */

/* セクション見出しと本文の間隔 */
.guide-section__head + .guide-section__body {
  margin-top: 6rem;
}
@media screen and (max-width: 1023px) {
  .guide-section__head + .guide-section__body {
    margin-top: 4rem;
  }
}

/* リード文（各セクション冒頭の導入） */
.guide-lead {
  margin-top: 3rem;
  font-family: var(--f-body);
  font-size: max(1.6rem, 10px);
  line-height: 2.1;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-lead {
    margin-top: 2.5rem;
    font-size: max(1.4rem, 10px);
    line-height: 2;
  }
}

/* 小見出し（セクション内の区切り） */
.guide-block + .guide-block {
  margin-top: 8rem;
}
@media screen and (max-width: 1023px) {
  .guide-block + .guide-block {
    margin-top: 6rem;
  }
}
.guide-block__ttl {
  position: relative;
  padding-left: 2rem;
  font-size: max(2.2rem, 10px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-block__ttl {
    padding-left: 1.6rem;
    font-size: max(1.8rem, 10px);
  }
}
.guide-block__ttl::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--c-brand);
}
.guide-block__ttl + .txt01,
.guide-block__ttl + .guide-list,
.guide-block__ttl + .table-scroll,
.guide-block__ttl + .table01,
.guide-block__ttl + .guide-card-list,
.guide-block__ttl + .guide-note,
.guide-block__ttl + .guide-formula,
.guide-block__ttl + .qa01 {
  margin-top: 2.5rem;
}

/* さらに下の階層の見出し */
.guide-block__sub {
  margin-top: 4rem;
  font-size: max(1.7rem, 10px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .guide-block__sub {
    margin-top: 3.5rem;
    font-size: max(1.5rem, 10px);
  }
}
.guide-block__sub + .txt01,
.guide-block__sub + .guide-list,
.guide-block__sub + .table-scroll,
.guide-block__sub + .table01 {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   箇条書き
   -------------------------------------------------------------------------- */
.guide-list {
  font-family: var(--f-body);
  font-size: max(1.5rem, 10px);
  line-height: 2;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-list {
    font-size: max(1.4rem, 10px);
    line-height: 1.9;
  }
}
.guide-list__item {
  position: relative;
  padding-left: 1.8rem;
}
.guide-list__item + .guide-list__item {
  margin-top: 0.8rem;
}
.guide-list__item::before {
  content: "";
  position: absolute;
  top: 0.9em;
  left: 0.2rem;
  width: 0.6rem;
  height: 0.1rem;
  background-color: var(--c-brand);
}

/* 番号つき箇条書き */
.guide-list--num {
  counter-reset: guide-num;
}
.guide-list--num .guide-list__item {
  padding-left: 3rem;
  counter-increment: guide-num;
}
.guide-list--num .guide-list__item::before {
  content: counter(guide-num) ".";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  font-family: var(--f-en);
  font-weight: 700;
  color: var(--c-brand);
  background-color: transparent;
}

/* 本文中のリンク */
.guide-inline-link {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  transition: opacity 0.3s ease;
}
.guide-inline-link:hover {
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   注記ボックス（データの年次・免責など）
   -------------------------------------------------------------------------- */
.guide-note {
  padding: 2.4rem 3rem;
  font-family: var(--f-body);
  font-size: max(1.3rem, 10px);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
  background-color: var(--c-bg-light);
  border-left: 0.3rem solid var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .guide-note {
    padding: 2rem;
    font-size: max(1.2rem, 10px);
  }
}
.lower-section--light .guide-note {
  background-color: var(--c-white);
}
.guide-note__ttl {
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--c-text);
}
.guide-note + .guide-note {
  margin-top: 2rem;
}
* + .guide-note {
  margin-top: 4rem;
}

/* --------------------------------------------------------------------------
   計算式の表示
   -------------------------------------------------------------------------- */
.guide-formula {
  padding: 2.6rem 3rem;
  font-family: var(--f-body);
  font-size: max(1.6rem, 10px);
  line-height: 1.9;
  letter-spacing: 0.04em;
  background-color: var(--c-bg-light);
}
@media screen and (max-width: 1023px) {
  .guide-formula {
    padding: 2rem;
    font-size: max(1.3rem, 10px);
  }
}
.lower-section--light .guide-formula {
  background-color: var(--c-white);
}
.guide-formula + .guide-formula {
  margin-top: 1.5rem;
}
.guide-formula__label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: max(1.3rem, 10px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-brand);
}

/* --------------------------------------------------------------------------
   横スクロールする表（多列マトリクス表 .table02 用）
   -------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll .table02 {
  min-width: 68rem;
}

.table02 {
  width: 100%;
  border-collapse: collapse;
  border-top: 0.1rem solid var(--c-line);
}
.table02 th,
.table02 td {
  padding: 1.8rem 1.4rem;
  font-size: max(1.4rem, 10px);
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
  vertical-align: middle;
  border-bottom: 0.1rem solid var(--c-line);
}
.table02 thead th {
  font-weight: 700;
  color: var(--c-white);
  background-color: var(--c-text);
  border-bottom: none;
}
.table02 tbody th {
  font-weight: 700;
  text-align: left;
}
.table02 td:last-child {
  font-family: var(--f-body);
  font-size: max(1.3rem, 10px);
  color: var(--c-text-sub);
  text-align: left;
}
/* 課税ありの丸印 */
.table02 .is-mark {
  font-weight: 700;
  color: var(--c-brand);
}
.table02 .is-none {
  color: var(--c-line);
}

/* 表の凡例 */
.table-legend {
  margin-top: 1.5rem;
  font-family: var(--f-body);
  font-size: max(1.2rem, 10px);
  line-height: 1.9;
  color: var(--c-text-sub);
}

/* SP で横スクロールできることを伝える */
.table-scroll__hint {
  display: none;
}
@media screen and (max-width: 1023px) {
  .table-scroll__hint {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--f-body);
    font-size: max(1.1rem, 10px);
    color: var(--c-text-sub);
  }
}

/* 用語対照表は語数が多いので見出し幅を詰める */
.table01--term th {
  width: 34rem;
}
@media screen and (max-width: 1023px) {
  .table01--term th {
    width: 100%;
  }
}
.table01--term td {
  font-family: var(--f-body);
  color: var(--c-text-sub);
}
.table01--term .term-en {
  display: block;
  font-family: var(--f-en);
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.04em;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   ステップ（投資の流れ）
   -------------------------------------------------------------------------- */
.guide-step {
  counter-reset: guide-step;
  border-top: 0.1rem solid var(--c-line);
}
.guide-step__item {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0 4rem;
  padding: 4rem 0;
  border-bottom: 0.1rem solid var(--c-line);
  counter-increment: guide-step;
}
@media screen and (max-width: 1023px) {
  .guide-step__item {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
    padding: 3rem 0;
  }
}
.guide-step__num {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.2rem, 10px);
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--c-text-sub);
}
.guide-step__num::after {
  content: counter(guide-step, decimal-leading-zero);
  display: block;
  margin-top: 0.4rem;
  font-size: max(3.6rem, 10px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .guide-step__num {
    display: flex;
    align-items: baseline;
    gap: 0 1rem;
  }
  .guide-step__num::after {
    margin-top: 0;
    font-size: max(2.8rem, 10px);
  }
}
.guide-step__ttl {
  font-size: max(2rem, 10px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-step__ttl {
    font-size: max(1.7rem, 10px);
  }
}
.guide-step__ttl + .guide-list,
.guide-step__ttl + .txt01 {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   カード列（エリア紹介・ガイド索引）
   -------------------------------------------------------------------------- */
.guide-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
@media screen and (max-width: 1023px) {
  .guide-card-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.guide-card-list--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 1023px) {
  .guide-card-list--3 {
    grid-template-columns: 1fr;
  }
}
.guide-card {
  padding: 3.5rem 3.5rem 4rem;
  background-color: var(--c-white);
  border-top: 0.3rem solid var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .guide-card {
    padding: 2.8rem 2.4rem 3rem;
  }
}
.lower-section:not(.lower-section--light) .guide-card {
  background-color: var(--c-bg-light);
}
.guide-card__ttl {
  font-size: max(1.9rem, 10px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-card__ttl {
    font-size: max(1.6rem, 10px);
  }
}
.guide-card__area {
  margin-top: 1.2rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--c-brand);
}
.guide-card__txt {
  margin-top: 1.2rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
}

/* --------------------------------------------------------------------------
   ガイド索引（guide/index.html のメニュー）
   -------------------------------------------------------------------------- */
.guide-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
@media screen and (max-width: 1023px) {
  .guide-menu {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.guide-menu__link {
  position: relative;
  display: block;
  padding: 4rem 4rem 4.5rem;
  overflow: hidden;
  background-color: var(--c-white);
  transition: background-color 0.4s var(--e-main);
}
@media screen and (max-width: 1023px) {
  .guide-menu__link {
    padding: 3rem 2.4rem 3.5rem;
  }
}
.guide-menu__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.3rem;
  background-color: var(--c-brand);
  transform-origin: right center;
  scale: 0 1;
  transition: scale 0.5s var(--e-main);
}
.guide-menu__link:hover::after {
  transform-origin: left center;
  scale: 1;
}
.guide-menu__link:hover .guide-menu__ico {
  translate: 0.8rem;
}
.guide-menu__en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(3.2rem, 10px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .guide-menu__en {
    font-size: max(2.6rem, 10px);
  }
}
.guide-menu__ttl {
  margin-top: 1.6rem;
  font-size: max(1.8rem, 10px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-menu__ttl {
    margin-top: 1.2rem;
    font-size: max(1.6rem, 10px);
  }
}
.guide-menu__txt {
  margin-top: 1.4rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
}
.guide-menu__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.guide-menu__tag {
  padding: 0.5rem 1.2rem;
  font-family: var(--f-body);
  font-size: max(1.2rem, 10px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
  background-color: var(--c-bg-light);
}
.guide-menu__ico {
  position: absolute;
  top: 4rem;
  right: 4rem;
  width: 1.2rem;
  transition: translate 0.4s var(--e-main);
}
@media screen and (max-width: 1023px) {
  .guide-menu__ico {
    top: 3rem;
    right: 2.4rem;
  }
}
.guide-menu__ico .svg-path {
  fill: var(--c-brand);
}

/* --------------------------------------------------------------------------
   ページ内目次
   -------------------------------------------------------------------------- */
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 4rem;
  padding: 3rem 3.5rem;
  background-color: var(--c-bg-light);
}
@media screen and (max-width: 1023px) {
  .guide-toc {
    gap: 1rem 1.5rem;
    padding: 2.4rem 2rem;
  }
}
.lower-section--light .guide-toc {
  background-color: var(--c-white);
}
.guide-toc__link {
  position: relative;
  padding-left: 1.8rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 1.8;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.guide-toc__link:hover {
  color: var(--c-brand);
}
.guide-toc__link::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.1rem solid var(--c-brand);
  border-bottom: 0.1rem solid var(--c-brand);
  rotate: 45deg;
}

/* アンカー位置が固定ヘッダーに隠れないようにする */
.guide-anchor {
  scroll-margin-top: 10rem;
}

/* --------------------------------------------------------------------------
   Q&A（lower.css の .qa01 を補う）
   details の既定マーカーを消し、回答内に表や箇条書きを置けるようにする
   -------------------------------------------------------------------------- */
.qa01__q {
  list-style: none;
}
.qa01__q::-webkit-details-marker {
  display: none;
}
.qa01__a > .table01,
.qa01__a > .guide-list,
.qa01__a > .table-scroll {
  margin-top: 2.5rem;
}
.qa01__a > .table-legend {
  margin-top: 1.5rem;
}
.qa01__a .table01 th {
  width: 18rem;
}
@media screen and (max-width: 1023px) {
  .qa01__a {
    padding-right: 1.6rem;
    padding-left: 4.4rem;
  }
  .qa01__a .table01 th {
    width: 100%;
  }
  .qa01__q {
    padding: 1.8rem 4.4rem 1.8rem 4.4rem;
    font-size: max(1.4rem, 10px);
  }
  .qa01__q::before {
    top: 1.8rem;
    left: 1.8rem;
  }
  .qa01__q::after {
    right: 1.8rem;
  }
  .qa01__q > span::after {
    right: 2.3rem;
  }
  .qa01__a::before {
    left: 1.8rem;
  }
}

/* --------------------------------------------------------------------------
   下部のガイド内ナビ（GUIDE 4 ページの相互リンク）
   -------------------------------------------------------------------------- */
.guide-nav {
  padding-block: 10rem;
  color: var(--c-white);
  background-color: var(--c-text);
}
@media screen and (max-width: 1023px) {
  .guide-nav {
    padding-block: 7rem;
  }
}
.guide-nav__ttl {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.4rem, 10px);
  letter-spacing: 0.12em;
  color: var(--c-brand);
}
.guide-nav__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-left: 0.1rem solid rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 1023px) {
  .guide-nav__list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}
.guide-nav__link {
  display: block;
  padding: 3rem 2rem;
  height: 100%;
  border-right: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.4s var(--e-main);
}
@media screen and (max-width: 1023px) {
  .guide-nav__link {
    padding: 2.2rem 1.6rem;
  }
}
.guide-nav__link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.guide-nav__link[aria-current="page"] {
  background-color: rgba(0, 153, 217, 0.18);
}
.guide-nav__en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.8rem, 10px);
  line-height: 1;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 1023px) {
  .guide-nav__en {
    font-size: max(1.5rem, 10px);
  }
}
.guide-nav__ja {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-body);
  font-size: max(1.3rem, 10px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  opacity: 0.65;
}
@media screen and (max-width: 1023px) {
  .guide-nav__ja {
    font-size: max(1.2rem, 10px);
  }
}
/* 濃色帯を問い合わせ誘導として使う場合 */
.guide-nav__heading {
  margin-top: 2rem;
  font-size: max(2.4rem, 10px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-nav__heading {
    font-size: max(1.8rem, 10px);
  }
}
.guide-nav__lead {
  margin-top: 1.5rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 2;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.guide-nav__back {
  margin-top: 4rem;
}
@media screen and (max-width: 1023px) {
  .guide-nav__back {
    margin-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   問い合わせ誘導
   -------------------------------------------------------------------------- */
.guide-cta {
  margin-top: 8rem;
  padding: 5rem;
  text-align: center;
  background-color: var(--c-bg-light);
}
@media screen and (max-width: 1023px) {
  .guide-cta {
    margin-top: 6rem;
    padding: 3.5rem 2.4rem;
  }
}
.lower-section--light .guide-cta {
  background-color: var(--c-white);
}
.guide-cta__ttl {
  font-size: max(2rem, 10px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .guide-cta__ttl {
    font-size: max(1.6rem, 10px);
  }
}
.guide-cta__txt {
  margin-top: 1.5rem;
  font-family: var(--f-body);
  font-size: max(1.4rem, 10px);
  line-height: 1.95;
  color: var(--c-text-sub);
}
.guide-cta .btn01 {
  margin-inline: auto;
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   免責表示
   -------------------------------------------------------------------------- */
.guide-disclaimer {
  margin-top: 6rem;
  padding-top: 3rem;
  font-family: var(--f-body);
  font-size: max(1.2rem, 10px);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
  border-top: 0.1rem solid var(--c-line);
}
