/*
Theme Name: Urukatsu
*/

:root{
  --green:#49aa55;
  --green-dark:#23913a;
  --green-light:#eef9f0;
  --yellow:#ffd84d;
  --navy:#062b4f;
  --text:#111;
  --gray:#666;
  --border:#e6e6e6;
  --bg:#fff;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:"Noto Sans JP","Helvetica Neue",Arial,sans-serif;
  line-height:1.7;
  font-weight:500;
}

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

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

ul{
  margin:0;
  padding:0;
  list-style:none;
}

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

.site-header{
  background:#fff;
}

.site-header__top{
  background:var(--green);
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.site-header__top-inner{
  width:1020px;
  max-width:calc(100% - 40px);
  margin:0 auto;
  padding:4px 0;
}

.site-header__main{
  background:#fff;
}

.site-header__inner{
  width:1020px;
  max-width:calc(100% - 40px);
  margin:0 auto;
  height:58px;
  display:flex;
  align-items:center;
}

.site-header__logo{
  width:158px;
  flex-shrink:0;
}

.site-header__tagline{
  margin:0 0 0 12px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.site-header__nav{
  margin-left:auto;
}

.site-header__nav ul{
  display:flex;
  align-items:center;
  gap:34px;
}

.site-header__nav a{
  color:var(--green);
  font-size:14px;
  font-weight:900;
}

/* =========================
FV
========================= */

.top-fv{
  width:1020px;
  max-width:calc(100% - 40px);
  margin:0 auto;
}

.top-fv__inner{
  position:relative;
  min-height:315px;
  display:grid;
  grid-template-columns:410px 1fr;
  background:#fbf7ed;
  overflow:hidden;
}

.top-fv__content{
  padding:32px 0 28px 38px;
  position:relative;
  z-index:2;
}

.top-fv__label{
  display:inline-block;
  margin:0 0 12px;
  padding:3px 14px;
  border:2px solid var(--green);
  border-radius:4px;
  color:#111;
  background:#fff;
  font-size:18px;
  line-height:1.4;
  font-weight:900;
}

.top-fv__title{
  margin:0 0 20px;
  font-size:43px;
  line-height:1.28;
  letter-spacing:.02em;
  font-weight:900;
}

.top-fv__features{
  display:flex;
  gap:28px;
}

.top-fv__feature{
  width:88px;
  text-align:center;
}

.top-fv__icon{
  width:54px;
  height:54px;
  margin:0 auto 6px;
  border:3px solid var(--green);
  color:var(--green);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
}

.top-fv__feature p{
  margin:0;
  font-size:12px;
  line-height:1.35;
  font-weight:900;
}

.top-fv__visual{
  min-height:315px;
}

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

.top-fv__cta{
  position:absolute;
  right:34px;
  top:60px;
  width:230px;
  min-height:190px;
  padding:22px 20px 18px;
  background:#fff;
  border-radius:4px;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  text-align:center;
  z-index:3;
}

.top-fv__cta-small{
  margin:0 0 8px;
  font-size:11px;
  font-weight:900;
}

.top-fv__cta-title{
  margin:0 0 7px;
  font-size:23px;
  line-height:1.45;
  font-weight:900;
}

.top-fv__cta-time{
  margin:0 0 12px;
  font-size:12px;
  font-weight:800;
}

.top-fv__cta-time span{
  color:var(--green);
  font-size:20px;
  font-weight:900;
}

.top-fv__cta-button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border-radius:999px;
  background:#19b434;
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.top-fv__cta-line{
  margin:10px 0 0;
  font-size:11px;
  font-weight:800;
  color:#222;
}

/* =========================
Main Layout
========================= */

.top-content{
  padding:76px 0 0;
}

.top-content__inner,
.reason-section__inner,
.bottom-cta__inner{
  width:1020px;
  max-width:calc(100% - 40px);
  margin:0 auto;
}

.top-section{
  margin-bottom:76px;
}

.top-heading{
  position:relative;
  margin:0 0 30px;
  padding-left:18px;
  font-size:34px;
  line-height:1.3;
  font-weight:900;
}

.top-heading::before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  width:6px;
  height:36px;
  background:var(--green);
}

.featured-layout{
  display:grid;
  grid-template-columns:440px 1fr;
  gap:25px;
  align-items:start;
}

.featured-main-list{
  display:grid;
  gap:38px;
}

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

.article-card{
  background:#fff;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.article-card__link{
  display:block;
}

.article-card__image{
  background:#777;
}

.article-card__image img{
  width:100%;
  height:210px;
  object-fit:cover;
}

.article-card__body{
  padding:14px 14px 18px;
}

.article-card__meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}

.article-card__meta time{
  font-size:12px;
  color:#222;
}

.article-card__meta span{
  display:inline-block;
  padding:1px 8px;
  border-radius:3px;
  background:var(--green);
  color:#fff;
  font-size:11px;
  line-height:1.5;
  font-weight:800;
}

.article-card__title{
  margin:0;
  font-size:15px;
  line-height:1.45;
  font-weight:900;
}

.article-card__text{
  margin:7px 0 0;
  font-size:13px;
  line-height:1.45;
  color:#333;
}

.article-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.article-card--small .article-card__image img{
  height:142px;
}

.article-card--small .article-card__body{
  padding:12px 10px 14px;
}

.article-card--small .article-card__title{
  font-size:13px;
}

/* =========================
Ranking
========================= */

.ranking-box{
  background:#fff;
  border-radius:2px;
  padding:32px 28px 30px;
  box-shadow:0 1px 9px rgba(0,0,0,.13);
}

.ranking-box__heading{
  margin:0 0 28px;
  font-size:22px;
  line-height:1.4;
  font-weight:900;
}

.ranking-box__heading span{
  color:#f5c400;
  margin-right:6px;
}

.ranking-list{
  display:grid;
  gap:26px;
}

.ranking-item__link{
  display:grid;
  grid-template-columns:104px 1fr;
  gap:18px;
  align-items:center;
}

.ranking-item__image{
  position:relative;
  width:104px;
  height:74px;
  background:#777;
  border-radius:6px;
}

.ranking-item__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:6px;
}

.ranking-item__num{
  position:absolute;
  left:-11px;
  top:-13px;
  width:29px;
  height:29px;
  border-radius:50%;
  background:#fff;
  color:#333;
  box-shadow:0 1px 5px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:900;
  z-index:2;
}

.ranking-item__num--1,
.ranking-item__num--2,
.ranking-item__num--3{
  background:#f5c400;
  color:#fff;
  box-shadow:none;
}

.ranking-item__num--2{
  background:#b8b8b8;
}

.ranking-item__num--3{
  background:#c7a27c;
}

.ranking-item__body h3{
  margin:0;
  font-size:17px;
  line-height:1.45;
  font-weight:900;
}

.ranking-box__button{
  width:270px;
  max-width:100%;
  min-height:58px;
  margin:44px auto 0;
  border:1px solid #888;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:900;
}

/* =========================
Genre
========================= */

.genre-section{
  margin-bottom:54px;
}

.genre-list{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}

.genre-card{
  text-align:center;
}

.genre-card__image{
  margin-bottom:8px;
  background:#eee;
  border-radius:4px;
  overflow:hidden;
}

.genre-card__image img{
  width:100%;
  height:82px;
  object-fit:cover;
}

.genre-card p{
  margin:0;
  font-size:13px;
  font-weight:900;
}

/* =========================
Reason
========================= */

.reason-section{
  padding:0 0 24px;
}

.reason-box{
  background:#f4fbf4;
  border:1px solid #dcebdd;
  border-radius:4px;
  padding:18px 24px 20px;
}

.reason-box__heading{
  margin:0 0 14px;
  text-align:center;
  font-size:17px;
  font-weight:900;
}

.reason-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.reason-item{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:10px;
  align-items:start;
}

.reason-item__icon{
  color:var(--green);
  font-size:33px;
  line-height:1;
}

.reason-item h3{
  margin:0 0 2px;
  font-size:13px;
  line-height:1.35;
  font-weight:900;
}

.reason-item p{
  margin:0;
  font-size:10px;
  line-height:1.45;
  color:#333;
}

/* =========================
Bottom CTA
========================= */

.bottom-cta{
  padding:0 0 0;
}

.bottom-cta__inner{
  min-height:82px;
  background:#062b4f;
  border-radius:4px;
  display:flex;
  align-items:center;
  gap:22px;
  padding:10px 22px;
  color:#fff;
}

.bottom-cta__illust{
  width:72px;
  flex-shrink:0;
}

.bottom-cta__text{
  flex:1;
}

.bottom-cta__text p{
  margin:0 0 2px;
  font-size:14px;
  font-weight:900;
}

.bottom-cta__text h2{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.bottom-cta__button{
  width:290px;
  min-height:48px;
  border-radius:4px;
  background:var(--yellow);
  color:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:900;
}

.bottom-cta__badge{
  width:62px;
  height:62px;
  border-radius:50%;
  background:#fff;
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:11px;
  line-height:1.35;
  font-weight:900;
  flex-shrink:0;
}

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

.site-footer{
  background:#fff;
  border-top:1px solid #e5e5e5;
  margin-top:70px;
}

.site-footer__inner{
  width:1020px;
  max-width:calc(100% - 40px);
  margin:0 auto;
  padding:34px 0 28px;
}

.site-footer__logo-area{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.site-footer__logo{
  width:150px;
}

.site-footer__logo-area p{
  margin:0;
  font-size:13px;
  font-weight:800;
  color:#333;
}

.site-footer__nav{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}

.site-footer__nav a{
  padding:0 18px;
  border-right:1px solid #ccc;
  color:#555;
  font-size:13px;
}

.site-footer__nav a:first-child{
  border-left:1px solid #ccc;
}

.site-footer__copy{
  margin:0;
  text-align:center;
  color:#777;
  font-size:12px;
}

/* =========================
Responsive
========================= */

@media(max-width:768px){

  .site-header__inner{
    height:auto;
    padding:12px 0;
    flex-wrap:wrap;
  }

  .site-header__tagline{
    font-size:11px;
  }

  .site-header__nav{
    width:100%;
    margin-left:0;
    overflow-x:auto;
  }

  .site-header__nav ul{
    gap:18px;
    white-space:nowrap;
  }

  .top-fv__inner{
    display:block;
  }

  .top-fv__content{
    padding:26px 20px;
  }

  .top-fv__title{
    font-size:34px;
  }

  .top-fv__visual{
    min-height:auto;
  }

  .top-fv__cta{
    position:static;
    width:auto;
    margin:20px;
  }

  .featured-layout{
    grid-template-columns:1fr;
  }

  .article-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

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

  .reason-list{
    grid-template-columns:1fr;
  }

  .bottom-cta__inner{
    flex-direction:column;
    text-align:center;
    padding:24px;
  }

  .bottom-cta__button{
    width:100%;
  }

  .site-footer__logo-area{
    justify-content:center;
    flex-direction:column;
  }

  .site-footer__nav{
    flex-wrap:wrap;
    row-gap:10px;
  }
}