@charset "UTF-8";
/* style.css - サイトスタイル（モバイルファースト） */
.kv-area h2 .quote::before,
.kv-area h2 .quote::after {
  content: '"';
  color: #65bbe9;
  /* 閉じダブルクオーテーション */
}

#codeledge-page .down-arrow {
  margin: 5rem auto !important;
  width: 80px !important;
  height: auto;
}

#site-navigation ul#primary-menu {
  margin-top: 6rem;
}

#site-navigation ul#primary-menu li {
  padding: 2rem 0 3rem;
}

li.login-btn,
.registration-btn {
  border: none !important;
  width: 50%;
  float: left;
}

.login-btn a,
.registration-btn a {
  padding: 0.3em 1.4em;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* hoverで反転 */
#primary-menu .login-btn a:hover,
#primary-menu .registration-btn a:hover {
  background-color: #fff;
  color: var(--base-color) !important;
  opacity: 100%;
}

p.sass-btn {
  margin-top: 4rem !important;
}

p.sass-btn a {
  display: block;
  margin-top: 2rem;
  padding: 2rem;
  font-size: clamp(2.2rem, 7cqw, 2.4rem);
  white-space: nowrap;
  line-height: 1.05;
  font-weight: 700;
  max-width: 400px;
  border-radius: 10px;
  background-color: #FF8833;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

p.sass-btn a i {
  margin-right: 2rem;
  transition: 0.3s;
}

.h_title,
main h2.wp-block-heading {
  margin-bottom: 2rem;
  text-align: center;
}

figure.wp-block-table {
  margin: 1rem auto 2rem;
}

.l-btn-base a,
input.wpcf7-submit {
  display: flex;
  align-items: center; /* 縦方向の中央 */
  justify-content: center; /* 横方向の中央（不要なら削除） */
  border: solid 2px var(--base-color);
  color: var(--base-color);
  font-weight: bold;
  width: 320px;
  height: 50px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  margin: 2rem auto 0;
}

.l-btn-base a:hover,
input.wpcf7-submit:hover {
  background-color: var(--base-color);
  color: #fff;
  text-decoration: none; /* 下線を消す */
  transition: 0.3s;
}

.bg-dots {
  position: relative; /* 擬似要素の基準に */
  isolation: isolate; /* z-indexの地ならし（任意） */
  max-width: 100% !important;
  background-color: #dcf0fa;
  background-image: radial-gradient(circle, #c1e7f8 1px, transparent 1px), radial-gradient(circle, #c1e7f8 1px, transparent 1px);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
}

/* 三角カットを付けたい要素に .hero-cut を付ける（あなたは columns に付与済み） */
.hero-cut {
  position: relative;
  isolation: isolate; /* 任意：z-index地ならし */
  /* 重要：親の背景を消す（bg-dotsの矩形背景を無効化） */
  background: none !important;
}

/* ▼ 背景だけを三角形にクリップ（コンテンツは矩形のまま） */
.hero-cut::before {
  content: "";
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1; /* 背景として下へ */
  /* ここに “ドット背景” を再定義（親からは消したのでここだけに描かれる） */
  background-color: #dcf0fa;
  background-image: radial-gradient(circle, #c1e7f8 1px, transparent 1px), radial-gradient(circle, #c1e7f8 1px, transparent 1px);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
  /* 下中央が尖るシェブロン（三角の深さは --tip） */
  --tip: 60px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tip)), 50% 100%, 0 calc(100% - var(--tip)));
}

/*Codelegdeページ ここから*/
.introduction-area {
  background: radial-gradient(at 20% -10%, #4e4be7, transparent 40%), radial-gradient(at 70% 10%, #54c2f0, transparent 40%), radial-gradient(at 80% 50%, #1dade5, transparent 80%), radial-gradient(at 0% 100%, #7dccf3, transparent 100%);
  background-attachment: fixed;
  padding: 100px 0 4rem 0;
  text-align: center;
}

.introduction-area .wp-block-columns .wp-block-column:first-child img {
  margin: 3rem auto;
}

.introduction-area p {
  font-size: 2rem;
  line-height: 1.5;
  margin: 2rem auto 0;
}

.issues-area {
  padding: 4rem 0 10rem;
}

.issues-area h2 {
  letter-spacing: -0.05em;
  font-family: "Noto Sans Mono", monospace;
  font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
  line-height: 2.4rem;
  color: rgba(101, 187, 233, 0.5);
  font-weight: 900;
  margin-bottom: 6rem;
  background: linear-gradient(transparent 85%, rgba(101, 187, 233, 0.3) 85%);
  background-position: 0rem 0%;
}

.issues-area h3 {
  font-size: clamp(1.8rem, 8vw, 2rem) !important;
  margin-bottom: 3rem;
  font-weight: 700;
}

.issues-area .issue01 .wp-block-column {
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  border: solid 6px #65bbe9;
  font-size: 1.6rem;
  padding-bottom: 1rem;
}

.issues-area .issue01 .wp-block-column h4 {
  background-color: #65bbe9;
  color: #fff;
  padding: 1rem 0 1.6rem;
  font-size: 2.2rem;
  font-weight: 700;
}

.issues-area .issue01 .wp-block-column img {
  max-height: 150px;
  margin: 2rem auto;
  justify-self: end;
}

.issues-area .issue02 .wp-block-column {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  background-color: #fff;
  border-radius: 10px;
  border: solid 6px #65bbe9;
  font-size: 1.6rem;
  padding: 1rem;
}

.issues-area .issue02 .wp-block-column p {
  align-self: center;
}

.issues-area .issue02 .wp-block-column figure {
  justify-self: end;
}

.issues-area .issue02 .wp-block-column img {
  height: 100px;
}

.auto-area,
.point-area,
.comparison-area,
.service-area,
.contact-area {
  padding: 3rem 2rem;
}

.auto-area h2 {
  line-height: 150%;
  font-weight: 300;
  color: #333;
}

.auto-area h2 img {
  width: 80%;
  max-width: 390px;
  display: inline;
}

.auto-area h2 + figure {
  margin-bottom: 4rem;
}

/* 見出し左右のライン付き（値は自由に調整可） */
.auto-area h3 {
  --line-color: #cbe7f5; /* ライン色（画像の水色に近い） */
  --line-height: 6px; /* 太さ */
  --gap: clamp(8px, 2vw, 24px); /* 文字との間隔 */
  --line-max: clamp(48px, 18vw, 160px); /* ラインの最大長（長すぎ防止） */
  display: flex;
  align-items: center;
  justify-content: center; /* 見出し文字を中央に */
  gap: var(--gap);
  line-height: 1.2; /* タイトめに */
  margin-bottom: 3rem;
}

/* 左右ライン */
.auto-area h3::before,
.auto-area h3::after {
  content: "";
  height: var(--line-height);
  background: var(--line-color);
  border-radius: 999px; /* 角を少し丸く（お好みで） */
  flex: 1 1 0; /* 余白を均等に埋める */
  max-inline-size: var(--line-max); /* ラインが伸びすぎないよう制限 */
}

.auto-area .realization-area .wp-block-column:first-child {
  border-bottom: solid 3px #bae2f8;
  padding-bottom: 2rem;
}

.auto-area .realization-area figure {
  justify-self: center;
  margin: 0;
}

.auto-area .realization-area img {
  height: 55px;
}

.auto-area .realization-area p {
  text-align: center;
}

.point-area h2 img {
  width: 80%;
  max-width: 390px;
}

.point-area {
  text-align: center;
}

.point-area p:first-child {
  color: #ff8833;
}

.point-area p:first-child strong {
  font-size: 3rem;
}

.point-area p:first-child strong::before {
  content: "\a";
  white-space: pre;
}

.point-area h3 {
  color: #333;
  margin-bottom: 1rem;
}

.comparison-area {
  text-align: center;
}

.comparison-area h2.wp-block-heading {
  display: inline-block; /* ←要。テキスト幅に要素自体を合わせる */
  line-height: 1.2;
  /* 下側だけ色が乗る帯を描く */
  background-image: linear-gradient(transparent 30%, rgba(101, 187, 233, 0.3) 0);
  background-size: 100% 0.55em; /* 帯の厚さ */
  background-repeat: no-repeat;
  background-position: 0 100%;
  /* 複数行でも各行ごとに帯をクローン（対応ブラウザで有効） */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-align: center;
}

/* PC/タブレットは従来どおりテーブル＋横スクロール */
.comparison-area .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-area .wp-block-table table.has-fixed-layout {
  border-collapse: collapse;
  table-layout: fixed;
  width: max(720px, 100%);
}

.comparison-area .wp-block-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ロゴのNaN上書き */
.comparison-area .wp-block-table img {
  width: auto !important;
  height: 1.4em;
  vertical-align: -0.1em;
}

.comparison-area table {
  max-width: var(--max-width);
}

.comparison-area table th,
.comparison-area table td {
  border: solid 1px #fff !important;
  padding: 1rem !important;
}

.comparison-area table th,
.comparison-area table td:first-child {
  background-color: rgba(var(--table-color), 0.11);
  text-align: center;
  padding: 1rem !important;
  white-space: nowrap;
}

.comparison-area table img {
  height: 40px;
  margin-bottom: 0.5rem;
}

.comparison-area table tr:first-child img {
  height: 40px;
  margin-bottom: 0;
}

.service-area h3 {
  text-align: center;
}

.service-area .wp-block-column .wp-block-column {
  background-color: #0098d8;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  font-size: 1.6rem;
  padding: 2rem;
  aspect-ratio: inherit;
}

.service-area h3 {
  display: inline-block;
  color: #fff;
  font-size: 2.4rem;
  line-height: 3.4rem;
  min-height: 0;
  margin: 1rem auto 3rem;
}

.service-area h3 strong {
  font-family: "Special Gothic Expanded One", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 300%;
  line-height: 4rem;
}

.service-area h3 strong::after {
  content: "\a";
  white-space: pre;
}

.service-area .wp-block-column .wp-block-column p {
  text-align: left;
}

/* ========== 安定版の基本 ========== */
.service-area .wp-block-table {
  overflow-x: auto; /* 狭幅は横スクロール */
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  margin-bottom: 4rem;
}

.service-area .wp-block-table table.has-fixed-layout {
  border-collapse: collapse;
  table-layout: fixed;
  width: max(720px, 100%); /* スマホではスクロール, 広ければ100% */
}

.service-area .wp-block-table td,
.service-area .wp-block-table th {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
  word-break: break-word;
}

/* 画像の正規化（NaN対策・はみ出し防止） */
.service-area .wp-block-table img {
  display: block;
  height: auto;
  width: auto;
  max-height: 28px; /* ロゴ/アイコンの上限（調整可） */
  max-width: 100%;
  vertical-align: -0.1em;
  object-fit: contain;
}

/* ヘッダー行に見せたい行（最上段）だけ少し見やすく */
.service-area .wp-block-table tbody tr:first-child td {
  background: #f3f8fc;
  font-weight: 600;
}

/* スマホでの余白と視認性だけ微調整 */
.service-area .wp-block-table td,
.service-area .wp-block-table th {
  padding: 0.6rem;
}

/* 2) h2を“カラム幅”で可変させる */
#home-page #main-visual h2 {
  line-height: 5rem;
  font-size: 5rem;
}

/*Codelegdeページ ここまで*/
@media (min-width: 768px) {
  #site-navigation ul#primary-menu {
    margin-top: 0;
  }
  #site-navigation ul#primary-menu li {
    padding: 0 0 0.5rem;
  }
  .login-btn a {
    border: 1px solid var(--base-color);
    color: var(--base-color) !important;
  }
  /* hoverで反転 */
  #primary-menu .login-btn a:hover {
    background-color: var(--base-color);
    color: #fff !important;
  }
  .registration-btn a {
    background-color: var(--base-color);
    border: 1px solid var(--base-color);
    color: #fff !important;
  }
  /* hoverで反転 */
  #primary-menu .registration-btn a:hover {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: #fff !important;
  }
  .service-area .wp-block-column .wp-block-column {
    padding: 4rem;
  }
  .issues-area h2 {
    font-size: clamp(2.4rem, 8vw, 10rem) !important;
    line-height: 10rem;
  }
  .issues-area h2 {
    font-size: clamp(2.4rem, 8vw, 10rem) !important;
    line-height: 10rem;
  }
  .issues-area h3 {
    font-size: 3.6rem !important;
    margin-bottom: 6rem;
  }
  .issues-area .issue02 .wp-block-column {
    padding: 1rem 3rem;
  }
  .issues-area .issue02 .wp-block-column p {
    text-align: center;
  }
  .issues-area .issue02 .wp-block-column img {
    height: 120px;
  }
  .hero-cut::before {
    --tip: 120px;
  }
  .auto-area,
  .point-area,
  .comparison-area,
  .service-area,
  .contact-area {
    padding: 6rem 2rem;
  }
  .auto-area h2 {
    font-size: clamp(2.4rem, 8vw, 4rem) !important;
  }
  .auto-area .realization-area .wp-block-column:first-child {
    border-right: solid 3px #bae2f8;
    border-bottom: none;
  }
  .auto-area .realization-area img {
    height: 60px;
  }
  .point-area h3 + p {
    min-height: 7rem;
    margin-bottom: 0 !important;
  }
  .service-area h3 {
    min-height: 12rem;
    margin: 3rem auto 2rem;
  }
}
/* p-contact.scss - お問い合わせページスタイル（モバイルファースト） */
#contact-page main .inner {
  max-width: var(--max-width);
  padding: 2rem;
}

table.stack2 {
  width: 100%;
  max-width: var(--max-width);
  background-color: rgba(238, 249, 253, 0.7);
}

table.stack2 th,
table.stack2 td {
  min-width: 10rem;
}

table.stack2 th,
table.stack2 td:first-child {
  text-align: center;
  white-space: nowrap;
  background-color: rgb(238, 249, 253);
}

/* PC/タブレット：普通の2カラム */
.stack2 {
  width: 100%;
  border-collapse: collapse;
}

.stack2 th, .stack2 td {
  vertical-align: middle;
}

/* スマホだけ縦1列に（最少CSS） */
@media (max-width: 784px) {
  .stack2, .stack2 tbody {
    display: block;
  }
  .stack2 tr {
    display: block;
    overflow: hidden; /* 角丸を効かせる */
  }
  .stack2 th, .stack2 td,
  .stack2 th, .stack2 th {
    display: block; /* 2セルを縦積み */
    border: 0; /* 行内の罫線は消す */
  }
  .stack2 td {
    min-height: 4rem;
  }
}
/* タブレット以上 */
/* PC以上 */
/* p-privacy.scss - プライバシーポリシーページスタイル（モバイルファースト） */
#privacy-page main .inner {
  max-width: 800px;
  padding: 2rem;
}

#privacy-page main h4.wp-block-heading {
  margin: 2rem auto 0.5rem;
}

#privacy-page main table {
  margin: 1rem auto 2rem auto;
}

/* スマホだけ縦1列に（最少CSS） */
@media (max-width: 640px) {
  #privacy-page main .stack2 tr:first-child {
    display: none;
  }
  #privacy-page main .stack2 td {
    display: flex;
    align-items: center;
    justify-content: center; /* 2セルを縦積み */
    border: 0; /* 行内の罫線は消す */
  }
}
#terms-page .wp-block-columns {
  max-width: 800px;
  margin-bottom: 4rem;
  padding: 2rem;
}

#terms-page .wp-block-columns h3 {
  margin: 1rem auto;
}

#terms-page ol.wp-block-list,
#terms-page ol.wp-block-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

#terms-page ol.wp-block-list {
  counter-reset: item;
}

#terms-page ol.wp-block-list > li {
  counter-increment: item;
  position: relative;
  padding-left: 1em;
  margin-bottom: 1em;
}

#terms-page ol.wp-block-list ol ol > li {
  padding-left: 0;
}

#terms-page ol.wp-block-list > li::before {
  content: counter(item) " ";
  position: absolute;
  left: 0;
  top: 0;
}

#terms-page ol.wp-block-list ol {
  counter-reset: subitem;
  margin-top: 0.5em;
}

#terms-page ol.wp-block-list ol > li,
#terms-page ol.parentheses > li {
  counter-increment: subitem;
  position: relative;
  padding-left: 2.4em;
  margin-top: 0.4em;
}

#terms-page ol.wp-block-list ol > li::before,
#terms-page ol.parentheses > li::before {
  content: "（" counter(subitem) "）";
  position: absolute;
  left: 0;
  top: 0;
}

#terms-page ol.wp-block-list ol ol > li::before {
  content: none;
}

/* タブレット以上 */
/* PC以上 */
/* p-community.scss - コミュニティページスタイル（モバイルファースト） */
#community-page {
  position: relative; /* 擬似要素の基準に */
  isolation: isolate; /* z-indexの地ならし（任意） */
  max-width: 100% !important;
  background-color: #dcf0fa;
  background-image: radial-gradient(circle, #c1e7f8 1px, transparent 1px), radial-gradient(circle, #c1e7f8 1px, transparent 1px);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
}

#community-page main .inner .wp-block-columns:first-child {
  max-width: 1000px;
  padding: 2rem;
  margin-top: 5rem;
}

#community-page main article.form-area {
  background-color: #fff;
  padding: 2rem 2rem 0 2rem;
  border-radius: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#community-page main img {
  margin: 2rem auto;
}

#community-page main dl:first-child {
  background-color: #fff;
}

#community-page main h3.wp-block-heading {
  margin-bottom: 1rem;
}

#community-page h4.wp-block-heading {
  margin: 2rem auto 0.5rem;
}

#community-page main dl dt,
#community-page main dl dd {
  padding: 0.2rem 0;
}

#community-page main dl input,
#community-page main dl select,
#community-page main dl textarea {
  border: solid 1px #ccc;
  padding: 0.5rem;
  width: 100%;
}

#community-page main dl:first-child,
#community-page main dl:nth-child(2) {
  display: inline-block;
  width: calc(50% - 2px);
  box-sizing: border-box;
}

#community-page main dl + p {
  margin: 1rem 0 2rem;
}

#community-page main ul.check-list {
  list-style: none;
  padding-left: 0;
}

#community-page main ul.check-list li {
  position: relative;
  padding-left: 1.7em;
}

#community-page main ul.check-list li::before {
  content: "\f00c"; /* チェック */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solid用 */
  position: absolute;
  left: 0;
  color: #f83;
}

/* スマホだけ縦1列に（最少CSS） */
/* タブレット以上 */
/* PC以上 */
@media (min-width: 1024px) {
  #community-page main article.form-area {
    padding: 4rem 4rem 2rem 4rem;
  }
}
/* btn.css - ボタンスタイル（モバイルファースト） */
.l-btn-base {
  display: flex;
  justify-content: center; /* 横方向の中央（不要なら削除） */
}

.l-btn-base a,
input.wpcf7-submit {
  display: flex;
  align-items: center; /* 縦方向の中央 */
  justify-content: center; /* 横方向の中央（不要なら削除） */
  border: solid 2px var(--base-color);
  color: var(--base-color);
  font-weight: bold;
  width: 320px !important;
  height: 50px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  margin: 2rem auto;
}

.l-btn-base a:hover,
input.wpcf7-submit:hover {
  background-color: var(--base-color);
  color: #fff;
  text-decoration: none; /* 下線を消す */
  transition: 0.3s;
}

/* タブレット以上 */
/* PC以上 */
@media (min-width: 1024px) {
  .news-category ul {
    padding: 2rem 4rem;
  }
}
/* form.css - フォームスタイル（モバイルファースト） */
form.wpcf7-form table {
  max-width: var(--max-width);
  background-color: rgba(var(--table-color), 0.1);
  border: solid 1px rgba(var(--table-color), 0.3);
}

form.wpcf7-form th,
form.wpcf7-form td {
  border: solid 1px rgba(var(--table-color), 0.2);
  padding: 1rem;
}

form.wpcf7-form th,
form.wpcf7-form td:first-child {
  background-color: rgba(var(--table-color), 0.11);
  text-align: center;
  padding: 1rem !important;
  white-space: nowrap;
}

form.wpcf7-form input,
form.wpcf7-form select,
form.wpcf7-form textarea {
  background-color: #fcffff;
  padding: 1rem;
  width: 100%;
}

figure.wp-block-table {
  margin: 1rem auto 2rem;
}

/* タブレット以上 */
/* PC以上 */
@media (min-width: 1024px) {
  form.wpcf7-form th,
  form.wpcf7-form td:first-child {
    padding: 2rem 3rem;
  }
}
