/** ##############################
 * Description of main.css
 * Created on : 2026/02/18
 * @version 1.00
 * @copyright Heaven-studio.com
 * @author Myazou3(Toshiyasu.Tkamoto)
 */
/* --- 共通設定 --- */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f7;
    color: #333;
    overflow-x: hidden;
}

/* --- PC用：レイアウト --- */
.pc-only-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-weight: bold;
    font-size: 1.2rem;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 60px;
}

/* PCサイドナビ */
.side-nav {
    margin-top: 120px;
    width: 150px;
}
.side-nav ul {
    list-style: none;
    padding: 0;
}
.side-nav li {
    margin-bottom: 15px;
}
.side-nav li a {
    text-decoration: none;
    color: #888;
    font-weight: bold;
    transition: all 0.3s;
    display: block;
}

.nav-link {
    cursor: pointer; /* マウスオーバーで指の形にする */
    display: block;
    padding: 10px;
    transition: 0.3s;
    user-select: none; /* テキスト選択を防ぐ（アプリ感を出す） */
}
/* カレント（現在地）表示 */
.side-nav li a.is-active {
    color: #007aff;
    border-left: 3px solid #007aff;
    padding-left: 15px;
}

/* --- スマホ画面（モックアップ） --- */
#phone-mockup {
    width: 375px;
    height: 80vh;
    min-height: 700px;
    background: #fff;
    border: 12px solid #222;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* スマホ内ヘッダー */
.inner-header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    z-index: 100;
}
.inner-logo { font-weight: bold; }

/* ハンバーガーアイコン */
.hamburger {
    width: 25px;
    height: 18px;
    position: relative;
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* スマホ内ナビ（オーバーレイ） */
.inner-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.98);
    z-index: 90;
    display: none;
}
.inner-nav ul {
    list-style: none;
    padding: 50px 0;
    text-align: center;
}
.inner-nav li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}
.inner-nav li a.is-active { color: #007aff; font-weight: bold; }

/* コンテンツ表示エリア */
.content-viewport {
    height: 100%;
    overflow-y: auto;
    padding-top: 60px;
    scroll-behavior: smooth;
}
.content-box {
    min-height: 100%;
    padding: 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* --- レスポンシブ（スマホ表示時） --- */
@media (max-width: 768px) {
    .pc-only, .pc-only-header {
        display: none !important;
    }
    .main-container {
        padding: 0;
    }
    #phone-mockup {
        width: 100vw;
        height: 100vh;
        border: none;
        border-radius: 0;
    }
}

