@charset "utf-8";

/*ヘッダーカバー*/
.cover-home {
    background-size: cover;
    background-position: center bottom;
    height: 400px;
    background-image: url(../img/header_footer.jpg);
}

.cover-sub {
    background-size: cover;
    background-position: center bottom;
    height: 350px;
    background-image: url(../img/header_footer.jpg);
}

/* ヘッダーロゴの設定（余白を抑制） */
#logo img {
    min-width: auto;
    margin: 0;
    /* いったん余白リセット */
    padding: 5px;
    /* 10px → 5px */
    height: auto;
    max-height: 80%;
    align-items: center;
}

#header_visual img {
    max-width: 208px;
    margin: 0;
    /* いったん余白リセット */
    padding: 5px;
    /* 10px → 5px */
    height: auto;
    box-shadow: 0 0 8px rgb(255, 148, 27);
}

/* メニュー */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#hamburger {
    display: none;
}

.hamburger-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 旧のチェックボックス制御は撤廃（TS制御へ） */

/* 旧: デスクトップはインラインの main-nav を使用（元の状態） */

/* Desktop inline main-nav */
.main-nav {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    /* いったん余白リセット */
    padding: 5px;
    /* 10px → 5px */
}

.main-nav ul {
    display: flex;
    list-style-type: none;
    gap: 12px;
    /* %ではなくpxに */
    font-size: 200%;
}

.main-nav ul li {
    white-space: nowrap;
}

.main-nav a {
    color: #19911c;
}

.main-nav a:hover {
    display: inline-block;
    font-size: 110%;
    background-color: rgba(254, 137, 4, 0.57);
    color: #c34fe7;
    border-radius: 20rem;
    padding: 0.5% 1%;
    transition: 0.5s;
}

/* トピックパス設定*/
#topic_path {
    padding-left: 0;
}

#topic_path li {
    list-style-type: none;
    display: inline;
    font-size: 80%;
}

#topic_path li:after {
    padding: 0 10px;
    content: "\003E";
}

#topic_path li:last-child:after {
    content: none;
}

/* フッター */
footer {
    background-color: rgba(255, 148, 27, 0.62);
    color: #000;
    padding: 30px 0;
    text-align: center;
}

/* 切替スイッチの設定 */
footer ul {
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

/* 切替スイッチ内部設定 */
footer ul li {
    display: inline-block;
    margin: 0 10px;
}

footer ul li a {
    color: #000;
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer ul li a:link,
footer ul li a:visited {
    text-decoration: none;
}

/* 切替スイッチの識別 */
footer ul li a:hover,
footer ul li a:active {
    text-decoration: underline;
    color: #de90f6;
}