@charset "utf-8";

/*
Theme Name: study_collabo_online
Author: Takagi
Description: オンライン授業（zoom）を閲覧するためのページ。
Version: 1.0.0
*/

/*cssのリセット*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

a {
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    background: transparent;
}

ins {
    text-decoration: none;
    color: #000;
    background-color: #ff9;
}

mark {
    font-weight: bold;
    font-style: italic;
    color: #000;
    background-color: #ff9;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/*サイト全体の基準となるCSSを記述*/
html {
    font-size: 16px;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    /*フォントの指定*/
    line-height: 1.4;
    /*行間の指定*/
    margin: 0;
    padding: 0;
    color: #333;
    /*サイトのデフォルトとなる文字の色を指定*/
}

/*見出しを全て太字で表示 + 文字色を黒に*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}


/*コンテンツのサイズ指定*/
.header-inner,
.footer-inner,
.container {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/*PCレイアウト*/
@media (min-width: 1024px) {
    .two-columns {
        display: flex;
        flex-direction: row;

        gap: 2.5rem;
    }

    .two-columns .contents {
        flex: 1 1 auto;
        width: 100%;
        max-width: 800px;
        /* 記事の最大幅を設定 */
        margin: 0 auto;
        /* 中央配置 */
    }

    .two-columns .sidebar {
        flex: 0 0 15.625rem;
    }
}

/*タブレットレイアウト*/
@media (max-width: 1024px) {
    .two-columns .contents {
        margin-bottom: 4rem;
        width: 100%;
        max-width: 800px;
        /* 記事の最大幅を設定 */
        margin: 0 auto;
        /* 中央配置 */
    }
}

/*スマホレイアウト*/
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding-top: 1.4rem;
    }
}


.site-title a img {
    height: 2.5rem;
}

/*ヘッダー*/
.header {
    border-bottom: 1px solid #ddd;
}

.header-inner {
    position: relative;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.site-title {
    line-height: 1;
    display: inline-block;
}

.site-title a {
    display: block;
    text-decoration: none;
}


.site-title a img {
    display: block;
    width: auto;
}

.header-nav li a {
    display: block;
    text-decoration: none;
}

@media(min-width: 821px) {
    .navbutton {
        display: none;
    }

    .header-nav-wrap {
        position: absolute;
        top: 50%;
        right: 1.5rem;
        margin-left: 15rem;
        /*タイトル分の余白をあけておく*/
        transform: translateY(-50%);
    }

    .header-nav {
        font-size: 0;
    }

    .header-nav li {
        font-size: 1rem;
        display: inline-block;
        margin-left: 1.5rem;
        padding: .25rem 0;
    }

    .header-nav li a {
        font-weight: 500;
        color: #000;
    }

    .header-nav li a:hover {
        opacity: .6;
    }
}

@media(max-width: 820px) {
    .navbutton {
        position: absolute;
        z-index: 10;
        top: 50%;
        right: 1.5rem;
        display: block;
        cursor: pointer;
        transform: translateY(-50%);
        border: 0;
        background-color: transparent;
    }

    .navbutton:focus {
        outline: 0;
    }

    .navbutton::after {
        font-family: "Material Symbols Outlined";
        font-size: 2.5rem;
        content: "\e5d2";
        color: #000;
    }

    .menu-active .navbutton::after {
        content: "\e5cd";
        color: #fff;
    }

    .header-nav-wrap {
        position: fixed;
        z-index: 9;
        top: 0;
        left: 0;
        display: none;
        overflow-y: auto;
        width: 100%;
        height: 100vh;
        background-color: rgb(50 50 50 / 80%);
    }

    .header-nav {
        padding: 6rem 0;
    }

    .header-nav li a {
        font-weight: 400;
        padding: 1.5rem;
        text-align: center;
        color: #fff;
    }
}

/*フッター*/
.footer {
    background-color: #000;
}

.footer-nav-wrap {
    padding: .75rem 1rem;
    background-color: #f5f5f5;
}

.footer-nav ul {
    font-size: 0;
    text-align: center;
}

.footer-nav ul li {
    font-size: .875rem;
    display: inline-block;
    margin-right: 1rem;
    padding: .25rem 0;
}

.footer-nav ul li:last-child {
    margin-right: 0;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #333;
}

.copyright {
    padding: 1rem;
    text-align: center;
}

.copyright p {
    text-decoration: none;
    font-size: .875rem;
    color: #fff;
}

.copyright a {
    text-decoration: none;
    font-size: .875rem;
    color: #fff;
}

/* ボタン */
/* ページ遷移用ボタン */
.page-btn {
    display: block;
    position: relative;
    /* 🎯 ::after を絶対配置するために relative を設定 */
    text-align: center;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    padding: 1.3rem 2rem;
    background-color: #eb6010;
    border: solid 2px #eb6010;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    /* 🎯 下方向に影 */
}

/* ホバー時の背景・文字色 */
.page-btn:hover {
    background-color: #fff;
    color: #eb6010;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.35);
    /* 🎯 ホバー時に影を大きく */
}

/* 🎯 擬似要素（矢印）の設定 */
.page-btn::after {
    content: "";
    position: absolute;
    /* 🎯 ボタンの右端に配置するために absolute を指定 */
    right: 2rem;
    /* 🎯 padding と同じ値で余白を確保 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    transition: 0.3s;
}

/* ホバー時の矢印の色 */
.page-btn:hover::after {
    border-top: 3px solid #eb6010;
    border-right: 3px solid #eb6010;
}

/* 講座検索用ボタン */
.search-btn {
    display: block;
    position: relative;
    /* 🎯 ::after を絶対配置するために relative を設定 */
    text-align: center;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    padding: 1.3rem 2rem;
    background-color: #fff;
    border: solid 2px #eb6010;
    border-radius: 8px;
    color: #eb6010;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    /* 🎯 下方向に影 */
}

/* ホバー時の背景・文字色 */
.search-btn:hover {
    background-color: #eb6010;
    color: #fff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.35);
    /* 🎯 ホバー時に影を大きく */
}

/* 🎯 擬似要素（矢印）の設定 */
.search-btn::after {
    content: "";
    position: absolute;
    /* 🎯 ボタンの右端に配置するために absolute を指定 */
    right: 2rem;
    /* 🎯 padding と同じ値で余白を確保 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    transition: 0.3s;
}

/* ホバー時の矢印の色 */
.search-btn:hover::after {
    border-top: 3px solid #eb6010;
    border-right: 3px solid #eb6010;
}

/* 講座選択用ボタン */
.lesson-group, .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    /* 🎯 画面幅が狭くなったら折り返す */
    column-gap: 1rem;
    row-gap: 2rem;
    /* 🎯 ボタン間の間隔 */
    margin-bottom: 1rem;
}

.lesson-group h4 {
    display: flex;
    margin: 0;
}

.lesson-btn, .wp-block-button > a {
    display: block;
    position: relative;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border: solid 2px #eb6010;
    border-radius: 8px;
    color: #eb6010;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    min-width: 290px;
}

/* ホバー時 */
.lesson-btn:hover, .wp-block-button > a:hover {
    background-color: #eb6010;
    color: #fff;
}

/* 🎯 擬似要素（矢印）の設定 */
.lesson-btn::after, .wp-block-button > a::after {
    content: "";
    position: absolute;
    /* 🎯 ボタンの右端に配置するために absolute を指定 */
    right: 0.75rem;
    /* 🎯 padding と同じ値で余白を確保 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 3px solid #eb6010;
    border-right: 3px solid #eb6010;
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    transition: 0.3s;
}

/* ホバー時の矢印の色 */
.lesson-btn:hover::after, .wp-block-button > a:hover::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

@media (max-width: 1024px) {
    .lesson-group, .wp-block-buttons {
        justify-content: center;
    }

    .lesson-btn, .wp-block-button > a {
        white-space: normal;
    }
}

/* Zoom参加ボタン */

.zoom-join-btn {
    display: block;
    position: relative;
    /* 🎯 ::after を絶対配置するために relative を設定 */
    text-align: center;
    max-width: 240px;
    margin: 0 auto 1.5rem;
    padding: 1.3rem 2rem;
    background-color: #eb6010;
    border: solid 2px #eb6010;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.25rem;
    font-weight: bold;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    /* 🎯 下方向に影 */
}

/* ホバー時の背景・文字色 */
.zoom-join-btn:hover {
    background-color: #fff;
    color: #eb6010;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.35);
    /* 🎯 ホバー時に影を大きく */
}

/* 🎯 擬似要素（矢印）の設定 */
.zoom-join-btn::after {
    content: "";
    position: absolute;
    /* 🎯 ボタンの右端に配置するために absolute を指定 */
    right: 2rem;
    /* 🎯 padding と同じ値で余白を確保 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    transition: 0.3s;
}

/* ホバー時の矢印の色 */
.zoom-join-btn:hover::after {
    border-top: 3px solid #eb6010;
    border-right: 3px solid #eb6010;
}

/* hタグ関連 */
.category-title,
.page-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    text-align: center;
}

.grade-title {
    font-size: 1.5rem;
    font-weight: normal;
    border-left: solid 0.5rem #eb6010;
    padding-left: 0.5rem;
}

.subject-title {
    font-size: 1.25rem;
    font-weight: normal;
    border-left: solid 0.5rem #eb6010;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

/* 学年section・教科article */
.grade {
    display: flow-root;
    margin-bottom: 3rem;
    border-bottom: solid 3px #eb6010;
}

.grade:last-child {
    border-bottom: none;
}

.subject {
    margin-bottom: 1rem;
}

.grade .subject:last-child {
    margin-bottom: 3rem;
}

/* 見つからなかった系（授業なしなど） */
.nothing-items {
  text-align: center;
}

/* page.php（デフォルトテンプレート）のブロックエディタ― */
.wp-block-heading {
  font-size: 1.5rem;
  font-weight: normal;
  border-left: solid 0.5rem #eb6010;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

/*投稿*/
.article-head .article-info {
    margin-bottom: .5rem;
}

.article-head .article-info .article-cat {
    display: inline-block;
    vertical-align: middle;
}

.article-head .article-info .article-cat a {
    font-size: .875rem;
    line-height: 1;
    display: inline-block;
    margin-right: .5rem;
    padding: .375rem .5rem;
    text-decoration: none;
    color: #fff;
    background-color: #eb6010;
    border-radius: 6px;
}

.article-head .article-info {
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
    color: #888;
}

.article-head .article-info i {
    font-size: 1.25rem;
    position: relative;
    top: .25rem;
}

.article-head h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.article-head .article-img {
    margin-bottom: 2rem;
}

.article-head .article-img img {
    display: block;
}

@media(max-width: 480px) {
    .article-head h1 {
        font-size: 1.75rem;
    }
}

.article-zoom-join-btn {
    background-color: #eb6010;
    border: solid 1px #eb6010;
    border-radius: 8px;
    box-shadow: 0.1em 0.1em 0.2em 0 rgba(0, 0, 0, 0.2);
    color: #eb6010;
    display: table;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.2;
    margin: 1em auto;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.article-zoom-join-btn a {
    text-decoration: none;
    color: #fff;
}

/* ホバー時のスタイル */
.article-zoom-join-btn:hover {
    background-color: #fff;
    border: solid 1px #eb6010;
    color: #eb6010;
}

.article-zoom-join-btn a:hover {
    text-decoration: none;
    background-color: #fff;
    color: #eb6010;
}

/*エディタコンテンツ*/
.editor-content {
    max-width: 800px;
    /* 任意の横幅に変更 */
    margin: 0 auto;
    /* 中央揃え */
    word-break: break-all;
}

.editor-content p code,
.editor-content p img,
.editor-content p iframe,
.editor-content p object,
.editor-content figure img,
.editor-content figure iframe,
.editor-content figure video,
.editor-content figure audio,
.editor-content pre code {
    margin-bottom: 0;
}

.editor-content th,
.editor-content td {
    border-color: #ddd;
}

.editor-content p,
.editor-content ul,
.editor-content ol,
.editor-content table,
.editor-content dl,
.editor-content blockquote,
.editor-content pre,
.editor-content code,
.editor-content img,
.editor-content picture img,
.editor-content figure,
.editor-content iframe,
.editor-content object,
.editor-content hr,
.editor-content video,
.editor-content audio {
    margin-bottom: 2.5em;
    letter-spacing: 1px;
}

.editor-content b,
.editor-content strong {
    font-weight: bold;
}

.editor-content a {
    text-decoration: underline;
}

.editor-content ul:not([class]) {
    padding-left: 1.25em;
    list-style: disc;
}

.editor-content ol:not([class]) {
    padding-left: 1.875em;
    list-style: decimal;
}

.editor-content table {
    width: 100%;
}

.editor-content table thead {
    border: none;
}

.editor-content table th,
.editor-content table td {
    box-sizing: border-box;
    padding: .625em;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #ddd;
}

.editor-content img,
.editor-content iframe,
.editor-content object,
.editor-content video,
.editor-content audio {
    line-height: 1;
}

.editor-content figure {
    max-width: 100%;
}

.editor-content iframe,
.editor-content object {
    width: 100%;
}

.editor-content blockquote {
    line-height: 1.5;
    position: relative;
    padding: 3.125em 1.875em .625em;
    color: #555;
    background-color: #f1f4f4;
}

.editor-content blockquote::before {
    font-family: "Material Symbols Outlined";
    font-size: 1.875em;
    font-weight: 900;
    position: absolute;
    top: .3125em;
    left: .9375em;
    content: "\e244";
    color: #ccc;
}

.editor-content blockquote p,
.editor-content blockquote cite {
    margin-bottom: 1em;
}

.editor-content blockquote p cite {
    margin-bottom: 0;
}

.editor-content blockquote cite {
    font-size: .6125em;
    display: block;
    text-align: right;
}

.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5 {
    line-height: 1.4;
    margin: 3rem 0 2rem;
    letter-spacing: 1px;
}

.editor-content h2 {
    font-size: 1.875rem;
    padding: .75rem 0;
    border-bottom: solid 5px #03162f;
}

.editor-content h3 {
    font-size: 1.5rem;
    padding: 0 1rem;
    border-left: solid .375rem #415671;
    background: transparent;
}

.editor-content h4 {
    font-size: 1.25rem;
}

.editor-content h5 {
    font-size: 1.125rem;
}

@media (max-width: 480px) {

    .editor-content p,
    .editor-content ul,
    .editor-content ol,
    .editor-content table,
    .editor-content dl,
    .editor-content blockquote,
    .editor-content pre,
    .editor-content code,
    .editor-content img,
    .editor-content picture img,
    .editor-content figure,
    .editor-content iframe,
    .editor-content object,
    .editor-content hr,
    .editor-content video,
    .editor-content audio {
        margin-bottom: 1.5em;
    }

    .editor-content th,
    .editor-content td {
        padding: .625em;
    }

    .editor-content blockquote {
        padding: 2.5em 1.875em 1.875em;
    }

    .editor-content blockquote::before .editor-content blockquote::after {
        font-size: 1.25em;
    }

    .editor-content blockquote p,
    .editor-content blockquote cite {
        margin-bottom: .625em;
    }

    .editor-content h2,
    .editor-content h3,
    .editor-content h4,
    .editor-content h5 {
        margin: 2rem 0;
    }

    .editor-content h2 {
        font-size: 1.5rem;
    }

    .editor-content h3 {
        font-size: 1.375rem;
    }

    .editor-content h4 {
        font-size: 1.25rem;
    }

    .editor-content h5 {
        font-size: 1rem;
    }

    .editor-content h6 {
        font-size: .9375rem;
    }
}


@media (max-width: 332px) {
    .editor-content h2 {
        font-size: 1.25rem;
    }

    .editor-content h3 {
        font-size: 1.125rem;
    }

    .editor-content h4 {
        font-size: 1rem;
    }

    .editor-content h5 {
        font-size: .9375rem;
    }

    .editor-content h6 {
        font-size: .875rem;
    }
}

/*サイドバーウィジェット*/
.sidebar-wrapper {
    margin-bottom: 2rem;
}

.sidebar .sidebar-title,
.sidebar .wp-block-heading {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 1rem;
    padding: .375rem;
    letter-spacing: 1px;
    border: 0;
    border-bottom: .1875rem solid #1d2d43;
}

.sidebar a {
    text-decoration: none;
    color: #333;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    border-bottom: 1px solid #ddd;
}

.sidebar li a {
    display: block;
    padding: .5rem;
}

.sidebar select {
    display: block;
    width: 100%;
    padding: .5rem;
    border: 1px solid #ddd;
}

/*ページタイトル*/
.page-title-wrap {
    background-color: #1d2d43;
}

.page-title-wrap .page-title {
    position: relative;
    max-width: 1080px;
    height: 22rem;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

.page-title-wrap .page-title .text-warp {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    width: calc(100% - 3rem);
    transform: translateY(-50%);
    text-align: center;
}

.page-title-wrap .page-title .text-warp h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
}

@media(max-width: 820px) {
    .page-title-wrap .page-title {
        height: 20rem;
        margin-bottom: 1rem;
    }

    .page-title-wrap .page-title .text-warp h1 {
        font-size: 2.75rem;
    }
}

@media(max-width: 480px) {
    .page-title-wrap .page-title {
        height: 12rem;
        margin-bottom: 0;
    }

    .page-title-wrap .page-title .text-warp h1 {
        font-size: 2rem;
    }
}

/*記事アーカイブ*/
.article-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

.article-list .article-item {
    position: relative;
    z-index: 1;
    border: 1px solid #ddd;
}

.article-list .article-item a {
    display: block;
    text-decoration: none;
    color: #333;
}

.article-list .article-item img {
    display: block;
    width: 100%;

    aspect-ratio: 3/2;
    object-fit: cover;
}

.article-list .article-item {
    padding: 1rem;
    vertical-align: middle;
}

.article-list .article-item .article-cat {
    font-size: .875rem;
    line-height: 1;
    display: inline-block;
    margin-right: .5rem;
    padding: .25rem .5rem;
    vertical-align: middle;
    text-decoration: none;
    color: #fff;
    background-color: #03162f;
}

.article-list .article-item .article-date {
    font-size: .875rem;
    display: inline-block;
    vertical-align: middle;
    color: #888;
}

.article-list .article-item .article-date i {
    font-size: 1rem;
    position: relative;
    top: .1875rem;
    margin-right: .125rem;
}

.text-wrap {
    padding: 1rem;
    display: inline-block;
    vertical-align: middle;
    align-items: center;
}

.text-wrap h2 {
    font-size: 1rem;
    font-weight: 500;
}

@media(max-width: 480px) {
    .article-list {
        display: block;

        gap: none;
        grid-template-columns: none;
    }

    .article-list .article-item {
        margin-bottom: 2rem;
    }
}

/*404ページ*/
.entry-404 {
    padding-bottom: 18px;
    padding-top: 18px;
    text-align: center;
}

.entry-404-head {
    color: #ffce71;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 36px;
    margin: 0 auto;
}

.entry-404-head span {
    display: block;
    margin: 0 auto;
}

.entry-404-head spanafter {
    display: none;
    margin: 0 auto;
}

.entry-404-lead {
    color: #808080;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 34px;
    margin: 0 auto;
}

.entry-404-lead .m_sp {
    display: block;
    margin: 0 auto;
}

.entry-404-content {
    color: #808080;
    font-size: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

.entry-404-btn {
    margin-top: 58px;
    text-align: center;
    /* ボタンを中央揃え */
}

.entry-404-btn a {
    color: #fff;
    background-color: #eb6100;
    padding: 12px 24px;
    /* 適切な余白を設定 */
    display: inline-block;
    /* ボタンを中央揃え */
    text-decoration: none;
    font-weight: bold;
    border-radius: 100vh;
    /* 角を丸くする */
    position: relative;
}

/* ホバー時のスタイル */
.entry-404-btn a:hover {
    color: #f56500;
    background: #fff;
}

/* アイコンの配置 */
.entry-404-btn .fa-position-left {
    position: absolute;
    top: calc(50% - .5em);
    left: 1rem;
}

.site-notice {
    background-color: #fff7e6;
    /* やさしいオレンジ系背景 */
    color: #d35400;
    /* 濃いめのオレンジ文字 */
    padding: 12px 16px;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid #f0b27a;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

/* 「お知らせ」ラベル部分 */
.site-notice::before {
    content: "お知らせ";
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .site-notice {
        font-size: 0.9rem;
        padding: 10px 12px;
        flex-direction: column;
        gap: 4px;
    }

    .site-notice::before {
        font-size: 0.75rem;
    }
}

/* 提出フォームセクション */
.homework-submit-form {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 640px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* セクション見出し */
.homework-submit-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #eb6010;
}

/* ラベルと入力欄 */
.homework-submit-form label {
    font-size: 1.125rem;
    display: block;
    margin-top: 1.5rem;
    font-weight: 600;
}

.homework-submit-form input[type="text"],
.homework-submit-form textarea,
.homework-submit-form input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* 提出ボタン */
.homework-submit-form button {
    display: block;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background-color: #eb6010;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.homework-submit-form button:hover {
    background-color: #fff;
    color: #eb6010;
    border: 2px solid #eb6010;
}

/* 送信結果メッセージ */
.homework-submit-response {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #006400;
    font-weight: 600;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .homework-submit-form {
        padding: 1.25rem;
        margin: 2rem 1rem;
    }

    .homework-submit-title {
        font-size: 1.5rem;
    }

    .homework-submit-form button {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
    }
}

/* サーチページ */
/* 検索ページ全体のラッパー */
.search-page-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* タイトル */
.search-page-title {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    color: #000000;
    margin-bottom: 2rem;
}

/* フィルター全体ブロック */
.filter-area {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* 各フィルター項目 */
.filter-block {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.filter-block label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.filter-block select,
.filter-block input[type="text"] {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

/* キーワードだけ幅広くする */
.filter-block.full-width {
    flex: 1 1 100%;
}

/* 絞り込みボタン */
.filter-submit {
    text-align: center;
    margin-top: 1rem;
}

.filter-submit button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: #eb6010;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filter-submit button:hover {
    background-color: #fff;
    color: #eb6010;
    border: 2px solid #eb6010;
}

/* 検索結果見出し */
.search-results h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .filter-block {
        flex: 1 1 100%;
    }

    .search-page-title {
        font-size: 1.5rem;
    }

    .filter-submit button {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
    }
}