/* style.css — PC専用（min-width: 1025px） */


/* ── body / コンテナ ────────────────────────────────────── */

body {
    font-size: 14px;
    height: auto;
    margin: 0 auto;
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0 50px;
    width: 960px;
}

.container {
    margin: 10px auto;
    width: auto;
}

html body #main[data-astro-cid-7atbypev].container { padding: 0; }

main#main.container,
div#main.container { margin-top: 0; }


/* ── フロントページ（PC専用設定） ───────────────────────── */

/* 1. ホームのみFlexboxを適用し、画面全体の高さを確保 */
body.home {
    background: #fff;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
    width: 960px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* 2. ホームのメインコンテンツを垂直中央寄せに */
.home #main.container {
    box-sizing: border-box;
    padding: 0;
    flex: 1;
    display: flex;
    align-items: center; /* 垂直方向中央寄せ */
    width: 100%;
    /* 固定フッター(25px+α)を考慮し、視覚的な中心を出すための底上げ */
    padding-bottom: 75px; 
}

/* 3. 中身の横並びを維持 */
.home .front-content-wrapper {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 0; /* padding: 380px 0 を削除し、Flexboxに中央寄せを任せる */
    width: 100%;
}

.home .mogami {
    display: block;
    height: auto;
    max-width: 300px;
}

.home .language-selector {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    /* padding-right: 50px; */
}

html body.home #footer.container {
    align-items: center;
    bottom: 25px;
    box-sizing: border-box;
    display: flex;
    left: 50%;
    margin: 0;
    padding: 0;
    position: fixed;
    transform: translateX(-50%);
    width: 960px;
    z-index: 9999;
}

.home .col-center { justify-content: center; }

.home .col-right {
    box-sizing: border-box;
    justify-content: flex-end;
    padding-right: 50px;
}

html body.home .col-right a.twitter {
    color: #515151;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
    text-decoration: underline;
    white-space: nowrap;
}

.home .col-right a.twitter:hover { color: rgb(255, 170, 170); }


/* ── header（PC） ───────────────────────────────────────── */

.front-content {
    background: white;
    height: auto;
    margin: 0 auto;
    padding: 5px 50px;
}

p.title {
    color: #515151;
    font-family: 'Dosis', sans-serif;
    font-size: 27px;
    font-weight: bold;
    letter-spacing: 4px;
    word-spacing: 2px;
}

p.title a:hover,
a:focus { color: #515151; }

p.language {
    color: #515151;
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 6px;
    margin-top: 2.5px;
    text-align: right;
}

ul.language {
    color: #515151;
    display: flex;
    float: right;
    margin-top: 2.5px;
    text-align: right;
}

h3 {
    color: #515151;
    font-family: 'Dosis', sans-serif;
    font-size: 27px;
    font-weight: bold;
    letter-spacing: 4px;
}

h5 { font-size: 15px; }

.g_translation {
    background: white;
    color: #515151;
    display: inline-block;
    float: right;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
    margin: 0;
    padding: 55px 50px 45px 0;
    text-decoration: none;
    word-spacing: 5px;
}

.clearText {
    display: none;
    margin: 0;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.drawer-menu {
    display: block;
    font-family: 'Dosis', sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    text-decoration: none;
    word-spacing: 5px;
}

.inline-block {
    background: white;
    display: inline-block;
}

h1.title {
    background-size: contain;
    display: block;
}

div.title2 {
    background-size: contain;
    display: block;
    padding: 50px 0 50px 50px;
}


/* ── posts（PC） ────────────────────────────────────────── */

#posts { background: white; width: 100%; }

.post { margin-bottom: 0; }

.post-header {
    background: white;
    border-left: solid 4px #3D3937;
    display: block;
    float: right;
    height: 40px;
    padding: 0 54px 20px 7px;
    width: 650px;
}

a.taxonomy.category { text-decoration: underline; }

.post-content {
    border-left: solid 4px #3D3937;
    display: block;
    float: right;
    height: auto;
    margin: 0 42px 0 5px;
    overflow: hidden;
    padding: 0 4px 0 15px;
    text-align: left;
    width: 650px;
}

html body .sketchfab-embed-wrapper { margin: 0 0 30px 0; }

html body div.p3din {
    height: 500px;
    margin: 0 0 30px 0;
}


/* ── 写真・figure（PC） ─────────────────────────────────── */

html body figure { margin: 0 auto; }

html body figure.aligncenter,
html body figure.link01 { background: rgb(236, 236, 236); }

html body .thumbnail {
    background: rgb(236, 236, 236);
    height: 200px;
    max-width: initial;
    width: 200px;
}

html body .thumbnail2 {
    height: 200px;
    max-width: initial;
    width: 200px;
}

html body .thumbnail3 {
    height: 300px;
    width: 300px;
}

html body .wp-block-image .alignleft {
    box-shadow: inset 0 0 3px 3px #DDD;
    float: none;
    margin-right: 1em;
}

.wp-block-image .alignright { margin-left: 1em; }

html body .wp-block-columns {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
    padding-bottom: 125px;
}

html body .wp-block-column {
    flex: 1;
    flex-basis: 0;
    min-width: 0;
    width: 200px;
}

@media (max-width: 782px) and (min-width: 600px) {
    html body div.wp-block-column { flex-basis: auto; }
    html body .wp-block-column:nth-child(2n) {
        flex-grow: 0;
        margin: 0 auto;
    }
}

.wp-block-image figcaption { color: #515151; }


/* ── howtomake（PC） ────────────────────────────────────── */

html body .howtomake_box {
    align-items: center;
    background: none;
    display: flex;
    height: 225px;
    justify-content: flex-start;
    margin: 10px 0 20px 0;
    overflow: hidden;
}

html body .howtomake_box .wp-block-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    margin: 0;
    margin-right: 5px;
    padding-left: 10px;
}

html body figure.howtomake2 { margin-right: 5px; }

html body .howtomake_box .wp-block-column figure:has(img[src*="howtoassmble_cut-line_ver1.0.3.png"]),
html body .howtomake_box .wp-block-column figure:has(img[src*="howtoassmble_mountain-fold_ver1.0.3.png"]),
html body .howtomake_box .wp-block-column figure:has(img[src*="howtoassmble_valley-fold_ver1.0.3.png"]),
html body .howtomake_box .wp-block-column figure:has(img[src*="GlueSpotV2_1.png"]),
html body .howtomake_box .wp-block-column figure:has(img[src*="FoldTabV2_1.png"]),
html body .howtomake_box .wp-block-column figure:has(img[src*="PutInV2.png"]),
html body .howtomake_box .wp-block-column img[src*="howtoassmble_cut-line_ver1.0.3.png"],
html body .howtomake_box .wp-block-column img[src*="howtoassmble_mountain-fold_ver1.0.3.png"],
html body .howtomake_box .wp-block-column img[src*="howtoassmble_valley-fold_ver1.0.3.png"],
html body .howtomake_box .wp-block-column img[src*="GlueSpotV2_1.png"],
html body .howtomake_box .wp-block-column img[src*="FoldTabV2_1.png"],
html body .howtomake_box .wp-block-column img[src*="PutInV2.png"] {
    margin-right: 5px;
    max-width: 220px;
}

html body .howtomake_box .wp-block-column p {
    margin-top: 5px;
    padding-bottom: 0;
    padding-top: 0;
}

html body h3.howtomake5,
html body .wp-block-column .howtomake5 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: normal;
    padding-left: 20px;
}


/* ── 文章（PC） ─────────────────────────────────────────── */

.entry-header .entry-title,
h1.entry-title { font-size: 18px; }

.site-content .entry-title { margin: 10px 0; }

.entry-header .entry-title3 {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-block-end: 0em;
    margin-block-start: 0em;
    padding-top: 0;
}

h2.entry-title4 {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-block-end: 0em;
    margin-block-start: 0em;
    padding-top: 0;
}

h2.entry-title2 {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-block-end: 0em;
    margin-block-start: 0em;
}

html body .entry-content p {
    padding-bottom: 10px;
    padding-top: 15px;
}

.entry-content3 p {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1.1em;
    padding-bottom: 10px;
    padding-top: 55px;
}

.column1st .entry-content {
    padding-bottom: 10px;
    padding-top: 20px;
}

.column1st .entry-content2 {
    font-weight: 600;
    padding-bottom: 10px;
    padding-top: 40px;
}

.column2st .entry-content {
    font-family: "Yu Gothic";
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3em;
    padding-bottom: 10px;
    padding-top: 25px;
}

.column2st .entry-content2 {
    font-family: "Yu Gothic";
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3em;
    padding-bottom: 10px;
    padding-top: 40px;
}

.column2st .entry-content3 {
    font-family: "Yu Gothic";
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3em;
    padding-bottom: 10px;
    padding-top: 60px;
}

.column1st {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 13px;
    height: 50px;
    list-style: none;
    margin: 0 0 0 10px;
    padding: 10px 0 65px 0;
    width: 200px;
}

.column2st {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 13px;
    height: 50px;
    list-style: none;
    margin: 0 0 0 10px;
    padding: 10px 0 80px 0;
    width: 200px;
}

.entry-header ul {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 13px;
    height: 50px;
    list-style: none;
    margin: 0;
    padding: 10px 0 20px 0;
    width: 200px;
}

h4 {
    color: #3D3937;
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-block-start: 0;
}

p {
    color: #3D3937;
    margin: 0;
    width: auto;
}

p.profile {
    display: block;
    margin: 0 auto;
}

a.wp-block-button__link {
    font-family: "Helvetica Neue", Arial, 游ゴシック, YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

p.title01 { background: none; padding: 5px 0 20px 0; }
p.title02 { background: none; padding-top: 5px; }
p.title03 { background: none; padding: 5px 0 20px 0; }
p.title04 { background: none; padding: 5px 0 20px 0; }


/* ── コンタクトフォーム（PC） ──────────────────────────── */

.cf7 {
    font-size: 14px;
    margin-bottom: 5px;
}

input#form-name,
input#form-mail,
input#form-title,
input.wpcf7-text {
    font-family: "Yu Gothic";
    font-size: 100%;
    margin-bottom: 15px;
    width: 60%;
}

textarea {
    height: 300px;
    margin-top: 4px;
    width: 60%;
}

html body p.contact01 {
    display: block;
    font-family: "Yu Gothic";
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding-bottom: 0;
    width: 60%;
}

html body p.contact02 {
    display: block;
    font-family: "Yu Gothic";
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding-bottom: 2px;
    width: 60%;
}

html body p.contact03 {
    display: block;
    font-family: "Yu Gothic";
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 2px;
    width: 60%;
}


/* ── サイドバー（PC） ───────────────────────────────────── */

#sidebar {
    background: white;
    display: block;
    float: left;
    font-weight: bold;
    height: auto;
    margin: 0;
    overflow: hidden;
    padding: 0 0 0 40px;
    position: absolute;
    text-align: left;
    width: auto;
}

html body div nav.drawer-menu { transform: translate(0, 0); }

.menu {
    background: white;
    float: left;
    list-style: none;
    overflow: hidden;
    padding: 0;
    width: auto;
}

.menu > li {
    padding: 5px 0;
    width: auto;
}

.menu a {
    border: 0;
    border-left: 4px solid transparent;
    box-sizing: border-box;
    color: #515151;
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    letter-spacing: 2.5px;
    margin: 5px 0;
    padding: 5px 0 5px 5px;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

html body #menu-mymenu li.current-menu-item a,
html body #menu-mymenu li.menu-item a:hover { border-left-color: #3D3937; }


/* ── 検索（PC） ─────────────────────────────────────────── */

.searchbox {
    border: none;
    box-shadow: none;
    display: inline;
    float: right;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    line-height: 1.4em;
    margin-bottom: 0;
    text-align: right;
    text-indent: -9999px;
    width: 2.2em;
}

.searchbox #s {
    background: none;
    border: none;
    line-height: 18px;
    padding: 6px 0;
    text-indent: 0;
    width: 116px;
}

.searchbox div {
    border: #CCC solid 1px;
    border-radius: 14px;
    display: inline-block;
    text-indent: 0;
    width: 164px;
}

.page .custom-nav-inline {
    align-items: center;
    color: #3D3937;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    gap: 10px;
}

.page #pagination-top-links { padding-left: 14px; }
.page .bottom-nav { margin: 20px 0; }

.search-result-item {
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.search-info-bar {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 10px;
}

.page_navi { padding-left: 10px; }

.nav-and-button-row { padding-bottom: 30px; }