@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600&display=swap');

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-text);
}

/* index */
.laypage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10% 34%;
}

.laybox {
    display: flex;
    flex-direction: column;
    width: 397px;
    gap: 44px;
    position: relative;
    /* topimgとtext-wrapperの基準を作る */
}

.laypagex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5% 25% 0;
}

.laypagetext {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5% 34% 0;
}

/* 文字装飾 */
h2 {
    font-family: 'Barlow';
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 35px;
    text-align: center;
    margin: 0 0 3% 0;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    /* 下線の色 */
    text-decoration-thickness: 1px;
    /* 下線の太さ */
    text-underline-offset: 70%;
    line-height: 40px;
    /* 下線と文字の間隔 */
    margin: 0 0 4% 0;
}



/* #region メニュー */

/* ハンバーガーメニューのスタイル */


.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 15;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 90%;
    background-color: var(--color-text);
    /* ボタンの色 */
    margin: 6px 0;
    border-radius: 5px;
    transition: 0.4s;
}

/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 360px;;
    background-color: var(--color-base);
    opacity: 0;
    /* 初期状態は透明 */
    pointer-events: none;
    /* クリック不可 */
    transition: opacity 0.2s ease;
    /* フェードインのアニメーション */
    padding: 30px;
    box-sizing: border-box;
    z-index: 5;
}

ul {
    line-height: 40px;
}

.menusns {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 5% 0 0 0;
}

/* メニューが開いたとき */
.menu.open {
    opacity: 1;
    /* 不透明にする */
    pointer-events: auto;
    /* クリック可能にする */
}

/* バツ印に変わるハンバーガーボタン */
.hamburger.active span {
    background-color: #d1d1d1;
    /* 線の色を灰色に変更 */
    width: 70%;
    height: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    /* 真ん中の線を透明にする */
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* #endregion */

/* #region 01 トップ画像 */
.topimg_parent {
    height: 100%;
}

.topimg {
    width: 100%;
    max-width: 397px;
    aspect-ratio: 397 / 205;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.topimg img {
    position: absolute;
    width: 100%;
    object-fit: cover;
    top: -5%;
}

.topimg img.oto {
    position: absolute;
    width: 320%;
    object-fit: cover;
    top: -260%;
    right: -5%;
}

.sname_text {
    position: absolute;
    left: 73%;
    transform: translate(-50%, -32%);
    z-index: 1;
    pointer-events: none;
    /* クリックしても邪魔にならないようにするよ！ */
    line-height: 210%
}

.sname_text .sname {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 48px;
    letter-spacing: 6px;
}

.sname_text .surl {
    font-size: 10px;
    text-align: right;
    letter-spacing: 2px;
    margin: 3% 4% 0 0;
}

/* #endregion */



img.emoji {
    height: 1em;
    max-width: fit-content;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
}

/* #region 01 リンク */

a {
    color: var(--color-main);
    font-weight: 600;
}

a:hover {
    color: #F7E4E4;
    transition: 0.2s;
}

.hmenu {
    color: var(--color-menu);
    font-family: var(--font-h);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px
}

.snslink {
    font-size: 20px;
    color: var(--color-menu);
}

/* #endregion */

/* #region 01 トップ説明 */

.top_bio {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 20px;
}

.bio_text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* #endregion */

/* #region 01 下部説明 */

.under_text {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    gap: 30px;
}

p.ai_text {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 20px;
}

/* #endregion */

/* #region 02 aboutなど説明ページ */

.laypage .infobox {
    display: flex;
    flex-direction: column;
    width: 397px;
    margin: 0 0 0 3.5%;
    gap: 44px 0
}

.bio .info {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 14px;
    margin: 0 0 0 5%;
}

.bio .nameinfo {
    width: 35%;
    height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 5% 0;
}

.nameinfo .mname {
    height: 20px;
    font-weight: 600;
    font-size: 20px;
}

.nameinfo .sname {
    font-weight: 400;
    font-size: 12px;
}

/* #endregion */

/* #region 03 アコーディオンリスト */


.infobox .listbox {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 4% 0;
}

dl {
    display: flex;
    flex-direction: column;
    gap: 7px 0;
}

dt::before {
    margin-right: 10px;
    font-family: var(--font-icon);
    content: "\f04b";
    font-weight: 900;
    color: #F7E4E4;
}

dt {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

dd {
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 23px;
}


/* #endregion */

/* #region 04 offlineページ */

.text-off {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 35px;
    margin: 10px 0;
}

.text-off-new {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    margin: 0.3em 0;
    font-weight: 600;
}

/* #endregion */

/* #region 04 再録リスト */

.bio .bookinfo {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 30px;
    margin: 0 0 0 5%;
}

.rinfo {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 23px;
}


.books {
    display: flex;
    flex-direction: row;
    width: 367px;
    margin: 0 3.5%;
    gap: 20px;
    height: 15em;
}

.books .book {
    display: flex;
    width: 397px;
    align-items: center;
    gap: 30px
}

.books a {
    color: var(--color-main);
    font-size: 20px;
}

.title .subtitle a {
    color: var(--color-main);
    font-weight: 600;
    font-size: 12px;
}

p.title {
    letter-spacing: 1px;
    line-height: 25px;
    font-size: 20px;
    font-weight: 600;
}

.books a:hover {
    color: #F7E4E4;
    transition: 0.3s;
}

.books a:hover .sinfo {
    color: #F7E4E4;
    transition: 0.3s;
}

.book img {
    width: 30%;
    flex-shrink: 0;
}

.book .caption {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px
}

.caption .title {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.title .subtitle {
    font-family: Outfit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 20px;
}

details.horizontal {
    width: 200px;
    /* 折りたたみ時の幅 */
    overflow: hidden;
    /* コンテンツがはみ出ないようにする */
    transition: width 0.5s ease;
    /* アニメーション */
}

details.horizontal[open] {
    width: 400px;
    /* 展開時の幅 */
}

details.horizontal .content {
    display: inline-block;
    /* 横方向に展開するためのスタイル */
    white-space: nowrap;
    /* 改行を防ぐ */
}

/* #endregion */


/* #region 03 アコーディオン */

.details {
    max-width: 500px;
    margin-bottom: 7px;
}

.summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.summary::-webkit-details-marker {
    /* Safari-デフォルトの三角形を削除*/
    display: none;
}

.details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.details[open] summary::after {
    transform: rotate(225deg);
}

.answer {
    overflow: hidden;
    /* padding・marginはここでは設定しない */
}

.answerInner {
    padding: 0 20px 20px;
}

.details p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.details[open] p {
    transform: none;
    opacity: 1;
}

/* #endregion */

/* #region ローカル用 */

.info_local {
    height: 64px;
    display: flex;
    flex-direction: column;
    gap: 14px 0;
    margin: 0 0 0 5%;
}

.nameinfo {
    width: 45%;
    height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* #endregion */