/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    width: auto;
    height: 40px;
    transition: all 0.3s ease;
}

.header.scrolled .logo-img {
    height: 34px;
}

.nav-pc ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-pc li {
    margin-left: 30px;
    position: relative;
}

.nav-pc a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.nav-pc a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f18fb0;
    transition: width 0.3s ease;
}

.nav-pc a:hover::after {
    width: 100%;
}

/* サブメニュー */
.has-submenu {
    position: relative;
}

.has-submenu > a::before {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    white-space: nowrap;
}

.submenu li a:hover {
    background-color: #f9f9f9;
    color: #f18fb0;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}

/* スマホナビゲーション */
.nav-sp {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(241, 143, 176, 0.95);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-sp.active {
    right: 0;
}

.nav-sp ul {
    list-style: none;
    padding: 80px 20px 20px;
    margin: 0;
}

.nav-sp li {
    margin-bottom: 10px;
}

.nav-sp a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* スマホ用サブメニュー */
.sp-has-submenu > a {
    position: relative;
}

.sp-has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    transition: transform 0.3s ease;
}

.sp-has-submenu.active > a::after {
    transform: rotate(180deg);
}

.sp-submenu {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
}

.sp-submenu li {
    margin-bottom: 0;
}

.sp-submenu a {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ページヘッダー (下層ページ共通) */
.page-header {
    margin-top: 80px;
    padding: 60px 0;
    background-color: #f5f9ff;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #f18fb0;
    margin-bottom: 20px;
}

.page-description {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* パンくずリスト */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 13px;
    color: #999;
}

.breadcrumb li {
    margin-right: 5px;
}

.breadcrumb li:after {
    content: '>';
    margin-left: 5px;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb a {
    color: #f18fb0;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* コンテンツセクション (下層ページ共通) */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: #f5f5f5;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #f18fb0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f18fb0;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background-color: #f18fb0;
    border-radius: 2px;
}

/* フッター */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: auto;
    height: 50px;
}

.footer-address, .footer-tel, .footer-fax, .footer-mail, .footer-hours {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.footer-nav {
    flex: 2;
    min-width: 300px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    font-size: 14px;
    color: #aaa;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #f18fb0;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #f18fb0;
    padding-left: 20px;
}

.footer-nav a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-sns {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sns-wrap {
    margin-bottom: 20px;
}

.sns-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
    transition: all 0.3s ease;
}

.sns-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.5);
}

.sns-icon i {
    font-size: 30px;
    color: #fff;
}

.line-qr {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.line-qr p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.line-qr img {
    width: 120px;
    border-radius: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 30px;
}

.copyright p {
    font-size: 12px;
    color: #777;
    letter-spacing: 1px;
}

/* トップに戻るボタン */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f18fb0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

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

.to-top:hover {
    background-color: #e47a9a;
    transform: translateY(-5px);
}

/* レスポンシブ対応 */
@media (max-width: 991px) {
    .header-inner {
        padding: 10px 20px;
    }
    
    .logo-img {
        height: 34px;
    }
    
    .header.scrolled .logo-img {
        height: 30px;
    }
    
    .nav-pc {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .page-header {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 30px;
    }
    
    .footer-inner {
        flex-direction: column;
    }
    
    .footer-nav {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info, .footer-nav, .footer-sns {
        width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .footer-nav ul {
        columns: 1;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 24px;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .header.scrolled .logo-img {
        height: 26px;
    }
    
    .to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-logo img {
        height: 40px;
    }
}