@charset "utf-8";

/* 全端末共通設定 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Inter', 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* リセット */
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure, input, textarea {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ul {
    list-style-type: none;
}

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

a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #00d4ff;
}

/* オープニングアニメーション */
#opening-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.opening-skip-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    min-height: 44px;
}

.opening-skip-btn:hover,
.opening-skip-btn:focus {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    transform: translateY(-2px);
    outline: 2px solid rgba(0, 212, 255, 0.5);
    outline-offset: 2px;
}

.opening-skip-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .opening-skip-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

#opening-animation.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.opening-logo {
    width: 300px;
    height: 100px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

#opening-svg-logo {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: #00d4ff;
    stroke-width: 2;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLogo 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawLogo {
    0% {
        stroke-dashoffset: 2000;
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
        transform: scale(1);
    }
}

/* コンテナ */
#container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

/* トップレベルメニューのみ横並び（サブメニューは縦並びにするため > で直下の ul に限定） */
.main-nav > ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav li.has-submenu:hover .submenu,
.main-nav li.has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.main-nav .submenu li {
    margin: 0;
}

.main-nav .submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-nav .submenu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding-left: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover::before,
.main-nav a.current::before {
    width: 100%;
}

/* ドロップダウンがある項目にアイコン（PC） */
.main-nav .has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.main-nav .submenu-icon {
    display: inline-block;
    font-size: 0.6em;
    color: rgba(0, 212, 255, 0.9);
    transition: transform 0.3s ease;
}
.main-nav li.has-submenu:hover .submenu-icon,
.main-nav li.has-submenu:focus-within .submenu-icon {
    transform: rotate(180deg);
}
.main-nav .submenu-icon::before {
    content: '\25BC';
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    margin: 2.5px 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー：初期は閉じた状態、タップでドロップダウン表示 */
.mobile-menu {
    display: none !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ID指定も含め開いた状態で確実に表示（Critical CSSの#menubar-sとの競合を防ぐ） */
#menubar-s.mobile-menu.active,
.mobile-menu.active {
    display: block !important;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu ul {
    padding: 0.75rem 1rem 1rem;
}

/* モバイル：SERVICESサブメニューは初期は閉じた状態 */
.mobile-menu .submenu {
    display: none;
    padding-left: 1rem;
}
.mobile-menu .has-submenu > a[aria-expanded="true"] + .submenu {
    display: block;
}

/* モバイル：ドロップダウンがある項目にアイコン（他項目と左端を揃える） */
.mobile-menu .has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0.5rem;
}
.mobile-menu .submenu-label {
    margin: 0;
    padding: 0;
}
.mobile-menu .submenu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    font-size: 0.65rem;
    color: rgba(0, 212, 255, 0.95);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: auto;
}
.mobile-menu .submenu-icon::before {
    content: '\25BC';
}
.mobile-menu .has-submenu > a[aria-expanded="true"] .submenu-icon {
    transform: rotate(180deg);
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.35;
    min-height: 44px;
    box-sizing: border-box;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* メインコンテンツ */
#contents {
    padding-top: 100px;
}

#main {
    display: block;
}

/* セクション共通 */
section {
    padding: 6rem 0;
    position: relative;
}

#main h2 {
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

#main h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 2px;
}

#main h2 span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 1rem;
    opacity: 0.7;
    text-transform: none;
    letter-spacing: 1px;
    -webkit-text-fill-color: #fff;
}

.under_line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    margin: 0 auto 3rem;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.under_line.active {
    transform: scaleX(1);
}

/* ニュース */
.news {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.news dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news dd {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    opacity: 0.8;
    line-height: 1.8;
}

.date {
    color: #00d4ff;
    font-weight: 500;
}

.newicon {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

/* 料金表 */
.ta1 {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ta1 th,
.ta1 td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ta1 th {
    background: rgba(0, 212, 255, 0.1);
    font-weight: 600;
    color: #00d4ff;
    width: 40%;
    font-size: 1rem;
}

.ta1 td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-size: 1rem;
}

.tamidashi {
    background: rgba(0, 212, 255, 0.2) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
    font-size: 1.1rem !important;
}

#homepage_mitumori_button,
#app_mitumori_button,
#kyouiku_button {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    margin: 2rem 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border: none;
}

#homepage_mitumori_button:hover,
#app_mitumori_button:hover,
#kyouiku_button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #0099cc, #00d4ff);
}

#homepage_mitumori,
#app_mitumori,
#kyouiku {
    display: none;
    margin: 2rem 0;
}

#homepage_mitumori.active,
#app_mitumori.active,
#kyouiku.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* プロフィール */
#profile {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#profile h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #00d4ff;
}

#profile p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* お問い合わせ */
.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-icon .material-icons {
    font-size: 1.5rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.contact-item:hover .contact-icon .material-icons {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* フォーム */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.required {
    color: #ff4757;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #00d4ff;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.form-submit button {
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.form-submit button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #0099cc, #00d4ff);
}

/* 結果ページ */
.result-container {
    max-width: 700px;
    margin: 100px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.result-success h1,
.result-error h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.result-success h1 {
    color: #00d4ff;
}

.result-error h1 {
    color: #ff4757;
}

.result-success p,
.result-error p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.error-list {
    list-style: disc;
    text-align: left;
    margin: 2rem 0;
    padding-left: 2rem;
}

.error-list li {
    color: #ff4757;
    margin-bottom: 0.5rem;
}

/* 特定商取引法ページ */
.commerce-disclosure .disclosure-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.disclosure-section {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.disclosure-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.disclosure-section h3 {
    color: #00d4ff;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.disclosure-section h4 {
    color: #fff;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.disclosure-section p {
    margin: 0.8rem 0;
    line-height: 1.8;
    opacity: 0.9;
}

.disclosure-section .note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.return-policy {
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.return-policy h4 {
    color: #00d4ff;
    margin-top: 2rem;
}

.return-policy h4:first-child {
    margin-top: 0;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00d4ff;
    text-align: center;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-section .material-icons {
    font-size: 1.2rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.3));
}

.footer-section li {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-contact-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* アニメーション */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fadein.active {
    opacity: 1;
    transform: translateY(0);
}

.fade_up {
    transform: translateY(50px);
}

.fade_left {
    transform: translateX(-50px);
}

.fade_line {
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.fade_line.active {
    transform: scaleX(1);
}

.delay02 { transition-delay: 0.2s; }
.delay04 { transition-delay: 0.4s; }
.delay06 { transition-delay: 0.6s; }
.delay08 { transition-delay: 0.8s; }

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    #container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    #menubar-s.mobile-menu.active,
    .mobile-menu.active {
        display: block !important;
    }
    
    /* ヒーローセクション */
    #hero {
        height: 80vh;
        margin-top: -80px;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    /* サービスセクション */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-icon .material-icons {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* ポートフォリオセクション */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .portfolio-item {
        aspect-ratio: 16/10;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 1rem;
    }
    
    #main h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .opening-logo {
        width: 250px;
        height: 80px;
    }
    
    .commerce-disclosure .disclosure-content {
        padding: 1rem;
    }
    
    .disclosure-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .disclosure-section h3 {
        font-size: 1.1rem;
    }
    
    .ta1 th,
    .ta1 td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .ta1 th {
        width: 50%;
    }
    
    #homepage_mitumori_button,
    #app_mitumori_button,
    #kyouiku_button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 2rem;
    }
    
    .news {
        padding: 1.5rem;
    }
    
    #profile {
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    #container {
        padding: 0 0.5rem;
    }
    
    .header-content {
        padding: 0 0.5rem;
    }
    
    /* ヒーローセクション */
    #hero {
        height: 70vh;
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 0.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* サービスセクション */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-icon .material-icons {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* ポートフォリオセクション */
    .portfolio-item {
        aspect-ratio: 4/3;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
    }
    
    #main h2 {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .opening-logo {
        width: 200px;
        height: 60px;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
    
    .news {
        padding: 1rem;
    }
    
    #profile {
        padding: 1.5rem;
    }
    
    .ta1 th,
    .ta1 td {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .news dt {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .news dd {
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-icon {
        font-size: 1.2rem;
    }
} 

/* ヒーローセクション */
#hero {
    height: 100vh;
    margin-top: -100px;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.company-name {
    font-size: 0.9rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 0.5rem;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
}

.company-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #0099cc, #00d4ff);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-icon .material-icons {
    font-size: 3rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.service-card:hover .service-icon .material-icons {
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.service-card p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #00d4ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* ポートフォリオセクション */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(0, 153, 204, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.portfolio-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.portfolio-link-text {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.portfolio-item:hover .portfolio-link-text {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* プライバシーポリシー・利用規約ページ */
.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-section,
.terms-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-section:hover,
.terms-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.policy-section h3,
.terms-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.policy-section p,
.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.policy-section ul,
.terms-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.policy-section .contact-info,
.terms-section .contact-info {
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 1rem;
}

.policy-section .contact-info p,
.terms-section .contact-info p {
    margin-bottom: 0.5rem;
}

.policy-date,
.terms-date {
    text-align: center;
    font-style: italic;
    opacity: 0.7;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* フッターリンク（本サイト用とアプリ用を分けて表示） */
.footer-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
}

.footer-links-app {
    position: relative;
    padding-left: 1rem;
}
.footer-links-app::before {
    content: '／';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.25rem;
}

.footer-links li:not(:last-child)::after {
    content: ' | ';
    margin-left: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .policy-content,
    .terms-content {
        padding: 1rem 0;
    }
    
    .policy-section,
    .terms-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-section h3,
    .terms-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-section .contact-info,
    .terms-section .contact-info {
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .policy-section,
    .terms-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .policy-section h3,
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .policy-section ul,
    .terms-section ul {
        padding-left: 1.5rem;
    }
    
}

/* フッターリンク：モバイルでは縦並び */
@media screen and (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    .footer-links-app::before {
        display: none;
    }
    .footer-links-app {
        padding-left: 0;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    .footer-links ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .footer-links li:not(:last-child)::after {
        content: '';
        margin: 0;
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .footer-links a {
        font-size: 0.8rem;
    }
}

/* 新しい料金カードデザイン */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pricing-header .service-icon .material-icons {
    font-size: 3rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.pricing-card:hover .pricing-header .service-icon .material-icons {
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.pricing-header .service-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.pricing-content {
    padding: 2rem;
}

.pricing-section {
    margin-bottom: 2rem;
}

.pricing-section:last-child {
    margin-bottom: 0;
}

.pricing-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.price-item.featured {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.price-item .service-name {
    font-size: 0.9rem;
    color: #fff;
    flex: 1;
}

.price-item .price {
    font-size: 1rem;
    font-weight: 600;
    color: #00d4ff;
    text-align: right;
}

.price-item .price.highlight {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.price-item .price small {
    font-size: 0.8rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.2rem;
}

.price-note {
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.price-note p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

.pricing-note {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.pricing-note p {
    font-size: 0.9rem;
    color: #ffc107;
    margin: 0;
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.pricing-footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pricing {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #0099cc, #00d4ff);
    color: #fff;
}

/* 詳細料金表 */
.detailed-pricing {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-toggle {
    text-align: center;
    margin-bottom: 2rem;
}

.detailed-content {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.detailed-content.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-section {
    margin-bottom: 3rem;
}

.detailed-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .pricing-header {
        padding: 1.5rem;
    }
    
    .pricing-header .service-icon {
        font-size: 2.5rem;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
    }
    
    .pricing-content {
        padding: 1.5rem;
    }
    
    .price-item {
        padding: 0.8rem;
    }
    
    .price-item .service-name {
        font-size: 0.8rem;
    }
    
    .price-item .price {
        font-size: 0.9rem;
    }
    
    .price-item .price.highlight {
        font-size: 1.1rem;
    }
    
    .pricing-footer {
        padding: 1.5rem;
    }
    
    .btn-pricing {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .pricing-header {
        padding: 1rem;
    }
    
    .pricing-header .service-icon {
        font-size: 2rem;
    }
    
    .pricing-header h3 {
        font-size: 1.2rem;
    }
    
    .pricing-content {
        padding: 1rem;
    }
    
    .pricing-section {
        margin-bottom: 1.5rem;
    }
    
    .pricing-section h4 {
        font-size: 1rem;
    }
    
    .price-item {
        padding: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-item .price {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .pricing-footer {
        padding: 1rem;
    }
    
    .btn-pricing {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
    }
} 

/* ========== ブログ（シンプルUI） ========== */
body.blog-page #blog h2,
body.blog-detail-page #main h2 {
    font-size: 1.0rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
body.blog-page #blog h2 span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.blog-filter {
    margin-bottom: 2rem;
}
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.filter-item {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
}
.filter-item:hover,
.filter-item.active {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}
.blog-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}
.blog-card-image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.blog-card-image picture img,
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.default-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
}
.default-image .material-icons {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.3);
}

.blog-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.blog-card-meta .material-icons {
    font-size: 0.85rem;
    opacity: 0.8;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.blog-card:hover .blog-card-title {
    color: #00d4ff;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}
.blog-card:hover .read-more {
    transform: translateX(4px);
}
.read-more .material-icons {
    font-size: 0.9rem;
}

/* ページネーション（シンプル） */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.page-link:hover {
    color: #00d4ff;
}

.page-numbers {
    display: flex;
    gap: 0.25rem;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.4rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
}

.page-number:hover {
    color: #00d4ff;
    background: rgba(255,255,255,0.06);
}

.page-number.active {
    color: #00d4ff;
    background: rgba(0,212,255,0.15);
}

/* ブログ詳細（シンプル） */
.blog-detail {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}
.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.blog-detail-meta .material-icons {
    font-size: 0.85rem;
}
.blog-category a {
    color: #00d4ff;
    text-decoration: none;
}
.blog-category a:hover {
    text-decoration: underline;
}

.blog-detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #fff;
    text-align: center;
}

.blog-detail-excerpt {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.blog-detail-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-image picture {
    display: block;
}
.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-content {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: visible;
}

/* 目次スタイル */
.table-of-contents {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 153, 204, 0.06) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1);
}

.table-of-contents *,
.table-of-contents h2,
.table-of-contents .toc-title {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.toc-title .material-icons {
    display: none !important;
}

.toc-nav {
    /* ナビゲーション要素であることを明示 */
}

.toc-list {
    list-style: none;
    padding: 0;
    padding-left: 1rem;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-item {
    counter-increment: toc-counter;
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 0.5rem;
}

.toc-level-2 {
    padding-left: 0.5rem;
}

.toc-level-3 {
    padding-left: 2rem;
    font-size: 0.9em;
}

.toc-item::before {
    content: counter(toc-counter) ". ";
    color: #00d4ff;
    font-weight: 600;
    margin-right: 0.5rem;
}

.toc-level-3::before {
    content: counter(toc-counter, lower-alpha) ". ";
}

.toc-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    line-height: 1.5;
}

.toc-item a:hover {
    color: #00d4ff;
    transform: translateX(4px);
}

.toc-item a:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
    border-radius: 2px;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* 目次からジャンプした際の見出しハイライト */
.blog-detail-content h2:target,
.blog-detail-content h3:target {
    animation: highlightHeading 2s ease;
    scroll-margin-top: 100px; /* ヘッダー高さ分のマージン */
}

@keyframes highlightHeading {
    0% {
        background: rgba(0, 212, 255, 0.3);
        padding-left: 1rem;
        margin-left: -1rem;
        border-radius: 4px;
    }
    100% {
        background: transparent;
        padding-left: 0;
        margin-left: 0;
    }
}

/* セクション区切り：h2の上に線と余白でブロックを明確に */
.blog-detail-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4ff;
    margin: 0;
    margin-bottom: 0.6rem;
    padding-top: 1.5rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    line-height: 1.4;
}
.blog-detail-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.blog-detail-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 1.25rem 0 0.4rem;
    line-height: 1.35;
}

.blog-detail-content p {
    margin-top: 1.8rem;
    margin-bottom: 1.4rem;
    line-height: 1.75;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 1.8rem 0 1rem;
    padding-left: 1.5rem;
}

.blog-detail-content ul {
    list-style-type: disc;
    list-style-position: outside;
}

.blog-detail-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

/* ブログ詳細：特徴リストなど箇条書きの点を表示するリスト */
.blog-detail-content ul.blog-feature-list {
    list-style-type: disc;
    list-style-position: outside;
}
.blog-detail-content ul.blog-feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.blog-detail-content li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
}

.blog-detail-content a {
    color: #00d4ff;
    text-decoration: none;
}

.blog-detail-content a:hover {
    text-decoration: underline;
}

.blog-detail-tags {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-detail-tags h3 {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.tag {
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.8rem;
}
.tag:hover {
    background: rgba(0,212,255,0.15);
}

.blog-detail-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-detail-author h3 {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.author-info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.author-avatar .material-icons {
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
}
.author-details h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.15rem;
}
.author-details p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* 関連記事（シンプル） */
.related-posts {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.related-posts h2 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 30px;
}
.related-post-card {
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}
.related-post-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.related-post-card h3 a {
    color: #fff;
    text-decoration: none;
}
.related-post-card h3 a:hover {
    color: #00d4ff;
}
.related-post-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.related-post-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.blog-back-link {
    text-align: center;
    margin-top: 2rem;
}
.blog-back-link .btn-secondary {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
}

/* ブログ詳細：お問い合わせCTA（SMO/CRO導線） */
.blog-cta-section {
    max-width: 640px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.75rem;
    text-align: center;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
}
.blog-cta-section .blog-cta-lead {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}
.blog-cta-section .btn-primary {
    display: inline-block;
}

#blog-heading{
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    padding: 0 1rem;
    letter-spacing: 0.5px;
}

/* 目次のレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .table-of-contents {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .toc-title {
        font-size: 1rem;
    }
    
    .toc-item {
        display: flex;
        align-items: center;
    }
    
    .toc-item::before {
        flex-shrink: 0;
    }
    
    .toc-item a {
        font-size: 0.9rem;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .toc-level-3 {
        padding-left: 1rem;
        font-size: 0.85em;
    }
}

@media screen and (max-width: 480px) {
    .table-of-contents {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .toc-title {
        font-size: 0.95rem;
    }
    
    .toc-item a {
        font-size: 0.85rem;
        width: 90%;
    }
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.no-posts p {
    margin: 0;
}

/* ブログ・ブログ詳細ページのメインエリア余白 */
body.blog-page #main,
body.blog-detail-page #main {
    padding: 0 0 4rem;
    min-height: 40vh;
}

body.blog-page #blog {
    padding-top: 2rem;
    padding-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
}

body.blog-detail-page .blog-detail {
    padding-left: 20px;
    padding-right: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
    }
    
    .blog-detail {
        padding: 1.5rem 1.25rem;
    }
    
    .blog-detail-title {
        font-size: 1.05rem;
    }
    
    .blog-detail-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-detail-content {
        font-size: 0.8125rem;
    }
    
    .blog-detail-content h2 {
        font-size: 1.05rem;
        padding-top: 1.25rem;
    }
    
    .blog-detail-content h2:first-child {
        padding-top: 0;
    }
    
    .blog-detail-content h3 {
        font-size: 0.95rem;
    }
    
    .blog-detail-meta {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.7rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* ブログフィルター：モバイルで複数列に折り返してコンパクトに */
    .filter-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }
    .blog-filter .filter-item {
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-numbers {
        order: 2;
    }
}

@media screen and (max-width: 480px) {
    .blog-detail {
        padding: 1.25rem 1rem;
    }
    
    .blog-detail-title {
        font-size: 1.4rem;
    }
    
    .blog-detail-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-detail-content {
        font-size: 0.8125rem;
    }
    
    .blog-detail-content h2 {
        font-size: 1rem;
        padding-top: 1.15rem;
    }
    
    .blog-detail-content h3 {
        font-size: 0.9rem;
    }
    
    /* ブログフィルター：極小画面でさらにコンパクトに */
    .blog-filter .filter-item {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .blog-card-image {
        height: 150px;
    }
    
    .blog-card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
} 

/* モバイル版のヒーロータイトル */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
        padding: 0 0.5rem;
        letter-spacing: 0.5px;
    }
}

/* モバイル版の会社名 */
@media screen and (max-width: 768px) {
    .company-name {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        letter-spacing: 2px;
        opacity: 0.95;
    }
}

@media screen and (max-width: 480px) {
    .company-name {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        letter-spacing: 1.5px;
        opacity: 1;
    }
}

/* モバイル版のヒーローサブタイトル */
@media screen and (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        opacity: 0.95;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        opacity: 1;
        padding: 0 0.5rem;
    }
}

/* お知らせページ用スタイル */
.news-page #hero {
    height: 60vh;
    margin-top: -60px;
    padding-top: 60px;
}

.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.news-date {
    color: #00d4ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

.news-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-news p {
    font-size: 1.2rem;
    margin: 0;
}

.back-to-top {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.page-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.page-link.current {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-color: #00d4ff;
    color: #fff;
    font-weight: 700;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .news-page #hero {
        height: 50vh;
        margin-top: -50px;
        padding-top: 50px;
    }
    
    .news-container {
        padding: 1.5rem 0;
    }
    
    .news-item {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
    
    .pagination {
        gap: 0.5rem;
    }
    
    .page-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .news-page #hero {
        height: 40vh;
        margin-top: -40px;
        padding-top: 40px;
    }
    
    .news-item {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ブログセクション（シンプルUIで上書き済み・余白のみ） */
body.blog-page #blog {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .blog-card-content {
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-card-image {
        height: 140px;
    }
}

/* ============================================
   E-E-A-Tセクション（改善版）
   ============================================ */

#eeat {
    padding: 100px 20px !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.eeat-content {
    max-width: 1200px !important;
    margin: 60px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
}

.eeat-card {
    padding: 2.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
}

.eeat-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

.eeat-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.eeat-card:hover::before {
    opacity: 1 !important;
}

.eeat-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.eeat-icon {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    color: #00d4ff !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.eeat-card:hover .eeat-icon {
    background: rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

.eeat-icon svg,
.eeat-card .eeat-icon svg,
#eeat .eeat-icon svg,
.eeat-card-header .eeat-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
}

.eeat-card h3 {
    font-size: 1.4rem !important;
    margin: 0 !important;
    color: #00d4ff !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.eeat-card p {
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;
    flex-grow: 1 !important;
}

.eeat-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: auto !important;
}

.eeat-list li {
    padding: 0.75rem 0 !important;
    padding-left: 2rem !important;
    position: relative !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.eeat-list li:last-child {
    border-bottom: none !important;
}

.eeat-list li:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    padding-left: 2.25rem !important;
}

.eeat-list li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 6px !important;
    height: 6px !important;
    background: #00d4ff !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.eeat-list li:hover::before {
    width: 8px !important;
    height: 8px !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6) !important;
}

@media (max-width: 1024px) {
    .eeat-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    #eeat {
        padding: 60px 15px !important;
    }
    
    .eeat-content {
        margin-top: 40px !important;
        gap: 1.5rem !important;
    }
    
    .eeat-card {
        padding: 2rem 1.5rem !important;
    }
    
    .eeat-card-header {
        gap: 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .eeat-card h3 {
        font-size: 1.25rem !important;
    }
}

/* ============================================
   REQUEST JOBSセクション（改善版）
   ============================================ */

.request-jobs-container {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.request-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.request-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.request-card:hover::before {
    opacity: 1;
}

.request-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.request-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    color: #00d4ff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.request-card:hover .request-icon {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.request-icon .material-icons {
    font-size: 32px;
}

.request-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #00d4ff;
    font-weight: 600;
    line-height: 1.3;
}

.request-card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.request-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.request-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.request-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.request-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.request-features li:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 2rem;
}

.request-features li:hover::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.request-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-request-primary {
    display: block;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-request-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099cc 0%, #00d4ff 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .request-jobs-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* タイムライン - 完全新規構築（flexbox + position） */
.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 40px;
}

.timeline {
    position: relative;
    width: 100%;
    padding: 0;
}

/* 中央の縦線 */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
    z-index: 1;
}

/* タイムラインアイテムの基本スタイル */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* アニメーションとの競合を完全に解消 */
.timeline-item.fadein {
    opacity: 0;
    transform: translateY(30px) !important;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.timeline-item.fadein.active {
    opacity: 1;
    transform: translateY(0) !important;
}

/* 左側のアイテム */
.timeline-item-left {
    justify-content: flex-start;
}

.timeline-item-left .timeline-content {
    width: calc(50% - 40px);
    margin-right: 40px;
    margin-left: 0;
    padding: 32px;
    text-align: right;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
    box-sizing: border-box;
    flex-shrink: 0;
}

.timeline-item-left::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
    pointer-events: none;
}

.timeline-item-left:hover .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.timeline-item-left:hover::after {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.2);
}

/* 右側のアイテム */
.timeline-item-right {
    justify-content: flex-end;
}

.timeline-item-right .timeline-content {
    width: calc(50% - 40px);
    margin-left: 40px;
    margin-right: 0;
    padding: 32px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
    box-sizing: border-box;
    flex-shrink: 0;
}

.timeline-item-right::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
    pointer-events: none;
}

.timeline-item-right:hover .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.timeline-item-right:hover::after {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.2);
}

/* コンテンツ内の要素 */
.timeline-content .timeline-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.timeline-content .timeline-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.timeline-content .timeline-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .timeline-wrapper {
        padding: 0 24px;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        margin-bottom: 48px;
        min-height: 80px;
        justify-content: flex-start !important;
    }

    .timeline-item-left .timeline-content,
    .timeline-item-right .timeline-content {
        width: calc(100% - 56px) !important;
        margin-left: 40px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item-left::after,
    .timeline-item-right::after {
        left: 24px;
        transform: translate(-50%, -50%);
    }

    .timeline-item-left:hover::after,
    .timeline-item-right:hover::after {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@media (max-width: 768px) {
    .request-jobs-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 40px;
    }
    
    .request-card {
        padding: 2rem 1.5rem;
    }
    
    .request-card-header {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .request-icon {
        width: 48px;
        height: 48px;
    }
    
    .request-icon .material-icons {
        font-size: 28px;
    }
    
    .request-card h3 {
        font-size: 1.3rem;
    }
    
    .btn-request-primary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   MEO対策 - 地図表示スタイル
   ============================================ */

.contact-map {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-align: center;
}

.map-description {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.map-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) brightness(1);
}

.map-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.map-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.map-link .material-icons {
    font-size: 1.2rem;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .contact-map {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .contact-map h3 {
        font-size: 1.3rem;
    }
    
    .map-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .map-link {
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
}

/* ============================================
 * CRO最適化スタイル
 * ============================================ */

/* エラーメッセージ */
.error-message {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

input.error,
textarea.error,
select.error {
    border-color: #ff4444 !important;
    background-color: rgba(255, 68, 68, 0.05);
}

input.valid,
textarea.valid,
select.valid {
    border-color: #00d4ff !important;
    background-color: rgba(0, 212, 255, 0.05);
}

/* CROツールチップ */
.cro-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* フォーカス状態の強化 */
[data-user-focused="true"] {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* CTAボタンの最適化 */
.btn-primary.ready {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* スティッキーCTA */
.sticky-cta-visible {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}