/* --- 基本設定（色やフォントをここで一括管理） --- */
:root {
    --main-color: #e60012; /* メインカラー（ReviCo風の赤） */
    --sub-color: #fce4e6;  /* 背景用の薄いピンク */
    --accent-yellow: #e8f24b; /* ヒーローと連動させるブランドアクセント（実際の色味に合わせて調整してください） */
    --text-color: #333333;
    --light-gray: #f9f9f9;
    --border-color: #eeeeee;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}


/* --- ヘッダー --- */
header {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: #fff !important;
    z-index: 100;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-cta {
    background: #e53935;
    color: #fff;
    padding: 8px 20px; /* 上下を小さく */
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    transition: 0.3s;
    display:inline-block;
    font-size: 0.9rem;
}

.btn-cta:hover{
    background:#d32f2f; /* 少し濃い赤 */
    transform:translateY(-2px);
}

/* --- メインビジュアル --- */
.hero {
    background: linear-gradient(135deg, #fff 60%, var(--sub-color) 100%);
    padding: 0;
    text-align: left;
}
.hero-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 300px; }
.hero-image { flex: 1; min-width: 300px; text-align: center; }
.hero-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.hero h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; }

/* --- 実績ロゴスライダー風 --- */
.logos { background: var(--light-gray); padding: 40px 0; text-align: center; }
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    opacity: 0.7;
}

/* ロゴ */
.logo img{
    height:30px;
    width:auto;
}

/* スマホ */
@media (max-width:768px){
    .logo img{
        height:30px;
    }
}

/* --- 3つのメリット/特徴 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-item {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center;
    transition:0.4s;
    position: relative;
}

.feature-item:hover{
    transform:translateY(-6px);
}
.feature-item .icon { font-size: 3rem; color: var(--main-color); margin-bottom: 20px; }

/* --- DATA セクション背景（前後の白セクションと差をつける） --- */
.data-section {
    background: var(--sub-color);
}

/* --- ブリッジセクション（消費者向け価値→企業向け価値をつなぐ一文） --- */
.bridge {
    background: #fff;
    text-align: center;
    padding: 60px 0 20px;
}
.bridge-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--sub-color);
    border-radius: 20px;
    position: relative;
}
.bridge-inner::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 40px;
    width: 50px;
    height: 14px;
    background: var(--accent-yellow);
    border-radius: 6px 6px 0 0;
    opacity: 0.9;
}
.bridge-label {
    color: var(--main-color);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.bridge-text {
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 700;
    color: var(--text-color);
}
.bridge-text span {
    color: var(--main-color);
}

@media (max-width: 768px) {
    .bridge-inner { padding: 30px 20px; }
    .bridge-text { font-size: 1rem; }
}

/* --- FAQ --- */
.faq { background: var(--light-gray); }
.faq-item {
    background: #fff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}

.faq-q {
    font-weight: bold;
    color: var(--main-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size:1.1rem;
}

.faq-item p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.faq-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 900;
    color: #fff;
}
.faq-badge.q { background: var(--main-color); }
.faq-badge.a { background: #999; }

/* --- スマホ調整 --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    section { padding: 50px 0; }
}


/* --- mission --- */
.mission{
    position:relative;
    overflow:visible;
    background:#fff;
    padding-top:140px;
}

.mission .section-bg{
    top:-20px;
}

@media (max-width:768px){

    .mission .section-bg{
        top:20px;
    }

}

.mission-inner{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.mission-sub{
    color:var(--main-color);
    font-weight:bold;
    letter-spacing:3px;
    margin-bottom:20px;
    font-size:0.9rem;
}

.mission-title{
    font-size:3rem;
    line-height:1.5;
    font-weight:700;
    margin-bottom:40px;
}

.mission-text{
    font-size:1.05rem;
    line-height:2.2;
    color:#666;
    max-width:720px;
    margin:0 auto;
}

.mission-highlight{
    color:var(--main-color);
    font-weight:bold;
}

.mission-line{
    width:1px;
    height:80px;
    background:var(--main-color);
    margin:40px auto;
    opacity:0.3;
}

/* 【新規追加】MISSIONセクション 1枚画像用のスタイル */
.mission-visual {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.mission-visual img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

@media (max-width:768px){

    .mission{
        padding:60px 20px;
    }

    .mission-title{
        font-size:1.8rem;
    }

    .mission-text{
        font-size:0.95rem;
        line-height:2;
    }

    .mission-visual img {
        max-height: 250px;
    }
}


/* --- section title --- */

.section-heading{
    position:relative;
    text-align:center;
    margin-bottom:80px;
}

.section-bg{
    position:absolute;
    top:-40px;
    left:50%;
    transform:translateX(-50%);
    font-size:7rem;
    font-weight:900;
    color:rgba(230,0,18,0.04);
    letter-spacing:10px;
    white-space: nowrap;
    z-index:0;
}

.section-sub{
    position:relative;
    z-index:2;
    color:var(--main-color);
    font-size:0.9rem;
    letter-spacing:3px;
    font-weight:bold;
    margin-bottom:20px;
}

.section-title{
    position:relative;
    z-index:2;
    font-size:2.8rem;
    line-height:1.5;
    font-weight:700;
}

.section-line{
    width:1px;
    height:70px;
    background:var(--main-color);
    opacity:0.3;
    margin:35px auto 0;
}

@media (max-width:768px){

    .section-bg{
        font-size:3rem;
        top:-10px;
    }

    .section-title{
        font-size:1.8rem;
    }

}


/* =========================
ANIMATION
========================= */

html{
    scroll-behavior:smooth;
}

/* fade-up */

.fade-up{
    opacity:0;
    transform:translateY(60px);
    transition:
        opacity 1.2s cubic-bezier(.16,1,.3,1),
        transform 1.2s cubic-bezier(.16,1,.3,1);
    will-change:transform, opacity;
}

.fade-up.active{
    opacity:1;
    transform:translateY(0);
}

/* delay */

.delay-1{
    transition-delay:0.15s;
}

.delay-2{
    transition-delay:0.3s;
}

.delay-3{
    transition-delay:0.45s;
}

/* parallax */

.parallax{
    transition:transform 0.2s linear;
    will-change:transform;
}

/* section background motion */

.section-bg{
    transition:transform 0.3s linear;
    will-change:transform;
}

/* hover */

.feature-item{
    overflow:hidden;
}

.feature-item::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );

    transform:translateX(-100%);
    transition:0.8s;
}

.feature-item:hover::before{
    transform:translateX(100%);
}

.feature-item:hover{
    transform:
        translateY(-10px)
        scale(1.01);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.08);
}

/* hero image */

.hero-image img{
    animation:float 6s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* header */

header{
    background:rgba(255,255,255,0.8);
    backdrop-filter:blur(12px);
}

/* mobile */

@media (max-width:768px){

    .fade-up{
        transform:translateY(30px);
    }

}


.video-wrap {
  text-align: center;
}

.hero-video {
  width: 100%;
  max-width: 600px; /* PCの暴走防止 */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* PC/SP切り替え */
.pc-video {
  display: block;
}

.sp-video {
  display: none;
}

@media (max-width: 768px) {
  .pc-video {
    display: none;
  }

  .sp-video {
    display: block;
    max-width: 100%;
  }
}




/* 規約ページ内のstrongタグを確実に太字にする */
.rules-container strong,
.rules-container b {
    font-weight: 900 !important; /* 最大級の太さを指定 */
    color: #000 !important; /* 文字色を濃くして強調を際立たせる */
    display: inline-block; /* スキンによってはこれが必要な場合がある */
}

/* 各条文のタイトルの前に余白を作る（さらに見やすく） */
.rules-container p strong {
    margin-top: 1.5em;
    font-size: 1.05em;
}



/* 共通スタイル：利用規約・ガイドライン等 */
.rules-container {
    padding: 40px;
    background: #fff;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    text-align: justify;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* 独自のセクション見出し（目次に反映されない） */
.rules-section-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 30px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
    display: block;
}

.rules-list {
    margin: 15px 0 25px 0;
    padding-left: 1.2em;
}

.rules-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.rules-hr {
    margin: 40px 0 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.rules-date {
    text-align: right;
    font-size: 0.9rem;
}

/* スマホ用余白調整 */
@media screen and (max-width: 768px) {
    .rules-container {
        padding: 25px 20px;
    }
}


/* 最終コンパクト版：運営者情報リンク */
.kuu-link-box {
    margin: 8px 0 20px;
}

.kuu-link-box a {
    display: inline-block;
    text-decoration: none !important;
    padding: 4px 0;
}

.kuu-link-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #1a73e8; /* リンクと認識しやすい色 */
    line-height: 1.4;
}

.kuu-link-url {
    display: block;
    font-size: 13px;
    color: #666; /* 少し濃くして視認性向上 */
    margin-top: 2px;
}

.kuu-link-box a:hover .kuu-link-title {
    text-decoration: underline !important;
}

/* --- CTAセクションの装飾（ヒーローの黄色アクセントと世界観を統一） --- */
#contact {
    position: relative;
    overflow: hidden;
}
#contact::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: var(--accent-yellow);
    opacity: 0.25;
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    top: -80px;
    left: -60px;
}
#contact::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--accent-yellow);
    opacity: 0.2;
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
    bottom: -70px;
    right: -50px;
}
#contact .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    #contact::before,
    #contact::after {
        width: 130px;
        height: 130px;
    }
}

.company-main{
    width:100%;
    overflow:hidden;
}

.company-main img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
}

/* スマホ */
@media (max-width:768px){
    .company-main img{
        max-height:250px;
    }
}

/* --- 会社概要テーブル（信頼構築のため新規追加） --- */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.company-table th,
.company-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.company-table th {
    width: 180px;
    background: var(--light-gray);
    font-weight: 700;
    color: var(--text-color);
}

.company-table td {
    color: #444;
}

.company-table td a {
    color: #1a73e8;
    text-decoration: none;
}

.company-table td a:hover {
    text-decoration: underline;
}

.company-note {
    font-size: 0.85rem;
    color: #e60012;
    background: var(--sub-color);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .company-table th {
        width: 110px;
        font-size: 0.85rem;
        padding: 12px 10px;
    }
    .company-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}