/* ---------------------------------------------------------------------------------------------------- */


/* CSSリセット */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    border-width: 0px;
}

body {
    background-color: #333;
    border: 0;
}


/* リンク設定 */

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


/* "pc"のclassがついたコンテンツを表示 */

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}


/* ---------------------------------------------------------------------------------------------------- */


/* コンテンツの表示処理 JSにより「show」クラスを付与 */

.show .bg {
    opacity: 1;
}

.show .scroll {
    opacity: 1;
    transform: translateY(0);
}

.show .sloganTitle img {
    opacity: 1;
    transform: translateY(0);
}

.show .sloganIntroduction img {
    opacity: 1;
}

.show .generalTitle img {
    opacity: 1;
    will-change: transform;
    transform: translateY(0);
}

.show .generalTitle_noneAnime img {
    opacity: 1;
    transform: translateY(0);
}

.show .generalIntroduction img {
    opacity: 1;
}

.show .profile {
    opacity: 1;
}

.show .contact {
    opacity: 1;
    transform: translateX(0);
}

.show .map {
    opacity: 1;
    transform: translateY(0);
}

.show .footerBg {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------------------------------------------------------------------------------------------- */


/* 各セクションの背景画像 */

.bg::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    -webkit-transform: translate3d(0, 0, -1px);
    transform: translate3d(0, 0, -1px);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.bg {
    opacity: 0;
    z-index: -1;
    /* 背景画像切り替えの「余裕・余韻」の設定 */
    transition: all 0.75s ease 0.5s;
}

.bg._01::before {
    background-image: url("../img/01_star.gif"), url("../img/01.jpg");
    background-position: 25% 25%, top center;
    background-size: 500px, cover;
    z-index: -75;
}

.bg._02::before {
    background-image: url("../img/02.jpg");
    z-index: -75;
}

.bg._03::before {
    background-image: url("../img/03_character.png"), url("../img/03_butterfly.gif"), url("../img/03.jpg");
    background-position: center bottom, calc(50% + 60px) calc(100% - 265px), bottom center;
    background-size: 920px, 280px, cover;
    z-index: -73;
}

.bg._04::before {
    background-image: url("../img/04.jpg");
    z-index: -50;
    background-size: cover;
}

.bg._04-02::before {
    opacity: 0;
    transition: all 1s ease 0.5s;
    background-image: url("../img/04_item.png");
    z-index: -45;
    background-size: cover;
    transform: scale(1);
}

.show .bg._04-02::before {
    opacity: 1;
    transform: scale(1.2);
}

.bg._05::before {
    background-image: url("../img/05.jpg");
    z-index: -45;
    background-size: cover;
}

.bg._06::before {
    background-color: #fff;
    z-index: -50;
}


/* ---------------------------------------------------------------------------------------------------- */


/* コンテンツのエリア設定 */

.warp {
    min-width: 960px;
}


/* 各セクションのエリア設定 */

.one {
    display: flex;
    width: 100%;
    min-height: 100vh;
    margin-bottom: 400px;
}


/* 各セクションのコンテンツ設定 */

.onebox {
    display: block;
    width: 960px;
    margin: 0 auto;
    padding: 20px;
    /* ページ内スクロールの上部余白 */
    padding-top: 80px;
    margin-top: -80px;
}


/* [左上固定]飾りテキスト */

.tag {
    letter-spacing: 1px;
    border: 1px solid #ccc;
    padding: 3px 4px 4px 4px;
    color: #ccc;
    font-size: 12px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5;
}


/* [右下固定]ページTOP */

.pageTop {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: auto;
    background-color: rgba(0, 0, 0, .5);
    padding: 16px 8px;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
}

.pageTop a span {
    margin-top: 8px;
    width: 60px;
    display: block;
}

.pageTop:hover {
    opacity: 0.75;
}


/* ---------------------------------------------------------------------------------------------------- */


/* ローディング設定 */

#loader-bg {
    background-color: #fff;
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 20;
    width: 100%;
    height: 100%;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    text-align: center;
    color: #000;
    z-index: 20;
    display: block;
}


/* ローディングアイコン */

#loader img {
    width: 120px;
}

#loader p {
    display: inline-block;
    margin: 0 -.05em;
    font-size: 20px;
    margin-top: 8px;
    letter-spacing: 2px;
    font-weight: lighter;
    color: #333;
}


/* ロゴアニメーション */

#logo {
    width: 75%;
    z-index: 50;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
}


/* 明転処理 */

#darkening {
    background-color: #fff;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    z-index: 10;
}


/* JSによりhideを付与 */

@keyframes hideop {
    100% {
        opacity: 0;
        display: none;
    }
}

#logo.hide {
    animation: hideop 1s linear 0s;
    animation-fill-mode: forwards;
}

#darkening.hide {
    animation: hideop 1s linear 0s;
    animation-fill-mode: forwards;
}


/* ---------------------------------------------------------------------------------------------------- */


/* コンテンツエリア */

.wrap {
    display: none;
}


/* ---------------------------------------------------------------------------------------------------- */


/* Section.01 */

#hero {
    position: relative;
    margin-bottom: 40vh;
}

.logo {
    width: 75%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
}

header {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* ← これが縦方向中央揃え */
    gap: 24px;
}

header > a:first-of-type:hover {
  text-decoration: underline;
}

.language {
    position: relative;
    width: 48px;
    height: 48px;
    /* ← これを入れると中央揃えが効く */
}

.language img {
    position: absolute;
    top: 0;
    right: 0;
    transition: .5s;
}

.language img:nth-child(2):hover {
    transform: rotate(45deg);
}

/* メニュー */

.menu {
    position: relative;
    top: 62.5%;
    width: 100%;
}

.menu ul {
    text-align: center;
    display: flex;
    justify-content: center;
    list-style: none;
    -webkit-perspective: 500px;
    perspective: 500px;
    overflow: hidden;
    vertical-align: top;
}

.menu ul li {
    letter-spacing: 1px;
    color: #fff;
    font-size: 14px;
    padding: 8px 28px;
    z-index: auto;
    width: 135px;
}

.target {
    margin-bottom: 8px;
    transition: 1s;
    transform: rotateZ(0deg);
}

.target:hover {
    transform: rotateZ(360deg);
    cursor: pointer;
}

.bottomMenu {
    position: absolute;
    left: 0;
    bottom: 80px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0 32px 0 0;
    height: 141px;
        flex-wrap: wrap;   /* ← 追加 */
}

.banner {
    display: block;
    width: 403px;
    transition: all 0.5s ease 0s;
}

.banner:hover {
    opacity: 0.8;
    transition: all 0.5s ease 0s;
}

.sns {
    display: flex;
    gap: 16px;
}

.sns img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.sns img:hover {
    opacity: 0.6;
    transition: all 0.5s ease 0s;
}

/* スクロールアイコン */

.scroll {
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    z-index: 2;
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    padding-top: 48px;
    position: fixed;
    bottom: 28px;
    left: calc(50% - 30px);
    cursor: default;
}

.scroll span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 22px;
    height: 40px;
    margin-left: -11px;
    border: 1px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}

.scroll span::before {
    position: absolute;
    top: 6px;
    left: 50%;
    content: '';
    width: 4px;
    height: 4px;
    margin-left: -2px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        -webkit-transform: translate(0, 20px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sdb {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


/* ---------------------------------------------------------------------------------------------------- */


/* Section.02 */

#slogan {
    min-height: calc(100vh - (100vh / 3));
}

.sloganTitle img {
    width: auto;
    opacity: 0;
    transition: all 0.5s ease 0s;
    transform: translateY(128px);
    margin: 0 atuo;
    margin-bottom: 40px;
}

.sloganIntroduction {
    text-align: center;
}

.sloganIntroduction img {
    width: auto;
    padding-bottom: 32px;
    opacity: 0;
    transition: all 1s ease 0s;
    margin: 0 auto;
}


/* ---------------------------------------------------------------------------------------------------- */


/* Section.03.04.05共通CSS */

.generalTitle img {
    width: auto;
    margin-bottom: 40px;
    opacity: 0;
    transition: all 0.5s ease 0s;
    transform: translateY(128px);
}

.generalTitle_noneAnime img {
    width: auto;
    margin-bottom: 40px;
    opacity: 0;
    transition: all 0.5s ease 0s;
}

.generalIntroduction img {
    width: auto;
    text-align: right;
    line-height: 2rem;
    opacity: 0;
    transition: all 1s ease 0s;
    text-align: center;
}

.generalIntroduction>p {
    padding-bottom: 32px;
}


/* 2カラムレイアウト用 */

.left {
    float: left;
}

.item_01 {
    opacity: 0;
    transition: all 1s ease 0s;
    transform: translateY(128px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}


/* ---------------------------------------------------------------------------------------------------- */


/* Section.06 */


/* layout */

.layout_2column {
    display: flex;
}

.layout_2column-item {
    position: relative;
    width: calc(99% / 2);
}

.layout_2column-item:nth-child(2n) {
    margin-top: 60px;
}


/* contents */

.oneCompany {
    min-height: auto;
    margin-bottom: 0;
}

.profile {
    color: #009999;
    border: 1px solid #009999;
    background-color: transparent;
    text-align: center;
    font-size: 14px;
    padding: 5px 128px 6px 128px;
    transition: .4s;
    position: relative;
    top: 245px;
    left: 0;
    cursor: pointer;
    opacity: 0;
    transition: all 1s ease 0s;
    text-align: center;
}

.profile:hover {
    color: #fff;
    background-color: #009999;
}


/* modal */

.c-modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.c-modal_bg {
    background: rgba(0, 0, 0, 0.6);
    height: 100vh;
    width: 100%;
}

.c-modal_content {
    background: #fff;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.c-modal_content._lg {
    width: 904px;
}

.c-modal_content_inner {
    position: relative;
}

.c-modal_content_inner>div {
    width: 100%;
}

.c-modal_content_inner>div>h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #429798;
    font-weight: normal;
    letter-spacing: 2px;
}

.c-modal_content_inner>div>h2>span {
    font-size: 20px;
    color: #666;
    margin-left: 8px;
    letter-spacing: 1px;
}

.c-modal_content_inner>div>h3 {
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: normal;
    padding-bottom: 16px;
    border-bottom: 1px solid #429798;
}

.c-modal_content_inner>div>p {
    line-height: 1.5;
    font-size: 16px;
}

.c-modal_close {
    position: absolute;
    top: 13px;
    right: 10px;
    color: #000;
    padding-left: 4px;
    vertical-align: middle;
    /*加える*/
}

.c-modal_close::before {
    content: url("../img/icon_close.svg");
    padding-right: 8px;
    vertical-align: middle;
    /*加える*/
}

.c-modal_close:hover {
    color: #666;
    transition: .4s;
}

.contact {
    opacity: 0;
    transition: all 2s ease 0s;
    margin: 80px 0 0 0;
    clear: both;
    text-align: center;
}

.contact button {
    font-size: 20px;
    width: 640px;
    padding: 18px 0 19px 0;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    transition: .4s;
    cursor: pointer;
}

.contact button:hover {
    color: #000;
    background-color: #fff;
}


/* GoogleMapを加工し配置 */

.map {
    opacity: 0;
    transition: all 1s ease 0s;
    position: relative;
}

#map {
    position: relative;
    width: 100%;
    padding-top: 200px;
    overflow: hidden;
}

#map iframe {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: calc(100% + 150px + 150px);
    pointer-events: none;
}


/* GoogleMap上のボタン「OPEN MAPS」 */

.btn-border {
    color: #fff;
    background-color: #000;
    display: inline-block;
    text-align: center;
    border: 1px solid #000;
    font-size: 16px;
    padding: 8px 16px;
    transition: .4s;
    position: absolute;
    bottom: 0px;
    right: 0;
    z-index: 20;
}

.btn-border:hover {
    background-color: #fff;
    border-color: #000;
    color: #000;
}

.footerBg {
    margin-top: 200px;
    opacity: 0;
    transition: all 2s ease 0s;
    max-width: 960px;
}

.footerBg .footerBg__photoimage {
    width: 100%;
}


/* ---------------------------------------------------------------------------------------------------- */


/* フッター */

footer {
    clear: both;
    width: 100%;
    color: #fff;
    text-align: center;
    margin-top: -60px;
    padding: 112px 0 20px 0;
    background-color: #333;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    letter-spacing: 2px;
    font-size: 14px;
    color: #ccc;
}

.footerCopy {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

.footerSmall {
    padding: 20px 0 20px 0;
    background-color: rgba(255, 0, 0, 0);
    ;
}





.sns a, .sns img {
  flex-shrink: 0;
}