/*
Theme Name: Kasicas
Theme URI: 
Template: blankslate
Description: 
Author: 
Tags: 
Version: 1.0.0
*/
/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-img {
    height: 61px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2A92D4;
}

.btn-primary {
    /*background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 23%, rgba(42, 146, 212, 0.76) 100%);*/
    /*background: linear-gradient(0deg, #2A92D4 69%, rgba(255, 255, 255, 0.8) 100%);*/
    background: linear-gradient( 0deg,    
    #2A92D4 80%,     /* 開始色: */
    #ffffff 100%  /* 終了色:  */
    );
    border: 1px solid #2A92D4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #2A92D4;
}

/* メインビジュアル */
.hero {
    position: relative;
    /*min-height: 100vh;*/
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 745px;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.76;
    transform: rotate(180deg);
}

.hero-content {
    max-width: 1440px;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    /*gap: 60px;*/
    column-gap: 35px;
    align-items: center;
    margin-top: 114px;
}

.hero-text {
    z-index: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    display: grid;
    justify-items: end; /* 各子要素を右揃え */
}

.hero-badge {
    /*background: linear-gradient(0deg, rgba(21, 115, 179, 0.68) 0%, rgba(155, 220, 247, 0.67) 81%);*/
    padding: 8px 0;
    /*margin-bottom: 20px; */
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
}

.badge-text {
    color: #333;
	background-image: linear-gradient(to bottom, #9BDCF7, #1573B3);
	background-repeat: no-repeat;
	background-size: 100% 30%;
	background-position: bottom;

    font-weight: 500;
    font-size: 32px;
    text-shadow: 1px 1px 0px #fff;
}

.hero-title {
    font-size: 40px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px #fff;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 2;
    grid-row-end: 3;
}

.hero-description {
    background: rgba(255, 255, 255, 0.74);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hero-description p {
    font-size: 20px;
    line-height: 1.45;
    margin-bottom: 10px;
    color: #005497;
}

.hero-highlight {
    background: #ECDC34;
    padding: 6px 33px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    display: block;
    width: fit-content;
}

.highlight-text {
    font-size: 24px;
    font-weight: 500;    color: #005497;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.82);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 4;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

.hero-notice {
    background: #51B2D2;
    color: #fff;
    padding: 21px 73px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    box-shadow: 7px 7px 0px #005497;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
    line-height: 1.4;
}

.hero-notice-container {
    height: 244px;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 4;
    grid-row-end: 5;
    padding: 96px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* CTAセクション */
.cta-section-2 {
    display: none;
}

.cta-badge-2 {
    display: none;
}

.cta-section {
    background: linear-gradient(124deg, rgba(175, 235, 255, 1) 3%, rgba(201, 172, 242, 0.23) 99%);
    padding: 30px 20px 60px 20px;
    text-align: center;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-badge {
    margin-bottom: 20px;
    height: 40px;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 5;
    grid-row-end: 6;
    text-align: center;
}

.cta-badge-text {
    font-size: 24px;
    font-weight: 500;
    color: #005497;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    position: relative;
}

.cta-badge-text::before,
.cta-badge-text::after {
    content: '';
    position: absolute;
    top: 55%;
    width: 25px;
    height: 4px;
    background-color: #005497;
}

.cta-badge-text::before {
    left: -25px;
    transform: translateY(-50%) rotate(60deg);
}

.cta-badge-text::after {
    right: -25px;
    transform: translateY(-50%) rotate(-60deg);
}


.cta-note {
    margin-top: -62px;
    margin-right: 595px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-offer {
    display: flex;
    /* gap: 10px; */
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}

.offer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    font-size: 24px;
    color: #005497;
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 1);
}


.offer-price {
    font-weight: 700;
    font-size: 36px;
}

.offer-discount {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
}

.discount-number {
    font-size: 40px;
    font-weight: 600;
    line-height: 0.98;
}

/* 右の OFF／% を縦積み */
.discount__tail{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: .06em;            /* 微調整で下端合わせ */
  }

.discount-percent {
  font-size: .8em;                /* 親(=30)に対する倍率 */
  font-weight: 700;
  letter-spacing: .08em;
}

.discount-text {
    font-size: 0.8em;
    font-weight: 700;
    transform: translateY(-.06em);   /* ほんの少し上げる微調整 */
}

.cta-button-large {
    position: relative;
}

.btn-cta {
    background: linear-gradient(0deg, rgba(235, 220, 51, 1) 69%, rgba(255, 255, 255, 0.8) 100%);
    border: none;
    color: #005497;
    padding: 18px 186px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 5px 5px 0px #E8BC00;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}


.cta-note img:nth-of-type(1) {
    display: inline;
}
.cta-note img:nth-of-type(2) {
    display: none;
}

.triangle {
    width: 20px;
    height: 20px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background-color: #005497;
  }

.btn-cta:hover {
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 16px;
}


.note-text {
    color: #2A92D4;
    font-weight: 500;
    font-size: 20px;
}

/* 機能紹介 */
.features {
    background: rgba(233, 239, 255, 0.51);
    padding: 80px 20px;
}

.section-header,
.trial-header,
.application-header,
.services-header {
    text-align: center;
}

/*
.section-header{
    height: 127px;
}*/

.section-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    position: relative;
    display: inline-block;
    z-index: 1;
}


.diag-grad{
    position: relative;      /* 角丸に沿わせる */ 
    background: rgba(233, 239, 255, 0.51);
    margin-top: 130px;
  }
  
  /* 左上→右下の半分を“グラデで”塗る */
  .diag-grad.tl-br::after{
    content:"";
    position:absolute; inset:0;
    background: #ffffff;
    clip-path: polygon(0 0, 0 50%, 100% 50%, 100% 0);
    z-index: 0;
  }

/*
.section-title::before,
.section-title::after,
.trial-title::before,
.application-title::before,
.services-title::before {
    content: '';
    position: absolute;
    top: 10%;
    width: 0;
    height: 30px;
    border-left: 5px solid #005497;
}

.section-title::before,
.trial-title::before,
.application-title::before,
.services-title::before {
    left: -20px;
}

.section-title::after {
    right: -20px;
}
*/

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));*/
    grid-template-columns: repeat;
    gap: 40px;
}

.features-container :nth-child(1) {
    grid-row-start: 1;
    grid-row-end: 3;
}

.features-container :nth-child(2) {
    grid-row-start: 2;
    grid-row-end: 4;
}

.features-container :nth-child(3) {
    grid-row-start: 3;
    grid-row-end: 5;
}

.features-container :nth-child(4) {
    grid-row-start: 4;
    grid-row-end: 6;
}

.features-container :nth-child(5) {
    grid-row-start: 5;
    grid-row-end: 7;
}

.features-container :nth-child(6) {
    grid-row-start: 6;
    grid-row-end: 8;
}

.features-container :nth-child(7) {
    grid-row-start: 7;
    grid-row-end: 9;
}

.features-container :nth-child(8) {
    grid-row-start: 8;
    grid-row-end: 10;
}

.features-container :nth-child(9) {
    grid-row-start: 9;
    grid-row-end: 11;
}

.features-container :nth-child(10) {
    grid-row-start: 10;
    grid-row-end: 12;
}


.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /*background: #fff;*/
    padding: 20px;
    border-radius: 10px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}



.feature-content {
    flex: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.feature-icon {
    width: 52px;
    height: 53px;
    object-fit: cover;
}

.feature-title {
    font-size: 20px;
    font-weight: 350;
    color: #333;
}

.feature-description {
    font-size: 15px;
    font-weight: 300;
    color: #333;
    line-height: 1.33;
    margin-bottom: 8px;
}

.feature-divider {
    width: 266px;
    height: 1px;
    background-color: #005497;
}

.feature-screenshot {
    flex-shrink: 0;
}

.screenshot-img {
    width: 261px;
    height: auto;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.ai-screenshots,
.tiktok-screenshots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-screenshot,
.tiktok-screenshot {
    width: 242px;
    height: auto;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

/* 比較グラフ */
.comparison {
    padding: 80px 20px;
    background: #fff;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}


/* タイトル帯 */
.compare-title {
    background: var(--blue-900);
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 18px 12px;
    font-size: 24px;
    border: 1px solid;
    border-color: #2C95D7;
    border-bottom: 1px solid;
    background-color: #2C95D7 !important;
    box-sizing: border-box;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;             /* 親幅に合わせる */
    table-layout: fixed;      /* 均等割り当て */
    border-collapse: collapse;
    border: 1px solid #fff;
}
.kasicas-cell {
    background-color: #BFE9FA !important;
    color: #000 !important;
    font-weight: 300 !important;
}

.comparison-table th,
.comparison-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #000;
    font-size: 16px;
    line-height: 1.25;
}

.comparison-table th {
    background-color: #2C95D7;
    color: #fff;
    font-weight: 300;
}

.feature-column, .competitor-column {
    background-color: #2C95D7 !important;
    border-color: #2C95D7 !important;
    border-bottom-color: #000 !important;
    border-bottom: 1px solid !important;
}

.feature-column {
    background-color: #2C95D7 !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

.kasicas-column {
    background-color: #BFE9FA !important;
    color: #005497 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border: none !important;
}

.kasicas-cell-price {
    font-size: 24px !important;
    font-weight: 700 !important;
}

.kasicas-cell-price-color {
    color: #CF3224 !important;
}
.blank-cell {
    border: none !important;
}

.competitor-column {
    /*background-color: #fff !important;*/
    color: #ffffff !important;
    font-weight: 300 !important;
}

.feature-name {
    /*text-align: left !important;*/
    font-weight: 400 !important;
}

/* 料金 */
.pricing {
    padding: 40px 20px;
    background: #fff;
}

.pricing-container {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    background-color: #BFE9FA;
    border-radius: 10px;
    padding: 30px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 500;
    color: #005497;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    gap: 100px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 50px 20px;
    width: 309px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.card-header {
    background: #288FD0;
    margin: -50px -20px 20px -20px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.card-content {
    text-align: center;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    /*margin-bottom: 10px;*/
}

.price-number {
    font-size: 27px;
    font-weight: 500;
    color: #2C95D7;
}

.price-unit {
    font-size: 15px;
    font-weight: 500;
    color: #2A92D4;
}

.price-tax {
    font-size: 12px;
    font-weight: 500;
    color: #2A92D4;
}

.price-note {
    font-size: 15px;
    font-weight: 300;
    color: #CF3224;
    text-align: center;
}

.panish-text {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #2A92D4;
}

.panish-text::after {
    content: '';
    transform: rotate(7deg);
    width: 100%;
    border-top: 3px solid #288FD0;
    position: absolute;
    top: 50%;
    left: 0;
}

.pricing-notes {
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    color: #2A92D4;
    max-width: 630px;                 /* カードの横幅に合わせて調整 */
    margin: 20px auto 0;              /* 上だけ余白、左右はautoで均等 */
    padding-inline: clamp(16px, 3vw, 28px); /* 端のゆとり(可変) */
    line-height: 1.2;
}

.pricing-notes p {
    margin: .25em 0;      /* p同士の間隔 */
    padding-left: 1.4em;  /* 本文の開始位置 */
    text-indent: -1.4em;  /* 1行目だけ戻す＝※が左に出る */
}

/* トライアルの流れ */
.trial {
    padding: 40px 20px;
    background: #fff;
}

.trial-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trial-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    position: relative;
    display: inline-block;
}

.trial-steps {
    /*display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;*/
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(6, 1fr);
    justify-content: center;
    align-items: flex-start;
}

.trial-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*max-width: 320px;*/
}


.step-number {
    /*margin-bottom: 20px;*/
    
    position: relative;
    font-display: inline-block;
    z-index: 2;
}

.step-circle {
    width: 89px;
    height: 89px;
    background: #2A92D4;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    /*
    position: relative;
    display: inline-block;
    transform: translateY(45px);
    */
}

.step-text {
    font-size: 16px;
    font-weight: 400;
    line-height:0.2;
}

.step-num {
    font-size: 36px;
    font-weight: 400;
    line-height:0.2;
}

.trial-steps .trial-step:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 5;
}

.trial-steps .trial-step:nth-of-type(3) {
    grid-column-start: 6;
    grid-column-end: 10;
}

.trial-steps .trial-step:nth-of-type(5) {
    grid-column-start: 11;
    grid-column-end: 15;
}

.trial-steps .trial-arrow:nth-of-type(2) {
    grid-column-start: 5;
    grid-column-end: 6;
}

.trial-steps .trial-arrow:nth-of-type(4) {
    grid-column-start: 10;
    grid-column-end: 11;
}

.trial-step {
    grid-row-start: 1;
    grid-row-end: 7;
}

.trial-arrow {
    grid-row-end: 5;
}

.step-content {
    background: #fff;
    border: 4px solid #2A92D4;
    border-radius: 15px;
    padding: 43px 10px 0 5px;
    width: 100%;
    height: 245px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    transform: translateY(-45px);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px #fff;
}

.step-description {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.57;
    text-shadow: 1px 1px 0px #fff;
}

.trial-arrow {
    /*width: 123px;*/
    height: 4px;
    background: #2A92D4;
    /*margin-top: 45px;*/
}

/* 申し込みフォーム */
.application {
    background: #ffffff;
    padding: 0px 20px 60px 20px;
}

.application-container {
    max-width: 920px;
    margin: 0 auto;
    margin-top: -130px;
    position: relative;
    z-index: 2;
}

.application-header {
    background-color: #2C95D7;
    text-align: center;
    /*margin-bottom: 40px;*/
    padding-top: 22px;
    height: 225px;
    display: inline-block;
    box-sizing: border-box;
    width: calc(100% + 40px);
    margin-left: -20px;
}

.application-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    display: inline-block;
}


/*
.application-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: #2A92D4;
}
    */

.application-title::before {
    border-left: 5px solid #ffffff;
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.form-note {
    font-size: 11px;
    font-weight: 350;
    color: #005497;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 350;
    color: #005497;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(155, 220, 247, 0.36);
    border-radius: 6px;
    font-size: 16px;
    color: #333;
}

.form-input:focus {
    outline: 2px solid #2A92D4;
}

.form-agreement {
    margin-bottom: 30px;
    text-align: center;
}

.agreement-text {
    font-size: 11px;
    font-weight: 350;
    color: #005497;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 350;
    color: #005497;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}

.form-submit {
    background: #2A92D4;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
}

.form-submit:after {
    content: '▼';
    display: inline-block; 
    transform: rotate(270deg);
}

.wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #cf3224;
    font-size: 12px;
    font-weight: normal;
    display: block;
}

/* よくある質問 */
.faq {
    padding: 80px 20px;
    background: rgba(199, 232, 245, 0.26);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #005497;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 27px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-q {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    min-width: 18px;
}

.faq-text {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    flex: 1;
}

.faq-arrow {
    font-size: 16px;
    color: #005497;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item > .faq-question:nth-of-type(2) {
    display: none;
  }

/* .active が付いたら表示 */
.faq-item.active > .faq-question:nth-of-type(2) {
    display: flex;
    background-color: #E9EFFF;
  }



/* その他サービス */
.other-services {
    padding: 40px 20px;
    background: #fff;
}

.services-container {
    max-width: 565px;
    margin: 0 auto;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0px 40px 0px;
}


.services-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    /*
    margin-bottom: 20px;
    */
    position: relative;
    display: inline-block;
}

/*
.services-title::before {
    content: '';
    position: absolute;
    */
    /*
    left: 50%;
    top: -10px;
    */
    /*
    transform: translateX(-50%);
    width: 0;
    height: 30px;
    border-left: 5px solid #005497;
}
*/


.services-options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-option {
    /*background: #E9EFFF;*/
    background: linear-gradient( 0deg,    
    #E9EFFF 80%,     /* 開始色: */
    #ffffff 100%  /* 終了色:  */
    );
    border: 1px solid #2A92D4;
    border-radius: 10px;
    padding: 10px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.service-option:hover {
    background: linear-gradient( 0deg,    
    #2A92D4 80%,     /* 開始色: */
    #ffffff 100%  /* 終了色:  */
    );
    color: #fff;
    transform: translateY(-2px);
}

.service-text {
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    display: block;
}

/* フッター */
.footer {
    background: #2A92D4;
    padding: 40px 0px;
    color: #fff;
    height: 370px;
}

.footer-container {
    /*max-width: 920px;*/
    height: 100%;
    align-items: flex-end;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 42px;
    width: auto;
}

.footer-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    /* margin-left: -40px; */
    /* margin-right: -40px; */
}

/* レスポンシブデザイン */
/*
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .nav-list {
        gap: 20px;
        margin: 20px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description p {
        font-size: 18px;
    }

    .hero-notice-container {
        padding: 20px;
        height: auto;
    }

    .hero-notice {
        padding: 15px 20px;
        font-size: 16px;
        max-width: 333px;
        margin: 0 auto;
    }

    .cta-offer {
        flex-direction: column;
        gap: 20px;
    }

    .btn-cta {
        padding: 15px 30px;
        font-size: 18px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-screenshot {
        align-self: center;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .trial-steps {
        flex-direction: column;
        align-items: center;
    }

    .trial-arrow {
        width: 3px;
        height: 40px;
        margin: 20px 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
*/

/*タブレット表示（1220px以下）*/

@media (max-width: 1280px) {

    .logo-img {
        height: 45px;
    }

    .nav-list {
        gap: 20px;
    }

    .btn-primary {
        padding: 5px 10px
    }
    
    .features-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .feature-item {
        padding: 15px;
        flex-direction: column;
        border-radius: 0px;
    }

    .feature-content {
        flex: 1;
        width: 100%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

    .feature-divider {
        width: 100%;
    }

    .screenshot-img {
        width: 100%;
    }

    
    .feature-screenshot {
        width: 100%;
    }

    .ai-screenshot, .tiktok-screenshot {
        width: 100%;
    }
}


/* スマホ表示（780px以下） */
@media (max-width: 780px) {
    /*body*/
    body {
        max-width: 475px;
        margin: 0 auto;
    }

    /* ヘッダー */
    .header {
        max-width: 475px;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.76);
    }

    .header-container {
        padding: 10px;
        height: 60px;
        justify-content: center;
    }

    .logo-img {
        height: 42px;
    }

    .nav-list {
        display: none; /* ハンバーガーメニューに変更 */
    }

    .hamburger-menu {
        /*display: flex;
        */
        display: none;
    }

    .cta-button {
        display: none;
    }

    .btn-primary {
        font-size: 16px;
        padding: 8px 16px;
    }

    /* メインビジュアル */
    .hero {
        min-height: 80vh;
        padding: 20px 0;
    }

    .hero-background {
        height: 520px;
    }

    .hero-bg-img {
    opacity: 1;
    transform: rotate(0deg);
    }

    .hero-content {
        padding: 0 10px;
        gap: 4px;
        margin-top: 60px;
    }

    .hero-badge {
        padding: 0;
    }

    .badge-text {
        font-size: 20px;
    }

    .hero-text {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 5;
        grid-row-end: 9;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-description {
        padding: 15px;
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;
        display: grid;
        margin-top: 40px;
        margin-bottom: 50px;
        border-radius: 0px;
        box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.1);
        background-color: #ffffff
    }

    .hero-description p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 0px;
    }

    .hero-highlight {
        padding: 4px 4px;
        grid-column-start: 4;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
        display: grid;
    }

    .highlight-text {
        font-size: 13px;
    }

    .hero-img {
        max-width: 313px;
        height: auto;
        grid-column-start: 1;
        grid-column-end: 5;
    }

    .hero-image {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 3;
        grid-row-end: 6;
    }

    .hero-notice {
        padding: 15px 20px;
        font-size: 16px;
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        /*max-width: 333px;*/
        line-height: 1.4;
        margin: 0;
        box-shadow: 4px 4px 0px #005497;
        text-align: left;
    }

    .hero-notice-container {
        padding: 0px;
        height: auto;
        grid-row-start: 9;
        grid-row-end: 10;
        margin-bottom: 50px;
    }

    /* CTAセクション */
    .cta-section-2 {
        display: block;
    }

    .cta-badge-2 {
        display: block;
    }

    .cta-badge {
        grid-row-start: 10;
        grid-row-end: 11;
    }

    .offer-price-shadow {
        text-shadow: 1px 1px 1px #FDCD00;
    }

    .cta-section {
        padding: 0px 10px 20px 10px;
        background: linear-gradient(124deg, #1573B3 3%, #2C95D7 99%);
    }

    .cta-content {
        gap: 0px;
    }

    .cta-badge-text {
        font-size: 20px;
    }

    
    .cta-offer {
        flex-direction: column;
        align-items: center;
    }

    .offer-item {
        font-size: 16px;
        color: #ffffff;
        text-shadow: none;
        border-bottom: dashed 1px;
        border-color: #FDCD00;
        width: fit-content;
        letter-spacing: .04em;
    }

    .offer-price {
        font-size: 30px;
    }

    .offer-price-unit, .offer-text {
        font-size: 16px;
    }

    .btn-cta {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%; 
        align-items: center;
        justify-content: center;
        box-shadow: 2px 2px 0px #7e7e7e;
        border: 1px solid #E8BC00;
        margin-top: 25px;
    }

    .cta-note {
        padding: 0px 20px;
        width: 100%;
        display: flex;
        justify-content: left;
        margin: 0px;
        margin-top: -15px;
    }

    .cta-note img:nth-of-type(1) {
        display: none;
    }
    .cta-note img:nth-of-type(2) {
        display: flex;
    }

    .note-text {
        font-size: 13px;
    }

    .cta-badge-text::before, .cta-badge-text::after {
        height: 2px;
    }

    .cta-button-large {
        width: 100%;
        display: flex;
        align-items: center;
    }

    /* 機能紹介 */
    .features {
        padding: 50px 10px 40px 10px;
        /*background-color: rgba(155, 220, 247, 0.64);*/
        background-color: #9BDCF764;
    }


    .feature-content {
        flex: 1;
        width: 100%;
        text-align: left;
    }
    
    .section-title {
        font-size: 20px;
        transform: none;
        z-index: 1;
    }

    .features-container {
        gap: 20px;
    }

    .feature-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        background-color: #ffffff;
        border-radius: 0px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    }

    .section-header {
        height: auto;
        margin-top: 100px;
        box-sizing: border-box;
    }

    .section-header h2 {
        color: #005497;
    }

    :root{
        --c1:#dbeafe;   /* 薄い色 */
        --c2:#60a5fa;   /* 濃い色 */
    }

    .feature-header {
        /*justify-content: center;*/
        margin-bottom: 10px;
        position: relative;
        background: #fff;              /* もう片側の色 */
        border: none;
        border-radius: 8px;
        overflow: hidden;              /* 角丸に沿わせる */
    }

    .feature-header.tl-br::after{
        content:"";
        position:absolute; inset:0;
        /*background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);*/
        clip-path: polygon(0 0, 100% 0, 0 100%);  /* 三角形に切り抜き */
    }

    .diag-grad{
        position: relative;      /* 角丸に沿わせる */ 
        background-color: #9BDCF764;
      }
      
      /* 左上→右下の半分を“グラデで”塗る */
      .diag-grad.tl-br::after{
        content:"";
        position:absolute; inset:0;
        background: #ffffff;
        clip-path: polygon(0% 0, 0% 100%, 100% 0%);
        z-index: 0;
      }

      /* 右上→左下にしたい場合（向き反転）
      .diag-grad.tr-bl::after{
        background: linear-gradient(225deg, var(--c1), var(--c2));
        clip-path: polygon(100% 0, 100% 100%, 0 0);
      }*/

    .feature-icon {
        width: 52px;
        height: 53px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 13px;
        margin-bottom: 10px;
        width: 100%;
    }

    .feature-divider {
        width: 100%;
        /*max-width: 310px;*/
    }

    
    .feature-screenshot {
        width: 100%;
    }

    .screenshot-img {
        width: 100%;
        /*max-width: 310px;*/
        height: auto;
    }

    .ai-screenshots,
    .tiktok-screenshots {
        width: 100%;
        /*max-width: 310px;*/
    }

    .ai-screenshot,
    .tiktok-screenshot {
        width: 100%;
        height: auto;
    }

    /* 比較グラフ */
    .comparison {
        padding: 40px 10px;
    }

    .comparison-title {
        font-size: 20px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
    }


    .card-header{
        width: 100%;
    }

    /* 料金 */
    .pricing {
        padding: 40px 10px;
    }

    .pricing-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .pricing-container {
        padding: 30px 10px 10px 10px;
    }

    .pricing-card {
        /*
        width: 100%;
        max-width: 330px;
        padding: 30px 20px;
        */
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
        padding: 50px 0px 10px 0px;
    }

    .card-content {
        text-align: center;
        display: flex;
        align-items: end;
        justify-content: center;
        margin-top: -15px;
        gap: 17px;
    }

    .price-display {
        gap:10px;
    }

    .pricing-cards {
        gap: 15px;
    }

    .price-number {
        font-size: 27px;
    }

    .price-unit {
        font-size: 14px;
    }

    .pricing-notes {
        font-size: 12px;
    }

    /* トライアルの流れ */
    .trial {
        padding: 40px 10px;
    }

    .trial-title {
        font-size: 24px;
        color: #005497;
    }

    .trial-steps {
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .trial-step {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: normal;
    }

    .step-content {
        /*
        background: #fff;
        border: 4px solid #2A92D4;
        padding: 43px 10px 0 5px;
        width: 100%;
        height: 245px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1;
        */
        border: 4px solid #C7E8F5;
        background-color: #C7E8F5;
        flex: 1;
        align-items: normal;
        transform: none; 
        border-radius: 0px;
        height: auto;
        text-align: left;
    }

    .step-circle {
        width: 72px;
        height: 100%;
        border-radius: 0%;
        background-color: #005497;
    }

    .step-num {
        font-size: 36px;
    }

    .step-text {
        font-size: 16px;
    }

    .step-content {
        height: auto;
        padding: 20px 10px;
    }

    .step-title {
        font-size: 16px;
        color: #005497;
        margin-bottom: 0px;
    }

    .step-description {
        font-size: 12px;
        color: #005497;
    }

    /*
    .trial-arrow {
        width: 3px;
        height: 30px;
        margin: 10px 0;
    }
    */

    .trial-arrow {
        width: 35px; 
        height: 17.5px;     /* 好きなサイズでOK */
        position: relative;
        overflow: hidden;
        background: transparent;
    }

    .trial-arrow::before{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(to bottom, #dbeafe 0%, #9ec5ff 60%, #6ea8ff 100%);
      clip-path: polygon(0 0, 100% 0, 50% 100%); /* 上辺=底、頂点=下 */
    }

    /* 申し込みフォーム */

    .application {
        padding: 40px 0px;
        display: flex;
        flex-direction: column;
        align-items: center ;
    }

    .application-container {
        margin-top: 0px;
        max-width: none;
        width: 100%;
    }

    .application-header {
        height: auto; 
        padding: 6px 10px;
        display: flex;
        width: fit-content;
        align-items: center;
        justify-content: center;
        margin: auto;
        border: 2px solid #2491CF;
        border-radius: 10px;
        background-color: #ffffff;
        position: relative;
        z-index: 1;
    }

    .diag-grad2 {
      position: relative;
      width: 100%;
      height: auto;   /* 縦横比は自由 */
      background: #fff;              /* もう片側の色 */
      border-radius: 0px;
      overflow: hidden;              /* 角丸に沿わせる */
    }
    
    .diag-grad2.tl-br2::after{
      content:"";
      position:absolute; inset:0;
      background: #BFE9FA;
      clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    }


    .application-title {
        font-size: 20px;
        font-weight: 500;
        color: #005497;
        z-index: 1;
    }

    .application-form {
        background-color: #BFE9FA;
        width: 100%;
    }

    form {
        padding: 10px 10px 30px 10px;
        background-color: #BFE9FA;
        border-radius: 0px;
        box-shadow: none;
        width: 100%;
    }

    .form-note {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        font-size: 14px;
        padding: 8px;
        background: #ffffff;
    }

    .form-submit {
        font-size: 16px;
        padding: 12px 20px;
    }

    /* よくある質問 */
    .faq {
        padding: 40px 10px;
        margin-top: 100px;
    }

    .faq-title {
        font-size: 20px;
    }

    .faq-question {
        padding: 20px 15px;
    }

    .faq-q {
        font-size: 14px;
    }

    .faq-text {
        font-size: 14px;
    }

    /* その他サービス */
    .other-services {
        padding: 20px 10px;
    }

    .service-option.active {
        /* background: #2A92D4; */
        background: #2A92D4;
        color: #fff;
    }

    .services-title {
        font-size: 20px;
        color: #005497;
        
    }

    .services-options {
        flex-direction: column;
        gap: 10px;
    }

    .service-option {
        padding: 8px 20px;
        box-shadow: none;
    }

    .service-text {
        font-size: 14px;
    }

    /* フッター */
    .footer {
        padding: 20px 0px;
    }

    .footer-container {
        flex-direction: row-reverse;
        gap: 0px;
        border-bottom: 1px solid;
        border-top: 1px solid;
        /*justify-content: left;*/
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: left;
        padding-left: 40px;
        font-size: 16px;
        font-weight: 200;
    }

    .footer-link {
        font-size: 16px;
        font-weight: 200;
    }

    .footer-link::before {
        content: '＞';
    }

    .footer-logo-img {
        height: 26px;
    }

    .footer-logo {
        width: auto;
        background-color: transparent;
    }

    .features-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-container :nth-child(1) {
        grid-row-start: 1;
        grid-row-end: 3;
    }
    
    .features-container :nth-child(2) {
        grid-row-start: 3;
        grid-row-end: 5;
    }
    
    .features-container :nth-child(3) {
        grid-row-start: 5;
        grid-row-end: 7;
    }
    
    .features-container :nth-child(4) {
        grid-row-start: 7;
        grid-row-end: 9;
    }
    
    .features-container :nth-child(5) {
        grid-row-start: 9;
        grid-row-end: 11;
    }
    
    .features-container :nth-child(6) {
        grid-row-start: 11;
        grid-row-end: 13;
    }
    
    .features-container :nth-child(7) {
        grid-row-start: 13;
        grid-row-end: 15;
    }
    
    .features-container :nth-child(8) {
        grid-row-start: 15;
        grid-row-end: 17;
    }
    
    .features-container :nth-child(9) {
        grid-row-start: 17;
        grid-row-end: 19;
    }
    
    .features-container :nth-child(10) {
        grid-row-start: 19;
        grid-row-end: 21;
    }
    
}

/* Thank you セクション */
.thankyou {
    background-color: #FFFFFF;
    padding: 176px 127px 96px 127px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thankyou-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    width: 100%;
}

.thankyou-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thankyou-title-frame {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(155, 220, 247, 0.67) 50%, rgba(21, 115, 179, 0.68) 100%);
    /*width: 450px;*/
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.447;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
    margin: 0;
    /*width: 450px;*/
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFFFFF;
}

.thankyou-message-frame {
    border: 1px dashed #000000;
    padding: 30px;
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex-direction: column;
}

.thankyou-message {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    color: #000000;
    margin: 0;
    width: 100%;
}

.thankyou-button-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}

.btn-kasicas-link {
    background-color: #51B2D2;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.447;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    box-shadow: 5px 5px 0px 0px rgba(0, 84, 151, 1);
    transition: all 0.3s ease;
}

.btn-kasicas-link a {
  color: inherit;
  text-decoration: none;
}

.btn-kasicas-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0px 0px rgba(0, 84, 151, 1);
}

.btn-kasicas-link:active {
    transform: translate(5px, 5px);
    box-shadow: 0px 0px 0px 0px rgba(0, 84, 151, 1);
}
pre {
    white-space: pre-wrap;
}

/* モバイル対応 */
@media (max-width: 780px) {
    .thankyou {
        padding: 108px 20px 48px 20px;
    }
    
    .thankyou-container {
        gap: 24px;
    }
    
    .thankyou-title-frame {
        width: 100%;
        max-width: 350px;
    }
    
    .thankyou-title {
        font-size: 18px;
        width: 100%;
        max-width: 350px;
    }
    
    .thankyou-message-frame {
        padding: 20px;
    }
    
    .thankyou-message {
        font-size: 14px;
    }
    
    .btn-kasicas-link {
        font-size: 20px;
        padding: 8px 16px;
    }
}

