@charset 'utf-8';
/* ============ STYLE ============ */
/* -----------------------
  header / footer
-------------------------- */
/* header */
header {
    position: relative;
    height: 6.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__logo {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 4.2rem;
}
.header__site-title span {
    font-family: "Lora", serif;
    font-size: 2.0rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
}

.gnav--wide260 {width: 100%;max-width: 260px;margin: 0 0 0 auto;}

/* global nav */
#gnav {
    position: fixed;
    z-index: 998;
    top:0;
    right: -120%;
    width:100%;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    transition: all 0.4s;
}
#gnav.panelactive {
    right: 0;
}

#gnav.panelactive #gnav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
}
#gnav ul {
    width: 100%;
    margin: 0 auto;
}

#gnav li {
    padding: 2rem;
    border-bottom: solid 1px #CCCCCC;
}
/* hamburger */
.hmb {
    position: absolute;
    z-index: 9999;/*ボタンを最前面に*/
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 14px;
    transition: all 0.8s;
}
.hmb span {
    display: inline-block;
    transition: all .3s;
    position: absolute;
    height: 2px;
    background-color: #031346;
    width: 100%;
}
.hmb span:nth-of-type(1) {
    top: 0;
}
.hmb span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}
.hmb span:nth-of-type(3) {
    bottom: 0;
}
/* humburger x */
.hmb.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(-45deg);
}
.hmb.active span:nth-of-type(2) {
    opacity: 0;
}
.hmb.active span:nth-of-type(3){
    transform: translateY(-6px) rotate(45deg);
}
/* hmb open fixed */
body.bg-fixed {
    height: 100%;
    overflow: hidden;
}

/* -----------------------
  headding
-------------------------- */
.section__title {
    font-family: "Noto Serif JP", serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1em;
    color: #031346;
}

.paragraph__title {
    position: relative;
    margin: 0;
    padding-left: 1.9rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: #031346;
}
.paragraph__title::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 1.4rem;
    background: #031346;
    border-radius: 3px;
}

/* page headding */
.page-header {
    position: relative;
    padding: 6rem 2rem;
    background-color: #031346;
    border-bottom: 1px solid #fff;
}
.page-header__title {
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.4em;
}
.page-header__date {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 1.0rem;
    line-height: 1em;
}
.page-header__source-url {
    display: inline-block;
    font-size: 1.0rem;
    line-height: 1.2em;
    color: rgba(0, 0, 0, 0.6);
    word-break: break-all;
    text-decoration: underline;
}


/* -----------------------
  POST LIST
-------------------------- */
.post-list__item {
    padding: 2rem;
    background-color: #031346;
    border-bottom: 1px solid #fff;
}
.post-list__item:last-child {
    border-bottom: none;
}

.post-list__date {
    display: block;
    font-size: 1.0rem;
    line-height: 1em;
}

.post-list__title {
    font-family: "Noto Serif JP", serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4em;
}

.post-list__source-url {
    display: inline-block;
    font-size: 1.0rem;
    line-height: 1.2em;
    color: rgba(255, 255, 255, 0.6);
    word-break: break-all;
    text-decoration: underline;
}

.post-list__tags {
    font-size: 1.2rem;
    margin: 0;
}
.post-list__tag + .post-list__tag {
    margin-left: 10px;
}

/* 記事一覧ページ */
.archive__post-list .post-list__item {
    padding: 2rem;
    background-color: #fff;
    border-bottom: 1px solid #CCC;
}
.archive__post-list .post-list__item:first-child {
    border-top: 1px solid #CCC;
}
.archive__post-list .post-list__item:last-child {
    border-bottom: 1px solid #CCC;
}
.archive__post-list .post-list__source-url {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: underline;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* -----------------------------
   Footy English（用語カード）
----------------------------- */
.lexicon-card {
    padding: 4rem 0 0;
    border: 1px solid rgba(3, 19, 70, 0.3);
    border-radius: 6px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.lexicon-card__inner {
    text-align: center;
}
.lexicon-card__label-en {
    font-family: "Noto Serif JP", serif;
    font-size: 3.2rem;
    line-height: 1em;
    font-weight: 500; /* serif想定 */
    color: #031346;
}
.lexicon-card__label-ja {
    padding: 0 2rem;
    font-size: 1.6rem;
    line-height: 1.4em;
}
.lexicon-card__tag-type {
    font-size: 1.2rem;
    line-height: 1em;
}

.lexicon-card__button {
    display: block;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    line-height: 3.1rem;
    text-decoration: none;
    background-color: #031346;
}
.lexicon-card__button {
    border-radius: 0 0 5px 5px;
}
.lexnote-card .lexicon-card__button {
    border-radius: 0;
}
/* -----------------------------
   Tags
----------------------------- */
.tags__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.tags__item {
    margin: 0;
}
.tags__link {
    font-size: 1.2rem;
    text-decoration: none;
}

/* -----------------------------
   Article
----------------------------- */
.article__text {
    line-height: 1.8em;
}
.article__text em {
    padding: 0 0.3em;
    font-style: italic;
    background-color: #fff9c4; /* 薄い黄色 */
}
blockquote p {
    margin: 1.6rem 0;
    padding: 1.2rem 1.6rem;
    border-left: 4px solid #e0e0e0;
    background-color: #fafafa;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}
blockquote p {
    margin: 0;
    font-weight: 400;
}
blockquote strong {
    display: block;
    font-weight: 600;
}
.article__text strong {
    font-weight: 600;
}

.lexnote {
    background-color: #f7f7f9;
}
.lexnote-card {
    margin-bottom: 3rem;
    background-color: #fff;
    border: 1px solid rgba(3, 19, 70, 0.2);
    border-radius: 6px;
    overflow: hidden;
}
.lexnote-card:last-child {
    margin-bottom: 0;
}
.lexnote-card__header {
    position: relative;
    height: 100%;
    padding: 4rem 1.6rem;
    text-align: center;
    background-color: #f9f9fb;
    border-bottom: 1px solid rgba(3, 19, 70, 0.2);
}
.lexnote-card__term {
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: #031346;
}
.lexnote-card__term-ja {
    color: #031346;
}
.lexnote-card__meta {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.2rem;
}
.lexnote-card__detail {
    color: #031346;
    text-decoration: none;
}
.lexnote-card__detail:hover {
    text-decoration: underline;
}
.lexnote-card__tag {
    color: #3B6CCF;
}

.lexnote-card__section {
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(3, 19, 70, 0.12);
}
.lexnote-card__section--last {
    border-bottom: none;
}
.lexnote-card__text {
    margin: 1.5rem 0 0;
    line-height: 1.8em;
}

/* この記事で出てきた英語表現スライダーを一定速度で */
.article-words__swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.about__section {
    border-bottom: 1px solid rgba(3, 19, 70, 0.2);
}