/*
Theme Name: AIM Commons
Author: 情報メディアセンター学生スタッフ
Description: AIM Commons公開ページ用テーマ
Version: 1.0
*/

/*全体のスタイル*/

:root,
[data-bs-theme="light"] {
    --bs-body-font-size: 1.0rem;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    line-height: 1.5 !important;
    /*行間あける*/
    text-align: justify !important;
    /*左右均等割り*/
    word-break: break-all !important;
    overflow-wrap: break-word !important;

    color: #1d1d1f !important;
    height: 100%;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;

    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.02em;
}

#all {
    flex: 1;
}


h1 {
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


h2 {
    letter-spacing: 0.05em;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


h3 {
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.1em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/*内容の無いpタグは出力しない*/
p:empty {
    display: none;
}

/*ヘッダーメニューの下部に説明追加*/
.menu-item a::after {
    content: '\A' attr(data-desc);
    white-space: pre;
    font-size: smaller;
    color: #a1a1a1;
}

/*引用文のスタイル設定*/
blockquote {
    position: relative;
    padding: 10px 15px 10px 50px;
    box-sizing: border-box;
    font-style: italic;
    background: #efefef;
    color: #555;
}

blockquote:before {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: -60px;
    content: "“";
    font-family: sans-serif;
    color: #cfcfcf;
    font-size: 90px;
    line-height: 1;
}

blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}

/*デフォルトのリンクスタイル設定*/
.container a {
    color: #0047aa;
    text-underline-offset: 0.3ex;
}

/*カバー画像のリンクスタイル*/
.wp-block-cover__inner-container a {
    color: #ffffff;
    text-underline-offset: 0.3ex;
}

/*スマホのハンバーガーボタンから枠線を消去*/
.navbar-dark .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* 幅広設定対応 */
.alignfull {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

/* ワイド設定対応 */
.alignwide{
    width: 100%;
}

/* youtube 埋め込み幅広 */
.alignwide iframe{
    width: 100%;
}

.wp-block-cover__background:hover {
	transform: scale(1.25);
}

/* 箇条書きの行間 */
.wp-block-list{
    line-height: 1.8rem;
    margin-bottom: 0;
}
