/* ==========================
   共通設定
========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Yu Gothic","Hiragino Sans","Helvetica Neue",sans-serif;
    background:#f5f5f5;
    color:#333;
    line-height:1.8;
}

img{
    max-width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

#wrap{
    max-width:1200px;
    margin:auto;
    background:#fff;
    min-height:100vh;
}


/* ==========================
   Header
========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:80px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

    z-index:999;

}


/* ロゴ */

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    height: 70px;
    width: auto;
    display: block;

}
@media screen and (max-width:768px){
    .logo img{
        height: 55px;
        width: auto;
    }
}

.logo h1{

    font-size:1.8rem;

    color:#333;

}


/* ==========================
   PC Navigation
========================== */

nav ul{

    display:flex;

    gap:35px;

}

nav li{

    font-size:1rem;

    font-weight:bold;

}

nav a{

    transition:.3s;

}

nav a:hover{

    color:#4a86ff;

}


/* ==========================
   ハンバーガーメニュー
========================== */

#menu-btn{

    display:none;

}

.hamburger{

    display:none;

    font-size:34px;

    cursor:pointer;

}


/* ==========================
   main
========================== */

main{

    margin-top:80px;

}


/* ==========================
   Smartphone
========================== */

@media screen and (max-width:768px){

header{

    padding:0 20px;

}

.logo img{

    height: 55px;
    width: auto;


}

.logo h1{

    font-size:1.2rem;

}

.hamburger{

    display:block;

}

nav{

    position:absolute;

    top:80px;

    left:0;

    width:100%;

    background:#ffffff;

    display:none;

    box-shadow:0 5px 10px rgba(0,0,0,.1);

}

nav ul{

    flex-direction:column;

    gap:0;

}

nav li{

    border-bottom:1px solid #ddd;

}

nav a{

    display:block;

    padding:20px;

}

#menu-btn:checked + .hamburger + nav{

    display:block;

}

}


/* ==========================
   PC
========================== */

@media screen and (min-width:769px){

nav{

    display:block !important;

}

}

/* ==========================
   Hero
========================== */

.hero{
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.hero-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    text-align: center;
    width: 90%;
}

.hero-text h2{
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-text p{
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 2;
}

/* ==========================
   はじめるボタン
========================== */

.start-btn{

    display:inline-block;

    padding:15px 45px;

    background:#4A86FF;

    color:#fff;

    border-radius:50px;

    font-size:1.1rem;

    font-weight:bold;

    transition:.3s;

}

.start-btn:hover{

    background:#2d6df0;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,.2);

}

/* ==========================
   Card
========================== */

.cards{

    max-width:1100px;

    margin:80px auto;

    display:grid;

    gap:40px;

}

.card{

    display:flex;

    align-items:center;

    gap:30px;

    padding:35px;

    border-radius:25px;

    transition:.3s;

    color:#333;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 30px rgba(0,0,0,.15);

}

.icon{

    width:110px;

    height:110px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:55px;

    flex-shrink:0;

}

.icon img{

    width:80px;
    height:80px;
    object-fit:contain;

}

.card h3{

    font-size:2rem;

    margin-bottom:15px;

}

.card p{

    font-size:1.05rem;

    margin-bottom:18px;

    line-height:1.8;

}

.card span{

    color:#4A86FF;

    font-weight:bold;

}

/* ==========================
   About
========================== */

.about{

    background:#eef3ff;

    border-left:12px solid #5a8dff;

}

.about .icon{

    background:#5a8dff;

}

/* ==========================
   Night
========================== */

.night{

    background:#dce5ff;

    border-left:12px solid #243a91;

}

.night .icon{

    background:#243a91;

    color:#fff;

}

/* ==========================
   Morning
========================== */

.morning{

    background:#fff3df;

    border-left:12px solid #ff8d24;

}

.morning .icon{

    background:#ff8d24;

    color:#fff;

}

/* ==========================
   Smartphone
========================== */

@media screen and (max-width:768px){

.hero{

    height:70vh;

}

.hero-text h2{

    font-size:2.5rem;

}

.hero-text p{

    font-size:1rem;

}

.cards{

    margin:50px 20px;

}

.card{

    flex-direction:column;

    text-align:center;

    padding:25px;

}

.icon{

    width:90px;

    height:90px;

    font-size:45px;

}

.card h3{

    font-size:1.5rem;

}

}

/* ==========================
   ページタイトル
========================== */

.page-title{
    text-align:center;
    padding:120px 20px 60px;
    color:#fff;
}

.page-title h2{
    font-size:3rem;
    margin-bottom:15px;
}

.page-title p{
    font-size:1.2rem;
}

.morning-title{
    background:linear-gradient(135deg,#ffb347,#ff7b00);
}

.night-title{
    background:linear-gradient(135deg,#1e3c72,#2a5298);
}

.about-title{
    background:linear-gradient(135deg,#5a8dff,#84b6ff);
}

.contact-title{
    background:linear-gradient(135deg,#46c37b,#2e9f63);
}

/* ==========================
   詳細ページ
========================== */

.detail{

    max-width:900px;

    margin:50px auto;

    padding:40px;

    background:#fff;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.detail h3{

    margin:35px 0 15px;

    color:#4A86FF;

    font-size:1.6rem;

}

.detail p{

    margin-bottom:20px;

    line-height:2;

    font-size:1.05rem;

}

.detail ul{

    margin-left:25px;

    margin-bottom:30px;

}

.detail li{

    margin-bottom:12px;

}

/* ==========================
   ポイントカード
========================== */

.point{

    max-width:1000px;

    margin:60px auto;

}

.point h3{

    text-align:center;

    margin-bottom:40px;

    font-size:2rem;

}

.point-box{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:25px;

}

.point-card{

    background:#fff;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 3px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.point-card:hover{

    transform:translateY(-8px);

}

.point-card h4{

    margin-bottom:15px;

    color:#4A86FF;

}

/* ==========================
   戻るボタン中央
========================== */

.center{

    text-align:center;

    margin:50px 0 80px;

}

/* ==========================
   Contact
========================== */

.contact{

    max-width:700px;

    margin:50px auto;

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.contact label{

    display:block;

    margin:20px 0 8px;

    font-weight:bold;

}

.contact input,

.contact textarea{

    width:100%;

    padding:15px;

    border:1px solid #ccc;

    border-radius:10px;

    font-size:1rem;

}

.contact textarea{

    resize:vertical;

    min-height:180px;

}

.contact button{

    margin-top:30px;

    width:100%;

    padding:16px;

    background:#4A86FF;

    color:#fff;

    border:none;

    border-radius:50px;

    cursor:pointer;

    font-size:1rem;

    transition:.3s;

}

.contact button:hover{

    background:#2d6df0;

}

/* ==========================
   Footer
========================== */

footer{

    background:#222;

    color:#fff;

    padding:50px 20px 25px;

    text-align:center;

}

.footer-nav{

    display:flex;

    justify-content:center;

    gap:35px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.footer-nav a{

    color:#fff;

}

.footer-nav a:hover{

    color:#ffb347;

}

footer p{

    font-size:.9rem;

}

/* ==========================
   スマホ調整
========================== */

@media screen and (max-width:768px){

.page-title{

    padding:100px 20px 40px;

}

.page-title h2{

    font-size:2rem;

}

.page-title p{

    font-size:1rem;

}

.detail{

    margin:25px 15px;

    padding:25px;

}

.detail h3{

    font-size:1.3rem;

}

.detail p{

    font-size:.95rem;

}

.point{

    margin:40px 15px;

}

.point h3{

    font-size:1.6rem;

}

.point-box{

    grid-template-columns:1fr;

}

.contact{

    margin:30px 15px;

    padding:25px;

}

.footer-nav{

    flex-direction:column;

    gap:15px;

}

}
.hero{
    background-image: url("images/top.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 500px;

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

    color: white;
    text-align: center;
}