/* 
  Apollo Seikotsuin - HPB Style Theme
  Shared CSS for all pages
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
	    --hpb-bg: #f6f5f4;
	    --hpb-white: #ffffff;
	    --hpb-purple: #9b76c1;
	    --hpb-purple-dark: #7a5ba3;
	    --hpb-text-main: #333333;
	    --hpb-text-sub: #666666;
	    --hpb-text-light: #999999;
	    --hpb-border: #e1e1e1;
	    --hpb-accent-pink: #ff4b6f;
	    --container-width: 960px;
}

* {
	    margin: 0;
	    padding: 0;
	    box-sizing: border-box;
}

body {
	    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
	    background-color: var(--hpb-bg);
	    color: var(--hpb-text-main);
	    line-height: 1.6;
	    font-size: 14px;
}

a {
	    color: inherit;
	    text-decoration: none;
}

/* Global Header Simulation */
.g-header {
	    background-color: #fff;
	    border-bottom: 1px solid var(--hpb-border);
	    font-size: 11px;
	    color: #666;
	    padding: 5px 0;
}

.g-header .inner {
	    width: var(--container-width);
	    margin: 0 auto;
	    display: flex;
	    justify-content: space-between;
}

.g-nav-bar {
	    background-color: #444;
	    color: #fff;
	    font-size: 12px;
}

.g-nav-bar .inner {
	    width: var(--container-width);
	    margin: 0 auto;
	    display: flex;
}

.g-nav-bar a {
	    padding: 10px 15px;
	    display: block;
	    border-right: 1px solid #555;
}

.g-nav-bar a.active {
	    background-color: #333;
	    font-weight: bold;
}

/* Breadcrumbs */
.breadcrumb {
	    width: var(--container-width);
	    margin: 0 auto;
	    padding: 10px 0;
	    font-size: 11px;
	    color: var(--hpb-text-sub);
}

.breadcrumb span {
	    margin: 0 5px;
}

/* Main Container */
.main-wrap {
	    width: var(--container-width);
	    margin: 0 auto;
	    background-color: var(--hpb-white);
	    box-shadow: 0 0 10px rgba(0,0,0,0.05);
	    padding: 20px;
	    min-height: 800px;
}

/* Salon Header */
.salon-header {
	    display: flex;
	    justify-content: space-between;
	    align-items: flex-start;
	    margin-bottom: 20px;
}

.salon-info-left {
	    flex: 1;
}

.catchphrase {
	    color: var(--hpb-accent-pink);
	    font-weight: bold;
	    font-size: 13px;
	    margin-bottom: 5px;
}

.salon-name {
	    font-size: 28px;
	    font-weight: bold;
	    margin-bottom: 10px;
}

.salon-actions {
	    width: 280px;
}

.btn-reserve {
	    background: linear-gradient(to bottom, #b48ddb, #9b76c1);
	    color: #fff;
	    display: block;
	    text-align: center;
	    padding: 15px;
	    border-radius: 4px;
	    font-weight: bold;
	    font-size: 16px;
	    margin-bottom: 10px;
	    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tabs */
.tabs-nav {
	    display: flex;
	    list-style: none;
	    border-bottom: 2px solid var(--hpb-purple);
	    margin-bottom: 25px;
}

.tabs-nav li {
	    flex: 1;
}

.tabs-nav a {
	    display: block;
	    text-align: center;
	    padding: 12px 0;
	    background-color: #f8f7f6;
	    border: 1px solid var(--hpb-border);
	    border-bottom: none;
	    margin-right: 2px;
	    font-size: 13px;
	    color: var(--hpb-text-main);
}

.tabs-nav li:last-child a {
	    margin-right: 0;
}

.tabs-nav li.active a {
	    background-color: var(--hpb-white);
	    border-color: var(--hpb-purple);
	    border-bottom: 2px solid var(--hpb-white);
	    margin-bottom: -2px;
	    color: var(--hpb-purple);
	    font-weight: bold;
}

/* Content Sections */
.section-title {
	    font-size: 18px;
	    font-weight: bold;
	    border-left: 5px solid var(--hpb-purple);
	    padding-left: 15px;
	    margin: 30px 0 15px 0;
	    border-bottom: 1px solid var(--hpb-border);
	    padding-bottom: 5px;
}

/* Tables */
.hpb-table {
	    width: 100%;
	    border-collapse: collapse;
	    margin-bottom: 20px;
}

.hpb-table th, .hpb-table td {
	    border: 1px solid var(--hpb-border);
	    padding: 12px 15px;
	    vertical-align: top;
}

.hpb-table th {
	    background-color: #f9f8f7;
	    width: 200px;
	    text-align: left;
	    font-weight: normal;
	    color: var(--hpb-text-sub);
}

/* Footer */
.footer {
	    width: var(--container-width);
	    margin: 0 auto;
	    padding: 40px 0;
	    text-align: center;
	    font-size: 11px;
	    color: var(--hpb-text-light);
}

/* Mobile Action Bar */
.action-bar {
	    position: fixed;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    display: none;
	    height: 60px;
	    z-index: 1000;
}

@media (max-width: 960px) {
	:root { --container-width: 100%; }
	.main-wrap { padding: 15px; box-shadow: none; }
	.g-header .inner, .g-nav-bar .inner, .breadcrumb { padding: 0 10px; }
	.salon-header { flex-direction: column; }
	.salon-actions { width: 100%; margin-top: 15px; }
	.tabs-nav { flex-wrap: wrap; }
	.tabs-nav li { flex: none; width: 33.33%; }
	.hpb-table th { width: 100px; }
	.action-bar { display: flex; }
}
