@charset "utf8";

/* =====================
    common
======================== */

html{
    font-size: 62.5%;
}
body {
    font-family: 
    "Noto Sans JP",
    Arial,  
    sans-serif;
    font-style: normal;
    color: #2f2f2f;
    background-color: #ffffff;
    line-height: 1.6;
}
img {
    max-width: 100%;
    height: auto;
}

#start,
#story {
    background-color: #efffe6;

}

/* ====================
        header         
======================= */

.header {
    padding: 22px 6.4% 16px;
    background-color: #efffe6;
}

/* sp と pc のロゴ */
.header__topic,
.nav__topic {
    color: #000 ;
    font-size: 3.2rem;
    font-weight: 700;
}
.header__topic {
    margin-top: 0;
    margin-bottom: 100px;
    
}
.icon {
    width: 24px;
    height: auto;
}
.header__icons {
    display: flex;
    /* gap: 16px; */
    /* margin-left: 0; */
    justify-content: space-evenly;
    align-items: center;
}


/* ===================
    nav の初期表示 の設定
/* ================= */

.nav {
    background: rgba(160, 179, 170, 0.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 24px 6.4%;
    transform: translateX(-100%); 
    transition: transform 0.4S; 

}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav__list {
    margin-top: 66px;
}

.nav__item  {
    color: #2f2f2f;
    font-size: 1.8rem;
    line-height: 1;
    margin-top: 52px;
    font-weight: 700;

}
.nav__item img {
    width: 24px; 
    display: inline-block;
    vertical-align: -3px;
    margin-right: 24px;
}

.nav.active {
    transform: translateX(0); 

}
.header__btn {
    display: block;
    width: 18px;
    height: 11px;
    cursor: pointer;
    position: absolute;
    top: 44px;
    right: 6.4%;
}

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

/* article header */
.mainImg .mainImg__pc {
    display: none;
}

/* 　↓ pc 769px ↓ */
@media screen and (min-width: 769px) {
    .mainImg .mainImg__pc {
        display: block;
        max-width: none;
        width: 100%;  
    }
    .mainImg .mainImg__sp {
        display: none;
    }
    
}
/* ↑ pc 769px ↑ */

/* ====================== */
      /* about */
/* ====================== */
.about__inner {
    flex-direction: column;
    
}
.about__img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 16px;
}
.about__img img {
    width: 100%;
    height: auto;
    display: block;
}
.about__intro,
.about__name {
    margin-top: 16px;
    text-align: center;
}  
.about__intro p a {
    color: #2f2f2f;
    text-decoration: underline;
}

.about__intro a:hover {
    color: #1a73e8;
    
}

/* ===================== */
     /* section */ 
/* ======================= */
.section {
    padding: 12px 0; 
}

.section__title {
    font-size: 3.6rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    
}
.section .container {
  padding: 10px 6.4%;
  margin: 0;
  
}

.section__lead {
    font-size: 1.8rem;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;

}
.section__lead p a{
  text-decoration: underline;
  color: #1a73e8;
}

.section__lead a:hover {
    color: #1a73e8;
    
}


.card__title {
    font-size: 1.6rem;
    margin: 12px 0.8px;
    letter-spacing: 0.04em;
    text-align: center;
    font-weight: 600;
}

#start,
#study,
#daily {
    text-align: center;
    
}

/* ========================= */
        /* story */
/* ========================= */

.story__intro p {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.cards {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
}

/* ↓ pc 769px */
@media screen and (min-width: 769px) {

.cards {
    flex-direction: row;
  }
}
/* ↑ pc 769px */


.cards__item {
    flex: 1;
    padding: 16px;
}

.card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.card__body {
    margin-top: 16px;
    text-align: center;
}

.card__text {
    margin-top: 8px;
    font-size: 1.4rem;
    line-height: 1.7;
}

/* =====================
    footer
========================*/

.footer {
    padding: 32px 4.2%;
    background-color: #efffe6;
    text-align: center;
}

.footer__topic {
    color: #000;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;

}
.menu__list  {
  display: flex;
  justify-content: center; 
  gap: 16px;               
  margin-top: 32px;
  list-style: none;        
}

.menu__item img {
  width: 24px;   
  height: 24px;
}

.menu__item a {
  display: flex;
  align-items: center;
  gap: 6px;      
}

.copy {
  display: block;       /* smallはinlineなので念のため */
  margin-top: 24px;     /* ← ここで間をあける */
  text-align: center; 
} 


