/*
Theme Name: 101 ICHIMARU ICHI
Theme URI: https://example.com
Author: Custom Theme
Description: シンプルなマッサージ店サイト
Version: 2.0
*/

/* ==============================================
   リセット＆基本設定
============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: linear-gradient(-45deg, #FFE5E5, #FFE5F0, #E5F0FF, #E5FFE5, #FFF5E5, #F0E5FF);
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


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

/* ==============================================
   ヘッダー
============================================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}


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

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-width: 300px;
    height: auto;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.main-navigation {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    font-size: 14px;
}

.main-navigation a:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}


/* ==============================================
   電話ボタン（元の機能を完全維持）
============================================== */
.phone-btn {
    display: block !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 20px !important;
    border-radius: 15px !important;
    text-align: center !important;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.3) !important;
    margin: 15px auto !important;
    max-width: calc(100% - 40px) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.phone-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.5) !important;
}

/* ==============================================
   LINEボタン（元の機能を完全維持）
============================================== */
.line-buttons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px;
    margin: 15px auto;
    max-width: 1200px;
}

.line-btn {
    display: block;
    padding: 14px 10px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.line-reservation {
    background: linear-gradient(135deg, #06c755 0%, #00b140 100%);
}

.line-official {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff3d7f 100%);
}

.line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.line-btn-title {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.line-btn-subtitle {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}

/* ==============================================
   コンテンツエリア
============================================== */
.site-content {
    padding: 40px 20px;
}

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

/* ==============================================
   セクション共通
============================================== */
section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==============================================
   ニュースセクション
============================================== */
.news-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* ==============================================
   本日の出勤
============================================== */
.today-schedule-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.today-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.today-staff-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.today-staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.today-staff-card a {
    text-decoration: none;
    color: inherit;
}

.today-staff-image {
    width: 100%;
    aspect-ratio: 6 / 9;
    background-size: cover;
    background-position: center;
}

.today-staff-info {
    padding: 15px;
}

.today-staff-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.today-staff-time {
    font-size: 14px;
    color: #666;
}

.no-schedule {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* ==============================================
   最新の写メ日記
============================================== */
./* 写メ日記 - 画像のサイズ調整 */
.diary-grid {
    display: grid !important;
    /* 既存はrepeat(2, 1fr)や3列などかもしれないので必要に応じて調整 */
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}

/* 画像のサイズ小さく */
.diary-image {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important; /* 画像の縦横比変えたいならここを調整 */
    background-size: cover !important;
    background-position: center !important;
}

/* グレー文字を黒に変更 */
.diary-author,
.diary-date {
    color: #000 !important;
}

/* タイトルはそのままでも良いが必要なら調整可能 */
.diary-title {
    color: #000 !important;
}


/* ==============================================
   全て見るボタン
============================================== */
.view-all-link {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==============================================
   スタッフリスト
============================================== */
.staff-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.staff-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.staff-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.staff-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.staff-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.staff-item:hover .staff-thumbnail {
    transform: scale(1.05);
}

.schedule-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.status-before {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.status-working {
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
}

.status-finished {
    background: linear-gradient(135deg, #b2bec3 0%, #636e72 100%);
}

.staff-info-wrapper {
    padding: 12px;
}

.staff-schedule-time {
    font-size: 13px;
    font-weight: bold;
    color: #ff6b9d;
    margin-bottom: 6px;
}

.staff-name {
    font-size: 16px;
    font-weight: bold;
    color: #2d3436;
    margin-bottom: 6px;
}

.staff-basic-info {
    font-size: 11px;
    color: #636e72;
    margin-bottom: 6px;
    line-height: 1.5;
}

.staff-appeal {
    font-size: 11px;
    color: #2d3436;
    line-height: 1.5;
}

/* ==============================================
   スタッフ詳細ページ
============================================== */
.staff-detail-layout {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
}

.staff-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staff-main-image {
    width: 100%;
    aspect-ratio: 6 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.staff-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.staff-gallery img {
    width: 100%;
    aspect-ratio: 6 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.staff-profile-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.staff-profile-table th,
.staff-profile-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.staff-profile-table th {
    background: #f8f8f8;
    font-weight: bold;
    width: 40%;
}

.staff-week-schedule {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.schedule-day {
    background: #fff;
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-date {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.schedule-time {
    font-size: 11px;
    color: #666;
}

.schedule-day.off {
    background: #f5f5f5;
    color: #999;
}

/* ==============================================
   スケジュールページ
============================================== */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.schedule-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: bold;
}

.schedule-table tbody tr:hover {
    background: #f8f8f8;
}

.schedule-thumbnail {
    width: 60px;
    aspect-ratio: 6 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 auto;
    display: block;
}

/* ==============================================
   日記ページ
============================================== */
.page-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.diary-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ==============================================
   料金表
============================================== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: #f8f8f8;
    font-weight: bold;
}

/* ==============================================
   フッター
============================================== */
.site-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}