/* ========== CSS Variables (ブランド色は後で差し替え) ========== */
:root {
  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --brand: #e63946;       /* メイン */
  --brand-600: #ae2323;
  --accent: #ED6B00;       /* 強調 */
  --ink: #2B2B2B;
  --ink-2: #444;
  --ink-3: #6b7280;
  --bg: #fff;
  --bg-alt: #f7f8fb;
  --bd: #e5e7eb;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
  --container: 1000px;
  --sp: 16px;
}

/* ========== Base ========== */
html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
  letter-spacing: .02em;
  font-size: 14px;
}

/* Utility */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

/* Google Material Icon */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 1,
    'wght' 200,
    'GRAD' 0,
    'opsz' 24;
}

@media screen and (max-width: 768px) {
  body {
    width: 100%;
  }

  .container {
    width: 90%;
  }
}

/* ========== Header ========== */


.header-inner {
  display: flex;
  justify-content: space-between;
}

.logo {
  padding: 16px 0 16px 20px;
}
.logo img {
  width: 150px;
  height: auto;
}
.g-nav {
  display: flex;
}

.navlist {
  display: flex;
  padding: 24px;
}

.navlist li {
  padding: 0 16px;
  border-right: 1px solid;
  font-size: 14px;
  font-weight: 700;
}

.navlist li:last-child {
  border-right: none;
}

.header_action {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E63946;
  padding: 22px 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 700; /* 修正: 5600 → 600 */
}

@media screen and (max-width: 768px) {
  header {
    height: 60px;
  }

  .logo img {
    height: 28px;
    width: auto;
    padding: 0;
  }

  .nav_toggle {
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: #FFE2EC;
    z-index: 10;
  }

  .nav_toggle span {
    transition: all .3s;
    position: absolute;
    height: 2px;
    background-color: #E63946;
    width: 28px;
    margin: 16px;
    z-index: 3;
  }

  .nav_toggle span:nth-of-type(1) {
    top: 4px;
  }

  .nav_toggle span:nth-of-type(2) {
    top: 12px;
  }

  .nav_toggle span:nth-of-type(3) {
    top: 20px;
  }

  .nav_toggle.open span:nth-of-type(1) {
    top: 8px;
    transform: translateY(6px) rotate(-45deg);
  }

  .nav_toggle.open span:nth-of-type(2) {
    opacity: 0;
  }

  .nav_toggle.open span:nth-of-type(3) {
    top: 20px;
    transform: translateY(-6px) rotate(45deg);
  }

  .navlist {
    display: none;
    text-align: center;
    padding: 0;
  }

  .navlist.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 2;
    width: 180px;
  }

  .navlist li {
    border-right: 0;
    padding: 16px 0;
    background-color: #fff;
  }

  .navlist li:nth-child(even) {
    background-color: #F3F3F3;
  }

  .header_action {
    height: 60px;
    width: 120px;
    padding: 12px;
    justify-content: center;
  }
}

/* ========== FV ========== */
.fv {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #FFF5F5;
}

.fv::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffe2ec; /* 修正: 重複プロパティを削除 */
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.fv_inner {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}

.fv_title img{
  width: 700px;
  height: auto;
  }

.fv_copy {
  font-size: 24px;
  font-weight: 700;
  color: #3a3737;
  font-style: italic;
  margin: 8px 0 0 0;
}

.fv_emblem {
  display: block;
  margin: 20px auto;
}

.fv_phone {
  margin: 10px 0 -50px 40px;
  z-index: -1;
  position: sticky;
}

.fv_after01 {
  position: absolute;
  top: 50px;
  right: 100px;
  z-index: 2;
}

.fv_cta_btn {
  display: block;
}

.fv_cta_free,
.fv_cta_download {
  display: inline-block;
  width: 330px;
  background-color: #ED6B00;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 60px;
  border: solid 2px #fff;
  box-shadow: 0 4px 2px 0 rgba(0, 0, 0, .25);
  position: relative;
  margin: 24px 0;
  padding: 14px 30px 16px 0;
  text-align: center;
}

.fv_cta_download {
  width: 280px;
  margin-left: 16px;
  background-color: #e63946; /* 統合: 下方の重複ルールをここに */
}

.fv_cta_free::before {
  content: 'クレジットカード登録不要';
  font-size: 14px;
  font-weight: 700;
  top: -18px;
  color: #ED6B00;
  border: solid 2px #ED6B00;
  background-color: #fff;
  padding: 2px 24px;
  border-radius: 20px;
  position: absolute;
  margin: 0 0 0 8px;
}

.fv_cta_free::after,
.fv_cta_download::after {
  font-family: 'material symbols outlined';
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
}

.fv_cta_free::after {
  content: '\e5cc';
  color: #ED6B00;
}

.fv_cta_download::after {
  content: '\e313';
  color: #e63946;
}

@media screen and (max-width: 768px) {
  section {
    position: relative;
    z-index: auto;
  }

  .fv_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0 0 0;
  }

  .fv_title {
    width: 90%;
    margin: 0 auto;
  }

  .fv_title img{
    width: 100%;
    height: auto;
  }

  .fv_copy {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #3a3737;
    font-style: italic;
    margin: 6px 0 8px;
  }

  .fv_phone {
    width: 100%;
    display: block;
    margin: 36px auto 0;
    z-index: 0;
  }

  .fv_emblem_box {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
  }

  .fv_emblem {
    position: absolute;
    width: 75%;
    z-index: 1;
    display: block;
    margin: 0 auto;
  }

  .sp_fv_box {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .sp_fv_emblem {
    display: block;
    position: relative;
    margin: 0 auto;
    z-index: 1;
    width: 75%;
    height: auto;
  }

  .sp_fv_phone {
    position: relative;
    z-index: auto;
    margin: -40px 0 0 0;
    width: 100%;
    height: auto;
  }

  .fv_cta_free,
  .fv_cta_download {
    background-color: #ED6B00;
    color: #fff;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    text-align: center;
  }

  .fv_cta_download {
    background-color: #e63946;
  }

  .fv_cta_free::before {
    content: 'クレジットカード登録不要';
    font-size: 12px;
    top: 6px;
    color: #ED6B00;
    border: none;
    background-color: #fff;
    padding: 2px 20px;
    border-radius: 20px;
    position: absolute;
    margin: 0 0 0 8px;
  }

  .fv_cta_free::after {
    font-family: 'material symbols outlined';
    content: '\e5cc';
    font-size: 30px;
    color: #fff;
    font-weight: 400;
    position: relative;
    background: none; /* 修正: background-color:none → background: none */
    top: -16px;
    left: 16px;
    transform: none;
    width: 0;
    height: 0;
    border-radius: 50%;
  }

  .fv_cta_download::after {
    font-family: 'material symbols outlined';
    content: '\e313';
    font-size: 20px;
    color: #fff;
    font-weight: 400;
    position: relative;
    right: 65px;
    top: 18px;
    transform: none;
    width: 0;
    height: 0;
    background: none; /* 修正: background-color:none → background: none */
    border-radius: 50%;
  }

  .fv_cta_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  }

  .fv_cta_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    font-size: 18px;
  }

  .fv_cta_free {
    width: 60%;
    padding: 32px 0 16px 0;
  }

  .fv_cta_download {
    width: 40%;
    padding: 6px 0 18px 0;
  }
}

.fv_under_box {
  font-size: 24px;
  font-weight: 700;
  padding: 12px 0 16px;
  margin: 0 calc(50% - 50vw);
  background-color: #FFF5F5;
}
.logo_marquee_wrap {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;
}

.logo_marquee {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.logo_marquee img {
  height: 30px;
  width: auto;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo_box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.section {
  padding: 36px 0;
  margin: 24px 0;
}

.section_title_before {
  font-size: 20px;
  font-weight: 700;
  color: #E63946;
  margin: 0 0 12px 0;
}

.section_title {
  display: inline;
  color: #fff;
  font-size: 36px;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 4px 14px 6px 20px;
  background-color: #E63946;
  line-height: 1.5em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section_text {
  margin: 24px 0 0 0;
}

@media screen and (max-width: 768px) {
  .section_title_before {
    margin: 0 0 6px 0;
  }

  .section_title {
    font-size: 34px;
    padding: 0 8px 2px 14px;
  }

  .fv_under_box {
    font-size: 16px;
  }
}

/* ========== 選ばれる理由 ========== */
.reason {
  position: relative;
  margin: 40px 0 20px 80px;
  padding: 0 0 40px 0;
}

.no {
  font-family: Inter;
  letter-spacing: 0.05em;
  position: absolute;
  top: -6px;
  left: -36px;
  font-size: 60px;
  font-weight: 700;
  color: #E63946;
}

.reason_title {
  margin: 0 0 0 36px;
  font-size: 28px;
  font-weight: 700;
  padding: 4px 14px 6px 20px;
  color: #E63946;
  text-align: left;
}

.reason_box {
  display: flex;
  align-items: flex-start;
  padding: 28px 0 40px 72px;
  border-bottom: 1px solid #E63946;
  border-left: 1px solid #E63946;
}

.reason_img {
  width: 350px;
  height: auto;
}

.reason_textbox {
  font-size: 18px;
  width: 750px;
  margin: 0 0 0 40px;
  text-align: justify;
  line-height: 1.6em;
}

@media screen and (max-width: 768px) {
  .reason {
    position: relative;
    margin: 96px 0 0 36px;
    padding: 0;
  }

  .no {
    position: absolute;
    top: -76px;
    font-size: 56px;
    font-weight: 700;
    color: #E63946;
  }

  .reason_title {
    position: absolute;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    padding: 0 14px 6px 24px;
    color: #E63946;
    text-align: left;
  }

  .reason_box {
    display: flex;
    flex-direction: column-reverse;
    padding: 120px 0 32px 24px;
    border-bottom: 1px solid #E63946;
    border-left: 1px solid #E63946;
  }

  .reason_img {
    width: 100%;
    height: auto;
  }

  .reason_textbox {
    font-size: 16px;
    letter-spacing: -0.01em;
    width: 100%;
    margin: 0 0 24px 0;
    text-align: justify;
    line-height: 1.5em;
  }
}

/* ========== CTA ========== */
.bubble {
  position: relative;
  display: block;
  top: -40px;
  margin: 0 0 10px 0;
  padding: 12px 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #e63946 transparent transparent;
  translate: -50% 100%;
}

.cta_box {
  display: block;
  margin: -10px 0 0 0;
  font-size: 20px;
}

.cta_price {
  margin: -8px 0 0 0;
  font-size: 56px;
}

.cta_price .num_font {
  letter-spacing: 0.03em;
  margin: 0 4px 0 10px;
}

.cta_btn {
  display: inline-block;
}

.cta_free,
.cta_download {
  display: inline-block;
  width: 360px;
  background-color: #ED6B00;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 60px;
  border: solid 2px #fff;
  box-shadow: 0 4px 2px 0 rgba(0, 0, 0, .25);
  position: relative;
  margin: 36px 8px;
  padding: 14px 20px 16px 0;
}

.cta_free::before {
  content: 'クレジットカード登録不要';
  font-size: 14px;
  font-weight: 700;
  top: -18px;
  color: #ED6B00;
  border: solid 2px #ED6B00;
  background-color: #fff;
  padding: 2px 24px;
  border-radius: 20px;
  position: absolute;
  margin: 0 0 0 8px;
}

.cta_free::after,
.cta_download::after {
  font-family: 'material symbols outlined';
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
}

.cta_free::after {
  content: '\e5cc';
  color: #ED6B00;
}

.cta_download {
  background-color: #e63946;
}

.cta_download::after {
  content: '\e313';
  color: #e63946;
}

@media screen and (max-width: 768px) {
  .bubble {
    font-size: 18px;
  }

  .cta_box,
  .bg_red,
  .bg_pink { /* TODO: 改善する */
    position: relative;
    z-index: auto;
  }

  .cta_box {
    font-size: 12px;
    width: 100%;
  }

  .cta_price {
    font-size: 36px;
  }

  .cta_free,
  .cta_download {
    width: 100%;
    font-size: 20px;
    padding: 14px 20px 12px 0;
  }

  .cta_free::before {
    content: 'クレジットカード登録不要';
    font-size: 12px;
    font-weight: 700;
    top: -16px;
    color: #ED6B00;
    border: solid 2px #ED6B00;
    background-color: #fff;
    padding: 2px 18px;
    border-radius: 20px;
    position: absolute;
    margin: 0 0 0 8px;
  }

  .cta_free::after {
    font-size: 28px;
    right: 12px;
    top: 50%;
    width: 36px;
    height: 36px;
  }

  .cta_download::after {
    font-size: 28px;
    right: 12px;
    top: 50%;
    width: 36px;
    height: 36px;
  }

  .cta_free {
    margin: 40px 0 12px 0;
  }

  .cta_download {
    margin: 0;
  }
}

/* ========== Product Features (機能) ========== */
.features {
  display: flex;
  margin: 24px 0 0 0;
}

.features:first-child {
  margin: 40px 0 0 0;
}

.features_card {
  display: flex;
  justify-content: space-between;
  width: 50%;
  background-color: #FFF5F5;
  border-radius: 12px;
  margin: 0 10px;
  padding: 20px 30px;
}

.features_box {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.features_title {
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px 0;
}

.features_text {
  text-align: left;
}

.features_img {
  margin: 0 0 0 10px;
  width: auto;
  max-width: 120px;
  max-height: 150px;
}

@media screen and (max-width: 768px) {
  .features {
    flex-direction: column;
  }

  .features_card {
    width: 100%;
    padding: 20px 30px;
    margin: 0;
  }

  .features_card:nth-child(even) {
    margin: 20px 0 0 0;
  }

  .features_box {
    width: 100%;
  }

  .features_title {
    font-size: 20px;
  }

  .features_text {
    text-align: left;
  }

  .features_img {
    margin: 0 0 0 10px;
    width: auto;
    max-width: 120px;
    max-height: 150px;
  }
}

/* ========== Message ========== */
.message {
  text-align: center;
  position: relative;
}

.ai_illust01,
.ai_illust02,
.ai_illust03,
.ai_illust04,
.ai_illust05,
.ai_illust06 {
  position: absolute;
  z-index: 1;
}

.ai_illust01 {
  top: -40px;
  left: 20px;
  transform: rotate(-90deg);
}

.ai_illust02 {
  top: 70px;
  left: 120px;
  transform: rotate(20deg);
}

.ai_illust03 {
  top: -40px;
  right: 120px;
}

.ai_illust04 {
  top: 60px;
  right: 20px;
  transform: rotate(180deg);
}

.ai_illust05 {
  top: 220px;
  left: 20px;
  transform: rotate(180deg);
}

.ai_illust06 {
  top: 220px;
  right: 20px;
}

.message_bubble {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.message_bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 178px;
  left: 50%;
  border-style: solid;
  border-width: 50px 50vw 0 50vw;
  border-color: #ED6B00 transparent transparent transparent;
  transform: translateX(-50%);
}

.message_text {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  padding: 40px 0 10px 0;
  line-height: 64px;
}

.message_text span {
  padding: 0 8px;
  margin: 0 4px;
}

.message_box {
  padding: 60px 0 36px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message_text_bottom {
  font-size: 36px;
  margin: 20px 0 0 0;
  font-weight: 700;
  color: #ED6B00;
  background: linear-gradient(transparent 70%, #FFEE11 70%);
}

@media screen and (max-width: 768px) {
  .message_bubble::after {
    top: 125px;
  }

  .message_text {
    font-size: 26px;
    line-height: 1.7em;
    padding: 28px 0 10px 0;
  }

  .message_box img {
    width: 90%;
  }

  .message_text_bottom {
    font-size: 24px;
  }

  .ai_illust01,
  .ai_illust02,
  .ai_illust05,
  .ai_illust06 {
    width: 20%;
  }

  .ai_illust01 {
    top: -10%;
  }

  .ai_illust02 {
    left: 85%;
  }

  .ai_illust03,
  .ai_illust04,
  .ai_illust05,
  .ai_illust06 {
    display: none;
  }
}

/* ========== 料金プラン ========== */
/* プラン別タブ */
.tab_box {
  display: flex;
  justify-content: center;
  margin: 24px 0 0 0;
}

.plan_tab01,
.plan_tab02,
.plan_tab03 {
  width: 236px;
  height: 44px;
  font-size: 18px;
  font-weight: 700;
  margin: 44px 6px 20px;
  position: relative;
  background-color: #E63946;
  border-radius: 8px;
  color: #fff;
  line-height: 2.3em;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3);
}

.plan_tab02,
.plan_tab03 {
  background-color: #D9D9D9;
  color: #5C5C5C;
}

.plan_tab01::before {
  position: absolute;
  content: '18か月分お得';
  font-size: 14px;
  color: #E63946;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plan_tab02::before {
  position: absolute;
  content: '3か月分お得';
  font-size: 14px;
  color: #E63946;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* 料金プラン */
.price {
  margin: 0 0 100px 0;
  overflow: visible;
  border-radius: 12px;
}

.price_table {
  margin: 12px auto 0;
  border: 1px solid #E63946;
  width: 90%;
  border-radius: 12px;
  overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
}

.price_table tr {
  line-height: 44px;
}

.price_table tr:nth-child(odd) {
  background-color: #FFF5F5;
}

.price_table th {
  background-color: #E63946;
  color: #fff;
  padding: 12px 0;
}

.price_table td .material-symbols-outlined {
  padding: 13px 0;
  font-size: 18px;
}

.price_table tr td:first-child {
  min-width: 120px;
  text-align: left;
  padding: 8px 0 8px 24px;
  font-weight: 700;
  line-height: 1.3em;
  font-size: 12px;
  align-content: center;
}

.price_table .red td {
  padding: 12px;
}

/* 四隅のセルに角丸を手動で当てる */
.price_table tr:first-child th:first-child {
  border-radius: 12px 0 0 0;
}

.price_table tr:first-child th:last-child {
  border-radius: 0 12px 0 0;
}

.price_table tr:last-child td:first-child {
  border-radius: 0 0 0 12px;
}

.price_table tr:last-child td:last-child {
  border-radius: 0 0 12px 0;
}

.reference {
  display: block;
  margin: 6px 0 0 0;
  font-size: 9px;
  line-height: 12px;
  font-weight: 400;
}

.table_plan_text {
  text-align: center;
}

.table_price_text {
  font-size: 28px;
  font-weight: 700;
}

/* 他社比較 */

.compare {
  margin: 0 0 100px 0;
  overflow: visible;
  border-radius: 12px;
}

.price_table {
  margin: 12px auto 0;
  border: 1px solid #E63946;
  width: 90%;
  border-radius: 12px;
  overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
}
.compare_table {
  margin: 24px 0 0 0;
  border: 1px solid #D3D3D3;
  width: 90%;
    overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
    border-radius: 12px;
      margin-left: auto;
  margin-right: auto;
  }

  /* 四隅のセルに角丸を手動で当てる */
.compare_table tr:first-child th:first-child {
  border-radius: 12px 0 0 0;
}

.compare_table tr:first-child th:last-child {
  border-radius: 0 12px 0 0;
}

.compare_table tr:last-child td:first-child {
  border-radius: 0 0 0 12px;
}

.compare_table tr:last-child td:last-child {
  border-radius: 0 0 12px 0;
}

.compare_table tr:nth-child(odd) {
  background-color: #FFF5F5;
}

.compare_table th {
  background-color: #D3D3D3;
  color: #2B2B2B;
  padding: 12px 0;
}

.compare_table td .material-symbols-outlined {
  padding: 13px 0;
  font-size: 18px;
}

.compare_table tr td:first-child {
  max-width: 100px;
  text-align: left;
  padding: 8px 0 8px 24px;
  font-weight: 700;
  line-height: 1.3em;
  font-size: 12px;
  align-content: center;
}

.compare_table .red td {
  padding: 12px;
}



/* ヘッダー行（th） */
.compare_table thead th {
  background-color: #f3f3f3;
  color: #2B2B2B;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
}


/* セクションヘッダー行 */
.compare_section_header td {
  background-color: #f3f3f3 !important;
  color: #2B2B2B;
  font-weight: 700;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
}

/* 列幅均等 */
.compare_table th,
.compare_table td {
  width: 18%;
  text-align: center;
  padding: 10px 8px;
}

.compare_table tr td:first-child {
  width: 28%;
  text-align: left;
  padding-left: 16px;
  background-color: #fff;
}
.compare_table thead th {
  background-color: #D3D3D3;
}


/* SiteLeadのチェックアイコンを白に */
.compare_table tbody td:nth-child(2) .material-symbols-outlined {
  color:  #E63946;
}

/* 奇数偶数の背景をすべて白に */
.compare_table tr:nth-child(odd),
.compare_table tr:nth-child(even) {
  background-color: #fff;
}

/* セクションヘッダー行だけグレー */
.compare_section_header td {
  background-color: #f3f3f3 !important;
}

/* SiteLead列を赤文字 */
.compare_table tbody td:nth-child(2) {
  color: #E63946;
  font-weight: 700;
  background-color: #fff; /* 赤背景をリセット */
}

/* SiteLead列のアイコンも赤に */
.compare_table tbody td:nth-child(2) .material-symbols-outlined {
  color: #E63946;
}

/* SiteLead列を赤枠で囲む */
.compare_table thead th:nth-child(2),
.compare_table tbody td:nth-child(2) {
  border-left: 2px solid #E63946;
  border-right: 2px solid #E63946;
}

.compare_table thead th:nth-child(2) {
  border-top: 2px solid #E63946;
}

.compare_table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid #E63946;
}
.compare_table thead th:nth-child(2) {
  background-color: #E63946;
  color: #fff;
}
.table_plan_text_before {
  position: relative;
}

.table_plan_text_before::before {
  content: '＼一番人気／';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #E63946;
  border-radius: 30px;
  padding: 0 8px;
  border: 2px solid #E63946;
  background-color: #fff;
  z-index: 1;
  font-size: 12px;
  line-height: 18px;
}

.price_table th,
.price_table td {
  width: 18%;
  text-align: center;
}

.price_table tr td:first-child {
  width: 28%;
}

/* 奇数行（ピンク） */
.price_table tr:nth-child(odd) td:first-child {
  background-color: #FFF5F5;
}

/* 偶数行（白） */
.price_table tr:nth-child(even) td:first-child {
  background-color: #fff; /* 修正: #FFf → #fff */
}
/* マスター列を赤枠で囲む */
.price_table thead tr:first-child th:nth-child(4),
.price_table tbody td:nth-child(4) {
  border-left: 2px solid #E63946;
  border-right: 2px solid #E63946;
}

.price_table thead tr:first-child th:nth-child(4) {
  border-top: 2px solid #E63946;
}

.price_table tbody tr:last-child td:nth-child(4) {
  border-bottom: 2px solid #E63946;
}
@media screen and (max-width: 768px) {
  .price_table th:first-child,
  .price_table td:first-child {
    position: sticky;
    left: 0;
    z-index: 0;
  }

  .price_table td:first-child {
    background-color: inherit;
  }

  .price_table th:first-child {
    background-color: #E63946;
  }

  .plan_tab01,
  .plan_tab02 {
    font-size: 14px;
    line-height: 1.3em;
  }

  .plan_tab01::before,
  .plan_tab02::before {
    top: -24px;
  }
    .price_table {
    width: max-content; /* 内容に合わせて広げる */
    min-width: 100%;
  }

  .price_table th,
  .price_table td {
    min-width: 100px; /* 最低幅を確保 */
    white-space: nowrap;
  }

  .price_table tr td:first-child {
    min-width: 130px;
  }
  .compare_table th:first-child,
  .compare_table td:first-child {
    position: sticky;
    left: 0;
    z-index: 0;
  }

      .compare_table {
    width: max-content; /* 内容に合わせて広げる */
    min-width: 100%;
  }

    .compare_table th,
  .compare_table td {
    min-width: 100px; /* 最低幅を確保 */
    white-space: nowrap;
  }
  .compare_table th:first-child,
  .compare_table td:first-child {
    position: sticky;
    left: 0;
    z-index: 0;
  }
  .compare_table th,
  .compare_table td {
    min-width: 100px; /* 最低幅を確保 */
    white-space: nowrap;
  }

  .compare_table tr td:first-child {
    min-width: 130px;
  }
}

/* ========== 利用者の声 ========== */
.voice-list {
  display: flex;
  justify-content: center;
  margin: 24px calc(50% - 50vw) 0;
  overflow-x: scroll;
  -ms-overflow-style: none;  /* IE */
  scrollbar-width: none;     /* Firefox */
}

.voice-list::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

.voice_box {
  width: 20%;
  min-width: 300px;
  text-align: left;
  background-color: #FFFAF1;
  margin: 0 12px;
  border-radius: 12px;
  padding: 20px;
}

.voice_who {
  display: flex;
  margin: 0 0 16px 0;
}

.voice_img {
  width: 70px;
  height: 70px;
  display: inline-block;
  margin: 0 20px 0 0;
}

.voice_name {
  margin: 8px 0 0 0;
}

.voice_text {
  font-size: 12px;
  text-align: justify;
  line-height: 18px;
}

/* ========== よくある質問 ========== */
details {
  margin: 20px 0 12px 0;
}

summary {
  display: block;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #2B2B2B;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  line-height: 56px;
  padding: 0 12px;

  &::-webkit-details-marker {
    display: none;
  }
}

summary::after {
  position: absolute;
  right: 20px;
  line-height: 56px;
  font-family: 'material symbols outlined';
  content: '\e313';
  font-size: 32px;
  vertical-align: middle;
  margin-right: 8px; /* 修正: 不完全なコメント削除 */
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details .answer {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

@media screen and (max-width: 768px) {
  summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.4;
    padding: 16px 12px;
  }

  summary::after {
    position: static;
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 0;
  }
}

.answer {
  text-align: left;
  font-size: 16px;
  padding: 12px 48px 12px 12px;
  line-height: 28px;
}

/* ========== 資料ダウンロード ========== */
.download {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px 0;
  margin: 24px 0;
}

.download_deteil{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 36px 0 0 0;
}

.cta_lead{
  margin: 0 0 20px 12px;
}

.cta_lead_list .material-symbols-outlined{
  position: relative;
  top: 6px;
  margin: 0 4px 0 0;
}

@media screen and (max-width: 768px) {
  /* フォーム横幅 */
  iframe {
    width: 85%;
  }
  .download_deteil{
  flex-direction: column;
  align-items: center;
  margin: 12px 0 20px;
}
.cta_lead{
margin: 12px 0 0 0;
}

}

/* ========== Footer ========== */
footer{
  padding: 24px 0 36px;
}
.footer_brand {
  margin: 0 0 24px 0;
}

.footer_corp {
  font-size: 16px;
  line-height: 18px;
}

.footer_corp_after {
  font-size: 10px;
}

.footer_address {
  margin: 12px 0;
}

.footer_copy {
  margin: 0 calc(50% - 50vw);
  padding: 40px 0 0 0;
  border-top: 1px solid #2B2B2B;
}


@media screen and (max-width: 768px) {
footer{
  padding: 24px 0 120px;
}
}

/* ========== カラーパレット ========== */
.bg_badge {
  margin: 0 calc(50% - 50vw);
  background-color: #FFFAF1;
}

.bg_orange {
  margin: 0 calc(50% - 50vw);
  background-color: #ED6B00;
}

.bg_pink {
  margin: 0 calc(50% - 50vw);
  background-color: #FFF5F5;
}

.bg_pink_gradation {
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(255, 226, 236, 1) 0%, rgba(255, 255, 255, 1) 20%);
}

.bg_white {
  margin: 0 calc(50% - 50vw);
  background-color: #fff;
}

.bg_red {
  margin: 0 calc(50% - 50vw);
  background-color: #E63946;
}

.bg_black {
  background-color: #000;
}

.red {
  color: #E63946;
}

.black {
  color: #2b2b2b;
}

/* ========== フォント ========== */
.big_text {
  font-size: 1.5em;
}

.small_text {
  font-size: 0.8em;
}

.bold {
  font-weight: 700;
}

.num_font {
  font-family: Inter;
}

.italic {
  font-style: italic;
}

/* ========== 余白調整 ========== */
.mt40 {
  margin-top: 40px;
}

.pt0 {
  padding-top: 0;
}

.pb0 {
  padding-bottom: 0;
}

a:hover {
  opacity: 0.8;
}

.section:has(.message) {
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 768px) {
.price {
  margin: 0;
}



}
.compare {
  margin: 0;
  padding: 0;
}

#compare {
  padding-bottom: 0;
}
/* ========== PC / SP 表示切り替え ========== */
.pc_only {
  display: inline;
}

.sp_only {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc_only {
    display: none;
  }

  .sp_only {
    display: inline;
  }
}