/*
Theme Name: Aican Theme
Theme URI: https://github.com/jeffreyvr/aican_theme
Author: Jeffrey van Rossum
Author URI: https://vanrossum.dev
Description: A WordPress theme made with TailPress.
Version: 0.1.6
License: MIT
License URI: https://github.com/jeffreyvr/aican_theme/blob/master/LICENSE
Text Domain: aican_theme
*/
html {
    scroll-behavior: smooth;
}
/* @media (min-height: 32em) {
    html {
        scroll-padding-top: 90px;
    }
} */
/* Scrollbar Width */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
/* Scrollbar Track */
::-webkit-scrollbar-track {
    background: white;
    border-radius: 9999px;
}
/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 9999px;
}
/* Scrollbar Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 217, 217, 0.8);
}

body {
    background-color: #F5F5F5;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    /* or 29px */
    letter-spacing: 0.03em;
    color: #333333;
    word-break: auto-phrase;
}
a {
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    opacity: 0.8;
}
header #header {
    opacity: 0;
    animation: fadeIn 0.75s ease-in 3s forwards;
}
header .custom-logo-link img {
    max-width: 180px;
}
header #primary-menu ul li.btn a {
    position: relative;
    display: inline-block;
    padding: 15px 80px;
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(91.73deg, #C048B8 3.56%, #254D88 97.51%);
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    /* identical to box height, or 22px */
    letter-spacing: 0.05em;
    color: #254D88;
}
header #primary-menu ul li.btn a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #254D88;
    -webkit-mask: url(/wp-content/themes/aican-theme/assets/icon/icon_vector.svg) no-repeat center/contain;
    mask: url(/wp-content/themes/aican-theme/assets/icon/icon_vector.svg) no-repeat center/contain;
}
.container {
    opacity: 0;
    animation: fadeIn 0.75s ease-in 3s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}  
#top_service ul li::marker {
    content: url(/wp-content/themes/aican-theme/assets/icon/icon_tickbox.svg);
}
#top_contact .wpcf7-form {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    /* identical to box height */
    letter-spacing: 0.1em;
    color: #FFFFFF;
}
#top_contact .wpcf7-form .custom-field {
    margin-bottom: 16px;
}
#top_contact .wpcf7-form label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
#top_contact .wpcf7-form span.required {
    display: inline-block;
    background: #D01F00;
    padding: 3px 5px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    /* identical to box height, or 10px */
    letter-spacing: 0.1em;
    color: #FFFFFF;
}
#top_contact .wpcf7-form span.optional {
    display: inline-block;
    background: #A0A0A0;
    padding: 3px 5px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    /* identical to box height, or 10px */
    letter-spacing: 0.1em;
    color: #FFFFFF;
}
#top_contact .wpcf7-form input, #top_contact .wpcf7-form textarea {
    width: 100%;
    background: #FFFFFF;
    padding: 9px 18px;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    /* identical to box height, or 29px */
    letter-spacing: 0.1em;
    color: #333;
}
#top_contact .wpcf7-form textarea {
    height: 124px;
}
#top_contact .wpcf7-form .custom-field-text {
    width: 100%;
    height: 175px;
    overflow: auto;
    background: #FFFFFF;
    padding: 23px 25px;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    /* or 29px */
    letter-spacing: 0.03em;
    color: #333333;
}
#top_contact .wpcf7-form .custom-field-acceptance label {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    display: flex;
    align-items: center;
    text-align: right;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}
#top_contact .wpcf7-form .custom-field-acceptance input {
    width: 16px;
    height: 16px;
} 
#top_contact .wpcf7-form input[type="submit"] {
    display: inline-block;
    width: 235px;
    background: #C89B4A;
    padding: 15px 0;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    /* identical to box height, or 22px */
    letter-spacing: 0.05em;
    color: #FFFFFF;
    text-align: center;
    transition: .3s all;
}
#top_contact .wpcf7-form input[type="submit"]:enabled:hover {
    background: #254D88;
    cursor: pointer;
}
#top_contact .wpcf7-form .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
#top_contact .wpcf7-form .wpcf7-response-output {
    text-align: center;
}
#top_contact .wpcf7-form.sent .wpcf7-response-output {
    white-space: pre-wrap;
}
#top_contact .wpcf7-form.sent .wpcf7-response-output::before {
    content: 'お問い合わせが完了しました！\Aお問い合わせありがとうございます。\A後ほど弊社の担当者からご連絡させていただきます。';
}

.pagination-args .page-numbers {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    border: 1px solid #254D88;
    border-radius: 3px;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    /* or 19px */
    letter-spacing: 0.05em;
    color: #254D88;
    text-align: center;
    align-content: center;
}
.pagination-args .page-numbers.current {
    background-color: #254D88;
    color: #fff;
}
.pagination-args .page-numbers.next {
    width: 10px;
    height: 16px;
    background: url(/wp-content/themes/aican-theme/assets/icon/icon_arrow_right.svg) no-repeat center/contain;
    border: none;
    font-size: 0;
}
.pagination-args .page-numbers.prev {
    width: 10px;
    height: 16px;
    background: url(/wp-content/themes/aican-theme/assets/icon/icon_arrow_left.svg) no-repeat center/contain;
    border: none;
    font-size: 0;
}
.the-wp-content {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    /* or 29px */
    letter-spacing: 0.03em;
    color: #333333;
}
.the-wp-content h1, .the-wp-content h2, .the-wp-content h3 {
    padding-left: 10px;
    border-left: 5px solid #254D88;
}
.the-wp-content h1 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 160%;
    /* or 38px */
    letter-spacing: 0.03em;
    color: #254D88;
}
.the-wp-content h2 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 160%;
    /* or 38px */
    letter-spacing: 0.03em;
    color: #254D88;
}
.the-wp-content h3 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 160%;
    /* or 38px */
    letter-spacing: 0.03em;
    color: #254D88;
}
.the-wp-content h4 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    /* identical to box height, or 32px */
    letter-spacing: 0.03em;
    color: #254D88;
}
.the-wp-content h5 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    /* identical to box height, or 32px */
    letter-spacing: 0.03em;
    color: #254D88;
}
.the-wp-content h6 {
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    /* identical to box height, or 32px */
    letter-spacing: 0.03em;
    color: #254D88;
}
@media screen and (max-width: 599px) {
    #top_contact .wpcf7-form {
        font-size: 16px;
    }
    #top_contact .wpcf7-form .custom-field-text {
        padding: 12px;
        font-size: 14px;
    }
    #top_contact .wpcf7-form input, #top_contact .wpcf7-form textarea {
        font-size: 14px;
    }
    #top_contact .wpcf7-form input[type="submit"] {
        font-size: 16px;
    }
}

#content {
    visibility: hidden;
    animation: 0s ease 1.5s 1 normal forwards running pic;
}
@keyframes pic {
    to {
        visibility: visible;
    }
}
#top_overlay {
    width: 100%;
    height: 100%;
    background-color: #232323;
    position: fixed;
    top: 0;
    transform: scale(0);
    /* transform-origin: 0% 100%; */
    animation: 3s ease 0s 1 normal none running overlay;
}
@keyframes overlay {
    0% {
        transform: scaleY(0);
        transform-origin: 0% 100%;
    }
    50% {
        transform: scaleY(1);
        transform-origin: 0% 100%;
    }
    51% {
        transform: scaleY(1);
        transform-origin: 0% 0%;
    }
    100% {
        transform: scaleY(0);
        transform-origin: 0% 0%;
    }
}
  