/*
Theme Name: Sixsocks Original
Description: さしすせソックス専用の独立したクラシックテーマ。2026年暫定
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.3
Text Domain: sixsocks-original
*/

:root { --pink: #eb6e8e; --red: #b1271d; --ink: #333; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Meiryo, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 16px; line-height: 2; letter-spacing: 1px; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:hover { color: #b53b60; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #9e2446; outline-offset: 4px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0 0 1.5em; }
iframe, video { max-width: 100%; }
p { margin: 0 0 1.5em; }
p.bold{ font-weight:bold;}
h1, h2, h3, h4, h5, h6 { color: #333; font-weight: 700; line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: 2em; } h2 { font-size: 1.8em; } h3 { font-size: 1.5em; } h4 { font-size: 1.3em; }
ul, ol { padding-left: 1.5em; }
blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 3px solid var(--pink); }
hr { margin: 2em 0; border: 0; border-top: 1px solid #ccc; }
.site-shell { max-width: 1200px; margin: 0 auto; }
.site-header { width: 95%; margin: 40px auto 0; }
.site-branding { padding-left: 1.5%; min-height: 100px; }
.site-logo, .custom-logo { width: 400px; max-width: 100%; height: auto; }
.custom-logo-link { display: inline-block; }
.primary-navigation { margin-top: 10px; margin-left: 5%; min-height: 40px; }
.primary-menu, .footer-menu { padding: 0; margin: 0; list-style: none; }
.primary-menu { display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.primary-menu > li { position: relative; padding-bottom: 13px; }
.primary-menu > li > a { display: block; border-inline: 1px solid var(--red); padding: 0 5px; font-size: 1.2em; line-height: 1.4; font-weight: 700; }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: #b53b60; }
.primary-menu .sub-menu { display: none; position: absolute; z-index: 10; left: 0; top: 100%; min-width: 200px; padding: .5em; margin: -15px 0 0; list-style: none; background: #fff; border: 1px solid #ddd; box-shadow: 0 3px 8px #0001; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.sub-menu a { display: block; padding: .5em; }
.menu-toggle { border: 1px solid #aaa; background: #fff; padding: .7em 1em; font: inherit; color: inherit; cursor: pointer; }
.menu-toggle span { margin-left: .8em; }
[hidden] { display: none !important; }
.site-main { width: 85.5%; margin: 0 auto; padding: 3% 0; min-width: 0; }
.home-hero img { display: block; width: 100%; }
.hero-bottom { display:flex; flex-direction: column; gap: 20px; padding: 20px; max-width:1200px; margin: 0 auto; }
.home-flex { padding-top: 80px; flex: 1; width: 100%; }
.home-facebook{ max-width: 300px; }
.home-feedback {}
.hear { text-align: center; font-size: 1.8em; line-height: 2; padding: 0 .25em; border-radius: 5px; background: linear-gradient(to bottom, #ed7d9a 20%, #fff 50%, #ed7d9a 100%); }
.thanks { width: 90%; margin: 0 auto; }
.thanks p { line-height: 2; }
.daiji { color: var(--red); font-weight: bold; text-decoration: underline; }
.btnskin { width: 200px; max-width: 100%; margin-inline: auto; }
.btn { display: block; border: 1px solid var(--pink); border-radius: 5px; background: linear-gradient(to bottom, #f7b0c2 0%, #f5a8bc 50%, #f188a3 51%, #eb6e8e 100%); color: #fff; text-align: center; font-size: 20px; font-weight: bold; text-shadow: 0 0 3px #0008; }
.btn:hover { background: #b53b60; color: #fff; text-decoration: none; }
.site-footer { width: 95%; margin: 0 auto; padding: 20px 0; }
.back-top { margin: 0 0 1em; text-align: center; }
.back-top a { display: inline-block; padding: 0 15px; font-size: 40px; line-height: 1; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em 1.25em; font-weight: 700; line-height: 1.4; }
.copyright { margin-top: 1.5em; text-align: center; font-weight: 700; font-size: .9em; }
.copyright small { font-size: inherit; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-content a:not(.btn):not(.wp-element-button) { text-decoration: underline; text-underline-offset: .15em; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { padding: .5em; border: 1px solid #ddd; vertical-align: top; }
.entry-content th { text-align: left; }
.entry-content pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: .9em; }
.news-item { padding-block: 1.5em; border-bottom: 1px solid #ddd; }
.news-item h2 { font-size: 1.3em; }
.entry-date { color: #666; font-size: .9em; margin-bottom: .5em; }
.navigation { margin-block: 2em; }
.nav-links { display: flex; gap: 1em; flex-wrap: wrap; justify-content: space-between; }
.page-numbers { padding: .25em .5em; }
.comments-area { margin-top: 3em; }
input, textarea, select, button { font: inherit; letter-spacing: inherit; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), textarea, select { max-width: 100%; padding: .5em; border: 1px solid #aaa; border-radius: 3px; color: var(--ink); background: #f6f6f6; }
textarea { width: 100%; min-height: 10em; }
input[type=submit], .search-submit, .form-submit button { max-width: 100%; padding: .65em 1.5em; border: 1px solid #b53b60; border-radius: 5px; background: #b53b60; color: #fff; cursor: pointer; }
.must{color: tomato;}
.wpcf7-form label { display: inline-block; max-width: 100%; }
.wpcf7-form th {width:150px;}
/*.wpcf7-form-control-wrap { display: block; max-width: 100%; }*/
.wpcf7-not-valid-tip { color: #a80025; }
.wpcf7-response-output { margin-inline: 0 !important; }
/* 旧本文に残る装飾クラスの最小限の互換表示。旧ビルダーの機能は再実装しない。 */
.manual { max-width: 100%; margin-inline: auto; text-align: center; }
.view img, .keitai { border-radius: 15px; }
.btn2 { display: inline-block; padding: .1em 1em; border-radius: 20px; background: #b53b60; color: #fff; font-weight: bold; }
/* 固定ページ本文の既存HTMLに合わせた独自スタイル */
.entry-content .hajimete { width: 100%; margin-inline: auto; }
.hajimete .outer { position: relative; display: grid; min-height: 700px; align-items: center; }
.hajimete .outer img.size-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 15px; filter: blur(5px); }
.hajimete .inner { position: absolute; z-index: 1; width: 100%; text-align: center; font-size: 1em; line-height: 1.5; font-weight: bold; }
.hajimete .inner h3 { color: var(--red); }
.hajimete .inner h3 span { font-size: .8em; }
.hajimete .inner .sss { font-size: 1.2em; }
.hajimete .inner img { max-width: min(300px, 65%); }
.betamess { padding: 40px 0; }
img.size-full{ border-radius: 15px; margin-top: 20px;};
.ekimei { text-align: right; }
.atama h4, .onaka h4 { text-align: center; }
.shopbox { margin: 10px 5%; padding-bottom: 20px; border-bottom: 1px solid #ccc; line-height: 1.5; }
.shopbox dt, .shopbox dd { margin: 0; padding: 5px 1%; }
.shopbox dt, .shopbox .shopname { font-size: 1.2em; font-weight: bold; }
.shopbox .shopname::before { content: "会場名："; }
.shopbox .opentime1::before { content: "時間："; }
.shopbox .adress::before { content: "住所："; }
.shopbox .place::before { content: "場所："; }
.shopbox .item::before { content: "取扱："; }
.shopbox .map { display: inline-block; min-width: 80px; padding: .15em 1em; border-radius: 20px; background: #b53b60; color: white; text-align: center; }
.shopbox .map:empty::after { content: "MAP"; }
.entry-content table.listlist { width: 80%; margin-inline: auto; border-collapse: separate; border-spacing: 0 15px; font-size: 14px; }
.entry-content table.listlist th { width: 35%; padding: 10px; border: 0; border-radius: 5px 0 0 5px; background: var(--pink); color: #fff; vertical-align: middle; }
.entry-content table.listlist td { padding: 10px 20px; border: 0; border-radius: 0 5px 5px 0; background: #f8f8f8; }
.wpcf7-list-item { max-width: 100%; }
.wpcf7-form input[name="c-address"], .wpcf7-form input[name="c-email"] { width: 100%; }
dt.mailf > p { margin: 0; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100000; padding: .6em 1em; background: #fff; color: #333; border: 2px solid #b53b60; }
.news-thumbnail {display: block; width: 150px; max-width: 100%; margin-bottom: 1em;}
.news-thumbnail img { display: block; width: 100%; height: auto;}
.post-wrap{ display:flex; flex-direction: column; gap: 20px; max-width:1200px; margin: 0 auto; }
.post-wrap > div{ flex: 1; width: 100%; }
.post-wrap > div:first-of-type {flex: 1;}
.post-wrap > div:nth-of-type(2) {flex: 4;}
@media (max-width: 960px) {
    .site-header { margin-top: 20px; }
    .site-branding { min-height: 0; padding-left: 0; }
    .primary-navigation { margin: 20px 0 0; }
    .primary-menu { display: block; margin-top: .5em; }
    .primary-menu > li { padding: 0; }
    .primary-menu > li > a { padding: .7em .5em; border: 0; border-bottom: 1px solid #ead5db; font-size: 1em; line-height: 1.6; }
    .primary-menu .sub-menu { display: block; position: static; margin: 0; padding: 0 0 0 1em; border: 0; box-shadow: none; }
    .site-main { width: 90%; padding-top: 30px; }
    .home-flex { padding-top: 30px; }
    .hear { font-size: 1.35em; }
    .thanks { width: 95%; }
    .footer-menu { font-size: .9em; }
}
@media (max-width: 480px) {
    body { font-size: 14px; }
    .site-header { width: 90%; margin-top: 12px; }
    .site-logo, .custom-logo { width: min(400px, 100%); }
    .hear { font-size: 1.1em; padding-block: .4em; }
    .home-facebook{ max-width: 100%; }
    .home-feedback { padding-top: 24px; }
    .thanks { width: 100%; }
    .site-footer { width: 90%; }
    .entry-content th, .entry-content td { padding: .35em; }
    .alignleft, .alignright { float: none; margin: 0 0 1em; }
    .entry-content .hajimete { width: 100%; padding-top: 0; }
    .hajimete .outer { min-height: 600px; }
    .hajimete .inner { font-size: 12px; }
    .entry-content table.listlist { width: 100%; font-size: 12px; }
    .entry-content table.listlist td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 768px) {
    .hero-bottom, .post-wrap {
        flex-direction: row; /* 横並びにする */
        align-items: flex-start; /* 上揃えにする */
    }
}
