/*
Theme Name: Shiba Master Members
Theme URI: https://example.com/
Author: しょたちん
Author URI: https://example.com/
Description: 人工芝施工ノウハウ会員サイト用 WordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shiba-master-members
*/

/* ===================================
   BASE
=================================== */

body{
    margin:0;
    padding:0;

    background:#f8faf7;
    color:#1e293b;

    font-family:
    "Helvetica Neue",
    sans-serif;
}

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

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}
#main{
    margin:100px auto 30px;
    max-width:1100px
}
/* ===================================
   HERO
=================================== */

.hero{
    position:relative;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

    height:72vh;

    display:flex;
    align-items:center;

    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(255,255,255,.45),
        rgba(255,255,255,.7)
    );
}

.hero-inner{
    position:relative;
    z-index:2;
}

.hero-content{
    max-width:680px;
}

.hero-sub{

    display:inline-block;

    padding:8px 16px;

    border-radius:999px;

    background:
    rgba(34,197,94,.12);

    color:#15803d;

    font-size:13px;
    font-weight:700;

    letter-spacing:2px;
}

.hero h1{

    margin:
    24px 0 20px;

    font-size:68px;
    line-height:1.25;

    color:#14532d;
}

.hero-text{

    font-size:18px;
    line-height:1.9;

    color:#334155;
}

.top-subscriber-only{
    display:grid;
    grid-template-columns:50% 1fr;
}

.top-subscriber-only a{
    margin:2em 1em;
}
.top-subscriber-only img{
    width:100%;
    height:auto;
    display:block;
}
/* ===================================
   SECTION TITLE
=================================== */

.section-heading{
    text-align:center;

    margin-bottom:60px;
}

.section-heading h2{

    margin-bottom:10px;

    font-size:42px;

    color:#14532d;
}

.section-heading p{
    color:#64748b;
}

/* ===================================
   QUICK MENU
=================================== */

.quick-menu{
    padding:100px 0 60px;
}

.menu-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;
}

.menu-card{

    background:#fff;

    border-radius:28px;

    padding:40px 30px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:.3s;
}

.menu-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 16px 40px rgba(34,197,94,.12);
}

.menu-icon{

    width:72px;
    height:72px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:20px;

    background:
    rgba(34,197,94,.12);

    font-size:34px;

    margin-bottom:25px;
}

.menu-card h3{

    margin-bottom:14px;

    font-size:24px;

    color:#166534;
}

.menu-card p{

    color:#64748b;

    line-height:1.8;
}

/* ===================================
   POSTS
=================================== */

.recent-posts{
    padding:60px 0 120px;
}

.posts-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;
}

.post-card{

    overflow:hidden;

    background:#fff;

    border-radius:28px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:.3s;
}

.post-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 16px 40px rgba(34,197,94,.12);
}

.post-thumbnail img{

    width:100%;
    height:240px;

    object-fit:cover;

    display:block;
}

.post-content{
    padding:28px;
}

.post-date{

    margin-bottom:14px;

    font-size:14px;

    color:#94a3b8;
}

.post-content h3{

    font-size:24px;
    line-height:1.5;

    color:#1e293b;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:980px){

    .menu-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .posts-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero h1{
        font-size:52px;
    }

}

@media(max-width:768px){

    .hero{
        height:auto;
        padding:120px 0 100px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-text{
        font-size:16px;
    }

    .menu-grid,
    .posts-grid{
        grid-template-columns:1fr;
    }

    .section-heading h2{
        font-size:32px;
    }

}
/* ===================================
   HEADER
=================================== */

.site-header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:999;

    background:
    rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    border-bottom:
    1px solid rgba(0,0,0,.06);
}

/* ===================================
   INNER
=================================== */

.header-inner{

    height:88px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* ===================================
   LOGO
=================================== */

.site-logo{

    display:flex;
    align-items:center;
    gap:14px;

    font-size:24px;
    font-weight:700;

    color:#166534;
}

.site-logo img{
    max-width:260px;
    height:auto;
    display:block;
}

/* ===================================
   NAVIGATION
=================================== */

.global-nav ul{

    display:flex;
    align-items:center;
    gap:40px;

    margin:0;
    padding:0;

    list-style:none;
}

.global-nav a{

    position:relative;

    font-size:15px;
    font-weight:600;

    color:#1e293b;

    transition:.3s;
}

/* hover */

.global-nav a:hover{
    color:#16a34a;
}

/* underline */

.global-nav a::after{

    content:'';

    position:absolute;
    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:#22c55e;

    transition:.3s;
}

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

/* ===================================
   RIGHT AREA
=================================== */

.header-right{

    display:flex;
    align-items:center;
    gap:18px;
}

.user-name{

    font-size:14px;

    color:#64748b;
}

/* ===================================
   LOGOUT BUTTON
=================================== */

.logout-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:46px;
    padding:0 24px;

    border-radius:999px;

    background:
    linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );

    color:#fff;

    font-size:14px;
    font-weight:700;

    transition:.3s;
}

/* hover */

.logout-btn:hover{

    transform:
    translateY(-2px);

    box-shadow:
    0 10px 24px rgba(34,197,94,.2);
}

/* ===================================
   MOBILE MENU BUTTON
=================================== */

.mobile-menu-btn{

    display:none;

    width:42px;
    height:42px;

    border:none;
    background:none;

    padding:0;

    cursor:pointer;
}

.mobile-menu-btn span{

    display:block;

    width:28px;
    height:2px;

    margin:6px auto;

    background:#166534;

    border-radius:999px;
}

/* ===================================
   BODY SPACE
=================================== */

body{
    padding-top:88px;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:980px){

    .global-nav{
        display:none;
    }

    .user-name{
        display:none;
    }

    .mobile-menu-btn{
        display:block;
    }

}

@media(max-width:768px){

    .site-logo{
        font-size:20px;
    }

    .logout-btn{

        height:42px;
        padding:0 18px;

        font-size:13px;
    }

    
}
/* ===================================
   PAGE LOGIN
=================================== */

.login-page{

    position:relative;

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:60px 20px;

    overflow:hidden;

    background:
    linear-gradient(
        180deg,
        #f8faf7 0%,
        #eefbf1 100%
    );
}

/* ===================================
   BACKGROUND DECORATION
=================================== */

.login-page::before{

    content:'';

    position:absolute;

    top:-120px;
    right:-120px;

    width:320px;
    height:320px;

    border-radius:50%;

    background:
    rgba(34,197,94,.12);

    filter:blur(10px);
}

.login-page::after{

    content:'';

    position:absolute;

    bottom:-150px;
    left:-120px;

    width:360px;
    height:360px;

    border-radius:50%;

    background:
    rgba(22,163,74,.08);

    filter:blur(10px);
}

/* ===================================
   LOGIN BOX
=================================== */

.login-box{

    position:relative;
    z-index:10;

    width:100%;
    max-width:460px;

    padding:54px 48px;

    border-radius:32px;

    background:#fff;

    box-shadow:
    0 24px 60px rgba(0,0,0,.08);

    text-align:center;
}

/* ===================================
   LOGO
=================================== */

.login-logo{

    margin-bottom:28px;
}

.login-logo img{

    width:100%;
    height:auto;
}

/* ===================================
   TITLE
=================================== */

.login-box h1{

    margin-bottom:14px;

    font-size:40px;
    line-height:1.4;

    color:#14532d;
}

.login-subtext{

    margin-bottom:40px;

    font-size:15px;
    line-height:1.8;

    color:#64748b;
}

/* ===================================
   FORM
=================================== */

.login-box form{
    width:100%;
}

/* label */

.login-box label{

    display:block;

    margin-bottom:10px;

    text-align:left;

    font-size:14px;
    font-weight:600;

    color:#334155;
}

/* inputs */

.login-box input[type="text"],
.login-box input[type="password"]{

    width:100%;

    height:58px;

    padding:0 18px;

    margin-bottom:24px;

    border:
    1px solid #dbe4dc;

    border-radius:16px;

    background:#f8faf7;

    font-size:16px;

    color:#1e293b;

    transition:.3s;

    box-sizing:border-box;
}

/* focus */

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus{

    outline:none;

    border-color:#22c55e;

    background:#fff;

    box-shadow:
    0 0 0 4px rgba(34,197,94,.12);
}

/* placeholder */

.login-box input::placeholder{
    color:#94a3b8;
}

/* ===================================
   REMEMBER
=================================== */

.login-box .login-remember{

    display:flex;
    align-items:center;

    margin-bottom:26px;
}

.login-box .login-remember label{

    display:flex;
    align-items:center;
    gap:8px;

    margin:0;

    font-size:14px;
    color:#64748b;
}

/* ===================================
   BUTTON
=================================== */

.login-box input[type="submit"]{

    width:100%;
    height:58px;

    border:none;

    border-radius:16px;

    background:
    linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );

    color:#fff;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

/* hover */

.login-box input[type="submit"]:hover{

    transform:
    translateY(-2px);

    box-shadow:
    0 14px 30px rgba(34,197,94,.22);
}

/* ===================================
   LOST PASSWORD
=================================== */

.login-box .login-lost-password{

    margin-top:24px;

    font-size:14px;
}

.login-box .login-lost-password a{

    color:#16a34a;

    transition:.3s;
}

.login-box .login-lost-password a:hover{
    opacity:.7;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .login-page{
        padding:40px 20px;
    }

    .login-box{

        padding:42px 28px;

        border-radius:24px;
    }

    .login-box h1{
        font-size:32px;
    }

}

/* 予約ステータスバッジ */
.reservation-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.6;
    margin-left: 4px;
}

.reservation-badge.open {
    background-color: #e6f4ea;
    color: #2d7a3a;
}

.reservation-badge.closed {
    background-color: #f0f0f0;
    color: #888888;
}