@charset "UTF-8";
:root {
  --font-primary: "Roboto", "Noto Sans JP", sans-serif; /* メインフォント */
  --color-primary: #4f4c4c; /* 主要なテキスト色 */
  --color-background: #fff; /* 背景色 */
  --color-background-gy: #f3f3f3;
  --color-main: #73c6c4; /*メインカラー*/
  --spacing-base: 1rem; /* ベースのスペーシング */
  --margin-base: 40px; /* 基本マージン */
}

@media (min-width: 1024px) {
  :root {
    --margin-base: 60px;
  }
}
/*--
///////////////////////////////////////////////////////////
/////////////////////////// リセットCSS ////////////////////
/// ///////////////////////////////////////////////////////
--*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* ボックスモデルを標準に */
}

html, body {
  height: 100%; /* 全体の高さを設定 */
}

a {
  text-decoration: none; /* リンクの下線を削除 */
  color: inherit; /* テキスト色に合わせる */
}

ul, ol {
  list-style: none; /* リストマーカーを削除 */
}

img, video {
  max-width: 100%; /* メディア要素のレスポンシブ対応 */
  /*height: auto;*/
}

button, input, textarea {
  font: inherit; /* ボタンや入力欄のフォントを継承 */
  border: none; /* ボーダーを削除 */
  background: none; /* 背景をリセット */
}

/*--
///////////////////////////////////////////////////////////
/////////////////////////// 基本の全体設定 ////////////////////
/// ///////////////////////////////////////////////////////
--*/
body {
  font-family: var(--font-primary);
  color: var(--color-primary);
  background-color: var(--color-background);
  line-height: 1.6; /* 読みやすさを考慮 */
  font-size: 16px; /* ベースフォントサイズ */
  margin: 0; /* 余白リセット */
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1, h2, h3 {
  font-weight: 700;
}

p {
  margin-bottom: var(--spacing-base);
}

a {
  color: var(--color-main); /* リンクの色 */
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover, a:focus {
  /*text-decoration: underline;*/ /* ユーザー体験向上 */
  opacity: 0.6;
}

html {
  scroll-behavior: smooth;
}

/* マーカー */
mark {
  background: rgba(255, 235, 59, 0.3); /* 透明な黄色 */
  color: inherit;
  padding: 0.1em 0.2em;
  border-radius: 0.2em;
  font-weight: 500;
}

h2 mark {
  font-weight: 700;
}

/* ボックス設定 */
.container, .copylight, .footer-sp, .art-contents, .toc, .header-sp {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* ヘッダー・フッター切り替え */
.sp-only, .pc-only {
  display: none; /* 両方初期状態は非表示 */
}

/* iframeの初期値を設定 */
.resizable-iframe {
  height: 400px; /* 初期のフォールバック高さ */
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block; /* スマホ・タブレット用を表示 */
  }
}
@media screen and (min-width: 769px) {
  .pc-only {
    display: block; /* PC用を表示 */
  }
}
/*--
///////////////////////////////////////////////////////////
/////////////////////////// モバイルファースト設定 ////////////////////
/// ///////////////////////////////////////////////////////
--*/
body {
  font-size: 14px;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
  body a[href^="tel:"] {
    pointer-events: none;
  }
}
@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }
}
/*------------------------------------------ヘッダー（全体）*/
header {
  margin-bottom: 20px;
}

/*------------------------------------------ヘッダー（SP）*/
.header-sp {
  background-image: url("https://www.rakuten.ne.jp/gold/futon/img/logo_bg.png");
  background-repeat: no-repeat;
  background-size: max(340px, 44vw);
  background-color: var(--color-background-gy);
  padding: var(--spacing-base) var(--spacing-base) calc(var(--spacing-base) / 2) var(--spacing-base);
  background-position-y: bottom;
}
.header-sp img {
  width: 240px;
}

/*------------------------------------------パンくず*/
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  font-size: 14px;
  margin-bottom: var(--margin-base);
}

.breadcrumb li {
  margin-right: 8px;
}

.breadcrumb li a {
  text-decoration: none;
  color: var(--color-main);
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  content: "›"; /* 区切り文字 */
  margin-left: 8px;
  color: #aaa;
}

/*------------------------------------------大見出し・ページタイトル*/
h1 {
  font-size: 2em;
}
h1 span {
  font-size: 0.6em;
  display: block;
  position: relative;
  margin-left: 0.2em;
  padding-top: 0.6em;
}
h1 span::after {
  position: absolute;
  content: "";
  width: 5em;
  height: 0;
  border-bottom: 1px solid #ddd;
  position: absolute;
  bottom: 0.55em;
  left: 8em;
}
@media (min-width: 480px) {
  h1 span {
    display: inline;
    margin-left: 0.9em;
  }
}

/*------------------------------------------目次部分*/
.toc-wrap {
  background-color: var(--color-background-gy);
  padding: var(--margin-base) 0;
}

.toc h2 span {
  margin-left: 0.9em;
  font-size: 0.6em;
}
.toc ol {
  background-color: var(--color-background);
  border-radius: 10px;
  padding: 1em;
  display: flex;
  flex-direction: column;
}
.toc ol div {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
@media (min-width: 768px) {
  .toc ol {
    background-color: transparent;
    flex-direction: row;
    padding: 0em;
    justify-content: space-between;
    align-items: stretch;
  }
  .toc ol div {
    background-color: var(--color-background);
    border-radius: 10px;
    padding: 1em;
    width: calc(50% - 10px);
  }
}
.toc a {
  display: flex;
  border-bottom: 1px dashed #ddd;
}

/*------------------------------------------コンテンツ部分*/
.art-contents {
  margin: var(--margin-base) auto;
}

/*------- リストスタイル */
/*通常の数字リスト*/
.ol-dec li {
  list-style-type: decimal; /* 数字のリスト */
  margin-left: 1.5em; /* 見やすくするためのインデント */
  padding-left: 0.5em; /* 必要に応じて調整 */
}
.ol-dec li::marker {
  font-weight: 700;
}
.ol-dec ul li {
  list-style: disc;
}

/*カタカナのリスト*/
.ol-katakana li {
  list-style: none; /* デフォルトの番号を非表示にする */
  margin-left: 0;
  padding-left: 0;
  display: flex;
}
.ol-katakana li::before {
  content: "（" attr(data-katakana) "）"; /* カタカナを手動で設定 */
  font-weight: 700;
}
.ol-katakana li:nth-child(1)::before {
  content: "（ア）";
}
.ol-katakana li:nth-child(2)::before {
  content: "（イ）";
}
.ol-katakana li:nth-child(3)::before {
  content: "（ウ）";
}
.ol-katakana li:nth-child(4)::before {
  content: "（エ）";
}
.ol-katakana li:nth-child(5)::before {
  content: "（オ）";
}

/* 商品別賠償金 */
.compensation {
  margin: 40px auto;
}
.compensation h3 {
  margin-bottom: 1em;
}
.compensation h4 {
  color: var(--color-main);
}

/* 弁償金テーブル */
.compensation-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.compensation-table__cell {
  display: flex;
  flex-direction: column; /* 上下配置 */
  align-items: center;
  border: 1px solid #d1c5b8;
  border-radius: 10px;
  padding: 4px;
  text-align: center;
  justify-content: space-between;
}
.compensation-table__cell .product-name {
  margin-bottom: 5px; /* 商品名と数値の間隔 */
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: break-word;
  background-color: var(--color-background-gy);
  flex-grow: 1;
  width: 100%;
  border-radius: 8px 8px 0 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
@media (min-width: 480px) {
  .compensation-table {
    grid-template-columns: repeat(4, 1fr); /* さらに小さい画面では2列 */
  }
}
@media (min-width: 1024px) {
  .compensation-table {
    grid-template-columns: repeat(9, 1fr); /* 小さい画面では4列 */
  }
}

#article16 span[itemprop=name] {
  word-break: keep-all;
  overflow-wrap: break-word;
}

#article16 a[itemprop=email] {
  text-decoration: underline;
}

/*------------------------------------------フッター（SP）*/
.footer-sp {
  font-size: min(13px, 3.2vw);
  background-color: var(--color-background-gy);
  margin-top: 40px;
  padding: 20px var(--spacing-base);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}
.footer-sp__link {
  color: var(--color-primary);
  display: flex;
}

.copylight {
  text-align: center;
  font-size: 12px;
  margin: 0.5em;
}/*# sourceMappingURL=rental.css.map */