@charset "UTF-8";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Yu Gothic", "游ゴシック", "メイリオ" , sans-serif;
    color: #624E3E;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 500;
    line-height: 2;
    overflow-x: hidden;
    background: #fffaf5;
}

img{
    border-style: none !important;
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* サイドナビゲーション */
.center{
    text-align: center;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    /*background-color: rgba(30, 58, 95, 0.8);*/
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    box-shadow: none;
    z-index: 1000;
    flex-shrink: 0;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

/* サイドナビのスクロールバー非表示 */
/*.side-nav::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.side-nav-logo {
    padding: 0 20px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}*/

/*サイトタイトル*/
.site-title {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #624E3E;
    width: fit-content;
    margin: 20px auto; 
    font-family: "fot-tsukuardgothic-std", sans-serif;
}

.site-title img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.site-title .small {
    font-size: 20px;
    margin-bottom: -12px;
}

.site-title .large {
    font-size: 26px;
    font-weight: bold;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
}

.side-nav-item {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    padding: 10px;
    color: #e56a03;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 17px;
    border-left: 4px solid transparent;
}

.side-nav-item:hover,
.side-nav-item.active {
    color: #e56a03;
    border-left-color: #e56a03;
}

.side-nav-item i {
    width: 25px;
    text-align: center;
    margin-right: 12px;
    font-size: 16px;
}

/*★にちぜいくん*/
.nichizeikun-wrap {
    width: 100%;
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.nichizeikun {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.nichizeikun-text {
    font-size: 12px;
    margin-top: 6px;
}

/* リンクバナーエリア */
.link-banners {
    margin-top: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-banner-item {
    display: block;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1e3a5f;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    border-left: 4px solid #1e3a5f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.link-banner-item:hover {
    transform: translateX(2px);
    background-color: white;
}

.link-banner-item span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #555;
    margin-top: 2px;
}

/* ハンバーガーメニューボタン */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2000;
    background-color: #e56a03;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* モバイル用オーバーレイ */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

/* ページヘッダー */

.page-hero {
    color: #4C2E30;
    text-shadow: 0 0 7px rgba(255,255,255,1);
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-image: url('https://page.gensparksite.com/slides_images/3b54b003dc9d5dbca5dc1721312e2be1.webp');
    background-size: cover;
    background-position: center;
}

.page-hero1 {
    color: #4C2E30;
    text-shadow: 0 0 7px rgba(255,255,255,1);
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-image: url('../../img/akusyu.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero2 {
    color: #4C2E30;
    text-shadow: 0 0 7px rgba(255,255,255,1);
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-image: url('../../img/soudan.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero3 {
    color: #4C2E30;
    text-shadow: 0 0 7px rgba(255,255,255,1);
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-image: url('../../img/mijikani.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .page-hero3 {
        background-image: url('../../img/mijikani_sp.jpg');
    }
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 210, 170, 0.5);
    /*background-color: rgba(30, 58, 95, 0.4);*/
    backdrop-filter: blur(2px);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-title {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
}

.page-subtitle {
    font-size: 16px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .page-subtitle {
        font-size: 15px;
    }
}


/* メインコンテンツエリア */
.site-wrap{
    margin-left: 220px;
    width: calc(100% - 220px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .site-wrap {
        margin-left: 0;
        width: 100%;
    }
}

.main-content-area {
    flex: 1;
}

/* セクション共通スタイル */
.section-container {
    padding: 80px 40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.bg_shiro{
    background-color: #fff;
}


@media (max-width: 1024px) {
    .section-container {
        padding: 40px 2%;
    }
}

@media (max-width: 600px) {
    .section-container {
        padding: 40px 2%;
    }
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

/*secionタイトル*/
.section-title {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 38px;
    color: #4C2E30;
    /*color: #1e3a5f;*/
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}


.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e56a03;
}

/* フローティングバナー（スライド2のデザインに統一） */
.floating-banner {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 12px 5px;
    background: rgba(255, 255, 255, 0.8);
    /*background: rgba(243, 152, 1, 0.8);*/
    /*background: rgba(30, 58, 95, 0.9);*/
    backdrop-filter: blur(8px);
    color: #e56a03 !important;
    text-decoration: none;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
}

.fb-item:hover {
    transform: translateX(-5px);
}

.fb-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.fb-text {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* 会員専用ページ（強調） */
.fb-item.highlight {
    color: #fff !important;
    background: #e56a03;
    opacity: 0.9;
    /*box-shadow: -2px 2px 12px rgba(230, 57, 70, 0.4);
    animation: pulse-red 2s infinite;*/
}

/*.fb-item.highlight:hover {
    background: rgba(214, 40, 57, 1);
}*/

/*@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}*/

/* フローティングバナー（モバイル） */
/* タブレット以下 (1024px以下) */
@media (max-width: 1024px) {

    .floating-banner {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: space-around;
        background: white;
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .fb-item {
        width: 100%;
        border-radius: 0;
        background: transparent;
        padding: 8px 0;
        border: none;
        box-shadow: none;
    }

    .fb-item:hover {
        transform: none;
        background: #f8f9fa;
    }

    .fb-icon {
        font-size: 20px;
        color: #e56a03;
    }

    .fb-text {
        font-size: 10px;
        font-weight: 500;
    }

    .fb-item.highlight {
        background: #e56a03;
        animation: none;
    }

    .fb-item.highlight .fb-icon,
    .fb-item.highlight .fb-text {
        color: #fff;
    }
}

/*フッターバナー*/
.footer-banners {
  height: auto;
  margin: 10px auto;
  padding-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-banners img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .footer-banners {
    width: 350px;
    height: auto;
    gap: 20px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* フッター */
.footer {
    background-color: #f39801;
    color: white;
    padding: 50px 40px;
    text-align: center;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 700;
    width: calc(100% + var(--side-nav-width));
    margin-left: calc(var(--side-nav-width) * -1);
    box-sizing: border-box;
}

.footer .container {
    width: calc(100% - var(--side-nav-width));
    margin-left: var(--side-nav-width);
    padding: 0 40px;
    box-sizing: border-box;
}

.footer .container > * {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer_under {
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-links a:hover {
    opacity: 1;
}

.tax-badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    margin-right: 15px auto;
}

/* --- レスポンシブ・メディアクエリ --- */

/* タブレット以下 (1024px以下) */
@media (max-width: 1024px) {
    body {
        padding-bottom: 4rem;
    }

    .side-nav {
        transform: translateX(-100%);
        /* デフォルトで隠す */
        width: 280px;
        /* モバイルでは少し幅広に */
    }

    .side-nav.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-content-area {
        margin-left: 0;
        width: 100%;
    }

    .greeting-image-frame {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .greeting-image-frame::before {
        left: -10px;
        top: 10px;
    }

    .hero-caption {
        bottom: 60px;
        /* モバイルバナーの上 */
        right: 20px;
        left: 20px;
        text-align: center;
        width: auto;
    }

    .footer {
        width: 100%;
        margin-left: 0;
        padding: 50px 20px 120px;
    }

    .footer .container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
  .footer {
    width: 100%;
    margin-left: 0;
    padding: 30px 20px;
  }

  .footer .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* スマホ (600px以下) */
@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 10px 20px;
        width: 90%;
    }

    .header-nav {
        padding: 15px 20px;
        justify-content: flex-end;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .greeting-content {
        gap: 30px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 0;
        color: #888;
        font-size: 12px;
    }

    .info-table td {
        border-bottom: 1px solid #eee;
        font-weight: 500;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero-caption {
        display: none;
        /* スマホではキャプション非表示 */
    }
}

/* ----------------------------------------------------
       会員専用
    ---------------------------------------------------- */

.ippai{
    min-height: 100vh;
    padding: 30px;
}    

/*ログアウトボタン*/
.logout{
    background-color: #bd2031;
}

/* ヘッダーエリア */
.member-header {
    background-color: #fffaf5;
    color: #4C2E30;
    padding: 10px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-title h1 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* セクションタイトル */
.section-label {
    font-size: 20px;
    font-weight: 700;
    color: #e56a03;
    margin-bottom: 20px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* コンテンツコンテナ */
.dashboard-container {
    padding: 40px 10px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .dashboard-container {
        padding: 30px;
        padding-right: 30px;
        /* モバイルではバナー非表示のため通常パディング */
    }
}

/* タブ切り替え */
.page-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e56a03;
    padding-left: 20px;
    flex-wrap: wrap;
}

.page-tab {
    padding: 12px 30px;
    font-weight: 700;
    color: #4C2E30;
    /*background: #f1f5f9;*/
    border-radius: 12px 12px 0 0;
    text-decoration: none;
    /*transition: all 0.2s;*/
    white-space: nowrap;
}

.page-tab:hover {
    background: #fff0e2;
    color: #4C2E30;
}

.page-tab.active {
    background: #e56a03;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .page-tabs {
        padding: 0 40px;
    }
}

/* メディアクエリ - スマートフォン (600px以下) */
@media (max-width: 600px) {
    .page-tabs {
        border-bottom: none;
    }

    .page-tab {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        border-radius: 8px 8px;
    }
}