@charset "UTF-8";

/* =========================================
   基本設定・変数管理 (ここを変えれば全体が変わります)
   ========================================= */
:root {
    /* --- カラーパレット --- */
    --c-main: #286bcb;
    --c-main-dark: #2563bd;
    --c-accent: #00a1ed;
    --c-text: #333333;
    --c-text-light: #666666;
    --c-white: #ffffff;
    --c-bg-light: #e9f2fb;

    /* --- フォント --- */
    --f-base: 'Noto Sans JP', sans-serif;
    --f-number: sans-serif;

    /* --- レイアウトサイズ --- */
    --w-site: 1100px;         /* コンテンツ最大幅 */
    --h-header: 80px;         /* ヘッダーの高さ */
    --p-section: 80px;        /* セクションの余白(PC) */
    --p-section-sp: 40px;     /* セクションの余白(SP) */

    /* --- 画像のアスペクト比 (ここで比率を一括管理) --- */
    --ratio-hero-pc: 16 / 9;      /* PC版トップ画像 */
    --ratio-hero-sp: 750 / 1300;  /* SP版トップ画像 (修正済みの値) */
    --ratio-message: 1920 / 700;  /* メッセージセクション画像 */
}

/* =========================================
   リセット & ベーススタイル
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-pading-top: var(--h-header);
}

body {
    font-family: var(--f-base);
    color: var(--c-text);
    line-height: 1.8;
    background-color: var(--c-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0 !important;
}

/* =========================================
   ユーティリティ (便利なクラス)
   ========================================= */
.container {
    max-width: var(--w-site);
    margin: 0 auto;
    padding: 0 20px;
}

/* 中央揃え */
.text-center {
    text-align: center;
}

/* SPのみ改行 */
.br-sp {
    display: none;
}

/* 背景色 */
.bg-light {
    background-color: var(--c-bg-light);
}

.dark-section {
    background-color: var(--c-main);
    color: var(--c-white);
}

/* =========================================
   コンポーネント (ボタン・タイトル)
   ========================================= */
/* セクション共通 */
.section {
    padding: var(--p-section) 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--c-text);
    position: relative;
}

.section-title.color-white {
    color: var(--c-white);
}

/* ボタン */
.btn-cta {
    background: var(--c-accent);
    color: var(--c-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-cta:hover {
    background: var(--c-main);
    color: var(--c-white) !important;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--c-accent);
    color: var(--c-accent);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    background: var(--c-white);
}

.btn-secondary:hover {
    border: 2px solid var(--c-main);
    background: var(--c-main);
    color: var(--c-white);
}

/* =========================================
   Header
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--c-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: var(--h-header);
}

.logo {
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--c-main);
    transition: 0.3s;
}

.logo a:hover .logo-title {
    color: var(--c-accent);
    border-color: var(--c-accent);
}

.logo a:hover .logo-name {
    color: var(--c-accent);
}

.logo-title {
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--c-main);
    color: var(--c-main);
    padding: 4px 10px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 0;
    transition: 0.3s;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: 0.3s;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    margin-right: 25px;
}

.nav-menu li {
    margin-left: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-menu li a {
    color: var(--c-text);
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: var(--c-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-sns-pc {
    display: flex;
    gap: 15px;
}

.header-sns-pc a {
    color: var(--c-main);
    font-size: 1.4rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.header-sns-pc a:hover {
    color: var(--c-accent);
    transform: translateY(-2px);
}

.header-sns-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--c-main);
    cursor: pointer;
    z-index: 1020;
}

/* =========================================
   Hero Section (PC Base)
   ========================================= */
#hero {
    position: relative;
    width: 100%;
    /* PC版の比率設定 */
    height: auto;
    min-height: auto;
    aspect-ratio: var(--ratio-hero-pc);

    display: flex;
    align-items: center;
    justify-content: flex-start;
    
    background-image: url('../images/hero.jpg');
    background-size: 100% auto;
    background-position: center top; 
    background-repeat: no-repeat;
    
    text-align: left;
    color: var(--c-white);
    margin-top: 0;
    padding-top: 100px; /* ヘッダー被り考慮 */
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: var(--w-site);
    padding: 0 100px;
    box-sizing: border-box;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 1;
    margin-top: -30px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-sub {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: block;
}

.hero-name {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1.1;
    margin-left: -5px;
}

.hero-bg {
    display: none;
}

/* =========================================
   Message Section (PC Base)
   ========================================= */
#message {
    position: relative;
    width: 100%;
    /* PC版の比率設定 */
    height: auto;
    min-height: auto;
    aspect-ratio: var(--ratio-message);

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--c-white);
    padding: 0;
}

.message-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.message-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
}

.message-overlay-content {
    text-align: right; 
    z-index: 1;
    width: 100%;
    max-width: var(--w-site);
    margin: 0 auto;
    box-sizing: border-box;
}

.message-overlay-content .container {
    margin-right: 0;
    margin-left: auto;
    max-width: 60%; 
}

.message-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.message-sub {
    display: block;
    font-size: 1.4rem;
    color: var(--c-white);
    margin-top: 15px;
    font-family: var(--f-base);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.message-catch p {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.8;
    color: var(--c-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: transparent; 
    display: inline-block;

    padding-bottom: 10px;
}

/* =========================================
   Determination (決意)
   ========================================= */
.determination-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.determination-wrapper p {
    margin-bottom: 35px;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: bold;
    color: var(--c-text);
}

.determination-wrapper p b {
    font-weight: 900;
    color: var(--c-main-dark);
}

.signature {
    margin-top: 60px;
    font-size: 2.4rem;
    color: var(--c-text);
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
}

.signature span {
    font-size: 1.5rem;
    font-weight: 700;
}

/* =========================================
   Policies (5つの戦略)
   ========================================= */
.policy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.policy-card {
    background: var(--c-white);
    color: var(--c-text);
    width: calc(33.333% - 25px);
    padding: 35px 25px;
    border-radius: 0;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.policy-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--c-main);
    opacity: 0.1;
    line-height: 1;
    z-index: -1;
    font-family: var(--f-number);
}

.policy-card-1::before { content: '01'; }
.policy-card-2::before { content: '02'; }
.policy-card-3::before { content: '03'; }
.policy-card-4::before { content: '04'; }
.policy-card-5::before { content: '05'; }

.policy-icon {
    font-size: 3rem;
    color: var(--c-accent);
    margin-bottom: 20px;
    background: transparent;
    width: auto;
    height: auto;
    line-height: normal;
    margin-left: auto;
    margin-right: auto;
}

.policy-icon img {
    width: 80px;
    height: auto;
    display: inline-block;
}

.policy-highlight {
    color: var(--c-accent);
}

.policy-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--c-text);
    margin-bottom: 15px;
    line-height: 1.4;
}

/* =========================================
   Profile
   ========================================= */
.profile-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.profile-basic {
    flex: 1;
    background: var(--c-white);
    border: 2px solid var(--c-bg-light);
    padding: 30px;
    border-radius: 0;
}

.profile-basic dl dt {
    font-weight: bold;
    color: var(--c-main);
    margin-top: 15px;
    border-bottom: 1px solid var(--c-bg-light);
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.profile-basic dl dt:first-child {
    margin-top: 0;
}

.profile-timeline {
    flex: 1.5;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--c-bg-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 13px;
    height: 13px;
    background: var(--c-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--c-bg-light);
}

.timeline-year {
    font-weight: 900;
    color: var(--c-accent);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 1rem;
    font-weight: 700;
}

/* =========================================
   News (Activity)
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--c-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 107, 203, 0.15);
}

.news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-content time {
    font-size: 0.85rem;
    color: var(--c-accent);
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-content h3 {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--c-text);
}

.news-btn-area {
    text-align: center;
}

.coming-soon-box {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    margin: 30px auto 0;
    border: 1px solid #e6eef5;
}

.coming-soon-box p {
    color: #555555;
    font-size: 1.1rem;
    margin: 0;
    font-weight: bold;
}

/* =========================================
   Footer
   ========================================= */
#footer {
    background: var(--c-accent);
    color: var(--c-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-info h4,
.footer-nav h4,
.footer-sns-area h4 {
    color: var(--c-bg-light);
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-cta-btn {
    background: var(--c-white);
    color: var(--c-accent);
    border-radius: 50px;
    margin-top: 20px;
}

.footer-cta-btn:hover {
    background: var(--c-main);
    color: var(--c-white);
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; 
    gap: 15px 20px;
}

.footer-nav ul li a {
    opacity: 0.8;
    font-size: 0.9rem;
    display: inline-block;
    color: var(--c-white);
}

.footer-nav ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-sns-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.footer-sns-icons a {
    transition: 0.3s;
    color: var(--c-white);
}

.footer-sns-icons a:hover {
    color: var(--c-main);
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.page-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.page-top.active {
    opacity: 1;
    visibility: visible;
}

.page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--c-main);
    color: var(--c-white);
    width: 50px;
    height: 50px;
    border-radius: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-top a:hover {
    opacity: 0.8;
    color: var(--c-white) !important;
    transform: translateY(-5px);
}


/* =================================================================
   ▼▼▼ レスポンシブ設定 (PC/Tablet/SP) ▼▼▼
   ================================================================= */

/* --- 1. PC〜タブレット (幅769px〜1400px) --- */
@media (min-width: 769px) and (max-width: 1400px) {
    #hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding: 0 40px;
        transform: scale(0.9);
        transform-origin: left center;
    }
    
    .hero-name {
        font-size: 3.5rem;
    }
}

/* --- 2. タブレット〜大きめのSP (幅1200px以下) --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 80px;
    }
}

/* --- 3. タブレット〜SP (幅1100px以下) --- */
@media (max-width: 1100px) {
    /* Header/Nav */
    .header-inner { padding: 0 15px; }
    .header-sns-pc { display: none; }
    
    .nav-wrapper {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--c-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    .nav-wrapper.active { right: 0; }
    .nav-menu { flex-direction: column; width: 100%; margin: 0 0 30px 0; }
    .nav-menu li { margin: 0 0 20px 0; border-bottom: 1px solid #eee; text-align: center; }
    
    .menu-toggle { display: block; margin-left: auto; }
    .header-actions { flex-direction: column; gap: 30px; width: 100%; }
    .header-sns-mobile { display: flex; gap: 15px; font-size: 1.5rem; }
    .header-sns-mobile a { color: var(--c-main); }

    /* Layout Adjustments */
    .hero-name { font-size: 3rem; margin-left: 0; }
    .br-sp { display: block; }
    .policy-card { width: 100%; max-width: none; }
    .profile-layout { flex-direction: column; }
    .profile-basic { width: 100%; max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-nav ul { flex-direction: column; gap: 10px; }
    
    .page-top { right: 20px; bottom: 20px; }
    .page-top a { width: 45px; height: 45px; }
}

/* --- 4. スマホ (幅768px以下) --- */
@media (max-width: 768px) {
    /* ユーティリティ上書き */
    .container { padding: 0 30px; }
    .section { padding: var(--p-section-sp) 0; }
    .text-center-sp { text-align: center !important; }

    /* Hero (SP用アスペクト比適用) */
    #hero {
        background-image: url('../images/hero_sp.jpg') !important;
        background-repeat: no-repeat;
        /* 変数で定義した比率(750/1300)を適用 */
        aspect-ratio: var(--ratio-hero-sp);
        
        background-size: 100% auto;
        background-position: center top; 
        
        height: auto;
        min-height: auto;
        
        align-items: flex-end;
        justify-content: center;
        text-align: center;
        padding-top: var(--h-header);
        padding-bottom: 0;
    }

    .hero-content {
        padding: 0 30px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .hero-name {
        font-size: 4rem;
        padding-top: 0;
    }
    .hero-title-sub {
        font-size: 1.5rem;
        margin-bottom: 0 !important;
    }
    
    /* Message (SP調整) */
    #message {
        background-image: url('../images/bg_vision_sp.jpg');
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        
        width: 100%;
        height: 115vw; 
        min-height: auto;
        aspect-ratio: auto;
        align-items: flex-start;
        justify-content: center;
    }

    .message-bg { display: none; }
    
    .message-overlay-content {
        text-align: center;
        padding: 0 20px;
        display: block;
    }
    .message-overlay-content .container {
        margin: 0 auto;
        max-width: 100%;
    }
    .message-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .message-sub {
        font-size: 1rem;
        margin-top: 10px;
    }
    .message-catch p {
        font-size: 1.3rem;
    }
    
    /* その他テキスト調整 */
    .determination-wrapper p {
        text-align: left !important;
    }
}

/* =========================================
   下層ページ見出し
   ========================================= */
.page-header {
    padding-top: calc(var(--h-header) + 40px);
    padding-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 900;
}


@media (max-width: 768px) {
    .page-header {
        padding-top: calc(var(--h-header) + 20px);
        padding-bottom: 20px;
    }
    .page-title {
        font-size: 1.6rem;
    }
}

.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
    background: var(--c-white, #fff); 
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
    box-sizing: border-box;
    border: 1px solid var(--c-bg-light, #eee);
}

.wpcf7-form p {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--c-main-dark, #333);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.wpcf7-form p span[style*="color:red"] {
    margin-left: 4px;
    font-size: 1.1rem;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-textarea {
    display: block;
    margin-top: 10px;
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px; 
    font-family: var(--f-base, sans-serif);
    font-size: 1rem;
    color: var(--c-text, #333);
    background-color: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: var(--c-main, #286bcb);
    background-color: #fff;
    outline: none;
    box-shadow: 0 4px 12px rgba(40, 107, 203, 0.1);
}

.wpcf7-checkbox {
    display: block;
    margin-top: 12px;
}

.wpcf7-list-item {
    margin: 0 20px 10px 0 !important;
    display: inline-flex;
    align-items: center;
}

.wpcf7-list-item-label {
    font-weight: 500 !important;
    color: #666 !important;
    margin-left: 8px;
    vertical-align: middle;
}

.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #fff;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: all 0.2s ease;
}

.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked {
    background-color: var(--c-main, #286bcb);
    border-color: var(--c-main, #286bcb);
}

.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wpcf7 form input[type="submit"] {
    background: var(--c-main, #286bcb);
    color: #fff !important;
    padding: 18px 80px;
    border: none !important;
    border-radius: 30px;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
    box-shadow: 0 4px 10px rgba(40, 107, 203, 0.2);
    -webkit-appearance: none;
}

.wpcf7 form input[type="submit"]:hover {
    background: var(--c-main-dark, #1e52a0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 107, 203, 0.4);
}

@media (max-width: 768px) {
    .wpcf7 {
        padding: 30px 20px;
        box-shadow: none;
        border: 1px solid #eee;
    }
}