@charset "UTF-8";
/*
Theme Name: TANTIVE
Description: TANTIVE オリジナルテーマ
Theme URI: https://tantive-sl.com/
Author: Junichi Takanashi
Author URI: https://tantive-sl.com/
Text Domain: tantive-theme
Version: 1.0.0
Requires at least: 6.7.2
Requires PHP: 7.4.0
Tags: original
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    --tantive-main-color: #fbd8b1;
    --tantive-main-dark-color: #a99075;
    --tantive-nav-background-color: rgba(251,216,177,0.5);
    --tantive-font-color: #4d4236;
    --tantive-body-backgroun-coror: #fef7ef;
    --tantive-container-width-pc: 1200px;
    --tantive-container-width-tablet: 640px;
    --tantive-break-point-tablet: 1280px;
    --tantive-break-point-mobile: 428px;
}

/* リセットCSS ここから*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1.6;
    letter-spacing: 1.2px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
    color: inherit;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}
/* リセットCSS ここまで*/

/* 共通ここから */
.hasAlignCenter {
    text-align: center;
}

.grecaptcha-badge { visibility: hidden; }
/* 共通ここまで */

/* アニメーションここから */
.animFadeInWidthSlide {
    opacity: 0;
    transform: translateY(20px);

    &.visible {
        animation: animFadeInWidthSlide 1s var(--delay) ease-in-out forwards;
    }
}

@keyframes animFadeInWidthSlide {
    from{
        opacity: 0;
        transparent: transformY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animRotateCursor {
	position: relative;

	.wrap {
		position: absolute;
        pointer-events: none;
	}

    .cursor {
        pointer-events: none;
    }
	
	&.cursorIn {
        cursor: none;
        
        a {
            cursor: none;
        }

		.cursor {
			position: relative;
		}

		.center {
			position: absolute;
			width: 10px;
			height: 10px;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			background-color: rgba(0,0,0,.5);
			border-radius: 50%;
		}

		.spinner {
			position: absolute;
			width: 5px;
			height: 5px;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			background-color: rgba(0,0,0,.5);
			border-radius: 50%;
			transform-origin: center center;
			animation: spin 2s linear infinite;
		}
	}
}

@keyframes spin {
  from {
    transform: rotate(0deg) translateX(15px);
  }
  to {
    transform: rotate(360deg) translateX(15px);
  }
}

/* アニメーションここまで */

/* ボタンここから */
.defaultButton--parent {
    width: fit-content;
	text-align: center;
}

.defaultButton--child {
    position: relative;
    display: inline-flex;
    gap: 1em;
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none;
    color: var(--tantive-font-color);
    
    p {    
        line-height: var(--height);
    }

    &:hover {
        .defaultButton--arrow {
            animation: defaultButton 1s infinite;
        }
    }

    svg {
        position: absolute;
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        top: 1px;
        left: 1px;
        z-index: 10;
        pointer-events: none;
    }

    rect.dot {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        stroke-width: 2;
        stroke-dasharray: 1px, 5px;
        stroke: var(--tantive-font-color);
        fill: transparent;
        box-sizing: border-box;
    }

    rect.border {
        stroke-width: 2;
        stroke: var(--tantive-font-color);
        fill: transparent;
        width: 100%;
        height: 100%;
    }

    mask {
        mask-type: alpha;
        circle {
            fill: var(--tantive-font-color);
        }
    }
}

.defaultButton--arrow {
    line-height: var(--height);
    transform-style: preserve-3d;
    animation: defaultButton 3s infinite;

    img {
        height: 1em;
        width: auto;
    }
}

@keyframes defaultButton {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}
/* アニメーションここまで */

/* bodyここから */
body {
    overflow-x: hidden;
    background-color: var(--tantive-body-backgroun-coror);
    color: var(--tantive-font-color);
}
/* bodyここまで */

/* ヘッダーここから */
.headerNav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    align-items: center;
    height: 5em;
    z-index: 1;
    padding-left: 2em;
    padding-right: 2em;
    border-bottom-left-radius: 2.5em;
    transition: background-color 0.5s;

    &.scrolled {
        background-color: var(--tantive-nav-background-color);
        transition: background-color 0.5s;
    }
}

.headerNav--pc {
    display: flex;
    gap: 2em;
}

.headerNav--pc__item {    
    &:hover {
        .headerNav--pc__linkWrap {
            transform: translateY(-50%);
        }

        .headerNav--pc__subPage {
            transform: translateX(-50%) scale(1);
            transition: 0.5s;

            a {
                opacity: 1;
                transition-delay: 0;
                &:not(:last-child) {
                    margin-right: 1em;
                }
            }
        }
    }
}

.headerNav--pc__linkBox {
    height: 3em;
    overflow: hidden;
}

.headerNav--pc__linkWrap {
    display: block;
    color: inherit;
    transition: transform 0.5s;
}

.headerNav--pc__link {
    height: 3em;
    line-height: 3em;
}

.headerNav--pc__linkHover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.headerNav--pc__linkHover--small {
    font-size: 0.75em;
    text-align: center;
}

.headerNav--pc__linkBox-current {
    font-weight: 700;
}

.headerNav--pc__subPage {
    position: absolute;
    height: 3em;
    background: var(--tantive-main-color);
    line-height: 3em;
    padding-left: 1em;
    padding-right: 1em;
    box-shadow: 0 0 10px var(--tantive-main-color);
    transform: translateX(-50%) scaleX(0);
    transition: 0.5s;

    a {
        opacity: 0;
        transition-delay: 0.5s;
    }
}

.headerNav__mobile {
    display: none;
}

@media screen and (max-width: 1280px) {
    .headerNav {
        display: none;
    }

    .headerNav__mobile {
        display: block;

        &.visible {
            .hamburgerMenu__bar {
                &:nth-child(1) {
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%) rotate(45deg);
                }

                &:nth-child(2) {
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%) rotate(-45deg);
                }

                &:nth-child(3) {
                    display: none;
                }
            }

            .headerNav__mobile--modal {
                display: block;
            }

            .mobileModal__upper {
                animation: mobileModalAppear 0.5s ease-in-out forwards;
            }

            .mobileModal__lower {
                animation: mobileModalAppear 0.5s ease-in-out forwards;
            }
        }

        &:not(.visible) {
            .hamburgerMenu {
                &:hover {
                    .hamburgerMenu__bar {
                        width: 25px;
                        height: 9px;
                        background: transparent;
                        border: 2px solid var(--tantive-main-dark-color);
                        border-radius: 50%;
                        top: 50%;

                        &:nth-child(1) {
                            transform: translate(-50%, -50%) rotate(-33deg);
                        }
                        
                        &:nth-child(2) {
                            transform: translate(-50%, -50%) rotate(90deg);
                        }
                        
                        &:nth-child(3) {
                            transform: translate(-50%, -50%) rotate(33deg);

                            &::before {
                                opacity: 1;
                            }
                        }
                    }
                }
            }
        }
    }

    .hamburgerMenu {
        position: fixed;
        top: 1em;
        right: 1em;
        z-index: 1;
        width: 40px;
        height: 40px;
        border: 2px solid var(--tantive-main-dark-color);
        border-radius: 5px;
        box-sizing: border-box;
        cursor: pointer;
        z-index: 100;

    }

    .hamburgerMenu__bar {
        height: 0px;
        border: 1.5px solid var(--tantive-main-dark-color);
        width: 22px;
        display: block;
        position: absolute;
        transition: all 300ms cubic-bezier(.61, .01, .42, 1);
        background: var(--tantive-main-dark-color);
        transform: translateX(-50%);

        &:nth-child(1) {
            top: 25%;
            left: 50%;
        }

        &:nth-child(2) {
            top: 50%;
            left: 50%;
        }

        &:nth-child(3) {
            bottom: 25%;
            left: 50%;

            &::before {
                content: '';
                width: 2px;
                height: 2px;
                opacity: 0;
                border: 2px solid var(--tantive-main-dark-color);
                display: block;
                position: relative;
                top: 0.25px;
                z-index: 100;
                animation: hamburgerBall 1.5s linear infinite;
            }
        }
    }

    @keyframes hamburgerBall {
        0% {
            left: -20%;
            top: 10%;
        }
        10% {
            left: 10%;
            top: -35%;
        }
        25% {
            left: 45%;
            top: -50%;
        }
        40% {
            left: 80%;
            top: -20%;
        }
        50% {
            left: 98%;
            top: 18%;
        }
        60% {
            left: 80%;
            top: 50%;
        }
        75% {
            left: 45%;
            top: 80%;
        }
        90% {
            left: 0%;
            top: 60%;
        }
        100% {
            left: -20%;
            top: 10%;
        }
    }

    .headerNav__mobile--modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 99;
    }

    .mobileModal__upper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        background-color: var(--tantive-main-color);
        transform: translateX(100%);

        img {
            max-width: 88%;
        }
    }

    .mobileModal__lower {
        display: flex;
        height: calc(100vh - 100px);
        transform: translateX(-100%);
        background-color: #ffc482;
    }

    .mobileModal__navLinkList {
        display: flex;
        flex-direction: column;
        margin: auto;
        max-width: 8em;
        font-size: 1.5em;
        text-align: center;
    }

    .mobileModal__navLinkItem {
        padding: 1em 0;

        &:not(:last-child) {
            border-bottom: 2px solid white;
        }
    }

    @keyframes mobileModalAppear {
        to {
            transform: translateX(0);
        }
    }
}
/* ヘッダーここまで */

/* フッターここから */
footer {
    padding-bottom: 0.5em;
    background-color: var(--tantive-main-color);
}

.footerContainer {
    margin-right: auto;
    margin-left: auto;
    padding-top: 3em;
    max-width: var(--tantive-container-width-pc);
}

.footer__icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3em;
}

.footer__nav {
    margin-bottom: 1em;
}

.footer__icons--img {
    width: 50px;
    height: 50px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.footer__inks--ank {
    position: relative;
    padding-bottom: 0.5em;

    &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--tantive-font-color);
        transform: scaleX(0);
        transform-origin: 50% 50%;
        transition: 0.5s;
    }

    &:hover {
        &::before {
            transform: scaleX(1);
        }
    }
}

.footer__copyright {
    font-size: 0.75em;
    text-align: center;
}

@media screen and (max-width: 1280px) {
    .footerContainer {
        max-width: min(var(--tantive-container-width-tablet), 95vw);
    }

    .footer__links {
        flex-direction: column;
        align-items: flex-end;
    }
}
/* フッターここまで */

/* セクションここから */
.section__container {
    max-width: var(--tantive-container-width-pc);
    margin: auto;
    padding-left: 1em;
    padding-right: 1em;
}

section.hasIndicator {
    position: relative;
    overflow: hidden;

    &::before,
    &::after {
        content: "";
        position: absolute;
        display: block;
        background-color: var(--tantive-main-color);
        z-index: -1;
    }

    &::before {
        width: 2px;
        height: 100%;
        top: 0;
        right: var(--slide-right, 100%);
    }

    &::after {
        width: 100%;
        height: 2px;
        bottom: var(--slide-bottom, 100%);
        left: 0;
    }
}

@media screen and (max-width: 1280px) {
    .section__container {
        max-width: min(var(--tantive-container-width-tablet), 95vw);
    }
}
/* セクションここまで */
