/*
Theme Name: art-user
Theme URI: /http://artuser.local/
Author: Ueyama Taketo
Description: 株式会社アート ユーザー保証登録サイトページのテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: art-user
*/

/* =========================================
   全般・トップページ
========================================= */

:root {
    --main-color: #126847;
    --light-color: #F2F5F4;
    --accent-color: #C25447;
}

body {
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
    --font-base: "Noto Sans JP", sans-serif;
    background-color: #fff;
}

html,
body {
    overflow-x: hidden;
}

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

main.main {
    min-height: calc(100vh - 252px);
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 50px 20px 30px 20px;
    box-sizing: border-box;
}


body {
    font-size: 14px;
    margin: 0;
}


h1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

h4 {
    font-size: 16px;
    font-weight: 600;
}

h5,
h6 {
    font-size: 15px;
    font-weight: 600;
}

p,
li,
dt,
dd,
td,
th,
span,
a {
    font-size: 14px;
    line-height: 1.8;
}

small {
    font-size: 12px;
}

strong,
b {
    font-weight: 600;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* ---- tablet (768px〜) ---- */
@media (min-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 17px;
    }

    h5,
    h6 {
        font-size: 16px;
    }

    p,
    li,
    dt,
    dd,
    td,
    th,
    span,
    a {
        font-size: 15px;
    }

    small {
        font-size: 13px;
    }
}

/* ---- pc (1200px〜) ---- */
@media (min-width: 1200px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    h5,
    h6 {
        font-size: 17px;
    }

    p,
    li,
    dt,
    dd,
    td,
    th,
    span,
    a {
        font-size: 16px;
    }

    small {
        font-size: 14px;
    }
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.postcard img {
    width: 100%;
    max-width: 420px;
    margin: 20px auto;
    display: block;
}

.highlight {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.btn-main {
    display: inline-block;
    background-color: #C8503B;
    color: #fff;
    padding: 12px 26px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 24px;
}

.btn-main:hover {
    opacity: 0.85;
}


/* =========================================================
   ヘッダー
========================================================= */

.header {
    width: 100%;
    background-color: var(--main-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.sub-logo {
    height: 35px;
}

.user-icon img {
    width: 40px;
    height: auto;
    display: block;
}

.header-left {
    display: flex;
    align-items: end;
    gap: 12px;
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

@media (min-width: 768px) {
    .header-title {
        font-size: 18px;
    }
}



/* =========================================================
   トップページ
========================================================= */

.fv-section {
    position: relative;
}

.fv {
    width: 100%;
    height: 34vh;
    background-image: url("img/fv.jpg");
    background-size: cover;
    background-position: 40% center;
    position: relative;
    overflow: hidden;
}

.fv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.fv-overlay {
    position: absolute;
    top: 55%;
    right: 5%;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
    z-index: 2;
}

.fv-logo-wrap {
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border-radius: 4px 0 0 4px;
    margin-bottom: 14px;
    display: block;
    position: relative;
    right: 0;
    width: calc(100vw - 20%);
}


.fv-logo {
    width: 250px;
    height: auto;
}

.fv-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    margin: 0;
}

@media (min-width: 820px) {
    .fv {
        background-position: 45% center !important;
    }
}

@media (min-width: 768px) {
    .fv {
        height: 40vh;
        background-position: center center;
    }

    .fv-overlay {
        top: 50%;
        right: 15%;
    }

    .fv-logo-wrap {
        padding: 20px 30px;
    }

    .fv-logo {
        width: 350px;
    }

    .fv-text {
        font-size: 22px;
        line-height: 1.7;
    }
}


.guarantee-section {
    text-align: center;
    padding: 60px 20px;
}

.guarantee-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .guarantee-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
}



.guarantee-flex {
    display: block;
}

.guarantee-left {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (min-width: 1024px) {
    .guarantee-flex {
        display: flex;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }

    .guarantee-left,
    .guarantee-right {
        text-align: left;
    }

    .guarantee-postcard {
        width: 100%;
        max-width: 420px !;
        margin: 0;
    }

    .guarantee-right {
        padding-right: 40px;
    }

    .guarantee-right {
        margin-top: 24px;
    }
}

.guarantee-text,
.guarantee-note {
    text-align: left;
    margin-top: 15px;
}

@media (max-width: 1023px) {

    .guarantee-text,
    .guarantee-note {
        text-align: center;
    }
}

.guarantee-note-emp {
    font-size: 20px;
}

@media (min-width: 768px) {
    .guarantee-note-emp {
        font-size: 24px;
    }
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: 0.25s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.btn-outline {
    border-color: var(--accent-color);
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-area {
    text-align: center;
    margin-top: 24px;
}

.btn-note {
    font-size: 14px;
    margin-top: 12px;
}

.btn-note a {
    color: var(--accent-color);
    text-decoration: underline;
}



.section-bg {
    background-color: var(--light-color);
}

.section-heading {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .section-heading {
        margin-bottom: 30px;
    }
}

.section-heading .en {
    display: block;
    font-weight: 600;
    color: var(--main-color);
}

.section-heading .ja {
    font-weight: 700;
    margin: 0px;
    font-size: 20px;
}

@media (min-width: 768px) {
    .section-heading .ja {
        font-size: 24px;
    }
}

.qa-item {
    margin-bottom: 25px;
}

.qa-q {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 18px;
}

.qa-a {
    margin-bottom: 0;
    margin-top: 5px;
}

img.guarantee-postcard {
    width: 100%;
    max-width: 460px;
    display: block;
}

.contact-section {
    margin-top: 40px;
}

.contact-box {
    background-color: #f4f7f5;
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 20px;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: auto;
}

.contact-main {
    text-align: left;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0px;
}

.contact-tel {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.contact-time {
    font-size: 14px;
    margin: 0;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 20px;
    }

    .contact-tel {
        font-size: 28px;
    }

    .contact-time {
        font-size: 16px;
    }
}


.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
    background-color: var(--main-color);
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 5px 0 !important;
    font-size: 14px;
    color: #fff;
    margin-top: 80px !important;
}

/* =========================================================
   ユーザー登録フォーム
========================================================= */
.subpage-section {
    margin: 0 auto;
    text-align: center;
}

.main-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.lead-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0px;
    text-align: left;
}

.user-register-section {
    width: 100%;
}

.form-heading {
    font-size: 20px;
    margin: 50px 0 15px;
}

.form-label {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
}

.product-row .form-label {
    white-space: nowrap;
}

.req {
    margin-left: 4px;
    color: var(--accent-color);
    font-size: 14px;
}

.form-input {
    width: 100%;
    border: 1px solid #777;
    border-radius: 8px;
    padding: 12px;
    margin-top: 6px;
    font-size: 14px;
    background-color: #fff;
}

.note-text {
    font-size: 13px;
    line-height: 1.7;
}

.product-intro {
    margin: 40px 0 24px;
}

.product-intro-text {
    line-height: 1.7;
    color: #555;
}

.text-emphasis {
    color: #333;
    font-weight: 600;
}

.product-intro-note {
    margin-top: 12px;
    font-size: 14px;
    color: #444;
}

.text-emphasis-note {
    font-weight: 600;
}


.product-label {
    margin-bottom: 8px;
}


.product-row {
    display: flex;
    gap: 10px;
}

.product-row .small .form-input {
    max-width: 60px;
}

.file-block {
    margin: 10px 0px 50px 0px;
}

.file-label {
    display: inline-block;
    padding: 5px 25px;
    border: 1px solid #2F6FB2;
    border-radius: 8px;
    color: #2F6FB2;
    font-weight: 600;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(47, 111, 178, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.file-label:hover {
    background-color: rgba(47, 111, 178, 0.08);
    box-shadow: 0 4px 10px rgba(47, 111, 178, 0.25);
    transform: translateY(-1px);
}

.product-add-btn {
    border: 1px solid #2F6FB2 !important;
    border-radius: 8px !important;
    color: #2F6FB2 !important;
}

.product-add-btn {
    border: 1px solid var(--accent-color) !important;
    border-radius: 8px !important;
    color: var(--accent-color) !important;
}

@media (hover: hover) {
    .file-label:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
        transform: translateY(-1px);
    }
}


.file-input {
    display: none;
}

.file-name {
    margin-left: 10px;
    font-size: 13px;
    color: #777;
}

.agree-area {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-weight: 700;
}

.agree-text {
    margin-top: 50px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.product-groups {
    margin: 40px 0px !important;
}

.product-group-text {
    margin-bottom: 25px;
}

.product-group>.form-label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-group>.form-label .form-input {
    flex: 1;
    margin-top: 0;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-row .form-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-row .form-label .form-input {
    flex: 1;
    margin-top: 0;
}

.product-row .small {
    flex: 0 0 100px;
}

.product-row .small .form-input {
    flex: unset;
    width: 100%;
    text-align: center;
}

.product-row .small {
    flex: 0 0 100px;
    white-space: nowrap;
}

.product-row .small .form-input {
    flex: unset;
    width: 100%;
}

.product-add-area {
    margin: 5px 0 0;
    padding-bottom: 24px;
    border-bottom: 1px dashed #ccc;
}

.file-item {
    display: none;
}

.file-item.is-visible {
    display: block;
}

.extra-products {
    margin: 5px 0 0;
    padding-bottom: 24px;
    border-bottom: 1px dashed #ccc;
}



@media (min-width: 768px) {

    .main-logo {
        width: 350px;
    }

    .main-title {
        font-size: 24px;
    }

    .lead-text {
        font-size: 16px;
        max-width: 800px;
    }

    .product-row {
        gap: 20px;
    }

    .product-row .small .form-input {
        max-width: 60px;
    }
}

.wpcf7 form .wpcf7-submit.btn-primary {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-list-item {
    margin: 0px;
}

.product-group {
    margin-bottom: 20px;
}