/* style.css */
/* 全体 */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
}

.gradient-background {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background: radial-gradient(circle at 20% 20%, #ff5722, transparent 60%),
        radial-gradient(circle at 80% 30%, #2196f3, transparent 60%),
        radial-gradient(circle at 50% 80%, #4caf50, transparent 60%),
        radial-gradient(circle at 30% 60%, #fdd835, transparent 60%);
    background-blend-mode: screen;
    background-size: 200% 200%;
    animation: moveGradients 15s ease-in-out infinite alternate;
}

@keyframes moveGradients {
    0% {
        background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%;
    }

    50% {
        background-position: 100% 0%, 0% 100%, 100% 0%, 0% 100%;
    }

    100% {
        background-position: 0% 100%, 100% 100%, 0% 0%, 100% 0%;
    }
}






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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 50px 0;
}

.header .container {
    position: relative;
    /* 子要素のabsolute配置の基準にする */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navigation {
    position: absolute;
    top: 50%;
    /* 上からの位置を調整 */
    right: 0px;
    /* 右からの位置を調整 */
    transform: translateY(-50%);
    /* 垂直方向中央揃え（必要に応じて） */
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ロゴ */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-decoration: none;
    width: 150px;
    /* ロゴの幅を調整 */
    height: auto;
    /* 高さ自動 */
    position: relative;
    /* 配置の基準 */
    top: 0px;
    /* 上からの位置調整 */
    left: -30px;
    /* 左からの位置調整 */
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: difference;
    /* 差の絶対値合成モード */
}

.navigation {
    display: flex;
    align-items: center;
    /* 垂直方向中央揃え */
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.navigation li {
    margin: 0 20px;
}

.nav-link {
    color: rgb(0, 0, 0);
    /* 半透明の白 */
    text-decoration: none;
    font-size: 1.2rem;
    /* フォントサイズを1.2remに変更 */
    font-weight: bold;
    /* フォントを太字に */
    transition: color 0.3s ease;
    mix-blend-mode: exclusion;
    /* 除外合成モード */
}


.nav-link:hover {
    color: #ffffff;
}

/* 基本ブロック設定 */
.features-bg-block,
.services-bg-block,
.flow-bg-block,
.price-bg-block,
.faq-bg-block,
.contact-bg-block {
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    /* 半透明の白 */
}

/* ヒーローセクション */
.hero {
    position: relative;
    color: #ffffff;
    text-align: center;
    padding: 0px 0px;
    /* 上下のpaddingを調整 */
    margin-bottom: 0px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /* 水平方向中央揃え */
    align-items: center;
    /* 垂直方向中央揃え */
    overflow: hidden;
}

.hero .container {
    position: relative;
    /* 子要素の配置基準 */
    z-index: 2;
    /* 背景より前に表示 */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* コピーの最大幅 */
    mix-blend-mode: luminosity;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;

}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;

}


.hero-image {
    position: absolute;
    top: 50%;
    /* 垂直方向中央 */
    left: 50%;
    /* 水平方向中央 */
    transform: translate(-50%, -50%);
    /* 中央に配置 */
    width: 150%;
    /* 画像の幅 */
    height: auto;
    opacity: 1;
    /* 不透明度 */
    z-index: 1;
    /* 背景画像を一番後ろに表示 */
}

.hero-image img {
    width: 100%;
    /* 画像の幅を100%に */
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: difference;
    /* 差の絶対値合成モード */
    filter: blur(1px);
    /* ブラー効果を適用 */
}


/* 特徴セクション */
.features {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

.section-title.no-underline::before {
    display: none;
}

.feature-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    background: rgba(255, 255, 255, 1);
    /* 完ぺきな白 */
    width: 350px;
    height: 150px;
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    text-align: center;
    color: #000;
    /* 黒色 */
    text-shadow: none;
}

.feature-icon {
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.4;
}

/* サービスセクション */
.services {
    padding: 80px 20px;
    text-align: center;
}

.service-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    background: rgba(255, 255, 255, 1);
    /* 完ぺきな 白 */
    width: 530px;
    height: 100px;
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    text-align: center;
    color: #000;
    /* 黒色 */
    text-shadow: none;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.4;
}

/* 制作の流れセクション */
.flow {
    padding: 80px 20px;
    text-align: center;
}

.flow-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    /* 要素間の隙間を設定 */
}

.flow-item {
    background: rgba(255, 255, 255, 1);
    /* ▼▼▼ 3つ横並び用の幅に調整 ▼▼▼ */
    flex-basis: 250px;
    height: auto;
    min-height: 180px;
    /* 高さを少し確保してバランス調整 */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #000;
    text-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flow-icon {
    font-size: 2rem;
    color: #000;
    margin-bottom: 15px;
}

.flow-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.flow-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* style.css */
/* style.css */
/* (前略) 他のスタイル定義 */

.price-table-asterisk {
    font-size: 0.6em;
    /* 米印のフォントサイズを小さくする */
    display: block;
    /* 改行を有効にする */
    text-align: center;
    /* 右詰にする */
    color: black;
    /* 文字色を黒にする */
    text-shadow: none;
    /* 影をなくす */
}

.price-table {
    width: 100%;
    border-collapse: separate;
    /* 罫線を区切る */
    border-spacing: 10px;
    /* セル間の距離を設定 */
    margin-top: 20px;
    color: black;
    /* 文字色を黒にする */
    text-shadow: none;
    /* 影をなくす */
    background-color: #f8f9fa;
    /* テーブル全体の背景色 */
    font-family: 'Noto Sans JP', sans-serif;
    /* フォント */
    border-radius: 10px;
    /* 角を丸くする */
}

.price-table th,
.price-table td {
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    /* 縦方向中央揃え */
    border-radius: 10px;
    /* 角を丸くする */
}

.price-table th {
    font-weight: bold;
    color: rgb(255, 255, 255);
    /* ヘッダーの文字色を黒にする */
    text-shadow: none;
    /* ヘッダーの文字に影をつける */
}

/* ヘッダーの色 */
.price-table th:nth-child(2) {
    background-color: #ffffff;
    /* ソクデキ！のヘッダー色 */
}

.price-table th:nth-child(3) {
    background-color: #acacac;
    /* 格安制作会社のヘッダー色 */
}

.price-table th:nth-child(4) {
    background-color: #acacac;
    /* 無料ツールのヘッダー色 */
}



/* 行のアイコン */
.price-table i {
    margin-right: 8px;
    /* アイコンとテキストの間隔 */
    color: #6c757d;
    /* アイコンの色 */
}

.price-table td:first-child {
    text-align: left;
    /* アイコンとテキストを左寄せ */
    font-weight: bold;
    /* 行タイトルのフォントを太字にする */
    padding-left: 20px;
    /* アイコンとテキストの間隔 */
    font-size: 0.9em;
    /* フォントサイズを調整 */
    width: 100px;
    /* 幅を200ピクセルに設定 */
}

/* 罫線 */
.price-table,
.price-table th,
.price-table td {
    border: none;
    /* 罫線をなくす */
}

/* 交互の行の色 */
.price-table tbody tr {
    background-color: #ffffff;
    /* 全ての行の背景色を白にする */
}

/* style.css */
/* (前略) 他のスタイル定義 */

/* ソクデキ！列のヘッダーを赤色にする (不透明) */
.price-table th:nth-child(2) {
    background-color: #ff4d4d;
    /* 赤色 */
    color: white;
    /* ヘッダーの文字色を白にする */
    text-shadow: none;
    /* 文字影をなくす */
}

/* ソクデキ！列のセルを半透明の赤色にする */
.price-table td:nth-child(2) {
    background-color: rgba(255, 77, 77, 0.1);
    /* 半透明の赤色 */
}

.price-table th img {
    max-width: 100%;
    /* 画像がthの幅を超えないようにする */
    height: auto;
    /* 高さを自動調整 */
    display: block;
    /* ブロック要素として表示 */
    margin: 0 auto;
    /* 中央寄せ */
}

/* style.css */
/* (前略) 他のスタイル定義 */



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .price-table {
        font-size: 0.9rem;
    }

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

    .price-table td:first-child {
        padding-left: 10px;
        /* スマホでのアイコンとテキストの間隔 */
    }
}



/* お問い合わせセクション */
.contact {
    text-align: center;
}

.contact-bg-block h2 {
    color: #fff;
    /* タイトルの文字色を白に変更 */
    font-size: 2.5rem;
    /* タイトルフォントサイズ */
}

.contact-bg-block h2::before {
    background: #fff;
    /* タイトルの下の線を白に変更 */
}

.contact-bg-block p {
    color: #000000;
    /* 黒色に変更 */
    text-shadow: none;
    /* 文字影を削除 */
}

.contact-text {
    font-size: 1.5rem;
    /* 文字サイズを変更 */
    font-weight: normal;
    /* フォントを太字に */
    line-height: 2;
    /* 行間を設定 */
    margin-top: -13px;
    /* テキストと上の要素の間隔を調整 */
}

.contact-time {
    font-size: 1rem;
    /* 文字サイズを設定 */
    line-height: 2;
    /* 行間を設定 */
}

.contact-button {
    background: #fff;
    color: #007bff;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.8s ease;
    display: inline-block;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.contact-button:hover {
    background-color: #ffffff30;
    color: #ffffff;
}


.contact-text img {
    width: 150px;
    /* 幅を100pxに設定 */
    height: auto;
    /* 高さを自動調整 */
}


/* style.css */

/* (前略) 既存のスタイル */

/* お問い合わせフォーム */
#contact-form {
    max-width: 800px;
    /* 最大幅 */
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.contact-input,
.contact-textarea,
.contact-button,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.contact-textarea {
    height: 150px;
}

.form-message {
    margin-top: 10px;
    color: #28a745;
    font-weight: bold;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.radio-group label,
.checkbox-group label {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.small {
    font-size: 0.8rem;
    color: #777;
}

/* Section subtitle styling */
.section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: none;
}

/* Accordion label styling */
.accordion-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    font-weight: normal;
}

.accordion-label:hover {
    background-color: rgba(255, 255, 255, 1);
}

.accordion-label input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

/* Accordion content styling */
.accordion-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: -10px;
}

/* Required field indicator */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* style.css に以下のコードを追加 */



/* フッター */


/* フッター */
.footer {
    padding: 40px 20px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer .container {
    text-align: center;
}

/* フッターリンクのスタイル */
.footer-links {
    margin-bottom: 10px;
    position: relative;
    left: -30px;
}

.footer-links a,
.footer-links a:visited,
.footer-links a:active {
    color: #fff;
    text-decoration: none;
    /* 下線を消す */
    margin-left: 20px;
    /* リンクの左側に余白を作り、間隔を空ける */
    font-size: 0.9em;
    /* 少し文字を小さくしてバランスを取る */
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
    /* マウスを乗せた時に少し透明にする */
}

/* コピーライトのpタグが持つデフォルトの余白を消す */
.footer p {
    margin: 0;
}

/* アニメーション */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-out, transform 1s ease-out, visibility 1s ease-out;
}

.reveal-from-left {
    transform: translateX(-50px);
}

.reveal-from-right {
    transform: translateX(50px);
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
    visibility: visible;
}

/* Mobile-only line break utility */
.mobile-br {
    display: none;
}

/* Form page title - default PC size */
.form-page-title {
    font-size: 2.5rem;
}

/* Form block inner - default PC styles */
.form-block-inner {
    max-width: 500px;
    margin: 20px auto 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    max-width: 250px;
    height: 100vh;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

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

.mobile-nav a {
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* Desktop Defaults */
.price-mobile {
    display: none;
}

/* 右下固定ボタン */
.floating-monitor-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 140px;
    height: 60px;
    background: linear-gradient(145deg, #ff3333, #ff5555);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.95rem;
    z-index: 999;

    /* 凹んだ効果 */
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.2),
        inset -3px -3px 6px rgba(255, 120, 120, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.2);

    transition: all 1.2s ease;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* ホバー時の効果 */
.floating-monitor-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Hide desktop navigation, show hamburger */
    .navigation {
        display: none !important;
    }

    .hamburger-menu {
        display: block;
    }

    /* Fix text overflow - override inline nowrap */
    .hero-title,
    .hero-subtitle {
        white-space: normal !important;
        word-wrap: break-word;
    }

    /* Show mobile-only line breaks */
    .mobile-br {
        display: inline;
    }

    /* Global font size reductions */
    body {
        font-size: 13px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

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

    .contact-description {
        font-size: 0.8rem;
    }

    .contact-text {
        font-size: 1.2rem;
    }

    /* Feature and service items */
    .feature-item,
    .flow-item {
        width: 100%;
        max-width: 350px;
        margin: 10px auto;
    }

    /* Service items - wider and taller for mobile */
    .service-item {
        width: 100%;
        max-width: 90%;
        height: auto;
        min-height: 150px;
        margin: 15px auto;
        padding: 25px 20px;
    }

    .service-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .flow-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Widen transparent background blocks on mobile */
    .services-bg-block,
    .features-bg-block,
    .flow-bg-block {
        margin: 20px 10px;
        padding: 30px 15px;
    }

    /* Comparison table - hide on mobile */
    .price-table {
        display: none;
    }

    /* Show mobile price cards */
    .price-mobile {
        display: block;
        margin-top: 20px;
    }

    .price-card {
        background: #fff;
        border-radius: 10px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        color: #333;
        text-align: left;
    }

    .price-card.sokudeki {
        border: 2px solid #ff4d4d;
    }

    .price-card-header {
        padding: 15px;
        background: #f8f9fa;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .price-card.sokudeki .price-card-header {
        background: #ff4d4d;
    }

    .price-card-header h3 {
        margin: 0;
        font-size: 1.2rem;
    }

    .price-card-body {
        padding: 15px;
    }

    .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .price-row:last-child {
        border-bottom: none;
    }

    .price-label {
        font-weight: bold;
        font-size: 0.85rem;
        color: #555;
        flex: 1;
    }

    .price-value {
        font-weight: bold;
        text-align: right;
        font-size: 0.85rem;
        flex: 1;
    }

    .small-text {
        font-size: 0.7rem;
        color: #777;
        font-weight: normal;
    }

    /* Container padding adjustments */
    .container {
        padding: 10px 5px;
    }

    /* Widen transparent background blocks on mobile */
    .services-bg-block,
    .features-bg-block,
    .flow-bg-block {
        margin: 10px 5px;
        padding: 30px 10px;
    }

    /* Form adjustments */
    .form-page-wrapper {
        padding: 0 10px !important;
        max-width: 100% !important;
    }

    .form-block-inner {
        max-width: 90%;
        margin: 20px auto 0 auto;
        padding: 15px;
    }

    /* Thanks page */
    .thanks-container {
        padding: 20px;
    }

    /* Thanks page section - reduce top/bottom padding on mobile */
    #thanks-message {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    #thanks-message .container {
        padding: 30px 20px !important;
    }

    #thanks-message .section-title {
        margin-bottom: 20px;
    }

    /* Form page title - smaller on mobile */
    .form-page-title {
        font-size: 1.3rem;
    }

    /* Footer links - center on mobile */
    .footer-links {
        left: 0 !important;
    }

    /* Floating button mobile adjustment */
    .floating-monitor-button {
        width: 120px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 0.85rem;
        border-radius: 15px;
    }
}