@charset "utf-8";
/*
Theme Name: theme-FOURD
Theme URI: http://fourd-net.co.jp
Description: 株式会社フォード HOMEPAGE
Version: 1.0
Author: abeone
Author URI: http://abeone.jp
*/

/* ----------------------------------------------------------------
    #general setting & reset csss
---------------------------------------------------------------- */

:root {
/*========== Colors ==========*/
    --text-color: #000;
    --text-color-white: #fff;
    --text-link_hover: #0768E8;
    --border-color: #d6d6d6;

/*========== Font and typography ==========*/
/*.5rem = 8px | 1rem = 16px */
    --font-size--big: 42px;
    --font-size-large: 18px;
    --font-size-normal: 16px;
    --font-size-small: 12px;
    --font-size-smaller: 8px;


/*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
}

/*
    clearfix
 -------------------------*/
.clearfix:after { content: ""; display: block; clear: both; } 
.clearfix:before { content: ""; display: block; clear: both; } 
.clearfix { display: block; }


* {
    box-sizing: border-box;
    font-family: 'Zen Old Mincho', serif;
    margin: 0;
    padding: 0;
    font-size: var(--font-size-normal);
    line-height: 1.6;
    list-style: none;
}

html, body {
    width: 100%;
    height: 100%;
    color: #000;
}

h1 { font-size: 28pt; }
h2 { font-size: 20pt; }
h3 { font-size: 16pt; }
h4 { font-size: 14pt; }

a:link, a:visited {
    color: #000;
    text-decoration: none;
    transition: .3s;
}
@media (hover: hover) {
    a:hover {
        color: var(--text-link_hover);
        text-decoration: none;
    }
}
img { max-width: 100%; }

hr {
    border: none;
    border-bottom: 1px solid var(--border-color);
    margin: 60px 0 40px 0;
}


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

header {
    width: 960px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.site-logo {
    position: absolute;
    top: 5px;
    left: 25px;
}
    .site-logo img {
        width: 120px;
        z-index: 10;
    }

.global-nav {
    position: absolute;
    top: 18px;
    right: 20px;
}

    .global-nav ul li {
        display: inline-block;
        margin: 0 20px;
        font-weight: bold;
    }


/* ----------------------------------------------------------------
    top-main
---------------------------------------------------------------- */
.top-main {
    width: 100%;
    height: 100vh;
    background-image: url('images/bg-top_main.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 100px;
    position: relative;
}
    .top-main section {
        text-align: center;
        color: #fff;
        background: rgba(0,0,0,0.6);
        padding: 50px 0;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
    }

    .top-main section h1 {
        font-size: 350%;
        text-shadow: 5px 5px 10px rgba(255, 255, 255, 0.4);
        font-family: 'Zen Old Mincho', serif;
        margin-bottom: 20px;
    }
        .top-main section h1 small {
            font-size: 80%;
            text-shadow: 5px 5px 10px rgba(255, 255, 255, 0.4);
            font-family: 'Zen Old Mincho', serif;
            margin-bottom: 10px;
        }
    .top-main section p {
            font-size: 180%;
            text-shadow: 5px 5px 10px rgba(255, 255, 255, 0.4);
            font-family: 'Zen Old Mincho', serif;
        }

/* ----------------------------------------------------------------
    slide
---------------------------------------------------------------- */
.slide-top_main {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

    .slide-top_main img {
        width: 100%;
        height: auto;
    }


/* ----------------------------------------------------------------
    main
---------------------------------------------------------------- */
.title-page {
    position: static;
    margin: 120px auto 50px auto;
    width: 960px;
    height: 180px;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-contents {
    width: 50%;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 5px solid #000;
}

main {
    width: 960px;
    margin: 20px auto;
}


/*  aboutus  */
#aboutus {
    margin-bottom: 100px;
    background-image: url('images/logo-sign.svg');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 25%;
    padding-bottom: 100px;
}
#aboutus p {
    margin-bottom: 20px;
}

/*  company  */

    .company_info dt {
        width: 200px;
        float: left;
        margin-bottom: 40px;
        font-weight: bold;
    }
    .company_info dd {
        width: 760px;
        float: left;
        margin-bottom: 40px;
    }

.hr-company {
    margin: 10px 0 60px 0;
}


/* ----------------------------------------------------------------
    contact
---------------------------------------------------------------- */
.contact {
    position: static;
    padding: 40px 20px;
    background: #fff;
    margin-top: -30px;
}
.contact-thanks {
    width: 100%;
    text-align: center;
}
    .contact-thanks h2 {
        margin-bottom: 20px;
    }
    .contact-thanks p {
        line-height: 32px;
    }
    .contact-thanks hr {
        width: 640px;
        margin:  40px auto;
    }

.font-red {
    font-size: 14pt;
    color: red;
}

.contact-txt {
    width: 640px;
    margin: 0 auto 30px auto;
}
    .contact-txt ul {
        margin-left: 20px;
    }
    .contact-txt ul li {
        font-size: var(--font-size-normal);
        font-weight: bold;
        list-style: circle;
    }


form {
    width: 640px;
    margin: 0 auto;
}

fieldset, input, textarea {
    border: none;
    border-radius: 10px;
}

.form-input {
    margin-bottom: 20px;
}
    .form-input fieldset {
        width: 100%;
        margin-bottom: 40px;
    }
        .form-input fieldset legend {
            font-weight: bold;
            margin-bottom: 15px;
            font-size: var(--font-size-large);
        }
    .form-input input {
        width: 100%;
        padding: 10px 20px;
        border: 1px solid var(--border-color);
    }
    .form-input textarea {
        width: 100%;
        padding: 20px;
        border: 1px solid #ccc;
    }

.form-btn {
    width: 445px;
    margin: 20px auto;
}
    .form-btn input {
        width: 200px;
        background: #fff;
        color: #000;
        display: inline-block;
        margin: 0 10px;
        padding: 10px 20px;
        font-weight: bold;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        transition: 1s;
    }
    .form-btn a,
    .form-btn a:visited {
        color: #000;
    }
    @media (hover: hover) {
        .form-btn input:hover {
            cursor: pointer;
            background: #000;
            color: #fff;
        }
    }


.wrap-btn_contact {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    color: #fff;
    background: #000;
}
    .wrap-btn_contact h2 {
        font-size: 240%;
    }
    .wrap-btn_contact img {
        margin: 20px 0 0 0;
    }

.wrap-btn_contact_inner {
    width: 960px;
    margin: 0 auto;
    text-align: center;
}

.bt-contact_form {
    width: 320px;
    border: 1px solid #fff;
    border-radius: 50px;
    margin: 20px auto;
    padding-bottom: 20px;
    display: block;
    transition: 1s;
}
    @media (hover: hover) {
        .bt-contact_form:hover {
            background: #fff;
            color: #000;
            transition: 1s;
        }
    }
    .bt-contact_form a {
        width: 100%;
        height: 100%;
        display: block;
        color: #fff;
        transition: 1s;
    }
    @media (hover: hover) {
        .bt-contact_form a:hover {
            filter: invert(100%);
        }
    }

/* ----------------------------------------------------------------
    privacypolicy
---------------------------------------------------------------- */
.privacypolicy {
    position: static;
    padding: 20px;
    background: #fff;
    margin-top: -30px;
}

.privacypolicy_inner {
    padding: 20px;
}

.privacypolicy_inner h2 {
    margin-bottom: 20px;
}
.privacypolicy_inner h3,
.privacypolicy_inner p {
    margin-bottom: 10px;
}

.privacypolicy_inner dt {
    width: 100px;
    margin-bottom: 3px;
    float: left;
}
.privacypolicy_inner dd {
    margin-bottom: 3px;
}


/* ----------------------------------------------------------------
    footer
---------------------------------------------------------------- */
footer {
    padding: 20px 0;
    text-align: center;
}
.privacy {
    font-size: 10pt;
    margin-bottom: 20px;
}
.copy_right {
    font-size: 8pt;
}


/* ----------------------------------------------------------------
    #pate_top
---------------------------------------------------------------- */
#page_top {
    padding: 10px;
    width: 85px;
    height: 85px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-image: url(images/icon-page_top.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    transition: 1s;
}
@media (hover: hover) {
    #page_top:hover {
        cursor: pointer;
        opacity: 0.8;
        filter: invert(100%);
    }
}

/* ----------------------------------------------------------------
    max-width: 1024px
---------------------------------------------------------------- */
@media screen and (max-width: 1024px) {

main {
    width: 90%;
    margin: 0 auto;
}

.title-page {
    width: 90%;
}
    
/*  aboutus  */
#aboutus {
    width: 95%;
    margin: 0 auto 100px auto;
}

/*  company  */
#company {
    width: 95%;
    margin: 0 auto 100px auto;
}
.company_info dd {
    width: 100%;
}

/*  contact  */
#contact {
    width: 95%;
    margin: 0 auto 100px auto;
}

.wrap-btn_contact_inner {
    width: 100%;
}

}


/* ----------------------------------------------------------------
    max-width: 960px
---------------------------------------------------------------- */
@media screen and (max-width: 960px) {
    
.global-nav {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    color: var(--text-color);
    transform: translateY(-100%);
    transition: all 0.5s;
    width: 100%;
    height: 100vh;
    border: none !important;
    padding: 10px 0;
    margin: 0;
}
    .global-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

.global-nav ul {
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
    .global-nav ul li {
        list-style-type: none;
        margin: 40px auto;
        width: 50%;
        height: 22px;
        display: block;
    }

    .global-nav ul li a {
        font-size: 18pt;
        color: #fff;
    }
        .global-nav ul li a:hover {
            color: var(--text-link_hover);
        }
        .global-nav li a:after {
            display: none;
        }

/*
    navToggle
-------------------------*/

.navToggle {
    display: block;
    position: absolute; 
    right: 50px;
    top: 28px;
    width: 34px;
    height: 35px;
    cursor: pointer;
    z-index: 10;
    text-align: center;
    border: none !important;
}

.navToggle span {
    display: block;
    position: absolute; 
    width: 45px;
    border-bottom: solid 3px #3b3b3b;
    transition: all 0.5s;
    left: 6px;
}
    .navToggle span:nth-child(1) {
        top: 8px;
    }
    .navToggle span:nth-child(2) {
        top: 22px;
    } 
    .navToggle span:nth-child(3) {
        top: 36px;
    }

    .navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        border-bottom: solid 3px #fff;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .navToggle.active span:nth-child(2),
    .navToggle.active span:nth-child(3) {
        top: 18px;
        border-bottom: solid 3px #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }


header {
    width: 100%;
    height: 100px;
    margin: 0;
    border-radius: 0;
    position: relative;
    top: 0;
}

.site-logo {
    top: 13px;
}
.site-logo img {
    width: 180px;
}

.title-page {
    margin: 20px auto 50px auto;
}

}


/* ----------------------------------------------------------------
    max-width: 820px
---------------------------------------------------------------- */
@media screen and (max-width: 820px) {
    .top-main section h1 {
        font-size: 300%;
    }
    .top-main section p {
        font-size: 130%;
    }

    #aboutus {
        background-size: 40%;
    }
}


/* ----------------------------------------------------------------
    max-width: 768px
---------------------------------------------------------------- */
@media screen and (max-width: 768px) {

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

.company_info dd {
    width: 100%;
}

form {
    width: 100%;
    margin: 0 auto;
}
    .top-main section h1 {
        font-size: 270%;
    }


}


/* ----------------------------------------------------------------
    max-width: 480px
---------------------------------------------------------------- */
@media screen and (max-width: 480px) {

.navToggle {
    right: 24px;
    top: 13px;
}

.navToggle span {
    width: 26px;
}
    .navToggle span:nth-child(1) {
        top: 8px;
    }
    .navToggle span:nth-child(2) {
        top: 17px;
    } 
    .navToggle span:nth-child(3) {
        top: 26px;
    }


header {
    height: 60px;
}
    .site-logo {
        top: 6px;
        left: 10px;
    }
    .site-logo img {
        width: 120px;
    }

    .top-main section h1 {
        font-size: 180%;
        margin-bottom: 20px;
    }
    .top-main section p {
        font-size: 130%;
    }

.title-page h1 {
    font-size: 20pt;
}

.title-contents {
    width: 100%;
}
.top-main section {
    top: 200px;
}
#aboutus {
    background-size: 55%;
}

.company_info dt {
    width: 100%;
    float: none;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.contact-txt {
    width: 100%;
    margin: 0 auto 30px auto;
}
    .contact-txt ul li {
        font-size: var(--font-size-normal);
    }

.form-btn {
    width: 100%;
    margin: 20px auto;
}
    .form-btn input {
        width: 90%;
        display: block;
        margin: 10px auto;
    }

.privacypolicy_inner dt {
    font-size: 12pt;
    font-weight: bold;
    float: none;
}
.privacypolicy_inner dd {
    margin-bottom: 15px;
}

}