@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/*======================================
 ベース
======================================*/

html,
body{
    font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
    color:#222;
    margin:0;
    padding:0;
}

/*======================================
 トップページ
======================================*/

.front-page{
    margin:0;
    padding:0;
}

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

.hero{
    position:relative;
    width:100vw;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    background:#000;
}

.hero-video{
    display:block;
    width:100%;
    height:100vh;
    object-fit:cover;
}

.hero-sp{
    display:none;
}

/*======================================
 Scroll Arrow
======================================*/

.hero-scroll{
    position:absolute;
    left:50%;
    bottom:32px;
    transform:translateX(-50%);
    z-index:10;
}

.hero-arrow{
    width:20px;
    height:20px;
    border-right:2px solid rgba(255,255,255,.9);
    border-bottom:2px solid rgba(255,255,255,.9);
    transform:rotate(45deg);
    animation:scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow{

    0%,100%{
        transform:rotate(45deg) translate(0,0);
        opacity:.45;
    }

    50%{
        transform:rotate(45deg) translate(8px,8px);
        opacity:1;
    }

}

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

.hero-header{
    width:100%;
    background:#fff;
    border-bottom:1px solid #ececec;
}

.hero-header-inner{

    max-width:1280px;
    height:60px;

    margin:0 auto;

    padding:0 32px;

    display:flex;
    align-items:flex-end;

    gap:36px;

    box-sizing:border-box;

}

/*-----------------
 ロゴ
-----------------*/

.hero-logo{

    flex:1;

    display:flex;
    align-items:flex-end;

    padding-bottom:8px;

}

.hero-logo img{

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

}

/*-----------------
 ナビ
-----------------*/

.hero-nav{

    flex:2;

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

    gap:46px;

    padding-bottom:8px;

}

.hero-nav a{

    color:#222;

    font-size:16px;

    font-weight:600;

    letter-spacing:.03em;

    text-decoration:none;

    transition:.25s;

}

.hero-nav a:hover{

    color:#FDBA2D;

}

/*-----------------
 検索
-----------------*/

.hero-search{

    flex:1;

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

    padding-bottom:6px;

}

.hero-search input{

    width:180px;

    height:36px;

    border:1px solid #d9d9d9;

    border-radius:999px;

    padding:0 16px;

    font-size:14px;

    outline:none;

    transition:.25s;

}

.hero-search input:focus{

    border-color:#FDBA2D;

}

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

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

    .hero-pc{
        display:none;
    }

    .hero-sp{
        display:block;
    }

    .hero-video{
        height:100svh;
    }

    .hero-header-inner{

        height:56px;

        padding:0 18px;

        align-items:center;

    }

    .hero-logo{

        padding-bottom:0;

    }

    .hero-logo img{

        height:28px;

    }

    .hero-nav{

        display:none;

    }

    .hero-search{

        display:none;

    }

}
/*======================================
 Category Cards
======================================*/

.top-category{

    padding:90px 24px;

    background:#fff;

}

.category-inner{

    max-width:1200px;

    margin:0 auto;

}

.category-inner h2{

    text-align:center;

    font-size:34px;

    margin-bottom:56px;

    font-weight:700;

}

.category-grid{

    display:grid;

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

    gap:28px;

}

.category-card{

    background:#fff;

    border:1px solid #eee;

    border-radius:18px;

    padding:42px 20px;

    text-align:center;

    text-decoration:none;

    color:#222;

    transition:.25s;

    box-shadow:0 5px 18px rgba(0,0,0,.05);

}

.category-card:hover{

    transform:translateY(-6px);

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

}

.category-card span{

    font-size:44px;

    display:block;

    margin-bottom:20px;

}

.category-card h3{

    font-size:20px;

    font-weight:700;

}

@media(max-width:834px){

.category-grid{

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

}

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

.top-about{

    background:#fafafa;

    padding:90px 24px;

}

.about-inner{

    max-width:900px;

    margin:0 auto;

    text-align:center;

}

.about-subtitle{

    color:#FDBA2D;

    font-size:14px;

    letter-spacing:.2em;

    font-weight:700;

    margin-bottom:12px;

}

.about-inner h2{

    font-size:36px;

    margin-bottom:28px;

    font-weight:700;

    color:#222;

}

.about-text{

    font-size:17px;

    line-height:2;

    color:#555;

    margin-bottom:42px;

}

.about-button{

    display:inline-block;

    padding:14px 34px;

    border:2px solid #FDBA2D;

    color:#FDBA2D;

    text-decoration:none;

    border-radius:999px;

    font-weight:700;

    transition:.25s;

}

.about-button:hover{

    background:#FDBA2D;

    color:#fff;

}

/*======================================
 Latest Posts
======================================*/

.top-posts{

    padding:100px 24px;

    background:#fff;

}

.posts-inner{

    max-width:1200px;

    margin:0 auto;

}

.section-subtitle{

    color:#FDBA2D;

    text-align:center;

    font-size:14px;

    letter-spacing:.2em;

    font-weight:700;

    margin-bottom:12px;

}

.posts-inner h2{

    text-align:center;

    font-size:36px;

    margin-bottom:60px;

}

.posts-grid{

    display:grid;

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

    gap:34px;

}

.post-card{

    border-radius:18px;

    overflow:hidden;

    background:#fff;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

    transition:.25s;

}

.post-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.post-card a{

    color:#222;

    text-decoration:none;

    display:block;

}

.post-thumb img{

    width:100%;

    display:block;

    aspect-ratio:16/10;

    object-fit:cover;

}

.post-body{

    padding:22px;

}

.post-category{

    color:#FDBA2D;

    font-size:13px;

    font-weight:700;

    margin-bottom:10px;

}

.post-body h3{

    font-size:18px;

    line-height:1.6;

    margin-bottom:16px;

}

.post-body time{

    color:#888;

    font-size:13px;

}

.posts-more{

    text-align:center;

    margin-top:60px;

}

.posts-more a{

    display:inline-block;

    padding:14px 36px;

    border:2px solid #FDBA2D;

    border-radius:999px;

    color:#FDBA2D;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.posts-more a:hover{

    background:#FDBA2D;

    color:#fff;

}

@media(max-width:834px){

.posts-grid{

grid-template-columns:1fr;

}

}

/*======================================
 Lifestyle
======================================*/

.lifestyle{

    max-width:1200px;

    margin:120px auto;

    padding:0 24px;

}

.lifestyle-image{

    margin-bottom:64px;

}

.lifestyle-image img{

    display:block;

    width:100%;

    height:auto;

    border-radius:24px;

}

.lifestyle-content{

    max-width:720px;

    margin:0 auto;

    text-align:center;

}

.lifestyle-content .section-subtitle{

    font-size:13px;

    letter-spacing:.2em;

    color:#999;

    margin-bottom:18px;

}

.lifestyle-content h2{

    font-size:42px;

    line-height:1.6;

    font-weight:700;

    margin-bottom:34px;

}

.lifestyle-content p{

    font-size:17px;

    line-height:2.2;

    color:#666;

}

@media(max-width:834px){

.lifestyle{

    margin:80px auto;

    padding:0 20px;

}

.lifestyle-image{

    margin-bottom:40px;

}

.lifestyle-image img{

    border-radius:16px;

}

.lifestyle-content h2{

    font-size:30px;

}

.lifestyle-content p{

    font-size:15px;

    line-height:2;

}

}
/*======================================
  Single Article
======================================*/

/* 全体 */

.single .content,
.single .main{
    background:#fff;
}

.single .entry-title{

    max-width:900px;
    margin:0 auto 28px;

    font-size:44px;
    line-height:1.45;
    font-weight:700;
    letter-spacing:.02em;

    color:#222;
}

/* 投稿日など */

.single .entry-card-meta,
.single .date-tags,
.single .post-date,
.single .post-update{

    color:#888;
    font-size:14px;

    margin-top:18px;
}

/* アイキャッチ */

.single .eye-catch{

    max-width:1200px;

    margin:56px auto 72px;

    border-radius:18px;

    overflow:hidden;
}

.single .eye-catch img{

    width:100%;

    display:block;
}

/* 本文 */

.single .entry-content{

    max-width:720px;

    margin:0 auto;

    font-size:18px;

    line-height:2.15;

    color:#333;
}

/* 段落 */

.single .entry-content p{

    margin:0 0 2.2em;
}

/* 見出し */

.single .entry-content h2{

    margin:100px 0 40px;

    padding-bottom:18px;

    font-size:34px;

    font-weight:700;

    line-height:1.5;

    border-bottom:2px solid #222;
}

.single .entry-content h3{

    margin:64px 0 24px;

    padding-left:18px;

    font-size:26px;

    line-height:1.6;

    border-left:4px solid #FDBA2D;
}

/* リスト */

.single .entry-content ul,
.single .entry-content ol{

    margin:2em 0;

    padding-left:1.5em;
}

.single .entry-content li{

    margin-bottom:.8em;
}

/* 引用 */

.single blockquote{

    margin:56px 0;

    padding:28px 36px;

    background:#fafafa;

    border-left:4px solid #FDBA2D;

    color:#555;
}

/* 画像 */

.single .entry-content img{

    width:100%;

    height:auto;

    border-radius:14px;

    margin:48px 0;
}

/* テーブル */

.single table{

    width:100%;

    border-collapse:collapse;

    margin:56px 0;

    font-size:16px;
}

.single th{

    background:#f6f6f6;
}

.single th,
.single td{

    padding:16px;

    border:1px solid #e8e8e8;
}

/* ボタン */

.single .btn,
.single input[type="submit"]{

    border-radius:999px;
}

/* フッター */

.single .article-footer{

    max-width:720px;

    margin:120px auto 0;
}

/* 前後記事 */

.single .pager-post-navi{

    margin-top:80px;
}

/* 関連記事 */

.single .related-entries{

    margin-top:120px;
}

/* モバイル */

@media(max-width:834px){

.single .entry-title{

font-size:30px;

}

.single .entry-content{

font-size:17px;

line-height:2;

padding:0 22px;

}

.single .entry-content h2{

font-size:28px;

margin:72px 0 28px;

}

.single .entry-content h3{

font-size:22px;

}

.single .eye-catch{

margin:36px auto 48px;

border-radius:10px;

}

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

.ouchifit-footer{
    border-top:1px solid #ececec;
    margin-top:120px;
    padding:80px 0 40px;
    background:#fff;
}

.ouchifit-footer-inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 40px;
}

.ouchifit-footer-brand{
    margin-bottom:48px;
}

.footer-logo{
    display:inline-block;
    font-size:30px;
    font-weight:700;
    letter-spacing:.08em;
    color:#222;
    text-decoration:none;
}

.footer-logo:hover{
    opacity:.7;
}

.footer-tagline{
    margin-top:18px;
    font-size:18px;
    line-height:1.9;
    color:#666;
}

.footer-nav{
    display:flex;
    flex-wrap:wrap;
    gap:18px 36px;
    margin-bottom:56px;
}

.footer-nav a{
    color:#444;
    text-decoration:none;
    transition:.25s;
}

.footer-nav a:hover{
    color:#FDBA2D;
}

.footer-copy{
    border-top:1px solid #eee;
    padding-top:26px;
    color:#999;
    font-size:14px;
}

@media(max-width:768px){

.ouchifit-footer{
    margin-top:80px;
    padding:60px 0 30px;
}

.ouchifit-footer-inner{
    padding:0 24px;
}

.footer-logo{
    font-size:24px;
}

.footer-tagline{
    font-size:16px;
}

.footer-nav{
    flex-direction:column;
    gap:16px;
}

}

.category-page-card{
    display:block;
    background:#fff;
    border-radius:18px;
    padding:40px 30px;
    text-align:center;
    text-decoration:none;
    color:#333;
    box-shadow:0 8px 28px rgba(0,0,0,.08);
    transition:.3s;
    border:1px solid #f2f2f2;
}

.category-page-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.14);
}

.category-page-card h2{
    font-size:24px;
    margin:0 0 14px;
    color:#222;
    font-weight:700;
}

.category-page-card p{
    color:#777;
    line-height:1.8;
    margin-bottom:28px;
    font-size:15px;
}

.category-page-card span{
    display:inline-block;
    padding:12px 26px;
    background:#F28C28;
    color:#fff;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
    transition:.3s;
}

.category-page-card:hover span{
    background:#e57912;
}

@media(max-width:640px){

.category-page-card{
    padding:32px 24px;
}

}