@charset "utf-8";

/*
Theme Name: Tick Tack Wonder
Author: Hikari Masumoto
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tick-tack-wonder

Copyright (C) <?php echo date('Y'); ?> Hikari Masumoto
*/

body {
    color: #fbfadf;
    background-color: #162e25;
    font-size: 16px;
    font-family: "Toppan Bunkyu Mincho", "ヒラギノ明朝 ProN W3", "YuMincho", YuGothic, "メイリオ", sans-serif;
    line-height: 1.7;
    letter-spacing: 0.025em;
}

.icon {
    border-radius: 50%;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* aspect-ratioで表示部分の縦横比を固定し、overflow:hiidenではみ出た部分を非表示  */
.img-box {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #333;
}

/* object-position を使う方法（画像をトリミングしつつずらす） */
.panorama img {
    object-position: 70% center;
    /* 右に70%ずらす */
}

.inner {
    max-width: 1366px;
    width: 92.679%;
    margin-left: auto;
    margin-right: auto;
}

html {
    scroll-behavior: smooth;
}

pre {
    word-break: break-all;
    white-space: pre-wrap;
}

a {
    text-decoration: none;
    word-break: break-all;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 80px;
}

h3 {
    font-size: 25px;
    font-family: 'Toppan Bunkyu Midashi Mincho';
    font-weight: bold;
}

html {
    opacity: 1;
}

html.is-loaded {
    animation: fadeInPage .5s ease both;
}

.reveal-up {
    opacity: 1;
    transform: none;
}

.js .reveal-up {
    opacity: 0;
    transform: translateY(20px);
}

.js .reveal-up.on {
    animation: fadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--d, 0s);
}

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-up.on {
    animation: fadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--d, 0s);
}

/* --------------header--------------- */

header {
    background-color: rgb(22, 46, 37, .8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 20px 0;
}

header .inner {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
}

/* overlay-styles.css */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    overflow: hidden;
}

.hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #fbfadf;
    transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
}

.hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
}

.hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 46, 37, .8);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
}

.nav-overlay__list {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 80%;
    max-width: 480px;
    text-align: left;
}

.nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay__link {
    display: block;
    padding: 20px;
    color: #fbfadf;
    font-size: 24px;
    text-decoration: none;
    transition: color .3s;
}

.nav-overlay__link:hover {
    color: #2b1b14;
}

/* 検索の外側 */
.nav-overlay__search {
    margin: 16px auto 0;
    padding: 16px;
    display: flex;
    width: 80%;
    max-width: 480px;
}

/* 検索フォーム */
.nav-overlay__search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* 入力欄 */
.nav-overlay__search-input {
    flex: 1;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #fbfadf;
    border-radius: 6px;
    color: #fbfadf;
}

label .screen-reader-text {
    color: #fbfadf;
}

.nav-overlay__search-button {
    padding: 8px 14px;
    border: none;
    background: #dcdbb7;
    color: #fbfadf;
    border-radius: 10px;
    cursor: pointer;
}

.nav-overlay__search-button:hover {
    background: #dcdbb7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 560px);
    padding: 0 8px;
    text-align: center;
}

.nav-overlay__list {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 480px;
    text-align: left;
}

.nav-overlay__search {
    margin: 16px auto 0;
    padding: 16px;
    display: flex;
    width: 100%;
    max-width: 480px;
}

.nav-overlay__search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.nav-overlay__search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #fbfadf;
    border-radius: 6px;
    color: #fbfadf;
    background: transparent;
}

label.screen-reader-text,
.screen-reader-text {
    color: #fbfadf;
}

/* --------------main--------------- */

/* mainvisual----------------- */

.mainvisual {
    padding: 150px 0;
    background-image: url(/blog/wp-content/themes/19_blog/images/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mainvisual h1 {
    font-size: 38px;
    font-family: "Henny Penny", system-ui;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0px 0px 40px rgba(0, 0, 0, 1);
}


.dial {
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.clock {
    position: relative;
}

.hand {
    position: absolute;
    inset: 0;
    margin: auto;
    transform-origin: 50% 50%;
    transform: rotate(0deg);
    will-change: transform;
    pointer-events: none;
}

/* lead------------------------ */

.lead p {
    margin: 30px 50px 0;
}

/* blog------------------------ */

time {
    font-size: 14px;
    font-style: italic;
}

.posts ul {
    margin-top: 10px;
}

.img-box a {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog .posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 15px;
    column-gap: 6.319%;
}

.posts h3 {
    transition: 0.3s;
}

.posts h3:hover {
    opacity: .7;
    color: #2b1b14;
}

.posts article {
    margin-top: 50px;
}

.img-box {
    /* aspect-ratio: 16 / 11; */
    overflow: hidden;
    /* ホバー時の枠外に飛び出し防止 */
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* 滑らかに拡大 */
}

.img-box:hover img {
    transform: scale(1.1);
    /* ホバーした際に画像を拡大 */
}

.posts li {
    display: inline-block;
    margin: 0 20px 20px 0;
    padding: 5px 15px;
    color: #fbfadf;
    font-size: 14px;
    border-radius: 20px;
    transition: 0.3s;
    background-color: #0e1c17;
}

.posts li:hover {
    opacity: .7;
    background-color: #2b1b14;
}

.btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}


.btn span {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 50px;
    transition: 0.3s;
    background-color: #2b1b14;
    text-align: right;
}

.btn a {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 50px;
    transition: 0.3s;
    background-color: #2b1b14;
    text-align: right;
}

.btn span:hover {
    opacity: .7;
    background-color: #0e1c17;
}

.btn a:hover {
    opacity: .7;
    background-color: #0e1c17;
}

/* --------------footer--------------- */

footer {
    padding: 80px;
    font-size: 14px;
    text-align: center;
    color: #949381;
    background-color: #13251e;
}

/* search----------------------- */

.search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
    margin: 80px 0;
    text-align: center;
}

.search .category {
    border-right: 1px solid #fbfadf;
}

.search ul {
    margin: 30px 0;
    line-height: 2;
}

.search li {
    transition: 0.3s;
}

.search li:hover {
    opacity: .7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /* 太さ */
    text-underline-offset: 4px;
    /* 文字からの距離 */
}

/* profile----------------------- */

.profile .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px;
}

.profile .icon {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.prof {
    margin-top: 20px;
}

.prof p {
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
}

.eyecatch {
    border-radius: 50%;
}


/* single.php-------------------------------------------------- */


.single .breadcrumbs {
    margin-top: 120px;
    margin-bottom: 10px;
    font-size: 14px;
}

.title .category {
    display: inline-block;
    margin: 0 20px 20px 0;
    padding: 5px 15px;
    color: #fbfadf;
    font-size: 14px;
    border-radius: 20px;
    transition: 0.3s;
    background-color: #0e1c17;
}

.single h1 {
    text-align: left;
    margin-top: 0px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: 30px;
}

.single h2 {
    font-size: 30px;
    text-align: left;
}

.primary {
    margin-top: 40px;
}

.primary h2 {
    margin: 40px 0;
    padding: 10px 0;
    border-bottom: 1px solid #fbfadf;
    border-top: 1px solid #fbfadf;
}

.primary h3,
.primary h4,
.primary h5,
.primary h6 {
    margin: 10px 0;
}

.hacker {
    margin: 10px 0;
    text-align: center;
}

.single .nav-links {
    margin: 60px 0;
    display: grid;
    grid-auto-flow: column;
    grid-template-areas: "right left";
    justify-content: space-between;
    font-style: italic;
}

.nav-previous {
    padding: 5px 10px;
    background-color: #2b1b14;
    transition: .3s;
    grid-area: left;
}

.nav-next {
    padding: 5px 10px;
    background-color: #2b1b14;
    transition: .3s;
    grid-area: right;
}


.nav-previous:hover {
    opacity: .7;
    background-color: #fbfadf;
    color: #2b1b14;
}

.nav-next:hover {
    opacity: .7;
    background-color: #fbfadf;
    color: #2b1b14;
}

.comments {
    padding: 30px;
    background-color: #dcdbb7;
    margin-bottom: 50px;
}

.comments h3 {
    font-size: 25px;
    color: #1b1b1b;
    padding-left: 15px;
}

form {
    color: #1b1b1b;
}

label {
    font-weight: bold;
}

.comment-form-author input {
    border: 1px solid #1b1b1b;
    width: 100%;
    margin-bottom: 10px;
}

textarea {
    resize: none;
    border: 1px solid #1b1b1b;
    width: 100%;
    height: 150px;
    margin-top: 5px;
}

.form-submit {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    color: #dcdbb7;
    background-color: #1b1b1b;
    text-align: right;
    transition: .3s;
}

.form-submit:hover {
    opacity: .7;
    background-color: #dcdbb7;
    color: #1b1b1b;
}

.single .search h3 {
    margin-top: 40px;
    font-size: 25px;
}

.single .search .category {
    border-bottom: 1px solid #fbfadf;
}

.single .search ul {
    margin: 20px 0;
    font-size: 12px;
}

.single .search .archive {
    margin-bottom: 100px;
}

/* ALL Blog------------------------------------------ */

.detail .posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 15px;
    column-gap: 6.319%;
}

.archive-title {
    margin-top: 90px;
    font-size: 40px;
    color: #fbfadf;
}

.detail .posts h3 {
    font-size: 20px;
}

.detail .posts li {
    font-size: 12px;
}

/* category.php-------------------------------------- */

.more .posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    row-gap: 15px;
    column-gap: 6.319%;
}

.division {
    margin-top: 50px;
}

/* page-profile.php-------------------------------------- */

.outline h2 {
    margin-bottom: 80px;
}

.outline {
    margin-bottom: 88px;
}

.myprof p {
    font-size: 15px;
}


/* 404------------------------------- */

.site-404 {
    text-align: center;
    padding: 80px 20px;
    color: #fbfadf;
    background: #1e3b30;
}

.error-404 {
    margin: 120px 0;
}

.error-404 .clock-illustration img {
    max-width: 200px;
    margin-bottom: 30px;
    opacity: 0.85;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-links .btn {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 24px;
    background: #0e1c17;
    color: #fbfadf;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.error-links .btn:hover {
    background: #267a50;
}


/* single.phpいるもの------------------ */

.primary a {
    transition: .3s;
}

.primary a:hover {
    opacity: .8;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /* 太さ */
    text-underline-offset: 4px;
    /* 文字からの距離 */
}

.primary p {
    line-height: 2;
}

address {
    transition: .3s;
}

address p:hover {
    opacity: .8;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /* 太さ */
    text-underline-offset: 4px;
    /* 文字からの距離 */
}

cite {
    font-style: italic;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /* 太さ */
    text-underline-offset: 4px;
    /* 文字からの距離 */
    transition: .3s;
}

cite:hover {
    opacity: .8;
    color: #f7e6a9;
}

abbr {
    font-style: italic;
    color: #f7e6a9;
}

del,
strike {
    text-decoration: line-through;
    color: #fbfadf;
}

em {
    font-weight: bold;
}

strong {
    font-size: 18px;
    font-weight: bold;
}

q {
    font-style: italic;
}

blockquote p::before {
    content: "\201C";
}

blockquote p::after {
    content: "\201D";
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

.primary ul {
    list-style-type: disc;
    /* ・の形（disc, circle, squareなど変更可） */
    margin-left: 1.5em;
    /* 左余白 */
    padding-left: 0.8em;
}

.primary ul ul {
    list-style-type: circle;
    /* ネストしたulは丸 */
    margin-left: 1.5em;
}

.primary ul ul ul {
    list-style-type: square;
    /* さらにネストしたulは四角 */
}

.primary ol {
    list-style-type: decimal;
    /* 1, 2, 3... */
    margin-left: 1.5em;
    padding-left: 0.8em;
}

.primary ol ol {
    list-style-type: decimal;
    margin-left: 1.5em;
}

.primary ol ol ol {
    list-style-type: decimal;
}

.primary .wp-block-list {
    margin: 16px 0;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

figcaption {
    line-height: 1.5;
}

.primary dt {
    margin-top: 15px;
}

.primary dd {
    margin-top: 5px;
}

thead {
    font-weight: bold;
    vertical-align: middle;
}

/* フェードアップのためのものーーーーーーーーーーー */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 遅延を“クラス”で指定（ユーティリティ） */
.du-0 {
    --d: 0s;
}

.du-1 {
    --d: .15s;
}

.du-2 {
    --d: .30s;
}

.du-3 {
    --d: .45s;
}

@media (width >=600px) {

    h2 {
        font-size: 40px;
        padding-left: 65px;
        text-align: left;
    }

    .nav-overlay__search-input {
        max-width: 250px;
        /* ← 好みで 200〜300px に調整 */
    }

    .mainvisual h1 {
        font-size: 50px;
    }

    .clock {
        width: 600px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .unit {
        display: grid;
        grid-template-columns: 3fr 1fr;
    }

    .lead p {
        margin: 50px 200px 0;
    }

    .search {
        display: block;
        background-color: #13251e;
        margin: 0;
    }

    .search .category {
        border-right: none;
    }

    .cat h3 {
        margin-top: 80px;
    }

    section.profile .inner {
        align-items: center;
        gap: 1rem;
    }


    /* single.php-------------------------------- */


    .about_width {
        width: 73.2064%;
        margin-left: auto;
        margin-right: auto;
    }

    .group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 3.949%;
    }

    .textarea {
        height: 200px;
    }

    .primary h2 {
        padding: 20px 0;
    }

    .single .search ul {
        display: grid;
        column-gap: 2.83%;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        font-size: 14px;
    }

    /* ALL Blog------------------ */

    .detail .posts {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .detail .posts li {
        font-size: 14px;
    }

    /* 600px<=900px---------------------------------------- */


    @media screen and (min-width: 600px) and (max-width: 950px) {
        .lead p {
            margin: 50px 200px 0 65px;
        }
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        transition: none;
    }

    .reveal-up,
    .reveal-up.on {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

.single .search {
    background-color: #162e25;
}

body,
a,
button {
    cursor: url("../images/cursor.png") 8 8, auto;
}