/* ============ Reset & Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
  "Helvetica Neue", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
  color: #040404;
  line-height: 1.5;
  background-color: #fff;
}

.pc_block {
  display: block;
}

.sp_block {
  display: none;
}

.pc_txt-block {
  display: inline-block;
}

.sp_txt-block {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

sup {
  font-size: 10px;
}

.highlight-txt {
  background-color: #f5e328;
}

.no-border {
  border: 0 !important;
}

.no-border-radius {
  border-radius: 0 !important;
}

/* 共通ラッパー */
.wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

/* セクション共通 */
@media screen and (min-width: 1280px) {
  section {
    overflow-x: hidden;
  }
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
  font-weight: bold;
}

.sub-title {
  color: #F57F28;
  font-size: 16px;
  margin-bottom: 4px;
  font-family: "Helvetica", Arial, serif;
}

.main-title {
  font-size: 56px;
  text-align: center;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 40px;
  text-align: center;
}

.section-subtitle-left {
  text-align: left;
}

/* ============ HEADER ============ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo {
  margin-left: 50px;
}

/* PCナビゲーション */
.pc-nav {
  margin-left: 105px; /* ロゴとの距離 */
}

.pc-nav a {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}

.pc-nav a:last-child {
  margin-right: 0;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #f5e328; /* XDの黄色系 */
  transition: width 0.2s ease;
}

.pc-nav a:hover::after {
  width: 100%;
}

/* ヘッダーCTAボタン */
.header-cta {
  display: none;
  height: 70px;
  padding: 0 30px;
  border-radius: 0;
  background: #f54f28;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  align-items: center;
  gap: 10px;
  border: 2px solid #f54f28;
}

.header-cta-text {
  white-space: nowrap;
}

.header-cta-icon {
  width: 13px;
  height: 20px;
  background-image: url("../img/dl-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.header-cta:hover {
  background: #fff;
  color: #f54f28;
}

.header-cta:hover .header-cta-icon {
  background-image: url("../img/dl-icon-hover.svg");
}

/* SPメニュー用ハンバーガー */
.header-toggle-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: #F5E328;
}

.header-toggle-menu .nav-icon {
  width: 30px;
  height: 30px;
  z-index: 999;
  position: relative;
  transition: 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1px;
}

.header-toggle-menu .nav-icon span {
  height: 4px;
  width: 100%;
  border-radius: 3px;
  background-color: #FFFFFF;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.header-toggle-menu.is-open .nav-icon > span:nth-child(1) {
  position: absolute;
  top: 14px;
  transform: rotate(135deg);
}

.header-toggle-menu.is-open .nav-icon > span:nth-child(2) {
  opacity: 0;
}

.header-toggle-menu.is-open .nav-icon > span:nth-child(3) {
  position: absolute;
  top: 14px;
  transform: rotate(-135deg);
}

/* SPメニュー本体 */
.sp-menu {
  position: fixed;
  inset: 0;
  background: #f5e328;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 58px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.sp-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sp-menu-link {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
}

.sp-menu-cta {
  margin-top: 60px;
  align-self: stretch;
  padding: 13px 25px;
  border-radius: 999px;
  background: #f54f28;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}

.sp-menu-cta::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  width: 13px;
  height: 20px;
  background-image: url("../img/dl-icon.svg");
  background-size: cover;
}

/* ============ HERO（メインビジュアル） ============ */
.hero {
  position: relative;
  overflow: hidden;
}

@media (min-width: 1280px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/mainvisual_pc.png") center / cover no-repeat;
    filter: blur(12px);
    transform: scale(1.1);
    z-index: -1;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  height: 680px;
}

.hero-main {
  flex: 1;
  background-image: url("../img/mainvisual_pc.png");
  background-size: cover;
  /*background-position: top right;*/
  padding: 70px 50px 20px;
  height: 100%;
  color: #ffffff;
}

.hero-h1 {
  margin: 0;
}
.hero-label {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 28px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transform: rotate(0.05deg);
}

.hero-title {
  margin: 30px 0;
}

.hero-subtitle {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 18px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transform: rotate(0.05deg);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 74px 0 20px;
}

.hero-badge {
  width: 140px;
  height: 140px;
  background-color: #F5E328;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #040404;
  font-weight: bold;
  gap: 8px;
}

.hero-badge-txt {
  font-size: 18px;
}

.hero-badge p {
  line-height: 1;
}

.hero-badge-number {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 36px;
}

.hero-badge-unit-1 {
  font-size: 32px;
}

.hero-badge-unit, .hero-badge-bottom-txt {
  font-size: 14px;
}

.hero-note {
  font-size: 12px;
}

/* 中央メインビジュアル */

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.hero-img-sp {
  display: none;
}

.hero-img-pc {
  display: block;
}

.hero-award {
  position: absolute;
  bottom: -20px;
  right: 16px;
  width: 140px;
}

.hero-form {
  width: 460px;
  height: 100%;
  padding: 30px 20px;
  background-color: #FFFFFF;
  overflow-x: auto;
}

.hero-form-heading {
  margin-bottom: 10px;
}

.hero-form-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-form-note {
  text-align: center;
  font-weight: bold;
  font-size: 10px;
}

/* ============ ABOUT（コンプライアンス訴求） ============ */

.section-about {
  padding: 120px 0 173px;
  background: #F6F6F6;
}

.about-inner {
  position: relative;
}

.about-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 79px;
}

.about-text-block {
  text-align: center;
}

.about-text {
  font-size: 16px;
  font-weight: 600;
  margin-top: 40px;
  line-height: 1.6;
}

.about-text-bottom {
  font-size: 28px;
  font-weight: 600;
  margin-top: 30px;
}

.about-card {
  position: absolute;
}

.about-card.left {
  top: -74px;
  left: -90px;
}

.about-card.right {
  top: 25px;
  right: -90px;
}

/* ============ 課題 ============ */

.section-issues {
  padding: 100px 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 50px;
}

.section-heading::before, .section-heading::after {
  content: "";
  display: block;
  height: 2px;
  width: 80px;
  background-color: #040404;
  margin: 0 40px;
}

.bubbles-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 35px;
  margin-bottom: -150px;
  position: relative;
  z-index: 1;
}

.bubble-item {
  width: 370px;
  height: 262px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding: 35px 0 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bg-1 {
  background-image: url('../img/bubble_1.png');
  margin-top: 100px;
}

.bg-2 {
  background-image: url('../img/bubble_2.png');
}

.bg-3 {
  background-image: url('../img/bubble_3.png');
  margin-top: 100px;
}

.bubble-title {
  color: #f68b1f;
  font-size: 18px;
  margin: 0 0 15px 0;
  font-weight: bold;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center
}

.bubble-title::before, .bubble-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 20px;
  background-color: #F57F28;
  margin: 0 20px;
}

.bubble-title .number {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 36px;
  margin-top: -8px;
}

.bubble-content p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  padding: 0 20px;
}

.people-container {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ============ 特長 （黄色背景） ============ */
.section-yellow {
  padding: 97px 0 100px;
  background: #F5E328;
  max-width: 1180px;
  margin: 0 auto 50px;
  border-radius: 30px;
}

.feature-intro {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
}

.feature-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.feature-card {
  flex-basis: 30%;
  background-color: white;
  border-radius: 15px;
  padding: 14px 30px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-title {
  color: #ff9900;
  font-size: 18px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-image {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-description {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  flex-grow: 1;
  margin-bottom: 30px;
}

.feature-button {
  background-color: #040404;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 13px 20px;
  border-radius: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
  position: relative;
}

.feature-button:hover {
  opacity: 0.8;
}

.plus-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  margin: 0;
}

.plus-icon::before,
.plus-icon::after {
  content: '';
  display: block;
  position: absolute;
  background-color: white;
  border-radius: 1px;
  top: 50%;
  left: 0;
}

.plus-icon::before {
  width: 100%;
  height: 2px;
  transform: translateY(-50%) rotate(0deg);
}

.plus-icon::after {
  width: 100%;
  height: 2px;
  transform: translateY(-50%) rotate(90deg);
}

/* 特長モーダル */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(900px, 100% - 40px);
  height: min(650px, 100% - 40px);
  max-height: 650px;
  background: #fff;
  border-radius: 20px;
  padding: 60px 80px;
  position: relative;
  overflow: auto;
  transform: translateY(-50px) scale(0.9);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 22px;
}

.modal-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 16px;
  padding-left: 30px;
  position: relative;
}

.modal-title::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url('../img/ellipse.png');
  background-size: cover;
}

.modal-divider {
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 20px;
}

.modal-text {
  font-size: 14px;
  margin: 0 0 30px;
}

.modal-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.modal-three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.modal-image-box {
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  height: 100%;
  border: 2px solid #E0E0E0;
}

.modal-caption {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
}

/* ============ 機能タブ ============ */

.section-function {
  padding: 97px 0 100px;
  background: #F6F6F6;
}

.function-inner {
  display: flex;
  gap: 45px;
  align-items: flex-start;
  position: relative;
}

.func-img {
  position: absolute;
  top: -200px;
  right: -150px;
  z-index: 0;
}

.function-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 360px;
}

.function-nav-sp {
  display: none;
}

.function-nav-btn, .function-nav-btn-sp {
  color: #040404;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  border-radius: 999px;
  border: 1px solid #f5e328;
  background: #f5e328;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}

.function-nav-btn .number, .function-nav-btn-sp .number {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f5e328;
  background-color: #040404;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.function-nav-btn::after, .function-nav-btn-sp::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("../img/arrow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-out;
}

.function-nav-btn-sp::after {
  background-image: url("../img/arrow-down.svg");
}

.function-nav-btn.is-active,
.function-nav-btn:hover,
.function-nav-btn-sp.is-active {
  background: #ffffff;
  border-color: #f5e328;
  font-weight: 700;
}

.function-nav-btn.is-active .number,
.function-nav-btn:hover .number,
.function-nav-btn-sp.is-active .number {
  color: #040404;
  background-color: #f5e328;
}

.function-content {
  flex: 1;
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  height: 100%;
  z-index: 1;
}

.function-panel {
  display: none;
}

.function-panel.is-active {
  display: block;
}

.function-images {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.function-images > div {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 240px;
}

.function-images > div img {
  height: 100%;
  object-fit: contain;
}

.function-images._01 > div img {
  border: 2px solid #E0E0E0;
}

.function-image-desc {
  text-align: center;
  font-weight: bold;
}

#func4 .function-images > div {
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
}

#func4 .function-images .func-img-wrap {
  height: 240px;
  display: flex;
  justify-content: center;
}

.function-panel-text {
  font-size: 16px;
}

/* ============ DL誘導 ============ */

.section-download-cta {
  padding: 80px 0;
  color: #fff;
  background-image: url("../img/contact.png");
  background-size: cover;
}

.download-cta-inner {
  text-align: center;
}

.download-cta-text .section-title {
  color: #fff;
  font-size: 40px;
  font-weight: bold;
}

.download-cta-text .section-subtitle {
  color: #F5E328;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.download-cta-text .section-subtitle::before {
  content: '\005C';
  color: #F5E328;
  margin-right: 10px;
  font-size: 22px;
  font-weight: bold;
  vertical-align: middle;
  transform: rotate(-20deg);
}

.download-cta-text .section-subtitle::after {
  content: '/';
  color: #F5E328;
  margin-left: 10px;
  font-size: 22px;
  vertical-align: middle;
  transform: rotate(20deg);
}

.download-cta-button {
  width: 570px;
  margin-top: 30px;
  padding: 25px 40px;
  border-radius: 999px;
  background: #F54F28;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  position: relative;
}

.download-cta-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 13px;
  height: 20px;
  background-image: url("../img/dl-icon.svg");
  background-size: cover;
}

.download-cta-button:hover {
  opacity: 0.8;
}

.download-cta-img img {
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* ============ ご利用イメージ ============ */

.section-usage {
  padding: 96px 0 0;
}

.usage-columns {
  display: flex;
}

.usage-column {
  flex: 1;
}

.usage-column._01 {
  background-color: #3490D1;
  padding: 60px 40px 60px 90px;
}

.usage-column._02 {
  background-color: #41A9A5;
  padding: 60px 90px 60px 40px;
}

.title {
  color: #fff;
  text-align: center;
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 35px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  min-height: 322px;
}

.card h4 {
  color: #3490D1;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: bold;
}

._02 .card h4 {
  color: #41A9A5;
}

.card p {
  text-align: left;
  font-size: 14px;
}

.icon-placeholder {
  width: auto;
  height: 100px;
}

.option-label {
  position: absolute;
  top: 0;
  right: 14px;
  background-color: #F54F28;
  color: white;
  font-size: 12px;
  padding: 3px 5px;
  font-weight: 500;
}

/* ============ サポート ============ */
.section-support-wrapper {
  position: relative;
}

.section-support {
  padding: 88px 0 100px;
  background-color: #F6F6F6;
}

.section-support .wrapper {
  position: relative;
}

.section-support-wrapper .support-img-bg-left {
  z-index: 0;
  position: absolute;
  bottom: -120px;
  left: -80px;
}

.section-support .wrapper .support-img-bg {
  z-index: 0;
  position: absolute;
  top: -60px;
  right: -170px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}

.support-card {
  background: #fff;
  border-radius: 15px;
  border: solid 4px #F5E328;
  padding: 30px;
  text-align: center;
  z-index: 1;
}

.support-img {
  margin: 0 auto;
}

.support-card-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
}

.support-card-text {
  text-align: left;
}

/* ============ 導入実績 ============ */

.section-results {
  padding: 97px 0 100px;
}

.stats-container-clean {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 50px auto 80px;
}

.stat-block-clean {
  flex: 1;
  text-align: center;
}

.stat-block-clean:first-child {
  border-right: 2px solid #CECECE;
}

.stat-title-clean {
  font-size: 24px;
  font-weight: bold;
  color: #F54F28;
  margin-bottom: 8px;
}

.stat-number-clean {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 80px;
  font-weight: bold;
  color: #F54F28;
  line-height: 1;
  margin-bottom: 10px;
  display: inline-block;
}

.stat-number-clean .unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 72px;
}

.stat-number-clean .unit-clean {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #F54F28;
  display: inline-block;
  transform: translateY(-2px);
  margin-left: 5px;
}

.stat-note-clean {
  font-size: 14px;
  font-weight: 300;
  margin-top: 15px;
}

.logo-row-wrapper {
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 55px;
}

.logo-item._04 {
  width: 57px;
}

/* ============ 導入までの流れ ============ */

.section-flow {
  padding: 97px 0 100px;
  background: #F6F6F6;
}

.section-flow .wrapper {
  position: relative;
}

.section-flow .wrapper .flow-img-bg {
  z-index: 0;
  position: absolute;
  top: -20px;
  right: -170px;
}

.step-process-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 0;
}

.step-card {
  width: 350px;
  border: 4px solid #F5E328;
  border-radius: 15px;
  background-color: #fff;
  z-index: 1;
}

.arrow-sp {
  display: none;
}

.step-header {
  font-family: "Helvetica", Arial, sans-serif;
  background-color: #F5E328;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 6px 0 12px;
}

.step-header span {
  font-size: 36px;
}

.step-content {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 25px;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-indicator {
  height: 29px;
  width: auto;
  margin: 70px 18px 0 18px;
}

.arrow-mobile {
  display: none;
}

/* ============ FAQ ============ */

.section-faq {
  padding: 97px 0 100px;
}

.faq-item {
  background: #fff;
  overflow: hidden;
  border-bottom: 2px solid #CECECE;
}

.faq-item:first-child {
  border-top: 2px solid #CECECE;
}

.faq-question {
  color: #040404;
  width: 100%;
  text-align: left;
  padding: 34px 80px 34px 40px;
  font-size: 18px;
  font-weight: bold;
  background: #fff;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.faq-question > span {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #F5E328;
  position: absolute;
  top: 28px;
  line-height: 1;
}

.faq-question p, .faq-answer p {
  margin-left: 46px;
}

.faq-item.is-open .faq-question, .faq-item:hover .faq-question {
  background: rgb(245, 227, 40, 0.15);
}

.faq-answer {
  padding: 0 40px;
  font-size: 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-in-out, padding 0.4s ease-out;
  position: relative;
}

.faq-answer > span {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #F54F28;
  position: absolute;
  top: 28px;
  line-height: 1;
}

.faq-answer .anchor-link {
  color: #0099FF;
  text-decoration: underline;
}

.faq-answer .anchor-link:hover {
  color: #F54F28;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 34px 40px;
}

.toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  position: absolute;
  outline: none;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
}

.icon-bar {
  display: block;
  position: absolute;
  height: 3px;
  width: 20px;
  background: black;
  border-radius: 2px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.icon-horizontal {
  transform: rotate(0deg);
}

.icon-vertical {
  transform: rotate(90deg);
}

.toggle-button.active .icon-horizontal {
  transform: rotate(0deg);
}

.toggle-button.active .icon-vertical {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

/* ============ CONTACT（フッター上フォーム） ============ */

.section-contact {
  padding: 60px 0;
  background: #F6F6F6;
}

.contact-wrapper {
  display: flex;
  align-items: center;
}

.section-title-wrap {
  flex: 1;
}

.section-title-wrap .section-title {
  font-size: 40px;
  text-align: center;
}

.section-title-wrap .section-subtitle {
  font-size: 16px;
  font-weight: 500;
}

.contact-form-wrap {
  flex: 1;
}

/* ============ FOOTER ============ */

.footer {
  background: #fff;
  padding: 40px;
  border-top: 2px solid #F5E328;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo-img {
  height: 40px;
}

.logo-img:hover {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a::after {
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
  background-image: url("../img/arr_hoso.svg");
  background-size: cover;
  margin-left: 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 12px;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 99;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.15s ease-in-out;
}

.top-icon {
  width: 60px;
  height: 60px;
  display: block;
}

#backToTopBtn.show {
  display: block;
  opacity: 1;
}

#backToTopBtn:hover {
  transform: scale(1.2);
}

@media screen and (min-width: 1280px) {
  .hero-form-container::before {
    content: "";
    background-image: url('../img/mainvisual_pc.png');
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
  }
}


/* ============ PCレイアウト ============ */
@media (min-width: 1120px) {
  /* PCではナビ＆CTA表示、ハンバーガー非表示 */
  .pc-nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .header-cta {
    display: flex;
  }

  .header-cta {
    transition: all 0.2s ease;
  }

  .header-cta:hover {
    opacity: 0.8;
  }

  .header-toggle-menu {
    display: none;
  }

  /* 念のため、PCではSPメニューを強制的に閉じておく */
  .sp-menu {
    display: none !important;
  }

  .br-pc {
    display: inline !important;
  }
}
.br-pc {
  display: none;
}
@media (max-width: 1280px) {
  section .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero, .hero-inner {
    padding: 0 !important;
  }
}

@media (max-width: 1120px) {
  section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .pc-nav {
    display: none;
  }

  .bg_pc_block {
    display: none;
  }

  .about-card {
    display: none;
  }

  .logo-row {
    flex-wrap: wrap;
  }

  .section-issues {
    padding-bottom: 0 !important;
  }

  #section-feature {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0 !important;
  }
}

/* ============ SPレスポンシブ ============ */
@media (max-width: 1120px) {
  .pc_block {
    display: none;
  }

  .sp_block {
    display: block;
  }

  .pc_txt-block {
    display: none;
  }

  .sp_txt-block {
    display: inline-block;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 40px;
    justify-content: space-around;
  }

  .section-heading::before, .section-heading::after {
    width: 20px;
    margin: 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 36px;
  }

  /* ヘッダー */
  .header-inner {
    padding-left: 20px;
    height: 70px;
  }

  .logo {
    margin-left: 0;
  }

  .header-cta {
    display: none;
  }

  /* HERO */
  .hero-img-pc {
    display: none;
  }

  .hero-img-sp {
    display: block;
  }

  .hero-form {
    display: none; /* SPではフォーム非表示 */
  }

  .hero-main-container {
    width: 100%;
  }

  .hero-main {
    padding: 40px 20px 10px;
    background-image: url(../img/mainvisual_sp.png);
    background-size: cover;
    background-position: center;
  }

  .hero-label {
    font-size: 20px;
  }

  .hero-title {
    width: 230px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-badges {
    margin-top: 150px;
  }

  .hero-badge {
    width: 85px;
    height: 85px;

  }

  .hero-badge-txt {
    font-size: 11px;
  }

  .hero-badge-number {
    font-size: 21px;
  }

  .hero-badge-unit-1 {
    font-size: 18px;
  }

  .hero-badge-unit, .hero-badge-bottom-txt {
    font-size: 8px;
  }

  .hero-badge-img {
    flex: 1;
  }

  /* ABOUT */
  .about-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .about-text {
    font-size: 14px;
    margin-top: 20px;
  }

  .about-text-bottom {
    font-size: 18px;
  }

  /* FUNCTION */
  .function-nav {
    width: 100%;
  }

  /* ISSUES */
  .section-header-with-img {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header-image img {
    max-width: 200px;
  }

  .bubble-item {
    width: 100%;
    height: 237px;
  }

  .bg-1, .bg-3 {
    margin-top: 0;
  }

  .bubbles-container {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .people-container {
    width: 200px;
    margin: 0 auto;
  }

  /* FEATURE */
  .section-yellow {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 0;
  }

  .feature-intro {
    font-size: 14px;
  }

  .feature-cards {
    flex-direction: column;
  }

  .modal {
    width: calc(100vw - 40px);
    height: calc(100vh - 100px);
    max-height: unset;
    padding: 40px 20px;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 18px;
    padding-left: 24px;
  }

  .modal-title::before {
    width: 16px;
    height: 16px;
    top: 6px;
  }

  .modal-close {
    right: 5px;
    top: 5px;
  }

  .modal-two-cols, .modal-three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  /* FUNCTION */
  .function-nav {
    display: none;
  }

  .function-nav-sp {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .function-nav-btn-sp.is-active::after {
    transform: rotate(-180deg);
  }

  .function-content-sp {
    width: 100%;
    margin-bottom: 5px;
  }

  .function-nav-btn-sp {
    width: 100%;
  }

  /* CSS */
  .function-content-sp .function-panel-sp {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out,
    padding 0.5s ease-in-out, margin 0.5s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
  }

  .function-content-sp .function-panel-sp.is-active {
    max-height: 2000px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .function-content-sp .function-images, .function-images > div {
    flex-direction: column;
    flex: auto;
    align-items: center;
  }

  #func-sp-4 .function-images > div {
    height: auto;
  }

  .function-content-sp .func-img-wrap {
    height: 240px;
  }

  /* DL CTA */
  .download-cta-text .section-title {
    font-size: 24px;
  }

  .download-cta-text .section-subtitle {
    font-size: 18px;
    gap: 5px;
    align-items: flex-end;
  }

  .download-cta-button {
    max-width: 570px;
    width: 100%;
    padding: 13px 25px;
  }

  /* USAGE */
  .usage-columns {
    flex-direction: column;
  }

  .usage-column._01, .usage-column._02 {
    padding: 20px;
  }

  .title {
    font-size: 24px;
  }

  .grid-container .card {
    padding: 30px 20px 20px;
  }

  .card h4 {
    min-height: 72px;
  }

  /* SUPPORT */
  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* RESULT */
  .stats-container-clean {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .stat-block-clean:first-child {
    border-right: none;
    border-bottom: 2px solid #CECECE;
    padding-bottom: 30px;
  }

  .logo-row {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  /* FLOW */
  .step-process-container {
    flex-direction: column;
  }

  .step-card {
    width: 100%;
  }

  .arrow-pc {
    display: none;
  }

  .arrow-sp {
    display: block;
  }

  .arrow-indicator {
    margin: 10px auto;
  }

  .step-content {
    min-height: auto;
  }

  /* FAQ */
  .faq-question {
    padding: 20px 50px 20px 20px;
    font-size: 16px;
  }

  .faq-question > span, .faq-answer > span {
    top: 16px;
  }

  .toggle-button {
    right: 20px;
  }

  .faq-item.is-open .faq-answer {
    padding: 20px;
    max-height: 650px;
  }

  /* CONTACT */
  .section-download-cta {
    background-image: url(../img/contact_sp.png);
    background-size: cover;
    background-position: center center;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .section-title-wrap .section-title {
    font-size: 24px;
  }

  .section-title-wrap .section-subtitle {
    font-size: 14px;
  }

  .contact-form-wrap {
    width: 100%;
    height: auto;
  }

  /* FOOTER */
  .footer {
    padding: 40px 20px;
  }

  .footer-inner {
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-copy {
    font-size: 10px;
  }

  #backToTopBtn {
    right: 20px;
  }
}

@media (max-width: 400px) {
  .hero-badges {
    margin-top: 210px;
  }
}
