/* フォント設定 */
@font-face {
    font-family: "Montserrat-Medium";
    src: url("/css/front/font/Montserrat-Medium.woff2") format("woff2");
    unicode-range: U+0041-005A, U+0061-007A;
    /* A-Z, a-z のみ適用 */
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("/css/front/font/Montserrat-Regular.woff2") format("woff2");
    unicode-range: U+0041-005A, U+0061-007A;
    /* A-Z, a-z のみ適用 */
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    font-family: "Montserrat-Regular", "Montserrat", sans-serif;
}

p,
span {
    line-height: 2em;
}


img {
    width: 100%;
}

.background-wrap {
    position: fixed;
    z-index: -1;
}

.background-wrap {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.background-wrap img {
    min-height: 100vh;
    min-width: 100vw;
    object-fit: cover;
    max-width: 100%;
}

.background-wrap:after {
    content: "";
    height: 100vh;
    width: 100vw;
    /* background: rgba(0, 0, 0, 0.3); */
    top: 0;
    left: 0;
    position: absolute;
    z-index: 9;
}

.main-container {
    width: 960px;
    margin: 0 auto;
}

.section {
    /*    height: 60vh;*/
    padding-bottom: 200px;
}

.sect-1 {
    height: 100dvh;
}

.sect-1 h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    text-align: center;
    width: 100%;
}

/* .sect-1-1>*,
.sect-2>*,
.sect-3>*,
.sect-4>* {
    margin-left: 40px;
    margin-right: 40px;
} */

/* .sect-2 h2 {
    color: #fff;
} */

/*.sect-3{
    height: auto;
    padding: 100px;
}*/

@media (max-width: 768px) {
    .main-container {
        width: 100%;
    }

}

.copylight {
    color: #fff;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.15rem;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
    color: white;
    font-weight: 500;
    border-radius: 5px;
    line-height: 1.5em;
    background-color: transparent;
    border: 1px solid #fff;
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
    transition: all 0.5s;
}

label {
    color: #fff;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus {
    border: 2px solid gray;
}

.form-control:focus {
    border: 2px solid gray;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: var(--front_color1);
    background-color: var(--front_color1);
    border-color: var(--front_color1);
}

textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: #d5d5d5;
}

input[type="submit"] {
    width: 100%;
    background: transparent;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.5s;
    font-weight: 700;
    margin: 20px 0;
}

input[type="submit"]:hover {
    background: #fff;
    color: #6A5449;
}

input[type="checkbox"] {
    margin: 0 10px 0 0;
}

.element_wrap.consent_block>label {
    display: flex;
}

.error_list {
    font-size: 0.8em;
    color: #9f3f2e;
}

.error_list li {
    margin: 10px 0;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.3em;
}

h2+p {
    font-size: 0.8em;
}

form {
    margin: 30px 0;
}


.work_wrap {
    position: relative;
    margin-top: 50px;
    width: 50%;
}

.work_wrap span.category {
    position: absolute;
    left: 0;
    padding: 2px 10px;
    background: #dbd5cd;
    color: #fff;
    font-size: 12px;
}

.work_wrap h3 {
    margin-top: 20px;
}

.work_wrap p.description {
    margin-top: 10px;
}

p.small {
    font-size: 0.8em;
}

p.right {
    text-align: right;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width:768px) {
    .work_wrap {
        width: 80%;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

footer {
    margin-top: 200px;
}

footer .instagram a {
    width: 30px;
    text-align: center;
    display: block;
    margin: 40px auto;
}

hr {
    height: 1px;
    background-color: #fff;
    border: none;
}


/* ボタン系ここから */
.btn.btn-primary {
    width: 100%;
    padding: 10px 20px;
    margin: 10px auto;
    position: relative;
    text-decoration: none;
    outline: none;
    color: var(--front_color6);
    background-color: var(--front_color1);
    border: 1px solid var(--front_color1);
    border-radius: unset;
    text-align: center;
    font-weight: bold;
}

.btn.btn-primary,
.btn.btn-primary.arrow {
    /* max-width: 180px; */
    /* height: 50px; */
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
    /* ホバーと解除の両方で適用するためのトランジション */
    transition: color 1s, background-color 1s, border-color 1s;
}

.btn.btn-primary:hover,
.btn.btn-primary.arrow:hover {
    color: var(--front_color1);
    font-weight: bold;
    background-color: var(--front_color6);
}

/* アイコン部分のアニメーション */
.btn.btn-primary.arrow .bi-arrow-right {
    /* 初期状態にトランジションを適用 */
    transition: transform 0.5s;
    margin-left: auto;
}

.btn.btn-primary.arrow:hover .bi-arrow-right {
    transform: translate(5px, 0);
}

.btn.btn-secondary {
    width: 100%;
    padding: 10px 20px;
    margin: 10px auto;
    position: relative;
    text-decoration: none;
    outline: none;
    color: var(--front_color1);
    border: 1px solid var(--front_color1);
    background-color: #fff;
    border-radius: unset;
    text-align: center;
    transition: color 1s, background-color 1s, border-color 1s;
}

.btn.btn-secondary:hover {
    color: var(--front_color5);
    background-color: var(--front_color1);
}

.btn.btn-tertiary {
    width: 100%;
    padding: 20px 20px;
    margin: 10px auto;
    position: relative;
    text-decoration: none;
    outline: none;
    color: #fff;
    border: #fff;
    background-color: var(--front_color2);
    border-radius: unset;
    text-align: center;
    transition: color 1s, background-color 1s, border-color 1s;
}

.btn.btn-tertiary:hover {
    color: var(--front_color2);
    background-color: #fff;
}

/* アンダーライン */
.underline::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    bottom: 5px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.underline:hover::after {
    transform: scale(1, 1);
}

li.contact .underline::after {
    background: var(--front_color1);
}

.work .underline::after {
    width: 100%;
    bottom: -3px;
}

.work span.active {
    border: 1px solid #fff;
}

footer .underline::after {
    width: 60%;
    bottom: -1px;
}

#nece-form-clear {
    color: #fff;
    text-align: center;
}

/* ボタン系ここまで */

/* fsvここから */
@media (max-width:768px) {
    .fsv-content-wrap h1 {
        font-size: 35px;
    }
}

.c-scrolldown {
    width: 1px;
    height: 60px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden;
    bottom: -240px;
}

.c-scrolldown .c-line {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
    background-position: 0 -60px;
    background-size: 100% 200%;
    animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
    0% {
        background-position: 0 -60px;
    }

    75% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

.fsv-content-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
}

.main-container>section:first-child:not(.no-first) {
    height: 100dvh;
    position: relative;
}

/* 施工実績ここから */
.category-wrap li {
    width: 100px;
    text-align: center;
}

.work-img-wrap {
    position: relative;
}

.work-img-wrap>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pintarest .work-img {
    cursor: pointer;
}

@media (max-width:768px) {
    .category-wrap ul:first-child li:first-child {
        width: 100% !important;
    }
}

@media (max-width:768px) {
    .work-img-wrap>img {
        height: 300px;
    }
}

.work-post .btn.btn-primary {
    font-size: 14px;
}

.pintarest {
    display: grid;
    width: fit-content;
    grid-template-columns: repeat(3, auto);
}

@media (max-width:991px) {
    .pintarest {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width:500px) {
    .pintarest {
        grid-template-columns: repeat(1, auto);
    }
}

.bg-design-1 {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category_wrap span.active {
    border: 1px solid #fff;
}

img.thumbnail-preview {
    max-width: 800px;
    display: block;
    margin: auto;
}




.business-card {
    position: relative;
    width: 300px;
    height: auto;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -20%);
}

.business-card .front,
.business-card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* transform: translate(-50%, -50%); */
}

.business-card .front {
    color: #2d1e60;
    background: #ff4f6f;
}

.business-card .front>div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 250px;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.3);
}

.business-card .front>div>div img {
    width: 18px;
    height: 28px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.business-card .front>div p {
    margin-bottom: 0;
    letter-spacing: 0px;
    color: #FFFFFF;
    font-size: 11px;
    text-align: center;
    width: 100%;
    line-height: 15px;
    margin-top: 10px;
}

.business-card_wrap.none .front>div {
    opacity: 0;
    transition: .3s;
}

.business-card .back {
    color: #ff4f6f;
    background: #2d1e60;
    transform: rotateY(-180deg);
}

.flipped .front {
    transform: rotateY(180deg);
}

.flipped .back {
    transform: rotateY(0);
}

.download_wrap {
    position: relative;
    bottom: -700px;
}

.download_wrap a {
    text-align: center;
    margin-bottom: 25px;
}

/* 点滅 */
.blinking {
    -webkit-animation: blink 1.5s ease-in-out infinite alternate;
    -moz-animation: blink 1.5s ease-in-out infinite alternate;
    animation: blink 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.front-pages-detail-business-card section {
    height: 150vh;

}

.front-pages-detail-business-card a {
    color: #fff;
    display: block;
}

main {
    overflow: hidden;
}

/* ナビゲーションここから */
/* ハンバーガーメニューここから */
.navbar .btn-trigger {
    position: relative;
    width: 32px;
    height: 25px;
    cursor: pointer;
    margin-top: 4px;
}

.navbar .btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 4px;
}

.navbar .btn-trigger,
.navbar .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.navbar .btn-trigger span:nth-of-type(1) {
    top: 0;
}

.navbar .btn-trigger span:nth-of-type(2) {
    top: 11px;
}

.navbar .btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

.navbar #btn01.active span:nth-of-type(1) {
    -webkit-transform: translateY(11px) rotate(-45deg);
    transform: translateY(11px) rotate(-45deg);
}

.navbar #btn01.active span:nth-of-type(2) {
    opacity: 0;
}

.navbar #btn01.active span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
}

.navbar .navbar-wrap {
    z-index: 900;
    top: 24px;
    right: 40px;
}

.navbar .navbar-wrap .navbar-toggler {
    opacity: 0.7;
}

.collapse.navbar-collapse {
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 98;
    position: fixed;
    top: 0;
    left: 0;
}

#navbarNav .navbar-nav {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar .collapse.navbar-collapse {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    visibility: hidden !important;
    content-visibility: hidden !important;
}

.navbar .collapse.navbar-collapse.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible !important;
    content-visibility: visible !important;
}

@media (max-width:991px) {
    .navbar .collapse.navbar-collapse {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        visibility: hidden !important;
        content-visibility: hidden !important;
    }

    .navbar .collapse.navbar-collapse.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
        visibility: visible !important;
        content-visibility: visible !important;
    }

    .navbar .navbar-wrap {
        right: 0;
    }
}


/* ハンバーガーメニューここまで */
/* ナビゲーションここまで */

/* ブログ詳細ここから */
.front-blog-detail .container .content-wrap p,
.front-blog-detail .container .content-wrap span {
    font-size: 1em;
}

/* ブログ詳細ここまで */

.c-btn,
.c-bnr,
.c-txt {
    cursor: pointer;
    transition: .6s cubic-bezier(0.45, 0, 0.55, 1);
}

.c-btn.slide {
    color: var(--front_color1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.c-btn.slide::after {
    background: var(--front_color1);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .6s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.c-btn.slide:hover::after {
    transform: scale(1, 1);
}




/* ページ遷移 */

/* body .animation-bg {
  background: #75bec2;
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
} */


.fade .animation-bg {
  background: #75bec2;
  content: "";
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: PageAnime-fade;
  animation-duration: 0.3s;
  animation-delay: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}


.btt .animation-bg {
  animation-name: PageAnime-btt;
}
@keyframes PageAnime-btt {
  0% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
  50% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: top;
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}
