html {
    font-size: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #fff;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    letter-spacing: .02em;
    color: #fff;
}

h1 {
    font-size: 7.2rem;
}

h2 {
    font-size: 3.9rem;
}

h3 {
    font-size: 3.4rem;
}

h4 {
    font-size: 2.9rem;
}

h5 {
    font-size: 2.3rem;
}

h6 {
    font-size: 1.9rem;
}

p {
    font-size: 1.8rem;
    line-height: 1.7em;
}

a,
a:hover,
a:focus {
    cursor: pointer;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    text-decoration: none;
    color: #fff;
}

button {
    border: 2px solid #fff;
    background: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: #fff !important;
    outline: none !important;
    background: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media (max-width:600px) {
    html {
        font-size: 8px;
    }
}

@media (max-width:500px) {
    html {
        font-size: 7px;
    }
}

/**Preloader***************************************************************/

.preloader {
    position: fixed;
    z-index: 100000;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: #fff;
}

.preloader.hide-preloader {
    width: 0;
    -webkit-transition: .7s ease .3s;
    -o-transition: .7s ease .3s;
    transition: .7s ease .3s;
}

.preloader .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    -webkit-animation: spinner-pulse .6s infinite ease-in-out;
    animation: spinner-pulse .6s infinite ease-in-out;
    text-align: center;
    opacity: 1;
    border-radius: 100%;
    background-color: #111;
}

.preloader.hide-preloader .spinner {
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    opacity: 0;
}

@-webkit-keyframes spinner-pulse {
    0% {
        -webkit-transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes spinner-pulse {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);

        opacity: 0;
    }
}

/**Image Container****************************************************************/

.image-container {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container .background-img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    transition: opacity 1s ease;
    background: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 30%;
}

/**Content Area****************************************************************/

.content-area {
    position: relative;
    left: 0;
    width: 100%;
}

.content-area .content-area-inner {
    position: relative;
    width: 100%;
    padding: 0 20px;
    overflow-x: hidden;
}

.content-area .content-area-inner section {
    max-width: 700px;
    margin: 0 auto 20vh auto;
}

.content-area .content-area-inner section:last-child {
    margin-bottom: 10vh;
}

.content-area .content-area-inner section h3.headline {
    margin-bottom: 1.4em;
}

/**Intro****************************************************************/
#intro {
    position: relative;
    height: 100vh;
    margin-bottom: 0;
    text-align: center;
}

#intro .container-mid {
    position: absolute;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#intro .container-mid h1 {
    font-weight: 500;
    margin-bottom: .6em;
}

#intro .container-mid a {
    font-size: 2.5rem;
    line-height: 2.92em;
    position: relative;
    display: inline-block;
    overflow: hidden;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    letter-spacing: .04em;
    border-radius: 100px;
}

#intro .container-mid a .circle {
    font-size: 1em;
    line-height: 5.7rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 5.7rem;
    height: 5.7rem;
    margin-left: 1em;
    vertical-align: middle;
    border: 3px solid #fff;
    border-radius: 100%;
}

#intro .container-mid a .circle i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

#intro .container-mid a .circle i:first-child {
    top: -50%;
}

#intro .container-mid a:hover .circle i:first-child {
    top: 50%;
    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
}

#intro .container-mid a .circle i:last-child {
    top: 50%;
}

#intro .container-mid a:hover .circle i:last-child {
    top: 150%;
    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
}

#intro .animation-container {
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
}

#intro .animation-container.animation-fade {
    opacity: 0;
}

#intro .animation-container.animation-fade.run-animation {
    opacity: 1;
}

#intro .animation-container.animation-fade-up {
    -webkit-transform: translateY(10vh);
    -ms-transform: translateY(10vh);
    transform: translateY(10vh);
    opacity: 0;
}

#intro .animation-container.animation-fade-up.run-animation {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#intro .animation-container.animation-fade-down {
    -webkit-transform: translateY(-10vh);
    -ms-transform: translateY(-10vh);
    transform: translateY(-10vh);
    opacity: 0;
}

#intro .animation-container.animation-fade-down.run-animation {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#intro .animation-container.animation-fade-left {
    -webkit-transform: translateX(10vh);
    -ms-transform: translateX(10vh);
    transform: translateX(10vh);
    opacity: 0;
}

#intro .animation-container.animation-fade-left.run-animation {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

#intro .animation-container.animation-fade-right {
    -webkit-transform: translateX(-10vh);
    -ms-transform: translateX(-10vh);
    transform: translateX(-10vh);
    opacity: 0;
}

#intro .animation-container.animation-fade-right.run-animation {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

/**About****************************************************************/

#about p {
    margin-bottom: 2.2em;
}

#about p:last-child {
    margin-bottom: 0;
}

#about .profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

#about .scroll-animated {
    margin-top: 50px;
}

#about .profile-career {
    font-weight: bold;
}


/** 7. Content Area --> Service
*******************************************************************/

#service .services-list {
    margin-bottom: 0;
    padding: 0;

    list-style: none;
}

#service .services-list li {
    display: block;
}

#service .services-list li button {
    font-size: 2.4rem;
    font-size: 2rem;
    font-weight: 300;
    line-height: 3.4em;

    position: relative;

    display: block;

    width: 100%;
    margin-bottom: 1rem;
    padding: 0;

    text-align: left;

    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
}

#service .services-list li button:after {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 1.7rem;

    position: absolute;
    top: 50%;
    right: 0;

    content: '\f078';
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    color: #fff;
}

#service .services-list li .well {
    min-height: 20px;
    margin-bottom: 0;
    padding: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;

    -webkit-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;

    border: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    -webkit-box-shadow: none;
    box-shadow: none;
}

#service .well span {
    font-weight: bold;
}


/* ==============================================================
   WORKS – 制作実績カード
   ============================================================== */

.sec-title {
    /* 既存の見出しに合わせて再利用できるなら省略可 */
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.work-card {
    background: #fff;
    height: auto;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}

.work-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.work-meta {
    padding: 20px;
    flex: 0 0 auto;
}

.work-title {
    margin: 0 0 .6rem;
    color: rgb(37, 168, 37);
    font-size: 16px;
}

/* 「もっと見る」ボタン */
.works-more {
    margin: 48px auto 0;
    display: block;
    max-width: 240px;
    text-align: center;
}

@media (max-width: 768px) {
    .work-card img {
        height: 150px;
    }

    .work-title {
        font-size: 1.1rem;
    }
}


/** 9. Content Area --> Contact
*******************************************************************/

#contact #contact-form {
    position: relative;
}

#contact #contact-form .fhp-input {
    display: none;

    pointer-events: none;

    opacity: 0;
}

#contact #contact-form input,
#contact #contact-form textarea,
#contact #contact-form button {
    font-size: 2rem;

    margin-bottom: 3.4vh;

    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;

    color: #fff;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    outline: none !important;
    background: none;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

#contact #contact-form.success input,
#contact #contact-form.success textarea,
#contact #contact-form.success button {
    border: none;
}

#contact #contact-form.success input,
#contact #contact-form.success textarea,
#contact #contact-form.success button {
    line-height: 0;

    height: 0;
    margin: 0;
    padding: 0;

    opacity: 0;
}

#contact #contact-form input::-webkit-input-placeholder,
#contact #contact-form textarea::-webkit-input-placeholder {
    color: #fff;
}

#contact #contact-form input:-ms-input-placeholder,
#contact #contact-form textarea:-ms-input-placeholder {
    color: #fff;
}

#contact #contact-form input::-ms-input-placeholder,
#contact #contact-form textarea::-ms-input-placeholder {
    color: #fff;
}

#contact #contact-form input::placeholder,
#contact #contact-form textarea::placeholder {
    color: #fff;
}

#contact #contact-form input.error,
#contact #contact-form textarea.error {
    border-color: red;
}

#contact #contact-form input {
    line-height: 3.2em;

    height: 3.4em;
    padding: 0;
}

#contact #contact-form textarea {
    line-height: 1.7em;

    min-width: 100%;
    max-width: 100%;
    height: 8em;
    margin-bottom: 4.4rem;
    padding: 0;
    padding-top: 1em;
}

#contact #contact-form button {
    line-height: 3.2em;

    position: relative;

    display: inline-block;
    overflow: hidden;

    width: auto;
    height: 3.2em;
    margin-bottom: 0;
    padding: 0;

    border: none !important;
    background: none !important;
}

#contact #contact-form button .circle {
    font-size: 1em;
    line-height: 5rem;

    position: relative;

    display: inline-block;
    overflow: hidden;

    width: 5rem;
    height: 5rem;
    margin-left: 1em;

    vertical-align: middle;

    border: 2px solid #fff;
    border-radius: 100%;
}

#contact #contact-form button .circle i {
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

#contact #contact-form button .circle i:first-child {
    -webkit-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
}

#contact #contact-form button:hover .circle i:first-child {
    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

#contact #contact-form button .circle i:last-child {
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

#contact #contact-form button:hover .circle i:last-child {
    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
    -webkit-transform: translate(100%, -50%);
    -ms-transform: translate(100%, -50%);
    transform: translate(100%, -50%);
}


#contact #contact-form .success-message {
    font-size: 2rem;
    line-height: 0;

    position: relative;
    bottom: 0;
    left: 0;

    height: 0;
    margin-top: -1.6em;
    padding: 0 2em;

    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    pointer-events: none;

    opacity: 0;
    color: #fff;
    border: 2px solid limegreen;
    border-radius: 0;
    background: none;
}

#contact #contact-form.success .success-message {
    line-height: 6em;

    height: 6em;

    pointer-events: all;

    opacity: 1;
}

#contact #contact-form .success-message i {
    font-size: 2.4rem;

    margin-right: .7em;
}



/** 10. Content Area --> Footer
*******************************************************************/

#footer .social-icons {
    padding: 0;

    list-style: none;
}

#footer .social-icons li {
    display: inline-block;
}

#footer .social-icons li a {
    font-size: 1.5rem;
    line-height: 5rem;
    line-height: calc(5rem - 4px);

    position: relative;

    display: block;
    overflow: hidden;

    width: 5rem;
    height: 5rem;
    margin: 0;
    margin-right: 1em;

    text-align: center;

    color: #fff;
    border: 2px solid #fff;
    border-radius: 100%;
    background: none;
}

#footer .social-icons li a i {
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

#footer .social-icons li a i:first-child {
    top: -50%;
}

#footer .social-icons li a:hover i:first-child {
    top: 50%;

    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
}

#footer .social-icons li a i:last-child {
    top: 50%;
}

#footer .social-icons li a:hover i:last-child {
    top: 150%;

    -webkit-transition: .15s ease;
    -o-transition: .15s ease;
    transition: .15s ease;
}

#footer p {
    margin-top: 2em;
    text-align: center;
}

#footer p a {
    color: #fff;
    border-bottom: 1px solid #eee;
}