@charset "UTF-8";
/* Responsive: yes */

/* ==========================================================================
   1. リセット & 基本ブラウザ設定
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.7;
    background-color: #f7f7f7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, footer, header, nav, section, figcaption, figure, main {
    display: block;
}

figure {
    margin: 1em 40px;
}

hr {
    height: 0;
    overflow: visible;
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em auto;
}

pre, code, kbd, samp {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
    color: #1487bd;
    text-decoration: none;
}

a:hover {
    color: #0f668f;
    text-decoration: underline;
}

a.keyword {
    text-decoration: none;
    border-bottom: 1px dotted #ddd;
    color: #454545;
}

b, strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

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

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* ==========================================================================
   2. 全体レイアウト（1360pxワイド & サイドバー画面追従）
   ========================================================================== */
#container {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

#content {
    margin-top: 20px;
}

@media (min-width: 768px) {
    #container {
        max-width: 720px;
        padding: 0;
    }
}

@media (min-width: 992px) {
    #container {
        max-width: 1360px;
        padding: 0 15px;
    }
}

#content-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    #content-inner {
        flex-direction: row;
    }

    #wrapper {
        width: calc(100% - 240px);
    }

    #box2 {
        width: 220px;
    }
}

@media (min-width: 992px) {
    #wrapper {
        width: calc(100% - 340px);
    }

    #box2 {
        width: 300px;
        min-width: 300px;
        align-self: flex-start;
        position: sticky;
        top: 20px;
        z-index: 10;
    }
}

#main {
    width: 100%;
}

/* ==========================================================================
   3. 自作ヘッダー & TOPオススメ（センタリング・ワイド同期）
   ========================================================================== */
#blog-title { 
    display: none;
}

.urkt-image-background {
    background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/u/urakatahero/20231024/20231024104812.jpg');
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    max-width: 1360px;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
    border-radius: 4px;
    overflow: hidden;
}

.urkt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.urkt-title {
    font-family: 'Courier New', monospace;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px #fff1d6;
    position: relative;
    animation: urkt-fadeIn 1s ease-in;
    padding: 10px 20px;
    border: 2px solid #fea500;
    border-radius: 8px;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    z-index: 1;
}

.urkt-title a {
    text-decoration: none;
    color: inherit;
}

.urkt-subtitle {
    font-size: 1em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
    z-index: 2;
    position: relative;
}

.urkt-title .urkt-animated {
    animation: urkt-colorChange 3s infinite;
    font-weight: bold;
    font-size: 1.2em;
}

@keyframes urkt-colorChange {
    0% { color: white; }
    50% { color: #0ABAB5; }
    100% { color: white; }
}

@keyframes urkt-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.urkt-title:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@media (max-width: 600px) {
    .urkt-title {
        font-size: 1.45em;
    }
    .urkt-subtitle {
        font-size: 0.75em; 
    }
}

/* TOP オススメ */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-content: center;
    gap: 8px;
    max-width: 1360px;
    margin: 15px auto;
    width: 100%;
}

.grid-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(to right, #81CAC4, #0ABAB5, #81CAC4);
}

.hashtag {
    color: #FEA501;
    font-size: 34px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    transform: rotate(-10deg);
    text-shadow: 2px 2px 4px white;
}

.recommended {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 12px;
    color: white;
    opacity: 0.8;
    animation: bounce 1s ease-in-out 3;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0;
    }
    .grid-item {
        min-height: 60px;
        font-size: 18px;
    }
    .hashtag {
        font-size: 24px;
        top: 5px;
        left: 5px;
    }
    .recommended {
        font-size: 10px;
    }
}

/* ==========================================================================
   4. 記事本体スタイル（タイポグラフィ刷新・縦の潰れ解消）
   ========================================================================== */
.entry {
    position: relative;
    margin-bottom: 40px;
}

.entry-inner {
    background: #fff;
    padding: 25px 30px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

@media (max-width: 767px) {
    .entry-inner {
        padding: 18px 16px;
    }
}

.entry-header {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.date {
    margin-bottom: .5em;
    font-size: .9rem;
}

.date a {
    color: #999;
}

.entry-title {
    font-family: 'Reggae One', cursive, sans-serif;
    font-weight: bold;
    font-size: 26px;
    text-shadow: 1px 1px 2px silver;
    background: linear-gradient(transparent 70%, #ffffff 0%);
    display: inline;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .entry-title {
        font-size: 21px;
    }
}

.entry-title a {
    color: #333;
}

.categories {
    margin: 8px 0;
    font-size: 13px;
}

.categories a {
    margin-right: .5em;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    background: #26896D;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 本文タイポグラフィ：端正なフォントスタック ＆ 伸びやかな行間・字間 */
.entry-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 2.0;          /* 縦方向の呼吸感をゆったり確保 */
    letter-spacing: 0.045em;   /* 文字の横詰まりを解き、縦への流れを促す */
    color: #2b2b2b;            /* わずかに引き締まった自然な墨黒 */
}

@media (max-width: 767px) {
    .entry-content {
        font-size: 16px;
        line-height: 1.85;
        letter-spacing: 0.035em;
    }
}

.entry-content p {
    margin: 0 0 2em 0;         /* 段落間の余白を広げてリズムを整える */
}

.entry-content li {
    line-height: 1.8;
    margin-bottom: 0.5em;      /* 箇条書きが縦に平たく潰れるのを防止 */
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.8em auto;
}

/* 見出し1（h3） */
.entry-content h3 {
    font-family: 'Reggae One', cursive, sans-serif;
    position: relative;
    color: #2A6E6B;
    font-size: 1.45rem;
    margin: 2.4em 0 1.1em 0;
    padding-bottom: 8px;
    letter-spacing: 0.03em;
}

.entry-content h3:first-letter {
    font-size: 1.8em;
    color: #26896D;
    text-shadow: 1px 2px 3px #808080;
}

.entry-content h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(-45deg, #6ad1c8, #6ad1c8 2px, #6E6636 2px, #6E6636 4px);
}

/* 見出し2（h4） */
.entry-content h4 {
    font-family: 'Reggae One', cursive, sans-serif;
    color: #ffffff;
    text-shadow: 1px 2px 3px #808080;
    position: relative;
    padding: 0.6em 1em;
    background: #26896D;
    font-size: 1.25rem;
    margin: 2.2em 0 1.1em 0;
    letter-spacing: 0.03em;
}

.entry-content h4::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(110, 102, 54);
}

/* 見出し3（h5） */
.entry-content h5 {
    font-family: 'Reggae One', cursive, sans-serif;
    padding: 0.5em 0.8em;
    color: #2A6E6B;
    background: #eaf3ff;
    border-bottom: solid 3px #FCD997;
    font-size: 1.1rem;
    margin: 1.9em 0 1em 0;
}

.entry-content blockquote {
    border-left: 4px solid #0ABAB5;
    background: #f9f9f9;
    margin: 1.8em 0;
    padding: 16px 22px;
    line-height: 1.85;
}

.entry-content pre {
    background: #2d3748;
    color: #f7fafc;
    border-radius: 6px;
    padding: 15px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.55;
    letter-spacing: normal;
}

.entry-content code {
    background-color: #edf2f7;
    color: #c53030;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    letter-spacing: normal;
}

.entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

span.entry-footer-time {
    display: none;
}

/* ==========================================================================
   5. 大学ノート風目次
   ========================================================================== */
.entry-content .table-of-contents {
    position: relative;    
    margin: 2.2em 0;
    display: inline-block;
    background: #fff;
    padding: 1em 1.5em 1.2em 2em;
    border-top: 1px solid #d9d9d9;
    border-right: 0;
    border-bottom: 1px solid #d9d9d9;
    border-left: 28px solid #ffa500;
    box-shadow: 1px 0 0 #959595d4, 2px 0 0 #fff, 3px 0 0 #898989de, 4px 0 0 #fff, 5px 0 0 #858585de, 9px 3px 10px #ababab96;
}

.entry-content .table-of-contents::before {
    content: "目次";
    position: static;
    display: block;
    text-align: start;
    font-size: 120%;
    margin: 0 0 .8em;
    font-weight: bold;
    border-bottom: 3px solid #ffa500;
}

.entry-content .table-of-contents::after {
    content: "ウラカタヒロブログ";
    position: absolute;
    display: block;
    transform: rotate(-90deg);
    transform-origin: top left;
    bottom: -20px;
    left: -27px;
    font-size: 110%;
    color: #ffffff;
}

.entry-content .table-of-contents a {
    color: #5a5a5a;
    display: block;
    text-decoration: none;
    background: linear-gradient(transparent 0, transparent 93%, #d8d8d8 100%);
    background-size: 100% 2em;
    line-height: 2em;
}

.entry-content .table-of-contents > li::before {
    font-family: "blogicon";
    content: "\f024";
    font-weight: normal;
    color: #ffa500;
    position: absolute;
    top: 2px;
    left: -18px;
}

.entry-content .table-of-contents li {
    list-style-type: none;
    margin: 0 0 0 1.4em;
    position: relative;
    font-size: 1em;
}

.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
    padding: 0;
}

.entry-content .table-of-contents li ul li {
    list-style-type: disc;
    color: #ffa500;
    font-size: .9em;
}

.entry-content .entry-see-more {
    padding: 0;
    width: 150px;
    height: 50px;
    line-height: 50px;
    color: #FFF;
    background-color: #9EB8F3;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    border-radius: 0px;
    transition: transform 1s ease;
}

.entry-content .entry-see-more:hover {
    color: #FFF;
    background-color: #9EB8F3;
    transform: rotate(720deg);
    text-decoration: none;
}

/* ==========================================================================
   6. 執筆者情報
   ========================================================================== */
.author-profile {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 32px 25px 25px;
    margin: 3.5em 0 2em;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%);
    border: 1px solid #d4ecea;
    border-left: 6px solid #26896D;
    box-shadow: 0 4px 15px rgba(38, 137, 109, 0.08);
}

.author-profile::before {
    content: "WRITTEN BY";
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(to right, #26896D, #0ABAB5);
    color: #fff;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 0.15em;
    padding: 2px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.author-profile img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-right: 25px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0ABAB5, 0 4px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.author-info h3 {
    margin: 0;
    font-size: 1.35em;
    font-family: 'Reggae One', cursive, sans-serif;
    color: #2A6E6B;
    letter-spacing: 0.03em;
}

.author-title {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: bold;
    color: #fea500;
    background: #fff8eb;
    border: 1px solid #fcd997;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
}

.author-description {
    font-size: 0.92em;
    line-height: 1.75;
    color: #4a5568;
    margin: 0 0 14px 0;
}

.author-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    margin-bottom: 8px;
    border-top: 1px dashed #d4ecea;
    border-bottom: 1px dashed #d4ecea;
    flex-wrap: wrap;
}

.author-about-link {
    font-size: 0.85em;
    font-weight: bold;
    color: #26896D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.author-about-link::before {
    content: "▶";
    font-size: 0.7em;
    margin-right: 5px;
    color: #fea500;
}

.author-about-link:hover {
    color: #0f668f;
    text-decoration: underline;
}

.author-subscribe iframe {
    display: block;
    border: none;
}

.author-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-links li {
    margin: 0;
}

.author-links a {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #c2e5e2;
    border-radius: 20px;
    text-decoration: none;
    color: #26896D;
    font-size: 0.82em;
    font-weight: bold;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.author-links a:hover {
    background: #26896D;
    color: #ffffff;
    border-color: #26896D;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(38, 137, 109, 0.25);
    text-decoration: none;
}

@media (max-width: 767px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 15px 20px;
    }
    .author-profile img {
        margin-right: 0;
        margin-bottom: 12px;
    }
    .author-name-wrap {
        justify-content: center;
    }
    .author-actions {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    .author-links {
        justify-content: center;
    }
}

/* ==========================================================================
   7. サイドバー
   ========================================================================== */
.hatena-module {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    margin-bottom: 25px;
    font-size: .9rem;
}

.hatena-module-title {
    margin-bottom: .8em;
    padding-bottom: .4em;
    font-size: 1.05rem;
    font-weight: bold;
    border-bottom: 2px solid #0ABAB5;
}

.hatena-module-title a {
    color: #454545;
}

div.hatena-module-category div.hatena-module-body ul li {
    display: inline-block;
    margin: 3px;
}

div.hatena-module-category div.hatena-module-body ul li a {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f4f5;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #333;
}

.hatena-module-search-box .search-form {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hatena-module-search-box .search-module-input {
    flex: 1 0;
    padding: 8px 10px;
    color: #454545;
    background: none;
    border: none;
    outline: none;
}

.hatena-module-search-box .search-module-button {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3C/svg%3E") no-repeat center;
    background-size: 18px 18px;
    border: none;
    outline: none;
    cursor: pointer;
}

/* ==========================================================================
   8. アーカイブ一覧・ページャー・フッター（日付撤去＆概要文解放・Grid仕様）
   ========================================================================== */
.page-archive .archive-entry {
    margin-bottom: 24px;
    background: #fff;
    /* CSS Gridによる2カラム立体配置 */
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "thumb header"
        "thumb body";
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-archive .archive-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* 1. 左側：サムネイル画像（上下ぶち抜き） */
.page-archive .entry-thumb-link {
    grid-area: thumb;
    display: block;
    width: 100%;
    height: 100%;
}

.page-archive .entry-thumb {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background-size: cover;
    background-position: center;
}

/* 2. 右上：ヘッダー（カテゴリ ＆ タイトル） */
.page-archive .archive-entry-header {
    grid-area: header;
    padding: 18px 24px 6px;
    display: flex;
    flex-direction: column;
}

/* 日付：完全非表示（不要なノイズを遮断） */
.page-archive .date {
    display: none !important;
}

/* カテゴリ：右上に整然と配置 */
.page-archive .categories {
    margin: 0 0 8px 0 !important;
    align-self: flex-start;
}

.page-archive .categories a {
    display: inline-block;
    background: #eef7f5;
    color: #26896D;
    border: 1px solid #c2e5e2;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.page-archive .categories a:hover {
    background: #26896D;
    color: #fff;
}

/* 記事タイトル */
.page-archive .entry-title {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.45;
    margin: 0;
}

.page-archive .entry-title a {
    color: #2b2b2b;
    text-decoration: none;
}

.page-archive .entry-title a:hover {
    color: #26896D;
}

/* 3. 右下：記事概要（念願の解放） */
.page-archive .archive-entry-body {
    grid-area: body;
    display: block !important; /* 封印解除 */
    padding: 0 24px 18px;
}

.page-archive .entry-description {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.65;
    margin: 6px 0 0 0;
    /* 2行を超えたら自動で「…」にして切り詰める */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* 概要枠内に紛れ込むタグやスターを掃除 */
.page-archive .archive-entry-tags-wrapper,
.page-archive .social-buttons {
    display: none !important;
}

/* スマホ表示（1カラムへ自然に縦積み） */
@media (max-width: 767px) {
    .page-archive .archive-entry {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "thumb"
            "header"
            "body";
    }
    .page-archive .entry-thumb {
        height: 180px;
    }
    .page-archive .archive-entry-header {
        padding: 14px 16px 4px;
    }
    .page-archive .archive-entry-body {
        padding: 0 16px 14px;
    }
    .page-archive .entry-title {
        font-size: 16.5px;
    }
}

.pager {
    margin: 2.5em 0;
    display: flex;
    justify-content: space-between;
}

#footer {
    margin-top: 3em;
    padding: 2em 0;
    text-align: center;
    font-size: .85rem;
    color: #999;
    background: #fff;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   9. スマホ用下部固定メニュー
   ========================================================================== */
.bottom_menu ul {
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(30px + 3vmax);
    list-style-type: none;
    display: table;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
    background: rgba(52, 56, 56, 0.85);
    z-index: 50;
    padding: 0;
}

.bottom_menu ul input {
    display: none;
}

.bottom_menu ul li {
    display: table-cell;
}

.bottom_menu ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    display: block;
    line-height: calc(30px + 3vmax);
    height: calc(30px + 3vmax);
    transition: all 0.3s ease;
}

.bottom_menu ul li a:hover {
    color: #fcb900;
    background: #ffffff;
}

.bottom_menu ul label {
    line-height: calc(30px + 3vmax);
    height: calc(30px + 3vmax);
    display: block;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.bottom_menu ul label:hover {
    color: #fcb900;
    background: #ffffff;
}

.bottom_menu ul ul.bottom_open {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    height: 0;
    bottom: calc(30px + 3vmax);
    visibility: hidden;
    transition: all 0.5s ease;
    background: rgba(252, 185, 0, 1.0);
    opacity: 0;
}

.bottom_menu ul ul.bottom_open li {
    display: block;
    height: calc(30px + 3vmax);
}

.bottom_menu ul .check_open:checked + .bottom_open {
    visibility: visible;
    height: calc((30px + 3vmax) * 10);
    width: 100%;
    opacity: 1;
}

@media (min-width: 768px) {
    .bottom_menu {
        display: none;
    }
}