/*
Theme Name: MEDIA YOUTH
Theme URI: https://mediayouth.site/
Author: 株式会社メディアユース
Description: 株式会社メディアユース コーポレートサイト用テーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mediayouth
*/
html{scroll-behavior:smooth}
html,body{margin:0;background:#FFFFFF;color:#2B3042;font-family:'Zen Kaku Gothic New',sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#2B3042;text-decoration:none}
a:hover{color:#55648F}
img{max-width:100%}
.my-header{position:fixed;top:0;left:0;right:0;z-index:50}
.admin-bar .my-header{top:32px}
@media (max-width:782px){.admin-bar .my-header{top:46px}}
.my-nav{display:flex}
.my-burger{display:none}
@media (max-width:819px){.my-nav{display:none}.my-burger{display:flex}}
#store,#takuhai{scroll-margin-top:130px}
summary::-webkit-details-marker{display:none}
.my-faq-icon::before{content:'+'}
details[open] .my-faq-icon::before{content:'\2212'}
.my-content{max-width:880px;margin:0 auto;padding:140px clamp(20px,5vw,56px) 100px;line-height:2}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Contact Form 7 */
.my-form-card .wpcf7 form{display:grid;gap:22px}
.my-form-card .wpcf7 p{margin:0}
.my-form-card .wpcf7 br{display:none}
.my-cf7-field{display:grid;gap:8px;font-size:13px;font-weight:700}
.my-cf7-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.my-req{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:2px;background:#2B3042;color:#fff;font-size:10px;font-weight:700;vertical-align:1px}
.my-cf7-note{font-size:12px;font-weight:400;color:#5C6172}
.my-form-card .wpcf7-form-control-wrap{display:block}
.my-form-card input[type=text],.my-form-card input[type=email],.my-form-card input[type=tel],.my-form-card select,.my-form-card textarea{font:inherit;font-weight:400;font-size:16px;padding:14px;border:1px solid #E3E5EB;border-radius:8px;background:#F4F5F8;color:#2B3042;width:100%;box-sizing:border-box}
.my-form-card textarea{min-height:160px;resize:vertical}
.my-form-card input:focus,.my-form-card select:focus,.my-form-card textarea:focus{outline:2px solid #55648F;outline-offset:1px;background:#fff}
.my-form-card input[type=file]{font-size:13px;font-weight:400}
.my-form-card .wpcf7-acceptance .wpcf7-list-item{margin:0}
.my-form-card .wpcf7-acceptance label{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:400;cursor:pointer}
.my-form-card .wpcf7-acceptance input{width:18px;height:18px;accent-color:#55648F}
.my-form-card .wpcf7-acceptance a{text-decoration:underline}
.my-form-card .wpcf7-submit{justify-self:start;background:#2B3042;color:#fff;border:none;padding:18px 40px;border-radius:999px;font:inherit;font-weight:700;font-size:15px;cursor:pointer;transition:opacity .2s}
.my-form-card .wpcf7-submit:hover{opacity:.85}
.my-form-card .wpcf7-submit:disabled{opacity:.4;cursor:not-allowed}
.my-form-card .wpcf7-spinner{margin:0 0 0 12px}
.my-form-card .wpcf7-not-valid-tip{font-size:12px;font-weight:400;color:#C0392B;margin-top:6px}
.my-form-card .wpcf7 form .wpcf7-response-output{margin:0;padding:14px 18px;border-radius:4px;font-size:14px}
.my-form-card .wpcf7 form.sent .wpcf7-response-output{border-color:#2B3042;background:#2B3042;color:#fff}
