@charset "UTF-8";
/* =========================================================
   ACCS mobile つくモバ（/tsukumoba/）
   page-tsukumoba.php 専用。function_modules/tsukumoba_assets.php で読み込み
   ※ html { font-size: 62.5% } のため 1rem = 10px
   ※ 寸法はデザインの等倍アートボード（PC 1500px / SP 375px）から採寸
========================================================= */

.tm {
  --tm-red: #e7355c;
  --tm-red-dark: #c92449;
  --tm-pink-bg: #fdeeed;
  --tm-pink-line: #f5a9b9;
  --tm-pink-cell: #fdeef3;
  --tm-orange: #f18d1e;
  --tm-navy: #1d4e89;
  --tm-blue: #1f6fc5;
  --tm-blue-cell: #dbedfc;
  --tm-yellow: #ffe93b;
  --tm-yellow-cell: #fffde3;
  --tm-beige-cell: #fbecd2;
  --tm-gray-line: #8c8c8c;
  --tm-text: #231815;

  color: var(--tm-text);
  font-size: 1.4rem;
  line-height: 1.6;
  overflow-x: hidden;
}
.tm *,
.tm *::before,
.tm *::after {
  box-sizing: border-box;
}
.tm img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
/* :where() で詳細度を下げ、各パーツのクラス指定（padding 等）が必ず勝つようにする */
.tm :where(ul, ol, dl, dd, p, h1, h2, h3, h4) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm small {
  font-size: 0.6em;
}
.tm-spOnly {
  display: none;
}
.tm-visuallyHidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- レイアウト ---------- */
.tm-inner {
  max-width: 1170px;
  margin: 0 auto;
}
.tm-inner--narrow {
  max-width: 890px;
}
.tm-inner--faq {
  max-width: 800px;
}

/* ---------- 共通：見出し ---------- */
.tm-secTitle {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #333;
  margin-bottom: 50px !important;
}
.tm-secTitle::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 22px auto 0;
  background: var(--tm-red);
}
.tm-secLead {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin: -16px 0 20px !important;
}
.tm-pill {
  display: block;
  width: 244px;
  margin: 0 auto 30px !important;
  padding: 3px 0;
  border-radius: 999px;
  background: var(--tm-red);
  color: #fff;
  font-size: 3.0rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.tm-pill--spaced {
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  margin-bottom: 16px !important;
}

/* ---------- 共通：ボタン ---------- */
/* 既存の .btnOrg1（オレンジ枠）・.tpMoreBtn（グレー枠）をそのまま使用。幅と余白だけ調整 */
.tm .btnOrg1 {
  width: 310px;
  margin-top: 40px;
}
.tm .btnOrg1.tm-btnWide {
  width: 390px;
}
.tm .tm-moreBtn {
  width: 230px;
  margin: 40px auto 0;
}
.tm .btnOrg1 a,
.tm .tm-moreBtn a {
  color: var(--tm-text);
  text-decoration: none;
}

/* 別ウィンドウ風リンク */
.tm-extLink {
  color: var(--tm-text) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.tm-extLink::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  vertical-align: -0.1em;
  background: url(../../commons/css/img/icon_window-restore-solid.svg) no-repeat center / contain;
}
.tm-extLink:hover {
  text-decoration: underline !important;
}
.tm-extLink--small {
  display: block;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* 「または」 */
.tm-or {
  text-align: center;
  margin: 18px 0 !important;
}
.tm-or span {
  display: inline-block;
  min-width: 132px;
  padding: 7px 16px;
  border: 3px solid var(--tm-orange);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-orange);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ⊕ */
.tm-plus {
  display: flex;
  justify-content: center;
  margin: 12px 0 !important;
}
.tm-plus span {
  position: relative;
  width: 58px;
  height: 58px;
  border: 3px solid var(--tm-orange);
  border-radius: 50%;
  background: #fff;
}
.tm-plus span::before,
.tm-plus span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 5px;
  background: var(--tm-orange);
  transform: translate(-50%, -50%);
}
.tm-plus span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* =========================================================
   FV（高さは既存の .pageHeader と同じ 344px）
========================================================= */
.tm-hero {
  height: 344px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40%;
}
.tm-hero__inner {
  max-width: 1170px;
  height: 100%;
  margin: 0 auto;
  padding: 0 0 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tm-hero__catch {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.15em;
  color: #333;
  text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 20px #fff;
  margin-bottom: 10px !important;
}
/* ロゴ画像は周囲に白ボカシの余白（左右約7%）を含むため、その分大きくして左へ寄せる */
.tm-hero__logo {
  width: 286px;
  margin-left: -20px !important;
  line-height: 1;
}

/* =========================================================
   リード・魅力
========================================================= */
.tm-intro {
  padding: 40px 0 70px;
}
.tm-lead {
  text-align: center;
  color: var(--tm-navy);
  font-size: 3.0rem;
  font-weight: 700;
  line-height: 1.73;
  letter-spacing: 0.15em;
  margin-bottom: 36px !important;
}
/* リボンを枠の上にはみ出させるため overflow は使わず、画像側を角丸にする */
.tm-miryoku {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  padding-top: 10px;
}
.tm-miryoku__item {
  border: 2px solid #4d4d4d;
  border-radius: 20px;
  background: #fff;
}
.tm-miryoku__img {
  position: relative;
}
.tm-miryoku__img img {
  width: 100%;
  aspect-ratio: 742 / 393;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.tm-miryoku__ribbon {
  position: absolute;
  z-index: 1;
  top: -12px;
  left: 18px;
  width: 80px;
  padding: 24px 0 32px;
  background: #4d4d4d; /* 外側＝罫線色 */
  color: #333;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
/* 内側を一回り小さい黄色で重ねて、切り欠き部分まで黒い罫線に見せる */
.tm-miryoku__ribbon::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 3px;
  background: var(--tm-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 79%, 0 100%);
}
.tm-miryoku__body {
  padding: 20px 28px 24px;
}
.tm-miryoku__title {
  color: var(--tm-red);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 14px !important;
}
.tm-miryoku__text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- 家族で使うともっとお得 ---------- */
.tm-family {
  position: relative;
  max-width: 911px;
  margin: 74px auto 0;
  padding: 22px 22px 14px;
  border: 2px solid var(--tm-pink-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(231, 53, 92, 0.08);
}
.tm-family__chara {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
/* PC：枠の左右下にかぶせる（デザインどおり） */
.tm-family__chara--tere {
  width: 160px;
  left: -131px;
  bottom: 8px;
}
.tm-family__chara--net {
  width: 150px;
  right: -110px;
  bottom: -2px;
}
.tm-family__head {
  position: relative;
}
.tm-family__title {
  text-align: center;
  font-size: 4.0rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--tm-navy);
}
.tm-family__title::before,
.tm-family__title::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  vertical-align: middle;
  margin: 0 18px;
  background:
    linear-gradient(60deg, transparent 45%, #f1b53a 45% 55%, transparent 55%) 0 0 / 50% 100% no-repeat,
    linear-gradient(120deg, transparent 45%, var(--tm-red) 45% 55%, transparent 55%) 100% 0 / 50% 100% no-repeat;
}
.tm-family__title::after {
  transform: scaleX(-1);
}
.tm-family__titleRed {
  color: var(--tm-red);
}
.tm-family__sub {
  text-align: center;
  color: var(--tm-navy);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 2px 0 16px !important;
}
.tm-family__case {
  border-radius: 14px;
  padding: 12px 16px 16px;
}
.tm-family__case + .tm-family__case {
  margin-top: 14px;
}
.tm-family__case--share {
  background: #fdf0f3;
  border: 1px solid #f7d5de;
}
.tm-family__case--single {
  background: #eef5fc;
}
.tm-family__caseHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.tm-family__caseTitle {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  padding-bottom: 6px;
  margin-bottom: 12px !important;
  border-bottom: 3px dotted rgba(0, 0, 0, 0.15);
}
.tm-family__case--share .tm-family__caseTitle {
  color: var(--tm-red);
  border-bottom-color: #f5b4c3;
}
.tm-family__case--single .tm-family__caseTitle {
  color: var(--tm-navy);
  border-bottom-color: #a9cbee;
  flex: 1;
}
.tm-family__badge {
  display: inline-block;
  margin-right: 16px;
  padding: 1px 18px;
  border-radius: 999px;
  background: var(--tm-red);
  color: #fff;
  font-size: 1.6rem;
  vertical-align: 2px;
}
.tm-family__chip {
  flex-shrink: 0;
  margin-bottom: 18px;
  padding: 3px 18px;
  border-radius: 999px;
  background: #d4e6f8;
  color: var(--tm-navy);
  font-size: 1.4rem;
  font-weight: 700;
}
.tm-family__calc {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tm-family__box {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 90px;
  padding: 8px 10px;
  border: 1px solid #cfe1f3;
  border-radius: 12px;
  background: #f6fbff;
  text-align: center;
}
.tm-family__box i,
.tm-family__box svg {
  font-size: 3.6rem;
  color: var(--tm-blue);
}
.tm-family__box--total {
  flex: 0 0 auto;
  min-width: 110px;
}
.tm-family__label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tm-navy);
}
.tm-family__yen {
  display: block;
  color: var(--tm-red);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.tm-family__op {
  flex-shrink: 0;
  color: var(--tm-red);
  font-size: 2.6rem;
  font-weight: 900;
}
.tm-family__arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 14px solid var(--tm-red);
}
.tm-family__arrow--big {
  border-top-width: 30px;
  border-bottom-width: 30px;
  border-left-width: 26px;
}
.tm-family__result {
  position: relative;
  flex-shrink: 0;
  width: 226px;
  padding: 20px 10px 8px;
  border: 2px solid var(--tm-red);
  border-radius: 12px;
  background: #fffbe2;
  text-align: center;
}
.tm-family__resultBadge {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  padding: 1px 22px;
  border-radius: 999px;
  background: var(--tm-red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.tm-family__resultPrice {
  display: inline-block;
  color: var(--tm-red);
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(transparent 65%, #fff27a 65%);
}
.tm-family__resultText {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tm-navy);
}
.tm-family__compare {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tm-family__phones {
  flex: 1 1 auto;
}
.tm-family__phones ul {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.tm-family__phones li {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tm-navy);
}
.tm-family__phones li + li::before {
  content: "+";
  position: absolute;
  left: -10px;
  top: 18px;
  color: var(--tm-blue);
  font-size: 2.2rem;
  font-weight: 700;
}
.tm-family__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 60px;
  margin: 0 auto 4px;
  border: 3px solid var(--tm-navy);
  border-radius: 8px;
  color: var(--tm-blue);
  font-size: 1.4rem;
  font-weight: 900;
  background: #fff;
}
.tm-family__phonesTotal {
  margin-top: 8px !important;
  padding: 4px 10px;
  border-radius: 10px;
  background: #d4e6f8;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tm-navy);
}
.tm-family__phonesTotal span {
  margin-left: 0.8em;
  font-size: 2.6rem;
  font-weight: 900;
}
.tm-family__saves {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-family__save {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 20px;
  border: 1px solid #f3b8c6;
  border-radius: 10px;
  background: #fff4f6;
  color: var(--tm-navy);
  font-size: 2.0rem;
  font-weight: 700;
  white-space: nowrap;
}
.tm-family__save i,
.tm-family__save svg {
  color: var(--tm-red);
  font-size: 2.8rem;
}
.tm-family__save strong {
  color: var(--tm-red);
  font-size: 4.0rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(transparent 65%, #fff27a 65%);
}
.tm-family__note {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 10px !important;
}

/* =========================================================
   料金プラン
========================================================= */
.tm-price {
  padding: 45px 0 60px;
  background: var(--tm-pink-bg);
}
.tm-price .tm-secTitle {
  margin-bottom: 40px !important;
}
.tm-priceSummary {
  display: flex;
  justify-content: center;
  gap: 54px;
}
.tm-priceSummary__item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tm-priceSummary dt {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 1px 24px;
  border-radius: 999px;
  background: var(--tm-red);
  color: #fff;
  font-size: 2.0rem;
  font-weight: 700;
}
.tm-priceSummary dd {
  font-size: 2.2rem;
  font-weight: 700;
}
.tm-priceSummary dd span {
  margin-left: 0.8em;
}
.tm-priceSummary__note {
  text-align: center;
  font-size: 1.3rem;
  margin: 10px 0 20px !important;
}

/* 白カード */
.tm-card {
  padding: 34px 100px 60px;
  border: 2px solid var(--tm-red);
  border-radius: 24px;
  background: #fff;
}
.tm-card__lead {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px !important;
}
.tm-planHeading {
  display: none;
  color: var(--tm-red);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px !important;
}
.tm-planHeading::before {
  content: "■";
}
.tm-planDesc {
  font-size: 1.4rem;
  margin-bottom: 14px !important;
}

/* 料金表 */
.tm-priceTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.tm .tm-priceTable th,
.tm .tm-priceTable td {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  vertical-align: middle;
}
.tm-priceTable thead th {
  background: transparent !important;
  padding: 0 0 6px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--tm-gray-line);
}
.tm-priceTable__planHead {
  width: 26%;
}
.tm-priceTable thead th:nth-child(2) {
  width: 12%;
}
.tm-priceTable thead th:nth-child(3) {
  width: 24%;
}
.tm-priceTable__arrowHead {
  width: 14%;
}
.tm-priceTable thead .tm-priceTable__setHead {
  color: var(--tm-red);
}
.tm-priceTable tbody th,
.tm-priceTable tbody td {
  height: 60px;
  border-bottom: 1px solid var(--tm-gray-line);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}
.tm-priceTable__plan {
  background: var(--tm-yellow-cell);
  color: var(--tm-red);
}
.tm-priceTable__planName {
  display: block;
  font-size: 2.7rem;
  margin-bottom: 8px;
}
.tm-priceTable__planSub {
  display: block;
  font-size: 1.6rem;
  line-height: 1.5;
}
.tm-priceTable__gb {
  background: var(--tm-blue-cell);
  color: var(--tm-blue);
  font-size: 2.9rem;
  border-bottom-color: #fff !important;
}
.tm-priceTable tbody tr:last-child .tm-priceTable__gb {
  border-bottom-color: var(--tm-gray-line) !important;
}
.tm-priceTable__gb small {
  font-size: 0.7em;
}
.tm-priceTable__base {
  font-size: 2.9rem;
  text-align: right !important;
  padding-right: 20px;
}
.tm-priceTable__base small,
.tm-priceTable__set small {
  font-size: 0.69em;
}
.tm-priceTable__arrow {
  padding: 0;
}
.tm-priceTable__arrow span {
  position: relative;
  display: block;
  margin-right: 14px;
  padding: 5px 0 5px 12px;
  background: var(--tm-red);
  color: #fff;
  font-size: 2.2rem;
  white-space: nowrap;
  text-align: left;
}
.tm-priceTable__arrow span::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 16px solid var(--tm-red);
}
.tm-priceTable__arrow small {
  font-size: 0.68em;
}
.tm-priceTable__set {
  background: var(--tm-yellow-cell);
  color: var(--tm-red);
  font-size: 2.9rem;
}
.tm-priceTable__note {
  text-align: right;
  font-size: 1.3rem;
  margin-top: 6px !important;
}

/* 子回線 */
.tm-childLine {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
.tm-childLine__plus {
  color: #888;
  font-size: 3.0rem;
  font-weight: 700;
}
.tm-childLine__box {
  width: 40%;
  padding: 10px;
  border-top: 1px solid var(--tm-gray-line);
  border-bottom: 1px solid var(--tm-gray-line);
  background: var(--tm-pink-cell);
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}
.tm-childLine__title {
  font-size: 1.8rem;
}
.tm-childLine__price {
  font-size: 2.9rem;
}
.tm-childLine__price small:first-child {
  display: block;
  font-size: 1.6rem;
}
.tm-childLine__price small:last-child {
  font-size: 0.69em;
}
.tm-childLine__note {
  font-size: 1.4rem;
  font-weight: 400;
}

/* シェアプランの容量追加の案内 */
.tm-addGiga {
  margin: 24px auto 0 !important;
  padding: 10px 20px;
  max-width: 560px;
  border-radius: 999px;
  background: var(--tm-yellow-cell);
  border: 2px solid var(--tm-red);
  color: var(--tm-text);
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.tm-addGiga strong {
  margin: 0 0.2em;
  color: var(--tm-red);
}
.tm-addGiga strong span {
  font-size: 1.4em;
}

/* オプションカード下の「その他オプション料金」 */
.tm-option .btnOrg1 {
  margin-top: 50px;
}

/* 通話料（4プランなのでカード内余白を少し広げて使う） */
.tm-call {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 -40px !important;
}
.tm-call__item {
  padding: 18px 16px 22px;
  border: 4px solid var(--tm-pink-line);
  border-radius: 16px;
  text-align: center;
}
.tm-call__name {
  padding-bottom: 12px;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #333;
  color: var(--tm-red);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  white-space: nowrap;
}
.tm-call__price {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.tm-call__price small {
  font-size: 0.7em;
}
.tm-call__desc {
  font-size: 1.8rem;
  font-weight: 700;
}
.tm-call__point {
  margin-top: 30px !important;
  text-align: center;
  color: var(--tm-red);
  font-size: 2.4rem;
  font-weight: 700;
}

/* スマホ端末 */
.tm-device__choice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 -40px;
}
.tm-device__choiceBox {
  flex: 1;
  min-height: 148px;
  padding: 18px 20px;
  border: 4px solid var(--tm-pink-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.tm-device__choiceTitle {
  color: var(--tm-red);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px !important;
}
.tm-device__choiceText {
  font-size: 2.0rem;
  font-weight: 700;
}
.tm-or--choice {
  flex-shrink: 0;
  margin: 0 !important;
}
.tm-device__heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin: 40px 0 16px !important;
}
/* PC：1段4台。5台目以降は次の段に中央寄せで並ぶ */
.tm-device__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin: 0 -40px !important;
}
.tm-device__list > li {
  flex: 0 0 calc((100% - 78px) / 4);
  min-width: 0;
}
.tm-device__item {
  border: 3px solid var(--tm-pink-line);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.tm-device__name {
  padding: 7px 6px;
  background: var(--tm-red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.tm-device__img {
  height: 150px;
  margin: 20px 0 18px;
}
.tm-device__img img {
  height: 100%;
  width: auto;
}
.tm-device__more {
  margin-bottom: 18px !important;
}
.tm-device__more a {
  position: relative;
  display: inline-block;
  min-width: 122px;
  padding: 2px 32px 2px 22px;
  border-radius: 999px;
  background: var(--tm-red);
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none !important;
}
.tm-device__more a::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.tm-device__more a:hover {
  background: var(--tm-red-dark);
}

/* 注意事項 */
.tm-notes {
  max-width: 950px;
  margin: 70px auto 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.tm-notes__title {
  font-weight: 700;
}

/* =========================================================
   オプションサービス
========================================================= */
.tm-option {
  padding: 110px 0 125px;
}
.tm-option__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tm-option__item {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--tm-red);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.tm-option__title {
  margin: 0 18px !important;
  padding: 14px 0 10px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--tm-red);
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}
.tm-option__title small {
  display: block;
  font-size: 1.5rem;
}
.tm-option__body {
  flex: 1;
  padding: 16px 18px 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.55;
}
.tm-option__note {
  margin-top: 8px !important;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.4;
}
.tm-option__price {
  padding: 8px;
  background: var(--tm-pink-bg);
  text-align: center;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.tm-option__price small {
  font-size: 0.69em;
}

/* スライダー（SPのみ有効） */
.tm-slider {
  position: relative;
}
.tm-slider__prev,
.tm-slider__next,
.tm-slider__dots {
  display: none;
}

/* =========================================================
   ご利用までの流れ
========================================================= */
.tm-flow {
  padding: 0 0 100px;
}
.tm-flow__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-step {
  display: flex;
  gap: 50px;
  padding: 32px 30px 36px 38px;
  border: 2px solid var(--tm-red);
  border-radius: 20px;
}
.tm-step__head {
  flex: 0 0 72px;
  text-align: center;
}
.tm-step__num {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--tm-red);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}
.tm-step__num small {
  font-size: 1.4rem;
  margin-bottom: 3px;
}
.tm-step__label {
  display: block;
  margin: 0 -20px;
  font-size: 1.6rem;
  font-weight: 700;
  white-space: nowrap;
}
.tm-step__body {
  flex: 1;
}
.tm-step__title {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0 16px !important;
}
.tm-step__text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #444;
}
.tm-step__docs {
  display: flex;
  gap: 30px;
}
.tm-step__docs li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #444;
}
.tm-step__docs img {
  flex-shrink: 0;
  width: 84px;
  border-radius: 50%;
  background: var(--tm-pink-bg);
}
.tm-step__note {
  margin-top: 12px !important;
  font-size: 1.3rem;
  font-weight: 700;
}

/* =========================================================
   よくあるご質問
========================================================= */
.tm-faq {
  padding: 0 0 90px;
}
.tm-faq__item + .tm-faq__item {
  margin-top: 30px;
}
.tm-faq__q {
  position: relative;
  display: block;
  width: 100%;
  padding: 19px 20px 19px 64px;
  border: none;
  background: #e3e3e3;
  color: #333;
  font: inherit;
  font-family: 'Noto Sans JP', YuGothic, "Yu Gothic", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
  cursor: default;
}
.tm-faq__q::before {
  content: "Q";
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tm-red);
  color: #fff;
  font-size: 1.7rem;
  line-height: 32px;
  text-align: center;
}
.tm-faq__a {
  padding: 24px 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.45;
}

/* =========================================================
   中間幅（768〜1359px）：左右の余白確保／キャラは枠の上へ
   ※ 右端固定のサイドボタン（幅60px）に被らないように
========================================================= */
@media screen and (min-width: 768px) and (max-width: 1359px) {
  .tm-family {
    margin-top: 110px;
  }
  .tm-family__chara--tere {
    width: 110px;
    left: 0;
    top: -96px;
    bottom: auto;
  }
  .tm-family__chara--net {
    width: 104px;
    right: 50px;
    top: -92px;
    bottom: auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1250px) {
  .tm-inner {
    padding: 0 40px;
  }
  .tm-card {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
  .tm-call,
  .tm-device__choice,
  .tm-device__list {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .tm-priceSummary {
    flex-wrap: wrap;
    gap: 14px 40px;
  }
  .tm-call__price {
    font-size: 3.4rem;
  }
  .tm-device__name {
    font-size: 1.5rem;
  }
}

/* =========================================================
   SP（〜767px）※ 375px アートボード基準
========================================================= */
@media screen and (max-width: 767px) {
  .tm {
    font-size: 1.3rem;
  }
  .tm-spOnly {
    display: inline;
  }
  .tm-inner {
    padding: 0 20px;
  }
  .tm-secTitle {
    font-size: 2.2rem;
    margin-bottom: 30px !important;
  }
  .tm-secTitle::after {
    margin-top: 16px;
  }
  .tm-secLead {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-top: -8px !important;
  }
  .tm-pill {
    width: 150px;
    padding: 2px 0;
    font-size: 2.0rem;
    margin-bottom: 18px !important;
  }
  .tm .btnOrg1,
  .tm .btnOrg1.tm-btnWide {
    width: 80%;
    margin-top: 26px;
  }
  .tm .btnOrg1 a {
    height: 46px;
  }
  .tm .btnOrg1 a span {
    padding-right: 24px;
    font-size: 1.3rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .tm .tm-moreBtn {
    width: 70%;
    margin-top: 30px;
  }
  .tm-or span {
    min-width: 96px;
    padding: 2px 14px;
    font-size: 1.3rem;
    border-width: 2px;
  }
  .tm-plus span {
    width: 40px;
    height: 40px;
    border-width: 2px;
  }
  .tm-plus span::before,
  .tm-plus span::after {
    width: 18px;
    height: 3px;
  }

  /* FV */
  .tm-hero {
    background-position: 72% center;
  }
  .tm-hero__inner {
    justify-content: flex-start;
    padding: 26px 20px 0;
  }
  .tm-hero__catch {
    font-size: 1.5rem;
    line-height: 1.7;
    letter-spacing: 0.12em;
    margin-bottom: 8px !important;
  }
  .tm-hero__logo {
    width: 250px;
    margin-left: -18px !important;
  }

  /* リード・魅力 */
  .tm-intro {
    padding: 34px 0 50px;
  }
  .tm-lead {
    font-size: 2.0rem;
    line-height: 1.5;
    letter-spacing: 0.06em;
    margin-bottom: 24px !important;
  }
  .tm-miryoku {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tm-miryoku__ribbon {
    width: 70px;
    font-size: 2.0rem;
    padding: 20px 0 28px;
  }
  .tm-miryoku__body {
    padding: 16px 22px 22px;
  }
  .tm-miryoku__title {
    font-size: 2.3rem;
    margin-bottom: 10px !important;
  }
  .tm-miryoku__text {
    font-size: 1.3rem;
  }

  /* 家族で使うと（SP：キャラはタイトルの左右） */
  .tm-family {
    margin-top: 40px;
    padding: 18px 12px 14px;
  }
  .tm-family__chara--tere,
  .tm-family__chara--net {
    top: 14px;
    bottom: auto;
    width: 64px;
  }
  .tm-family__chara--tere {
    left: 4px;
  }
  .tm-family__chara--net {
    right: 4px;
  }
  .tm-family__title {
    font-size: 2.6rem;
  }
  .tm-family__title::before,
  .tm-family__title::after {
    display: none;
  }
  .tm-family__sub {
    font-size: 1.4rem;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }
  .tm-family__case {
    padding: 12px 10px 14px;
  }
  .tm-family__caseHead {
    display: block;
  }
  .tm-family__caseTitle {
    font-size: 1.6rem;
    margin-bottom: 10px !important;
  }
  .tm-family__badge {
    display: table;
    margin: 0 0 6px;
    font-size: 1.3rem;
  }
  .tm-family__chip {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 1.2rem;
  }
  /* ［40G］＋［SIM］／＝／［合計］／▼／［1人あたり］ */
  .tm-family__calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
  }
  .tm-family__calc > :nth-child(n+4) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .tm-family__box {
    min-width: 0;
    min-height: 66px;
    gap: 6px;
    padding: 8px 6px;
  }
  .tm-family__box i,
  .tm-family__box svg {
    font-size: 2.4rem;
  }
  .tm-family__box--total {
    width: 60%;
    min-height: 0;
  }
  .tm-family__label {
    font-size: 1.2rem;
  }
  .tm-family__yen {
    font-size: 2.0rem;
  }
  .tm-family__op {
    font-size: 1.9rem;
    line-height: 1;
  }
  .tm-family__arrow {
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid var(--tm-red);
    border-bottom: 0;
  }
  .tm-family__result {
    width: 100%;
    margin-top: 12px;
    justify-self: stretch !important;
  }
  .tm-family__resultBadge {
    font-size: 1.5rem;
  }
  .tm-family__resultPrice {
    font-size: 3.4rem;
  }
  .tm-family__resultText {
    font-size: 1.5rem;
  }
  .tm-family__compare {
    flex-direction: column;
    gap: 10px;
  }
  .tm-family__phones {
    width: 100%;
  }
  .tm-family__phones li {
    font-size: 1.2rem;
  }
  .tm-family__phones li + li::before {
    left: -8px;
    top: 14px;
    font-size: 1.8rem;
  }
  .tm-family__phone {
    width: 34px;
    height: 50px;
    font-size: 1.2rem;
  }
  .tm-family__phonesTotal {
    font-size: 1.4rem;
  }
  .tm-family__phonesTotal span {
    font-size: 2.0rem;
  }
  .tm-family__arrow--big {
    border-left-width: 24px;
    border-right-width: 24px;
    border-top-width: 18px;
  }
  .tm-family__saves {
    width: 100%;
    flex-basis: auto;
  }
  .tm-family__save {
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 1.5rem;
  }
  .tm-family__save i,
  .tm-family__save svg {
    font-size: 2.0rem;
  }
  .tm-family__save strong {
    font-size: 2.8rem;
  }
  .tm-family__note {
    font-size: 1.1rem;
    text-align: left;
  }

  /* 料金プラン */
  .tm-price {
    padding: 40px 0 50px;
  }
  .tm-price .tm-inner {
    padding: 0 12px;
  }
  .tm-price .tm-secTitle {
    margin-bottom: 26px !important;
  }
  .tm-priceSummary {
    flex-direction: column;
    gap: 10px;
    padding: 0 18px;
  }
  .tm-priceSummary__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tm-priceSummary dt {
    min-width: 120px;
    text-align: center;
    font-size: 1.4rem;
  }
  .tm-priceSummary dd {
    font-size: 1.4rem;
  }
  .tm-priceSummary__note {
    text-align: left;
    padding: 0 18px;
    font-size: 1.1rem;
  }
  .tm-card {
    padding: 20px 16px 28px;
    border-radius: 18px;
  }
  .tm-card__lead {
    font-size: 1.3rem;
    margin-bottom: 14px !important;
  }
  .tm-planHeading {
    display: block;
    font-size: 1.9rem;
  }
  .tm-planDesc {
    font-size: 1.2rem;
  }

  /* 料金表（SP） */
  .tm-priceTable,
  .tm-priceTable thead,
  .tm-priceTable tbody {
    display: block;
  }
  .tm-priceTable thead tr,
  .tm-priceTable tbody tr {
    display: grid;
    grid-template-columns: 26% 1fr 1fr;
  }
  .tm-priceTable thead th {
    width: auto !important;
    font-size: 1.2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .tm-priceTable__planHead,
  .tm-priceTable__arrowHead,
  .tm-priceTable__plan {
    display: none !important;
  }
  .tm-priceTable thead th:nth-child(3) {
    grid-column: 2;
  }
  .tm-priceTable thead .tm-priceTable__setHead {
    grid-column: 3;
    line-height: 1.3;
  }
  .tm-priceTable tbody tr {
    grid-template-rows: auto auto;
    grid-template-areas:
      "gb base set"
      "gb arrow arrow";
    border-bottom: 1px solid var(--tm-gray-line);
    background: linear-gradient(to right, transparent 63%, var(--tm-yellow-cell) 63%);
  }
  .tm-priceTable tbody th,
  .tm-priceTable tbody td {
    height: auto;
    border-bottom: none;
  }
  .tm-priceTable__gb {
    grid-area: gb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    border-bottom: 1px solid #fff;
  }
  .tm-priceTable__base {
    grid-area: base;
    padding: 10px 0 2px;
    text-align: center !important;
    font-size: 1.9rem;
  }
  .tm-priceTable__set {
    grid-area: set;
    padding: 10px 0 2px;
    background: transparent;
    font-size: 1.9rem;
  }
  .tm-priceTable__arrow {
    grid-area: arrow;
    display: flex;
    justify-content: center;
    padding: 2px 0 8px;
    margin-right: 30%;
    margin-left: 30%;
  }
  .tm-priceTable__arrow span {
    flex: 1;
    margin-right: 12px;
    padding: 2px 0 2px 10px;
    font-size: 1.4rem;
  }
  .tm-priceTable__arrow span::after {
    right: -12px;
    border-top-width: 15px;
    border-bottom-width: 15px;
    border-left-width: 12px;
  }
  .tm-priceTable__note {
    font-size: 1.1rem;
  }
  .tm-childLine {
    flex-direction: column;
    gap: 4px;
  }
  .tm-childLine__plus {
    font-size: 2.4rem;
    line-height: 1;
  }
  .tm-childLine__box {
    width: 100%;
  }
  .tm-childLine__title {
    font-size: 1.2rem;
  }
  .tm-childLine__price {
    font-size: 1.9rem;
  }
  .tm-childLine__price small:first-child {
    font-size: 1.0rem;
  }
  .tm-childLine__note {
    font-size: 1.0rem;
  }

  .tm-addGiga {
    margin-top: 18px !important;
    padding: 8px 12px;
    font-size: 1.4rem;
  }
  .tm-option .btnOrg1 {
    margin-top: 30px;
  }

  /* 通話料（SP） */
  .tm-call {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 !important;
  }
  .tm-call__item {
    padding: 10px 8px 12px;
    border-width: 3px;
  }
  .tm-call__name {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    padding-bottom: 6px;
    margin-bottom: 8px !important;
  }
  .tm-call__price {
    font-size: 2.2rem;
  }
  .tm-call__desc {
    font-size: 0.9rem;
  }
  .tm-call__point {
    margin-top: 18px !important;
    font-size: 1.6rem;
    line-height: 1.6;
  }

  /* スマホ端末（SP） */
  .tm-device__choice {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }
  .tm-device__choiceBox {
    width: 100%;
    min-height: 0;
    padding: 16px 12px;
    border-width: 3px;
  }
  .tm-device__choiceTitle {
    font-size: 1.9rem;
  }
  .tm-device__choiceText {
    font-size: 1.4rem;
  }
  .tm-or--choice {
    position: relative;
    z-index: 1;
    margin: -14px 0 !important;
  }
  .tm-device__heading {
    font-size: 1.5rem;
    margin: 26px 0 12px !important;
  }
  .tm-device__list {
    margin: 0 !important;
  }
  .tm-device__name {
    padding: 4px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
  }
  .tm-device__img {
    height: 100px;
    margin: 12px 0 10px;
  }
  .tm-device__more {
    margin-bottom: 12px !important;
  }
  .tm-device__more a {
    min-width: 0;
    padding: 1px 26px 1px 18px;
    font-size: 0.9rem;
  }
  .tm-device__more a::after {
    right: 10px;
    width: 5px;
    height: 5px;
  }
  .tm-notes {
    margin-top: 40px;
    padding: 0 8px;
    font-size: 1.1rem;
  }

  /* スライダー（SP） */
  .tm-slider__track {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tm-slider__track::-webkit-scrollbar {
    display: none;
  }
  .tm-slider__track > li {
    flex: 0 0 calc(50% - 5px);
    scroll-snap-align: start;
  }
  .tm-slider__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
  }
  .tm-slider__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
  }
  .tm-slider__dots button.is-active {
    background: #333;
  }

  /* オプション（SP：1枚表示＋左右チラ見せ） */
  .tm-option {
    padding: 50px 0 80px;
  }
  .tm-option .tm-inner {
    padding: 0;
  }
  .tm-option .tm-secTitle,
  .tm-option .tm-secLead {
    padding: 0 20px;
  }
  .tm-option .tm-secLead {
    margin-bottom: 26px !important;
  }
  .tm-slider--option .tm-slider__track {
    padding: 0 30px;
    scroll-padding: 0 30px;
    gap: 14px !important;
  }
  .tm-slider--option .tm-slider__track > li {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .tm-option__title {
    min-height: 0;
    padding: 20px 0 12px;
    font-size: 2.2rem;
  }
  .tm-option__body {
    padding: 16px 20px 14px;
    font-size: 1.3rem;
  }
  .tm-slider__prev,
  .tm-slider__next {
    display: block;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
  }
  .tm-slider__prev {
    left: 2px;
  }
  .tm-slider__next {
    right: 2px;
  }
  .tm-slider__prev::after,
  .tm-slider__next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
  }
  .tm-slider__prev::after {
    border-right: 9px solid #aaa;
    transform: translate(-60%, -50%);
  }
  .tm-slider__next::after {
    border-left: 9px solid #aaa;
    transform: translate(-40%, -50%);
  }

  /* 流れ（SP） */
  .tm-flow {
    padding-bottom: 60px;
  }
  .tm-flow__list {
    gap: 12px;
  }
  .tm-step {
    display: block;
    padding: 18px 20px 20px;
  }
  .tm-step__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    text-align: left;
  }
  .tm-step__num {
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 1.4rem;
  }
  .tm-step__num small {
    font-size: 1.0rem;
  }
  .tm-step__label {
    margin: 0;
    font-size: 1.8rem;
  }
  .tm-step__title {
    font-size: 1.6rem;
    margin: 0 0 4px !important;
  }
  .tm-step__text {
    font-size: 1.3rem;
  }
  .tm-step__docs {
    flex-direction: column;
    gap: 10px;
  }
  .tm-step__docs li {
    font-size: 1.3rem;
  }
  .tm-step__docs img {
    width: 58px;
  }
  .tm-extLink--small {
    font-size: 0.9rem;
  }
  .tm-step__note {
    font-size: 0.9rem;
  }

  /* FAQ（SP：アコーディオン） */
  .tm-faq {
    padding-bottom: 60px;
  }
  .tm-faq__item + .tm-faq__item {
    margin-top: 16px;
  }
  .tm-faq__q {
    padding: 14px 14px 28px 56px;
    font-size: 1.6rem;
    cursor: pointer;
  }
  .tm-faq__q::before {
    left: 12px;
    top: 14px;
    transform: none;
  }
  .tm-faq__q::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #555;
    transform: translateX(-50%);
    transition: transform 0.2s;
  }
  .tm-faq__q[aria-expanded="true"]::after {
    transform: translateX(-50%) rotate(180deg);
  }
  .tm-faq__a {
    display: none;
    padding-top: 12px;
    font-size: 1.4rem;
    line-height: 1.7;
  }
  .tm-faq__item.is-open .tm-faq__a {
    display: block;
  }
}
