@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);
    background-color: var(--color-base);
}

/* index */
.top_laypage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5% 34%;
}

.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の基準を作る */
}

/* 文字装飾 */
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 メニュー */


/* ハンバーガーメニューのスタイル */

.container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}


.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;
}
.topimg2 {
    width: 100%;
    max-width: 408px;
    aspect-ratio: 408 / 350;
    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 */

p.text {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
}

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;
    /* 改行を防ぐ */
}

.r18 {
    color: #e05039;
    font-weight: 600;
}

/* #endregion */

/* #region 05 フォーム */

.info .mail p {
    margin-bottom: 20px;
}

/* フォーム系*/
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #333;
    border-radius: 0;
}

textarea {
    width: 480px;
    height: 160px;
    resize: none;
}

input[type=text] {
    height: 1.7em;
}

input[type=submit] {
    width: auto;
    height: 1.2em;
}

.mailsubmit {
    height: 30px;
    border: none;
    background: #333333;
    color: white;
    padding: 3px 17px;
    margin-left: 0;
    cursor: pointer;
}

.mailsubmit:hover {
    background: #d1d1d1;
    transition: 0.3s;
}

input[type="checkbox"] {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #333;
    vertical-align: -3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(50deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    content: '';
}

select {
    /* スタイルのプロパティと値を指定 */
    vertical-align: 0px;
}

/* フォーム系ここまで */

/* #endregion */

/* #region 06 メインのメニュー */

.bio .maininfo {
    width: 80%;
    height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 5% 0;
}

.maininfo .mname {
    height: 20px;
    font-weight: 600;
    font-size: 20px;
}

.maininfo .sname {
    font-weight: 400;
    font-size: 12px;
}

/* #endregion */

/* #region 06 イラストのタブ */

@charset "UTF-8";


.tab-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.btn {
    margin:10px 0;
    flex-basis: 30%;
    text-align: center;
}

.btn a {
    display: block;
    position: relative;
    font-size: 16px;
    padding: 8px;
    text-decoration: none;
    line-height: 1.2;
    color: #333;
    cursor: pointer;
}

.btn a.is-active {
    background-color: #ececec;
    border-radius: 16px;
}


.tab-contents-item {
    display: none;
    width: 100%;
    height: 200px;
    justify-content: center;
}

.tab-contents-item .sub {
    margin: 10% 0 0 0;
    text-align: center;
}

.tab-contents-item.is-active {
    display: flex;
    flex-flow: column;
}

.tab-contents-item.is-active h2 {
    font-family: 'Barlow';
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 35px;
    text-align: center;
    margin: 0 0 3% 0;
}

.tab-contents-item>p {
    margin: 0 auto;
    height: 40px;
    opacity: 0;
}

.tab-contents-item.is-active>p {
    animation: fadeinAnime 2s forwards;
}

@keyframes fadeinAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* #endregion */

/* #region 06 イラストのアイコン・説明 */
.illust_parent {
    height: 100%;
}

.illust_comic_parent {
    height: 100%;
    margin-top: 200px;
}

.illust {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 0 5% 0;
}

.ilust_caption {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 15% 0 0 0;
    align-items: center;
    gap: 16px;
}

.ilust_caption img {
    width: 81px;
    border-radius: 20%;
    object-fit: cover;
    top: -5%;
}

.ilust_caption .subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.ilust_caption .caption {
    font-size: 12px;
}

.ilust_caption a:hover {
    opacity: 40%;
    transition: 0.5s;
}

/* #endregion イラストのアイコン・説明 */

/* #region 06 漫画のアイコン・説明 */

.comic {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 0 5% 0;
}

.comic_caption {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 15% 0 0 0;
    align-items: center;
    gap: 16px;
}

.comic_caption img {
    width: 90%;
    aspect-ratio: 5 / 1;
    border-radius: 28px;
    object-fit: cover;
    top: -5%;
}

.comic_caption .subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 40%;
}

.comic_caption .caption {
    font-size: 12px;
}

.comic_caption a:hover {
    opacity: 40%;
    transition: 0.5s;
}

/* #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: var(--color-text);
    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 var(--color-text);
    border-right: 3px solid var(--color-text);
    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: var(--color-text);
    transition: transform .5s, opacity .5s;
}

.details[open] p {
    transform: none;
    opacity: 1;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

table th,
table td {
    text-align: center;
    font-size: 14px;
    /* width: 40%; */
    padding: 10px 5px;
    text-align: left;
}

.anime {
    overflow: hidden;
    padding: .3em 2em 1.5em;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .5s, opacity .5s;
}

.details[open] .anime {
    transform: none;
    opacity: 1;
}



/* ガンダム視聴ログ */
.uc {
    color: #5244cc;
}

.altane {
    color: #E47362;
}

.build {
    color: #f8df53;
}

/* #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 */