@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ - Hinata Nexus カスタムデザイン
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================
   カラー変数・フォント定義
   ============================================ */
:root {
    --primary-color: #ff6b35;
    --primary-light: #ff9a56;
    --primary-dark: #e55a2b;
    --secondary-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* SWELLデフォルトのヘッダー・パンくず・タイトルを非表示 */
#header { display: none !important; }
.p-breadcrumb { display: none !important; }
.p-pageTitle { display: none !important; }
#main { padding: 0 !important; margin: 0 !important; }
.l-mainWrap { padding: 0 !important; }
.p-postLayout { padding: 0 !important; }
#footer { display: none !important; }

/* ============================================
   ヒーローセクション
   ============================================ */
.hn-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,107,53,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52,152,219,0.1) 0%, transparent 50%);
    animation: hn-pulse 15s ease-in-out infinite;
    pointer-events: none;
}
@keyframes hn-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.hn-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hn-hero-badge {
    display: inline-block;
    background: rgba(255,107,53,0.2);
    color: var(--primary-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,107,53,0.3);
    animation: hn-fadeInDown 1s ease-out;
}
@keyframes hn-fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hn-hero-logo-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.hn-hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
}
.hn-hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem !important;
    border: none !important;
    padding: 0 !important;
    animation: hn-fadeInUp 1s ease-out 0.2s both;
}
.hn-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--white);
    animation: hn-fadeInUp 1s ease-out 0.4s both;
}
@keyframes hn-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hn-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 3rem 0;
    opacity: 0.85;
    color: var(--white);
    animation: hn-fadeInUp 1s ease-out 0.6s both;
}
.hn-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: hn-fadeInUp 1s ease-out 0.8s both;
}
.hn-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}
.hn-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}
.hn-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.4);
}
.hn-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white) !important;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.hn-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* ============================================
   ナビゲーション
   ============================================ */
.hn-nav {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hn-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}
.hn-nav a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}
.hn-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: all 0.3s;
    transform: translateX(-50%);
}
.hn-nav a:hover { color: var(--primary-color) !important; }
.hn-nav a:hover::after { width: 80%; }

/* ============================================
   セクション共通
   ============================================ */
.hn-section { padding: 6rem 0; position: relative; }
.hn-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.hn-section-header { text-align: center; margin-bottom: 4rem; }
.hn-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,154,86,0.1));
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,107,53,0.2);
}
.hn-section-title {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}
.hn-section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   About
   ============================================ */
.hn-about { background: var(--white); }
.hn-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.hn-about-text { font-size: 1.1rem; line-height: 1.9; color: var(--text-light); }
.hn-about-text p + p { margin-top: 1.5rem; }
.hn-about-text .accent { font-weight: 500; color: var(--primary-color); }
.hn-features { display: grid; gap: 1.5rem; }
.hn-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}
.hn-feature-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(255,154,86,0.05));
}
.hn-feature-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem; flex-shrink: 0;
}
.hn-feature-text h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.hn-feature-text p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ============================================
   Services
   ============================================ */
.hn-services { background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%); }
.hn-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.hn-service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.hn-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.hn-service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(255,107,53,0.15); }
.hn-service-card:hover::before { transform: scaleX(1); }
.hn-service-icon-wrap {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,154,86,0.1));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
.hn-service-card:hover .hn-service-icon-wrap {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scale(1.1) rotate(5deg);
}
.hn-service-icon { font-size: 2rem; color: var(--primary-color); transition: all 0.4s ease; }
.hn-service-card:hover .hn-service-icon { color: var(--white); }
.hn-service-card h3 { font-size: 1.4rem !important; margin-bottom: 1rem !important; color: var(--text-dark) !important; font-weight: 600 !important; }
.hn-service-card p { color: var(--text-light); line-height: 1.7; }
.hn-service-card ul { margin: 1.5rem 0; padding-left: 1.2rem; }
.hn-service-card li { color: var(--text-light); line-height: 1.9; margin-bottom: 0.8rem; }
.hn-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.hn-tag {
    padding: 0.4rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 1px solid rgba(0,0,0,0.05);
}

/* ============================================
   Profile
   ============================================ */
.hn-profile { background: var(--white); }
.hn-profile-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.03), rgba(255,154,86,0.03));
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,107,53,0.1);
}
.hn-profile-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.hn-profile-avatar {
    width: 100%; aspect-ratio: 1;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}
.hn-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hn-profile-name { text-align: center; }
.hn-profile-name h3 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.hn-profile-name p { color: var(--text-light); font-size: 0.95rem; margin: 0; }
.hn-profile-details { display: flex; flex-direction: column; gap: 2rem; }
.hn-detail-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.hn-detail-section h4 {
    font-size: 1.2rem; color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.8rem;
}
.hn-detail-section h4 i { color: var(--primary-color); font-size: 1.3rem; }
.hn-timeline-item {
    padding-left: 2rem; position: relative;
    margin-bottom: 1.5rem;
    color: var(--text-light); line-height: 1.7;
}
.hn-timeline-item:last-child { margin-bottom: 0; }
.hn-timeline-item::before {
    content: '';
    position: absolute; left: 0; top: 0.5rem;
    width: 12px; height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}
.hn-timeline-item::after {
    content: '';
    position: absolute; left: 5px; top: 1.5rem;
    width: 2px; height: calc(100% + 0.5rem);
    background: linear-gradient(180deg, rgba(255,107,53,0.3), transparent);
}
.hn-timeline-item:last-child::after { display: none; }
.hn-skill-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hn-skill-tag {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,154,86,0.1));
    border-radius: 25px; font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid rgba(255,107,53,0.2);
    transition: all 0.3s;
}
.hn-skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white); transform: translateY(-2px);
}

/* ============================================
   Contact
   ============================================ */
.hn-contact { background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%); color: var(--white); }
.hn-contact .hn-section-badge {
    background: rgba(255,107,53,0.2);
    color: var(--primary-light);
    border-color: rgba(255,107,53,0.3);
}
.hn-contact .hn-section-title,
.hn-contact .hn-section-description { color: var(--white) !important; }
.hn-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.hn-contact-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.hn-contact-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.hn-contact-card i { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 1.5rem; display: block; }
.hn-contact-card h3 { font-size: 1.3rem !important; margin-bottom: 1rem !important; color: var(--white) !important; }
.hn-contact-card p,
.hn-contact-card a { color: rgba(255,255,255,0.8) !important; text-decoration: none !important; font-size: 1.05rem; line-height: 1.8; margin: 0; }
.hn-contact-card a { display: inline-block; margin-top: 0.5rem; border-bottom: 2px solid transparent; transition: border-color 0.3s; }
.hn-contact-card a:hover { border-bottom-color: var(--primary-light); }

/* ============================================
   フッター
   ============================================ */
.hn-footer {
    background: #1a1a1a !important;
    color: rgba(255,255,255,0.7) !important;
    text-align: center;
    padding: 2.5rem 2rem !important;
}
.hn-footer p { font-size: 0.95rem; margin: 0; color: rgba(255,255,255,0.7); }

/* ============================================
   フェードインアニメーション
   ============================================ */
.hn-fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.hn-fade-in.hn-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 992px) {
    .hn-hero-title { font-size: 3rem !important; }
    .hn-about-content, .hn-profile-container { grid-template-columns: 1fr; gap: 2rem; }
    .hn-profile-sidebar { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
    .hn-profile-avatar { max-width: 200px; }
}
@media (max-width: 768px) {
    .hn-hero-title { font-size: 2.2rem !important; }
    .hn-section-title { font-size: 2rem !important; }
    .hn-service-grid { grid-template-columns: 1fr; }
    .hn-nav a { padding: 0.6rem 0.8rem; font-size: 0.85rem; flex-direction: column; gap: 0.2rem; }
    .hn-cta-buttons { flex-direction: column; }
    .hn-btn { width: 100%; justify-content: center; }
    .hn-section { padding: 4rem 0; }
    .hn-profile-sidebar { grid-template-columns: 1fr; }
    .hn-profile-avatar { max-width: 150px; margin: 0 auto; }
    .hn-profile-container { padding: 1.5rem; }
    .hn-hero-logo { width: 80px; height: 80px; }
}

/* ============================================
   SWELL固有要素の非表示・上書き
   ============================================ */

/* SWELLヘッダー・メインビジュアル・サイドバー・フッターを非表示 */
#header,
.l-header,
.l-fixHeader,
#main_visual,
.p-mainVisual,
#sidebar,
.l-sidebar,
#footer,
.l-footer,
.p-pagetop,
#pagetop { display: none !important; }

/* SWELLが.top ページに追加する上部パディングをリセット */
.top #content { padding-top: 0 !important; }

/* #content の幅制限・余白をリセット（フルワイドにする） */
#content.l-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* body_wrap・mainwrap の余白リセット */
#body_wrap,
.l-mainWrap,
.p-postLayout,
.l-content__main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
}

/* ページタイトルエリアを非表示 */
.l-topTitleArea,
.p-pageTitle,
.p-breadcrumb { display: none !important; }

/* post_content内のSWELLデフォルトスタイルを上書き */
.post_content h1,
.post_content h2,
.post_content h3 {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: inherit !important;
}
.post_content h1::before,
.post_content h2::before,
.post_content h3::before { display: none !important; }

/* post_contentのpタグ余白リセット */
.post_content p { margin-bottom: 0; }

/* ============================================
   SWELLレイアウト強制上書き（サイドバーoff・フルワイド化）
   ============================================ */

/* コンテンツエリアをフルワイドに */
#content.l-content,
.-sidebar-on #content.l-content,
.-sidebar-on .l-content,
.l-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#main_content.l-mainContent,
.l-mainContent,
.l-mainContent__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.post_content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* bodyラップのフレックスレイアウトを解除 */
#body_wrap {
    display: block !important;
}

/* l-containerの幅制限を解除 */
#content.l-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================
   フェードインを即座に表示（JSなしでも表示）
   ============================================ */
.hn-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* プロフィール写真のlazyload黒背景を防ぐ */
.hn-profile-avatar img[data-src] {
    background: #f0f0f0;
}
