/*
Theme Name: AssociaProperty LP Theme
Theme URI: (会社のウェブサイトなど)
Author: (あなたの名前や会社名)
Author URI: (あなたのウェブサイトなど)
Description: 株式会社アソシア・プロパティ様 賃貸管理LP用カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: landing-page, one-column, custom-colors, custom-menu
Text Domain: associaproperty
*/

/* CSS Variables (functions.php の associaproperty_get_customizer_css() で上書きされます) */
:root {
    --main-color: #dc3545; /* デフォルトメインカラー: 赤系 */
    --sub-color-1: #343a40; /* デフォルトサブカラー1: 濃いグレー */
    --sub-color-2: #f8f9fa; /* デフォルトサブカラー2: 明るいグレー */
    --text-color: #212529;   /* デフォルトテキストカラー */
    --link-color: var(--main-color); /* デフォルトリンクカラー */
    --hero-text-color: #ffffff;
    --font-family-base: 'Noto Sans JP', sans-serif; /* 基本フォント */
    --font-family-heading: 'Noto Sans JP', sans-serif; /* 見出しフォント */
}

/* Basic Reset & Defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* 基本的な横スクロール防止 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    margin-top: 0;
    margin-bottom: 0.75em;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--main-color); /* ホバー時はメインカラーを少し濃くするなどの調整 */
    text-decoration: underline;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1140px; /* PC時の最大幅 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

.text-center {
    text-align: center!important;
}

.bg-light {
    background-color: var(--sub-color-2);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
}
.btn:hover {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.btn-primary:hover {
    color: #fff;
    opacity: 0.9; /* 少し透明度を上げる */
}

.btn-secondary {
    color: #fff;
    background-color: var(--sub-color-1);
    border-color: var(--sub-color-1);
}
.btn-secondary:hover {
    color: #fff;
    opacity: 0.9;
}


/* Header (仮) */
.site-header {
    padding: 20px 0;
    background-color: #fff;
}
.site-title a {
    color: var(--text-color);
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
}
.site-description {
    color: #777;
    font-size: 0.9em;
}
/* ベーススタイル */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.3s ease;
    background-color: transparent;
}
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.site-logo img {
    height: 40px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle .menu-icon {
    width: 25px;
    height: 2px;
    background: #333;
    display: block;
    position: relative;
}
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}
.menu-toggle .menu-icon::before {
    top: -8px;
}
.menu-toggle .menu-icon::after {
    top: 8px;
}

/* メニュー表示（PC） */
.main-navigation {
    display: flex;
}
.main-navigation .menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}
.br-sp{
	display:none;
}


/* スマホ対応 */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        padding: 1rem 2rem;
    }
    .main-navigation.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
	.br-sp{
        display: block;
	}
}


/* Footer (仮) */
.site-footer {
    padding: 40px 0;
    background-color: var(--sub-color-1);
    color: #f8f9fa; /* フッターのテキストは明るめ */
}
.site-footer a {
    color: #fff;
}
.site-footer a:hover {
    color: var(--main-color);
}
.copyright {
    text-align: center;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    background-color: var(--main-color); /* カスタマイザーで設定されたメインカラー */
    color: var(--hero-text-color);
    padding: 80px 0;
    text-align: center;
    /* アニメーションのための準備があればここに */
}
.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3.5em; /* LPの顔なので大きく */
    margin-bottom: 0.3em;
    font-weight: 700;
    color: var(--hero-text-color);
}
.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 1.5em;
    font-weight: 400;
    color: var(--hero-text-color);
}
.hero-cta {
    font-size: 1.2em;
    padding: 0.8em 2em;
}
.hero-animation-area {
    min-height: 200px; /* アニメーションの高さを確保 */
    /* 具体的なアニメーションスタイルは後ほど */
    margin-bottom: 30px;
}


/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 1.5em; /* 60px */
    color: var(--main-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5em; /* 20px */
}
/* セクションタイトルの下線などの装飾例 */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--main-color);
    margin: 0.5em auto 0; /* 20px auto 0 */
}


/* Owner Issues Section */
.owner-issues-section .issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: center;
}
.owner-issues-section .issue-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: bold;
    /* アニメーションで順番に表示させるなどの演出も可能 */
}

/* Strengths Section */
.strengths-section .strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.strengths-section .strength-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.strengths-section .strength-item h3 {
    color: var(--main-color);
    margin-bottom: 0.5em;
}

/* Services Section */
.services-section ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px 30px; /* 縦横の隙間 */
    margin-bottom: 30px;
}
.services-section ul li {
    background-color: var(--sub-color-2);
    padding: 15px 20px;
    border-radius: 5px;
    position: relative;
    padding-left: 35px; /* アイコン用スペース */
}
/* チェックマーク風アイコン（簡易版） */
.services-section ul li::before {
    content: '✔'; /* または FontAwesome などのアイコンフォント */
    color: var(--main-color);
    position: absolute;
    left: 15px;
    top: 15px; /* 微調整が必要な場合あり */
    font-weight: bold;
}


/* Testimonials Section */
.testimonials-section .testimonial-slider {
    /* スライダー用のスタイルはJSライブラリ導入時に設定 */
    text-align: center;
}
.testimonials-section .testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* スライダー化するまでは仮のマージン */
    font-style: italic;
}


/* Contact Section */
.contact-section {
    /* お問い合わせフォームのスタイルは、使用するプラグインに合わせて調整 */
}
.contact-section p.text-center {
    font-size: 1.1em;
    margin-bottom: 2em;
}


/* Utility Classes */
.hidden {
    display: none;
}

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/*
 * WordPress Core CSS Classes (必要に応じて調整)
 */
.alignwide {
    margin-left: -100px; /* テーマによって調整 */
    margin-right: -100px;
    max-width: calc(100% + 200px); /* テーマによって調整 */
}

.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
}

/* メディアクエリ（レスポンシブ対応）の例 */
@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em!important; }
    .hero-title { font-size: 2.5em; }
    .hero-subtitle { font-size: 1.2em; }
	p, .section-lead{text-align:left!important;}
    .owner-issues-section .issues-grid,
    .strengths-section .strengths-grid,
    .services-section ul {
        grid-template-columns: 1fr!important; /* スマホでは1カラムに */
    }

}

/* style.css の追記・修正箇所 */

/* ヒーローセクション */
.hero-section .highlight {
    color: #fff200; /* 黄色など目立つ色に */
    font-weight: bold;
}
.hero-note {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* セクション共通 */
.section-lead {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}
.section-title .highlight,
.strengths-section .highlight,
.results-section .highlight,
.contact-section .highlight {
    color: var(--main-color);
}
.sp-only { display: none; }
@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
    .section-lead { font-size: 1em; margin-bottom: 30px; }
}


/* オーナー様の悩み提示セクション */
.owner-issues-section .issues-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 少し大きめに */
    gap: 30px;
}
.owner-issues-section .issue-item {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    text-align: center;
}
.owner-issues-section .issue-icon {
    max-width: 60px;
    margin-bottom: 15px;
}
.owner-issues-section .issue-item h3 {
    font-size: 1.3em;
    color: var(--main-color);
    margin-bottom: 10px;
}
.owner-issues-section .issue-item p {
    font-size: 0.95em;
    color: #555;
}

/* 強み・選ばれる理由セクション */
.strengths-section .strengths-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.strengths-section .strength-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    /* padding-top: 50px; アイコン用 */
}
.strengths-section .strength-icon {
    /* display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
    margin-bottom: 15px;
}
.strengths-section .strength-icon span {
    display: inline-block;
    background-color: var(--main-color);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 10px;
}
.strengths-section .strength-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    /* color: var(--text-color); */ /* 強みタイトルはメインカラーでなくても良いかも */
}
.strengths-section .strength-item p {
    font-size: 0.95em;
    color: #555;
}
.strength-item {
    text-align: center;
}
.strength-item-wide {
    grid-column: span 2; /* 2列分の幅を取る */
    text-align: center;
}


/* サービス詳細セクション */
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.services-section .service-card {
    background-color: var(--sub-color-2);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--main-color);
}
.services-section .service-card h4 {
    font-size: 1.3em;
    color: var(--main-color);
    margin-bottom: 10px;
}
.services-section .service-card p {
    font-size: 0.95em;
    color: #555;
}

/* 実績・事例セクション */
.results-section .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.results-section .result-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}
.results-section .result-item h4 {
    font-size: 1.3em;
    color: var(--main-color);
    margin-bottom: 10px;
}
.results-section .result-item > p { /* 事例のオーナー情報など */
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}
.results-section .testimonial-quote {
    background-color: var(--sub-color-2);
    padding: 15px;
    border-radius: 5px;
    font-style: italic;
    position: relative;
    margin-top: 15px;
}
.results-section .testimonial-quote::before {
    content: "“";
    font-size: 3em;
    color: var(--main-color);
    opacity: 0.3;
    position: absolute;
    top: -5px;
    left: 10px;
}
.results-section .testimonial-quote p {
    margin-bottom: 0;
    font-size: 0.95em;
}


/* よくある質問セクション */
.faq-section .faq-accordion .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.faq-section .faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
    margin-bottom: 0;
    cursor: pointer;
    background-color: var(--sub-color-2);
    position: relative;
    border-radius: 5px 5px 0 0;
}
.faq-section .faq-question::after { /* 開閉アイコン */
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: var(--main-color);
}
.faq-section .faq-item.active .faq-question::after {
    content: '-';
}
.faq-section .faq-answer {
    padding: 0px 20px; /* 初期は0 */
    background-color: #fff;
    font-size: 0.95em;
    color: #555;
    max-height: 0; /* 初期は非表示 */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 5px 5px;
}
.faq-section .faq-item.active .faq-answer {
    padding: 15px 20px; /* 表示時にパディング */
    max-height: 300px; /* 十分な高さを確保 */
}


/* お問い合わせセクション */
.contact-section .contact-form-area {
    max-width: 700px;
    margin: 0 auto 40px;
}
.contact-section .contact-direct .phone-number {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}
.contact-section .contact-direct .phone-number a {
    color: var(--main-color);
    text-decoration: none;
}
.contact-section .contact-direct .reception-time {
    font-size: 0.9em;
    color: #777;
}

/* AOS Animation Hide (ちらつき防止) - オプション */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform; /* 必要に応じて追加 */
}
html.aos-animate [data-aos] { /* aos-animateクラスはAOSがbodyに追加する */
  opacity: 1;
}

/* ヒーローセクション全体の設定 */
.hero-section {
    position: relative; /* オーバーレイとコンテンツ配置の基点 */
    background-color: var(--main-color); /* フォールバック背景色 */
    padding: 0; /* 上下のpaddingをリセットするか、必要に応じて調整 */
    min-height: 100vh; /* ビューポートの高さに応じて調整。最低でも写真が見える高さに */
    display: flex; /* テキストコンテンツを中央揃えにしやすくするため */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* はみ出しを隠す */
}

/* 薄い黒のオーバーレイ */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 薄い黒のオーバーレイ。濃さは0.3～0.5で調整 */
    z-index: 1; /* 画像スクロールより手前、文字より奥 */
}

/* 画像スクロールエリア */
.hero-animation-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* オーバーレイや文字より奥 */
    overflow: hidden;
}

.image-scroll-container {
    width: 100%;
    height: 100%;
    overflow: hidden; /* コンテナからはみ出す部分を隠す */
}

.image-scroll-track {
    display: flex;
    /* 画像5枚を1セットとし、それを2セット並べるので、コンテナ幅の10倍の幅を持つ */
    /* (1枚の画像がコンテナ幅の100%を占める × 5枚 × 2セット = 1000%) */
    width: 1000%;
    height: 100%;
    animation: horizontalScroll 60s linear infinite; /* アニメーション速度（60s部分）は適宜調整してください */
}

.scroll-image-item {
    /* トラック全体の幅 (1000%) に対して、10個のアイテムがあるので、1アイテムの幅は10% */
    /* これにより、各アイテムが親コンテナ (.image-scroll-container) の幅の100%を占めることになります */
    width: 10%;
    height: 100%;
    flex-shrink: 0; /* アイテムが縮まないようにする */
}

.scroll-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 横スクロールアニメーション */
@keyframes horizontalScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* トラック全体の幅の半分だけ移動させる (最初の1セット分) */
        /* トラック幅が1000%なので、その半分の-500%分移動すると、ちょうど1セット分スクロールする */
        /* CSSの %指定の場合、transformのtranslateXの%は要素自身の幅に対する割合なので、ここではトラック要素自身の幅の50%を移動させる */
        transform: translateX(-50%);
    }
}

/* ヒーローセクションのテキストコンテンツのコンテナ */
.hero-content-overlay {
    position: relative; /* オーバーレイより手前に配置 */
    z-index: 2;

    padding: 20px; /* 周囲の余白 */
    color: var(--hero-text-color, #ffffff); /* カスタマイザーの色設定を優先、なければ白 */
}
.hero-content-overlay .hero-title,
.hero-content-overlay .hero-subtitle,
.hero-content-overlay .hero-note {
    color: inherit; /* .hero-content-overlay の色を継承 */
}
.hero-content-overlay .btn-primary {
    /* 必要に応じてボタンの配色を調整 */
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.hero-content-overlay .btn-primary:hover {
    background-color: var(--link-color); /* 例: リンクホバー色 */
    border-color: var(--link-color);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 700px;
    }
    /* 画像の幅やアニメーションの速度を調整する場合はここにも記述 */
    .image-scroll-track {
        /* スマホでは画像の枚数や幅を変えるか、速度調整が必要な場合あり */
        /* width: calc(400px * 10); */
        /* animation-duration: 40s; */
    }
    .scroll-image-item {
        width: 400px!important;
		height:auto;
    }
    /* @keyframes horizontalScroll {
        100% { transform: translateX(calc(-400px * 5)); }
    } */

    .hero-content-overlay .hero-title {
        font-size: 1.6em; /* スマホでのタイトルサイズ調整 */
    }
    .hero-content-overlay .hero-subtitle {
        font-size: 1.3em; /* スマホでのサブタイトルサイズ調整 */
    }
	.hero-content-overlay{
	padding:0;
	}
}

.company-info {
    display: flex;
    align-items: center;
	justify-content:center;
    gap: 20px;
    padding: 20px 0;
}

.company-logo img {
    max-height: 60px;
    width: auto;
}

/* .company-details {
    flex: 1;
} */

.company-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.company-address,
.company-licenses,
.company-tel {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}
.site-info{
text-align: center;
}

@media (max-width: 768px) {
    .company-info {
        flex-direction: column;
    }
	.company-name{
        text-align: center;
    }
}

/* 賃貸管理フォーム専用CSS */
.consultation-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.consultation-form-wrapper h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.consultation-form-wrapper > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* お問い合わせ種別のラジオボタン */
.consultation-form-wrapper .wpcf7-radio {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.consultation-form-wrapper .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
}

.consultation-form-wrapper .wpcf7-radio label {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.consultation-form-wrapper .wpcf7-radio input[type="radio"]:checked + span {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* フォームセクション */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

/* フォーム行とカラム */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.form-col.full {
    flex: 100%;
}

/* ラベル */
.form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

/* 入力フィールド */
.consultation-form-wrapper input[type="text"],
.consultation-form-wrapper input[type="email"],
.consultation-form-wrapper input[type="tel"],
.consultation-form-wrapper select,
.consultation-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.consultation-form-wrapper input[type="text"]:focus,
.consultation-form-wrapper input[type="email"]:focus,
.consultation-form-wrapper input[type="tel"]:focus,
.consultation-form-wrapper select:focus,
.consultation-form-wrapper textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

/* チェックボックスとラジオボタン */
.consultation-form-wrapper .wpcf7-checkbox,
.consultation-form-wrapper .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.consultation-form-wrapper .wpcf7-checkbox .wpcf7-list-item,
.consultation-form-wrapper .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
    flex: 0 0 auto;
}

.consultation-form-wrapper .wpcf7-checkbox label,
.consultation-form-wrapper .wpcf7-radio label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.consultation-form-wrapper .wpcf7-checkbox input[type="checkbox"]:checked + span,
.consultation-form-wrapper .wpcf7-radio input[type="radio"]:checked + span {
    background: #007cba;
    color: white;
    border-color: #007cba;
}


/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.consultation-form-wrapper input[type="submit"] {
    background: linear-gradient(45deg, #007cba, #0056b3);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.consultation-form-wrapper input[type="submit"]:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .consultation-form-wrapper {
        padding: 5px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .consultation-form-wrapper .wpcf7-radio {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .consultation-form-wrapper .wpcf7-checkbox,
    .consultation-form-wrapper .wpcf7-radio {
        justify-content: center;
    }
	.form-section {
    padding: 15px;
	}
.strength-item-wide {
grid-column: auto; /* span 2を無効化 */
  }
.privacy-policycheck p{
text-align:center!important;
}
}

/* エラーメッセージ */
.consultation-form-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.consultation-form-wrapper .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

.consultation-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

.issue-icon {
	max-width:80px!important;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.issue-item:hover .issue-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}
.consultation-form-wrapper{
padding-top:20px;
}
.pd10{
padding:10px;
}
.privacy-policycheck{
text-align:center!important;
}
.form-submit p{
display:flex;
flex-direction:column;
}


        .shiny-red {
            display: inline-block;
            position: relative;
            border: 0;
            cursor: pointer;
            background: #e53e3e;
            color: #fff;
            border-radius: 5px;
            font-size: 16px;
            padding: 15px 25px;
            text-decoration: none;
            margin: 20px;
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            background: linear-gradient(
                45deg,
                #e53e3e 50%,
                #ff6b6b 60%,
                #e53e3e 70%
            );
            background-size: 600% 100%;
            animation: shine 8s infinite;
            animation-timing-function: linear;
            transition: transform 0.1s;
        }

        .shiny-red:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 15px rgba(0,0,0,0.2);
			color:#ffff;
			text-decoration:none;
        }

        .shiny-red:active {
            transform: translateY(2px);
        }

        @keyframes shine {
            0% {
                background-position-x: -600%;
            }
            100% {
                background-position-x: 0%;
            }
        }