@charset "UTF-8";

.ad_area {
  display: none;
} /*審査のために一時的に非表示*/
/* ========== Reset CSS (2025版) ========== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
figcaption,
dl,
dt,
dd,
ul,
ol,
li,
fieldset,
legend,
label,
table,
th,
td,
form,
input,
textarea,
select,
button {
  font: inherit;
  vertical-align: baseline;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  border: none;
  background: none;
  appearance: none;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family:
    Lato,
    Noto Sans JP,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: #333;
  background-color: #fff;
}

textarea {
  border: 1px solid #ccc;
  padding: 0.5em;
  font-size: 1.4rem;
  border-radius: 4px;
  resize: vertical;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

button {
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 4px;
}

/* clearfix */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ========== Reset CSS ここまで ========== */
.mark1 {
  font-weight: bold; /* 必要に応じて追加 */
  font-size: 1.1em;
}

.line1 {
  background: linear-gradient(transparent 80%, #5ffeff 60%);
}
table {
  margin-bottom: 1em;
}
th {
  text-align: left;
  font-weight: bold;
}

body {
  padding: 0;
  /* background: #f9f9f9; */
}

.section {
  width: 100%;
  padding: 1rem 0;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 768px) {
  .inner {
    padding: 0 40px;
  }
  #main .inner {
    padding: 20px 30px;
  }
  #side {
    margin-left: 40px;
  }
} /* @media (min-width: 768px) { 終了 */
h1 {
  font-size: 7vw; /* スマホ向け */
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.8rem; /* PC向け */
    line-height: 1.5;
  }
} /* @media (min-width: 768px) { 終了 */

textarea {
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
}

#input {
  width: 100%;
  height: 230px;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
#input:focus {
  border-color: #8b5cf6; /* 紫系 */
  outline: none;
  background-color: #fdfcff;
}

.input-guide {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 0.5em;
}

.char-count {
  text-align: right;
  font-size: clamp(0.8rem, 2.8vw, 1rem);
}

.char-count.over {
  color: red;
}

/* ボタン風ラジオ対応 */
.radio-btn {
  width: 200px; /* 固定幅で安定表示 */
  display: inline-flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  padding: 10px 16px;
  margin: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  background-color: #eee;
  color: #000;
  user-select: none;
  transition:
    background-color 0.2s,
    color 0.2s;
  text-align: center;
  white-space: nowrap; /* 改行防止 */
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + label.radio-btn {
  background-color: #522f60;
  color: white;
}

input[type="radio"]:checked + label.radio-btn.green {
  background-color: #316745;
  color: white;
}

.radio-btn {
  background-color: #eee;
  padding: 1em 1.2em;
  margin: 0.5em;
  border-radius: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
}
input[type="radio"]:checked + .radio-btn {
  background-color: #5b21b6; /* 紫 */
  color: white;
  border-color: #5b21b6;
  transform: scale(1.05);
  font-weight: bold;
}

#main .textform {
  background-color: #f9f5ff;
  padding: 0;
  border-radius: 1em;
}

.textform h2,
.textform h3 {
  color: #4c1d95; /* 深い紫 */
}

.textform .mark2 {
  margin-bottom: 1rem;
}

textarea.over {
  border: 2px solid red !important;
}

/* 共通スタイル */
.consent-box {
  background-color: #f8f8ff;
  border-left: 4px solid #1e40af; /* indigo-800 */
  padding: 1em;
  /* margin-top: 1em; */
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  border-radius: 6px;
}

.consent-box a {
  color: #1e40af;
  text-decoration: underline;
}

.consent-box ul {
  margin: 0.5em 0 0;
}

.consent-box li {
  margin-bottom: 0.5em;
}

/* スマホ用メディアクエリ */
@media screen and (max-width: 640px) {
  .consent-box {
    font-size: 0.9rem;
    padding: 0.8em;
  }
}

/* レイアウト */
.mode-buttons,
.purpose-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.purpose-buttons + p {
  text-align: center;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  color: #555;
  margin-top: -8px;
  margin-bottom: 12px;
}

.result-actions {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: center;
}

.result-actions button {
  padding: 16px 16px;
  border-radius: 4px;
  border: 1px solid #bbb;
  background: #f8f8f8;
  cursor: pointer;
  transition: background 0.2s;
  width: 80%;
  text-align: center;
  font-size: 4vw;
}

.result-actions button:hover {
  background: #e0e0e0;
}

.retry-notice {
  font-size: clamp(0.8rem, 4vw, 1.2rem);
  color: #555;
  margin-bottom: 0.5em;
  text-align: center;
}

@media (min-width: 600px) {
  .result-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .result-actions button {
    width: auto;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }
} /* @media (min-width: 600px) { 終了 */

.page-ad button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 1em;
}

#outputText {
  background-color: #bce1ff;
  border: 1px solid #ccc; /* 枠線 */
  padding: 1em; /* 内側の余白 */
  border-radius: 6px; /* 角丸 */
  font-size: clamp(1rem, 2.5vw, 1.2rem); /* 読みやすい文字サイズ */
  white-space: pre-wrap; /* 自動折り返しを有効に */
  word-break: break-word; /* 長い単語も折り返す */
  margin-bottom: 1em; /* 下に余白 */
}

.site-footer {
  color: #000;
  padding: 1em;
  font-size: 0.9em;
  position: relative;
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.footer-nav {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
}

.footer-nav a:hover {
  text-decoration: underline;
  color: #ccc;
}

.copyright {
  font-size: 0.9em;
  color: #333;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
}

.footer-inner.footer-notice {
  text-align: center;
  flex-direction: column;
  font-size: 0.85em;
  color: #666;
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
  }

  .copyright {
    margin-right: auto;
  }
} /* @media (min-width: 600px) { 終了 */

body .section:last-of-type {
  /* margin-bottom: 0px; */
}

/*2コラム*/
.content-wrapper {
  display: flex;
  /* gap: 2rem; */
  flex-wrap: wrap;
  padding: 0 20px;
}

#main {
  flex: 1 1 0%;
  min-width: 0;
}

#side {
  flex: 0 0 300px;
  max-width: 300px;
}

#side .ad-box,
#side .column-list {
  margin-bottom: 2rem;
}

#side_contents {
  padding-right: 1.5rem;
  padding-left: 5vw;
}

@media (min-width: 768px) {
  #side_contents {
    padding-right: 1.5rem;
    padding-left: initial;
    padding-top: 1em;
  }
} /* @media (min-width: 768px) { 終了 */

.column-list h2,
.section h3 {
  font-weight: bold;
  color: #222;
  border-left: 4px solid #555; /* 濃グレーに変更 */
  padding-left: 0.6em;
  margin-bottom: 0.8em;
  line-height: 1.4;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.section h3 {
  font-size: 4.5vw;
}

@media (min-width: 768px) {
  .section h3 {
    font-size: 2rem;
  }

  .single .section h3 {
    font-size: 1.5rem;
  }
  .column-list h2 {
    font-size: 1.5rem;
  }
} /* @media (min-width: 768px) { 終了 */

.textform form {
  background-color: #fff;
  padding: 2em 3em;
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1em;
  margin-top: 1em;
}

@media (max-width: 768px) {
  .textform form {
    padding: 10vw 4vw;
  }
}

.textform h2 {
  font-weight: bold;
  padding-left: 0em;
  margin-bottom: 0.8em;
  line-height: 1.4;
  font-size: 6vw; /* モバイル初期値 */
}

@media (min-width: 768px) {
  .textform h2 {
    font-size: 2rem;
    text-align: center;
  }
} /* @media (min-width: 768px) { 終了 */

.column-list ul {
  padding: 0;
  list-style: disc outside;
  margin-left: 2rem;
}

.column-list li {
  margin-bottom: 0.5em;
}

.column-list li a {
  color: #333;
  text-decoration: none;
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    padding: 0;
  }

  #side {
    flex: 1 1 auto;
    min-width: 100%;
    /* padding-bottom: 50vw; */
  }
} /* @media (max-width: 768px) { 終了 */

#hero h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-align: center;
  padding: 0 0 1.5em 0;
  font-weight: bold;
}

#hero p {
  /* width: 80%; */
  margin: 0 auto;
  /* font-weight: bold; */
  line-height: 2;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 4.5vw;
  }
  #hero p {
    /* width: 90vw; */
    margin: 0 auto 1.5em;
    font-size: 3.8vw;
    line-height: 1.8;
  }
} /* @media (max-width: 768px) { 終了 */

.concept {
  margin-top: 1rem;
}

.concept-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* margin-bottom: 3rem; */
  flex-wrap: wrap;
}

.concept-block.reverse {
  flex-direction: row-reverse;
}

.concept-image {
  flex: 0 0 30%;
  max-width: 30%;
}

.concept-image img {
  width: 100%;
  border-radius: 8px;
}

.concept-text {
  flex: 1 1 0%;
  min-width: 250px;
}

.concept-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 0.5rem;
  color: #333;
  border-left: 4px solid #555;
  padding-left: 0.6em;
  font-weight: 500;
}

.concept-text p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #444;
  line-height: 1.7;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .concept-block,
  .concept-block.reverse {
    flex-direction: column;
    text-align: left;
    padding: 10vw 5vw;
  }
  .concept-block.reverse {
    background-color: #c1e4e985;
  }

  .concept-image,
  .concept-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .concept-image {
    margin-bottom: 1rem;
  }
} /* @media (max-width: 768px) { 終了 */

#hero {
  background-image: url("../img/bg01.png");
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 白の透過オーバーレイ */
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8); /* 透明度0.0〜1.0を調整 */
  z-index: 1;
}

/* 中のコンテンツを前面に */
#hero > * {
  position: relative;
  z-index: 2;
}

.action-button {
  padding: 0.5em 1.5em;
  border: 1px solid #999;
  border-radius: 6px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: 0.2s;
  font-size: 1em;
}

.action-button:hover {
  background-color: #eee;
  border-color: #666;
}

.result-action-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.result-action-button:hover {
  opacity: 0.7;
}

.summary p {
  font-size: 18px;
}

.sponly {
  display: none;
}
/* スマホ対応 */
@media (max-width: 768px) {
  .summary p {
    font-size: 4.5vw;
  }
  .summary {
    margin-bottom: 3vw;
  }
  #outputText {
    font-size: 5vw;
  }

  .pconly {
    display: none;
  }
  .sponly {
    display: initial;
  }
} /* @media (max-width: 768px) { 終了 */

.page-ad #main > .section > div.inner p:first-child {
  text-align: center;
  margin-bottom: 1em;
}

.page-ad .ad_area a {
  display: inline-block;
}
#main .ad_area {
  width: 300px;
  margin: 0 auto;
}
.page-ad .ad_area,
#side .ad_area {
  /* text-align: center; */
}

#side .ad_area a {
  display: inline-block;
}
.page-ad #hero {
  /* text-align: center; */
}
#ad_count {
  font-size: 1.5rem;
  text-align: center;
}
@media (max-width: 768px) {
  #ad_count {
    font-size: 4.5vw;
  }
} /* @media (max-width: 768px) { 終了 */

/* ヘッダー */
.site-header {
  /* background: rgb(0 0 0 / 1%); */
  padding: 10px 20px;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.logo img {
  vertical-align: middle;
}

.main-nav {
  display: flex;
  font-size: 14px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin-left: 20px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  /* font-weight: bold; */
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    min-width: 200px;
    border: 1px solid #ccc;

    /* アニメーション用 */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-list a {
    font-weight: bold;
    display: block;
    padding: 15px 15px;
    border-bottom: 1px solid #ccc;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li {
    /* margin: 10px 0; */
    text-align: right;
    /* margin-right: 10px; */
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list.active {
    max-height: 500px; /* 十分な高さ */
    opacity: 1;
    pointer-events: auto;
    /* padding: 10px 10px; */
  }
}

.arrow_down {
  padding: 10px 0 20px;
  pointer-events: none;
  text-align: center;
}
.arrow_down img {
  display: inline;
  pointer-events: none;
}

/*結果ページ 元データ*/
.comparison-box {
  margin-top: 2rem;
  border-top: 1px solid #ccc;
  padding: 2rem 0;
}

.comparison-box h3 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

@media (max-width: 768px) {
  .comparison-box {
    margin: 0 5vw;
  }
}

.original-text {
  background: #f9f9f9;
  padding: 1em;
  border: 1px dashed #ccc;
  white-space: pre-wrap;
}

.privacy-page .section p,
.terms-page .section p {
  margin: 1rem;
}

.privacy-page .section a,
.terms-page .section a,
.section a {
  text-decoration: underline;
  color: blue;
}

.privacy-page .section ul,
.terms-page .section ul,
.section ul {
  /* margin-bottom: 2rem; */
  margin-left: 2rem;
}

.privacy-page .section li,
.terms-page .section li,
.section li {
  list-style-type: disc;
  list-style-position: outside;
}

.privacy-page .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/*ボタン*/
.btn,
a.btn,
button.btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn01,
a.btn01 {
  color: #fff;
  background-color: #eb6100;
  text-decoration: none;
}
.btn01:hover,
a.btn01:hover {
  color: #fff;
  background: #f56500;
}

/*コラム一覧*/
.column-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.column-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}
.column-item:hover {
  transform: translateY(-3px);
}

.column-item h3 {
  margin-top: 0;
  font-size: 1.2em;
}

.column-item h3 a {
  text-decoration: none;
  color: #333;
}
.column-item .meta {
  font-size: 0.85em;
  color: #777;
  margin-bottom: 8px;
}

.column-item .summary {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 8px;
}

.read-more {
  display: inline-block;
  font-size: 0.9em;
  color: #2a7db3;
  text-decoration: none;
}
.read-more:hover {
  text-decoration: underline;
}

.arrow-bounce {
  font-size: 2.5em;
  font-family: "Arial Black", "Segoe UI Symbol", "Noto Sans", sans-serif;
  color: #444;
  text-align: center;
  animation: bounce 2s infinite;
  font-weight: bold;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/*コラム 個別パージ*/
.single h3 {
  margin: 40px 0 10px;
}

.single p {
  margin-bottom: 1em;
}

.article-container {
  max-width: 720px;
  margin: 2em auto;
  padding: 0 1em;
  line-height: 1.8;
  color: #333;
}

.article-container img {
  width: 90%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

.article-container img {
  border-radius: 10px;
  display: block;
  margin: 1.5em auto;
  max-width: 90%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

button.disabled-btn {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

p.usage-info {
  background: #f5f5f5;
  padding: 10px;
  border-left: 4px solid #ccc;
  font-size: 1em;
  color: #333;
  margin-top: 10px;
  margin-bottom: 1em;
  border-radius: 4px;
}

.bordered-table {
  width: 100%;
  max-width: 960px;
}

.bordered-table,
.bordered-table th,
.bordered-table td {
  border: 1px solid #ccc; /* 線の色・太さ */
  border-collapse: collapse; /* 線が重ならないように */
}
.bordered-table th,
.bordered-table td {
  padding: 8px; /* 任意の余白 */
}

.faq-section {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

.faq-section h2 {
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 2em;
}

.faq-item {
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #ddd;
}

.faq-q,
.faq-a {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7em;
}

.faq-q .icon {
  color: #d00;
  font-weight: bold;
  margin-right: 0.5em;
  font-size: 1.2em;
}

.faq-a .icon {
  color: #0073aa;
  font-weight: bold;
  margin-right: 0.5em;
  font-size: 1.2em;
}

.faq-q .text,
.faq-a .text {
  line-height: 1.6;
}

.page-about .about-section.bg-color .about-container {
  background-color: #90caf9;
}

.page-about .about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 960px;
  /* margin: 0 auto; */
  padding: 2rem;
  border-radius: 8px;
}

.page-about .about-image {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.page-about .about-image img {
  width: 100%;
  max-width: 240px;
  border-radius: 50%;
  background: white;
  padding: 1rem;
}

.page-about .about-text {
  flex: 2 1 300px;
  color: #003366;
  padding-left: 1.5rem;
}

.page-about .about-text h2 {
  margin-top: 0;
  color: #0d47a1;
  font-weight: bold;
}

.page-about .about-text p {
  margin-top: 1em;
  line-height: 1.8;
}

.index-page form h2 {
  text-align: center;
}
.index-page form h2 img {
  display: inline-block;
}

.hero_text {
  position: relative;
  padding: 3em;
  border-radius: 50px;
  background-color: #ffffffa6;
  z-index: 0;
}

.hero_text::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* 枠の太さ */
  border-radius: 50px;
  background: linear-gradient(
    90deg,
    #51afdf 0,
    #81c274 26.84%,
    #fbd36a 49.71%,
    #f77369 73.75%,
    #f698bb 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero_text {
    padding: 6vw 4vw;
  }
}

.step-title::before {
  display: inline-block;
  font-size: 1.8em; /* 大きめ */
  color: #5566aa; /* お好きな色 */
  font-weight: bold;
  margin-right: 0.5em;
}
.step1::before {
  content: "1";
}
.step2::before {
  content: "2";
}
.step3::before {
  content: "3";
}

/* 共通スタイル */
.step-title::before {
  display: inline-block;
  font-size: 1.8em;
  color: #5566aa;
  font-weight: bold;
  margin-right: 0.5em;
  vertical-align: sub;
}

.index-page .textform h3 {
  border-left: none;
}

button.btn-start {
  background-color: #5566aa;
  border: 3px solid #c8c8c8;
  border-radius: 95px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  height: 190px;
  letter-spacing: 0.05em;
  /* line-height: 190px; */
  margin: 0 auto 40px;
  text-align: center;
  width: 190px;
  margin-top: 2em;
}

button.btn-start:hover {
  background-color: #fff;
  color: #5566aa;
}

@media screen and (max-width: 767px) {
  button.btn-start {
    font-size: 5vw;
    height: 190px;
    /* line-height: 1; */
    margin: 8vw auto;
    width: 190px;
  }
}

.wrapper {
  text-align: center;
}
#main .section:last-child {
  padding: 1rem 0 0;
}

#main .section.concept .concept-block:last-child {
  padding: 20px 30px 50px;
}

button.result {
  display: block;
  margin: 20px auto 0 auto;
  padding: 10px 20px;
  width: 80%;
  max-width: 280px;
  font-size: clamp(1rem, 4vw, 1.2rem);
}

button.result {
  display: block;
  margin: 1em auto 0 auto;
  border-radius: 9999px; /* まん丸感キープ */
  padding: 1em 3em; /* 縦横ともに少し大きくして押しやすく */
  font-size: clamp(1.1rem, 4vw, 1.3rem); /* 少し大きめに強調 */
  font-weight: 600; /* 太字寄りで強調 */
  background-color: #19448e;
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.1s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ほんのり影で浮かせる */
}

button.result:hover {
  background-color: #a7c6ff;
  transform: scale(1.03); /* わずかに拡大してインタラクション感 */
}

.social-share {
  display: flex;
  gap: 16px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #444;
  color: white;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.share-btn.x {
  background-color: black;
}
.share-btn.facebook {
  background-color: #1877f2;
}
.share-btn.line {
  background-color: #00c300;
}
.share-btn.copy {
  background-color: #555;
}

.share-btn:hover {
  opacity: 0.8;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: row;
  }
  .action-buttons img {
    margin: 3vw 3vw;
  }
}

.action-buttons > * {
  flex: 0 0 auto; /* アイテムを縮めない */
  display: inline-flex; /* ボタンも横幅を縮める */
  align-items: center;
  justify-content: center;
}

.action-buttons > #backBtn {
  display: block;
  margin: 20px auto 0 auto; /* 上に余白 & 中央揃え */
}

.share-icon {
  cursor: pointer;
  margin: 0 4px;
  vertical-align: middle;
}
/* 広告共通 */
.ad-block {
  margin: 2em auto; 
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  max-width: 600px;  /* 幅を制限 */
  text-align: left;
}

#main#main .ad-block .ad-label {
  text-align: left;
}

.ad-block .ad-label {
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: left;
}

.ad-block .ad-intro {
  margin-bottom: 1em;
}

.ad-block .ad-content {
  display: flex;
  gap: 1em;
}

/* 画像共通 */
.ad-block .ad-image img {
  max-width: 100%;
  height: auto;
  display: block;
  width: initial;
}
.ad-block.ad-block img{
  width:initial;
  border-radius:0;
  margin:0;
}

/* テキスト共通 */
.ad-block .ad-text p {
  margin: 0 0 0.5em;
}

.ad-block .ad-text a {
  color: #0066cc;
  text-decoration: underline;
}

/* パターン① 画像＋テキスト */
.ad-col2-img-text .ad-item {
  flex: 1 1 50%;
}

/* パターン② テキストのみ */
.ad-col1-text {
  display: block;
}

.ad-col1-text .ad-item {
  margin-bottom: 0.5em;
}

/* パターン③ 画像＋画像 */
.ad-col2-img-img .ad-item {
  flex: 1 1 50%;
}

/* パターン④ 画像のみ */
.ad-col1-img {
  display: block;
}

.ad-col1-img .ad-item {
  margin: 0 auto;
}

/* スマホ対応 (幅768px以下) */
@media (max-width: 768px) {
  .ad-block .ad-content {
    flex-direction: column;
  }

  .ad-block .ad-image {
    text-align: center;
  }

  .ad-block .ad-image img {
    display: inline-block;
  }
}
