@charset "utf-8";

.aboutus {
    text-align: left;
    background-color: #fff;
    padding: 0px 6.3% 40px;
}

.page-title {
    font-family: "Fustat", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    margin-top: 30px;
}

/* =======================================================
本文（固定ページ「About」の本文で編集する）

  見出し2 … セクション見出し。最初の1つだけ字間を広めにしている
  見出し3 … 小見出し
  段落   … 本文。太字にした部分は少し大きく表示される
==========================================================*/

/* 縦の間隔。段落どうしは行間で読ませるため詰める */
.aboutus__entry > * + * {
    margin-top: 30px;
}

.aboutus__entry > p + p {
    margin-top: 0;
}

.aboutus__entry h2 {
    font-family: "Fustat", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 40px;
}

/* ページ冒頭の見出しだけ、もとのデザインどおり字間を広くとる */
.aboutus__entry > h2:first-child {
    font-family: inherit;
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

.aboutus__entry h3 {
    font-family: "Source Sans Pro";
    font-size: 1.6rem;
    font-weight: 600;
}

/* 見出しのすぐ下の小見出しは間隔を空けない */
.aboutus__entry > h2 + h3 {
    margin-top: 0;
}

.aboutus__entry p,
.aboutus__entry li {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.8;
}

/* 太字にした行は、名前や肩書きのように少し大きく見せる */
.aboutus__entry strong {
    font-size: 1.2em;
    font-weight: 600;
}

/* 箇条書き（経歴など） */
.aboutus__entry li {
    margin: 25px auto;
}

/* 単独で置く画像（ロゴなど） */
.aboutus__entry figure {
    margin-top: 25px;
}

.aboutus__entry figure img {
    width: 80%;
    height: auto;
    display: block;
}

/* 画像と文章の横並び。スマホでは縦積みにする */
.aboutus__entry .wp-block-media-text__content {
    padding: 0;
}

.aboutus__entry .wp-block-media-text img {
    width: 100%;
    height: auto;
}

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

    /* コアの既定は 600px で縦積みになるため、このページの折り返し幅に合わせる */
    .aboutus__entry .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }

    .aboutus__entry .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }

    .aboutus__entry .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
        margin-top: 30px;
    }
}

/* Links ボタン */
.aboutus__entry .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 180px;
    padding: 12px 18px;
    border: 1px solid #000;
    border-radius: 100px;

    background-color: transparent;
    color: #000;

    font-family: "Montserrat";
    font-size: 1.6rem;
    font-weight: 300;

    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* ボタンの右端の矢印 */
.aboutus__entry .wp-block-button__link::after {
    content: "";
    width: 20px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask: url('images/Group.svg') no-repeat center / contain;
    mask: url('images/Group.svg') no-repeat center / contain;
}

.aboutus__entry .wp-block-button__link:hover {
    background-color: #92CCA4;
    border-color: #92CCA4;
    color: #fff;
}

/* =======================================================
PC
==========================================================*/
@media screen and (min-width:1000px) {
    .aboutus {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 40px 80px;
    }

    .page-title {
        font-size: 6.4rem;
    }

    .aboutus__entry h2 {
        font-size: 4rem;
    }

    .aboutus__entry > h2:first-child {
        font-size: 4rem;
    }

    .aboutus__entry h3 {
        font-size: 2.4rem;
    }

    .aboutus__entry p,
    .aboutus__entry li {
        font-size: 1.8rem;
        line-height: 3;
    }

    .aboutus__entry figure img {
        width: 60%;
    }

    .aboutus__entry .wp-block-media-text {
        gap: 50px;
    }

    .aboutus__entry .wp-block-media-text__media {
        margin-top: 47px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aboutus__entry .wp-block-button__link {
        transition: none;
    }
}
