@charset "utf-8";

/*===========================================================*/
/*機能編  4-2-1 背景色が伸びる（下から上） */
/*===========================================================*/

#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#splash-logo img {
    width: 50px;
}

.splashbg {
    display: none;
}

body.appear .splashbg {
    display: block;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleY(0);
    background-color: #0c344e;
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnime {
    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);
    }
}

#wrapper {
    opacity: 0;
}

body.appear #wrapper {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*===========================================================*/
/*機能編  5-1-12 クリックしたらナビが下から上に出現 */
/*===========================================================*/

#g-nav {
    position: fixed;
    z-index: 999;
    bottom: -120%;
    width: 100%;
    height: 100vh;
    background: #0c344e;
    transition: all 0.6s;
}

#g-nav.panelactive {
    bottom: 0;
}

#g-nav #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

/*===========================================================*/
/*機能編  5-2-5	MENUが×に */
/*===========================================================*/

.openbtn {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 70px;
    border-left: 2px solid #0c344e; /* 通常時のボーダー色 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.openbtn span {
    display: block;
    transition: all .4s;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
    background: transparent; /* 通常時のバー色を透明にする */
    width: 30px;
    opacity: 0; /* 通常時は見えなくする */
    position: absolute;
}

.openbtn span:nth-of-type(1) {
    top: 25px;
}

.openbtn span:nth-of-type(2) {
    text-transform: uppercase;
    color: #0c344e; /* 通常時のテキスト色 */
    font-size: 0.9rem;
    position: relative;
}

@media screen and (max-width: 550px) {
    .openbtn span:nth-of-type(2) {
        font-size: 0.8rem;
    }
}

.openbtn span:nth-of-type(3) {
    top: 35px;
}

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    background: #ffffff; /* アクティブ時のバー色 */
    opacity: 1; /* アクティブ時に見えるようにする */
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    transform: translateY(6px) rotate(-45deg);
}

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

.openbtn.active span:nth-of-type(3) {
    top: 40px;
    transform: translateY(-6px) rotate(45deg);
}

/*===========================================================*/
/*機能編  5-1-26 追従メニューの現在地ハイライト */
/*===========================================================*/

#header {
    position: fixed;
    height: 100px;
    width: 100%;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

@media screen and (max-width: 990px) {
    #header {
        height: 75px;
    }
}

#pc-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    margin: 0 0 0 5%;
}

#pc-nav li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 0 15px;
    transition: all 0.3s;
}

#pc-nav li.current a,
#pc-nav li a:hover {
    color: #0c344e;
}

/*===========================================================*/
/*機能編  9-1-5 スクロールをするとエリアの高さに合わせて線が伸びる */
/*===========================================================*/

.scrollgress {
    z-index: 99;
}

/*===========================================================*/
/*機能編  7-1-35 下線が伸びて背景に変わる */
/*===========================================================*/

.btnlinestretches3 {
    position: relative;
    color: #333;
    padding: 5px 30px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}

.btnlinestretches3 span {
    position: relative;
    z-index: 2;
}

.btnlinestretches3:hover span {
    color: #fff;
}

.btnlinestretches3::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    background: #0c344e;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.btnlinestretches3:hover::after {
    height: 100%;
}

/*===========================================================*/
/*機能編  8-1-3 ページの指定の高さを超えたら右から出現 */
/*===========================================================*/

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0c344e;
    width: 60px;
    height: 50px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover {
    background: #777;
}

#page-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transform: translateX(100px);
}

#page-top.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#page-top.RightMove {
    animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 1;
        transform: translateX(100px);
    }
}

/*===========================================================*/
/*機能編  9-2-2 任意の場所をクリックすると隠れていた内容が開き、先に開いていた内容が閉じる */
/*===========================================================*/

.accordion-area {
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-area li {
    margin: 10px 0;
}

.accordion-area section {
    border: 1px solid #ccc;
}

.title {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 0.9rem;
    }
}

.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #333;
}

.title::before {
    top: 48%;
    left: 15px;
    transform: rotate(0deg);
}

.title::after {
    top: 48%;
    left: 15px;
    transform: rotate(90deg);
}

.title.close::before {
    transform: rotate(45deg);
}

.title.close::after {
    transform: rotate(-45deg);
}

.box {
    display: none;
    background: #f3f3f3;
    margin: 0 3% 3% 3%;
    padding: 3%;
}

/*===========================================================*/
/*機能編  9-4-1 ニュースティッカー */
/*===========================================================*/

.slider a {
    display: block;
    background: #fff;
    padding: 10px 0;
}

.slider time {
    display: inline-block;
    font-size: 0.8rem;
    margin-right: 10px;
    color: #777;
}

@media screen and (max-width: 768px) {
    .slider {
        padding: 20px;
        background: #fff;
    }

    .slider li {
        border-bottom: 1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom: none;
    }

    .slider time {
        display: block;
        padding-bottom: 10px;
    }
}

/*===========================================================*/
/* 印象編 4 最低限おぼえておきたい動き */
/*===========================================================*/

.bgextend {
    animation-name: bgextendAnimeBase;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

@keyframes bgextendAnimeBase {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bgappear {
    animation-name: bgextendAnimeSecond;
    animation-duration: 1s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes bgextendAnimeSecond {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.bgLRextend::before {
    animation-name: bgLRextendAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0c344e;
}

@keyframes bgLRextendAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }
    50% {
        transform-origin: left;
        transform: scaleX(1);
    }
    50.001% {
        transform-origin: right;
    }
    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flipLeft {
    animation-name: flipLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    perspective-origin: left center;
    opacity: 0;
}

@keyframes flipLeftAnime {
    from {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
        opacity: 0;
    }
    to {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
        opacity: 1;
    }
}

#vision,
.service-area {
    transform: translate3d(0, 0, 0);
}

.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger {
    opacity: 0;
}

/* #top-main {
    width: 100%;
    position: relative;
} */

/* #top-main:before {
    content: '';
    position: fixed;
    top: 10vh;
    left: 5%;
    z-index: -1;
    width: 90%;
    height: 80vh;
    background: url("https://zouuu.sakura.ne.jp/zouuu/img/29682006_m.jpg") no-repeat center;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    #top-main:before {
        background-position: top center;
        background-size: auto 90%;
    }
} */

#container {
    position: relative;
    z-index: 1;
    background: #fff;
}

/* フォーム設定 */
input, button, textarea, select {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font-size: 16px;
}

.form-list input[type='text'],
.form-list input[type='email'],
.form-list textarea {
    width: 100%;
    border: 1px solid #666;
    background: #fff;
    padding: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-list input[type='text'],
input[type='email'] {
    height: 50px;
}

.submit-btn {
    width: 152px;
    margin: 0 auto;
}

input[type='submit'] {
    border: 2px solid #333;
    color: #333;
    text-align: center;
    padding: 5px 20px;
    width: 152px;
    margin: 0 auto;
    transition: all 0.3s;
}

input[type='submit']:hover {
    background: #333;
    color: #fff;
}

.form-list dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 0 20px 0;
}

.form-list dt {
    width: 30%;
}

.form-list dd {
    width: 66%;
}

textarea {
    height: 200px;
}

@media screen and (max-width: 768px) {
    .form-list dt {
        margin: 0 0 10px 0;
    }
    .form-list dt,
    .form-list dd {
        width: 100%;
    }
}

/* フッター設定 */
#footer {
    padding: 100px 0;
    border-top: 1px solid #333;
    text-align: center;
    background: #fff;
    position: relative;
    text-transform: uppercase;
}

.footer-logo {
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 0 50px 0;
    color: #666;
}

small {
    color: #888;
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    display: none;
}

#page-top a {
    color: #fff;
    text-decoration: none;
}

#page-top:hover {
    background: #555;
}


.special-font {
    font-size: 0.8em; /* 全体の文字サイズを小さく */
    color: white; /* 文字色を白に */
}

.special-font .bgappearTrigger span {
    display: inline-block;
}

.special-font .zou {
    font-size: 1.5em; /* "ZOUUU" の文字サイズをさらに大きく */
    font-weight: bold;
    color: white; /* 文字色を白に */
    text-transform: uppercase; /* 文字を大文字に */
}

.special-font .bgappearTrigger {
    font-size: 0.7em; /* 通常の文字サイズをさらに小さく調整 */
}