/*
Theme Name: wp-blank-theme
*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    overflow-x: hidden;
    display: none;
}

.only-pc {
    display: block;
}

.only-sp {
    display: none;
}

.fade-in {
    opacity: 0;
}

.fade-in-to-top {
    transform: translate3d(0, 50px, 0);
    transition: 1.5s;
    opacity: 0;
}

.fade-in-to-top.active {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.fade-in-to-left {
    transform: translate3d(-50px, 0, 0);
    transition: 1s;
    opacity: 0;
}

.fade-in-to-left.active {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.inner {
    position: relative;
    width: 1320px;
    margin: auto;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 20px 0;
}

.header .logo-wrap {
    width: 275px;
}

.header .inner {
    width: 1760px;
    margin: auto;
}

.header .header-nav a {
    position: relative;
    color: #1f2020;
}

.header .header-nav a:after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #1f2020;
    bottom: -4px;
    transform: scale(0, 1);
    transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s; /*変形の時間*/
}

.header .header-nav a:hover:after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
}

main {
    position: relative;
}

/*ハンバーガーメニューボタン*/
.hamburger-btn {
    position: fixed;
    z-index: 3;
    top: 0;
    right: 0;
    width: 61px;
    height: 61px;
    cursor: pointer;
    text-align: center;
    background-color: #586d6a;
}

.hamburger-btn .border {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #bbbbbb;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.hamburger-btn .border:nth-child(1) {
    top: 15px;
}

.hamburger-btn .border:nth-child(2) {
    top: 25px;
}

.hamburger-btn .border:nth-child(3) {
    top: 35px;
}

.hamburger-btn .text {
    position: absolute;
    color: #fff;
    font-size: 10px;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 6px;
}

.hamburger-btn .text-open {
    display: inline-block;
}

.hamburger-btn .text-close {
    display: none;
}

/* スマホメニューを開いてる時のボタン */
.hamburger-btn.active .border {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.hamburger-btn.active .text-open {
    display: none;
}

.hamburger-btn.active .text-close {
    display: inline-block;
}

.hamburger-btn.active .border:nth-child(1) {
    top: 25px;
    left: -20px;
}

.hamburger-btn.active .border:nth-child(2) {
    top: 25px;
    left: 0;
}

.hamburger-btn.active .border:nth-child(3) {
    top: 25px;
    left: 22px;
}

/* メニュー背景*/
nav.global-menu-sp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background-color: #586d6a;
    text-align: center;
    width: 100%;
    transform: translateY(-100%);
    transition: all 0.6s;
    height: 100%;
    padding-top: 61px;
    opacity: 0;
}

nav.global-menu-sp .inner {
    position: relative;
    width: 50%;
    margin: auto;
    height: 100vh;
    border: 2px solid #ebecec;
    border-top: none;
    border-bottom: none;
    padding: 0;
    pointer-events: none;
}

nav.global-menu-sp.active .inner {
    pointer-events: auto;
}

nav.global-menu-sp .inner:before {
    display: none;
    content: '';
    background-color: #ebecec;
    position: absolute;
    top: 0; /* 画面の縦中央に配置 */
    left: -50%; /* 画面の横中央から開始 */
    width: 300%; /* 任意の線の長さ */
    height: 2px; /* 線の太さ */
}

nav.global-menu-sp.active {
    overflow-x: hidden;
    overflow-y: scroll;
}

nav.global-menu-sp.active .inner:before {
    display: block;
}

nav.global-menu-sp ul {
    margin: 0 auto;
    padding: 0;
}

nav.global-menu-sp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: 0.4s all;
    border-bottom: 2px solid #ebecec;
}

nav.global-menu-sp ul li:last-child {
    padding-bottom: 0;
}

nav.global-menu-sp ul li:hover {
    background-color: #ddd;
}

nav.global-menu-sp ul li:hover a {
    color: #586d6a;
}

nav.global-menu-sp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

nav.global-menu-sp .info-wrap {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
}

/* クリックでjQueryで追加・削除 */
nav.global-menu-sp.active {
    opacity: 100;
    display: block;
    transform: translateY(0%);
}

main:before {
    content: '';
    position: absolute;
    background-color: #fff;
    border-right: 2px solid #ebecec;
    border-left: 2px solid #ebecec;
    width: 96%;
    height: 100%;
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
    z-index: -2;
}

#main {
    position: relative;
    top: 80px;
    background-color: #fff;
}

#main .seek-bar {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: 2px;
    background-color: #fff;
    z-index: 5; /* プレースホルダーの下に表示 */
}

#main .seek-bar:before {
    content: '';
    position: absolute;
    background-color: #fff;
    width: 12px;
    height: 12px;
    border-radius: 100px;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

/*動画の再生時間に合わせて動くシークバーの丸*/
#main .seek-bar.active:before {
    animation: loading 17s infinite;
    animation-timing-function: linear;
}

@keyframes loading {
    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

#main:before {
    content: '';
    background-color: #586d6a;
    width: 100%;
    height: 360px;
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 0;
}

#main .inner {
    width: 1760px;
    margin: auto;
}

#main .movie-wrap {
    position: relative;
    overflow: hidden;
}

#main .movie-wrap {
    display: grid;
    width: 95%;
    position: relative;
}

#main .movie-wrap::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* アスペクト比 16:9 */
}

#main .movie-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画が親要素を完全にカバーするように調整 */
    z-index: 5; /* プレースホルダーの下に表示 */
}

#main .movie-wrap .placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease; /* フェードアウトのトランジション */
}

#main .movie-wrap .placeholder.hidden {
    display: block;
    opacity: 0;
}

#main .movie-wrap .title-wrap {
    position: absolute;
    left: 5%;
    bottom: 25%;
    font-size: 64px;
    font-weight: bold;
    line-height: 1.5em;
    color: #fff;
    animation-delay: 5s;
    transform: translate3d(0, 50px, 0);
    transition: 1.5s;
    opacity: 0;
    z-index: 5; /* プレースホルダーの下に表示 */
    text-shadow: 0 0 8px rgb(0, 0, 0, 0.2);
}

#main .movie-wrap .title-wrap.active {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/*スクロールアイコン*/
#scroll-down {
    position: absolute;
    right: 20px;
    bottom: 0;
    display: block;
    padding-top: 79px;
    text-align: center;
}

.arrow-down {
    display: block;
    margin: 0 auto;
    width: 10px;
    height: 16px;
}

.arrow-down:after {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    behavior: url(-ms-transform.htc);
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

#scroll-title {
    display: block;
    color: #fff;
    font-family:
        Helvetica Neue,
        Helvetica,
        Arial;
    font-size: 12px;
    font-weight: bold;
}

#scroll-down::before {
    -webkit-animation: elasticus 2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Safari 4+ */

    -moz-animation: elasticus 2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Fx 5+ */

    -o-animation: elasticus 2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Opera 12+ */

    animation: elasticus 2s cubic-bezier(1, 0, 0, 1) infinite;
    /* IE 10+, Fx 29+ */

    position: absolute;
    top: 0;
    left: -1.1px;
    right: 0;
    margin: auto;
    width: 1px;
    height: 86px;
    background: #fff;
    content: ' ';
}

@-webkit-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@-moz-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@-o-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

/*codepen profile logo*/
#paschka {
    display: block;
    color: white;
    font-family:
        helvetica neue,
        helvetica,
        arial;
    font-size: 32px;
    text-decoration: none;
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: 0px;
    transition: all 0.1s ease;
    background: #000;
    height: 40px;
    line-height: 30px;
    vertical-align: middle;
    width: 40px;
    text-align: center;
    border-radius: 5%;
    bottom: 20px;
    right: 20px;

    &:hover {
        background: #232323;
        transition: all 0.1s ease;
        color: #f0f0f0;
    }
}

.section-area {
    position: relative;
}

#about:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/bg_aboutus_title.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 96px;
    height: 580px;
    right: 2%;
    top: 230px;
}

#about:after {
    content: '';
    position: absolute;
    background-color: #ebecec;
    width: 1760px;
    height: 2px;
    left: 0;
    right: 0;
    top: 200px;
    margin: auto;
}

#company {
    position: relative;
    background-color: #ebecec;
}

#company .info-list {
    display: flex;
    flex-wrap: wrap;
    width: 500px;
    font-size: 18px;
}

#company .info-list dt {
    width: 40%;
    padding-right: 40px;
    text-align: right;
    border-right: 1px solid #707070;
}

#company .info-list dd {
    width: 60%;
    padding-left: 40px;
    margin-bottom: 10px;
}

#company:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/bg_company.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 960px;
    height: 491px;
    right: 0;
    bottom: -90px;
}

#licenses .license-list {
    display: flex;
    flex-wrap: wrap;
    flex-flow: row wrap;
    justify-content: flex-start;
}

#licenses .license-list .license-wrap {
    position: relative;
    width: 16.6%;
    transition-delay: 1s;
}

#licenses .license-list .license-wrap {
    transition-delay: 2s;
}

#licenses .license-list .license-wrap.active {
    transform: translate3d(0, 0, 0);
    animation-delay: calc(0.5s * var(--i)); /* 0.5秒ごとに遅延を増やす */
    opacity: 1; /* アニメーション前は非表示 */
}

/* 各liに変数 --i を設定 */
#licenses .license-list .license-wrap:nth-child(1) {
    --i: 1;
}

#licenses .license-list .license-wrap:nth-child(2) {
    --i: 2;
}

#licenses .license-list .license-wrap:nth-child(3) {
    --i: 3;
}

#licenses .license-list .license-wrap:nth-child(4) {
    --i: 4;
}

#licenses .license-list .license-wrap:nth-child(5) {
    --i: 5;
}

#licenses .license-list .license-wrap:nth-child(6) {
    --i: 6;
}

#licenses .license-list .license-wrap:nth-child(7) {
    --i: 7;
}

#licenses .license-list .license-wrap:nth-child(8) {
    --i: 8;
}

#licenses .license-list .license-wrap:nth-child(9) {
    --i: 9;
}

#licenses .license-list .license-wrap:nth-child(10) {
    --i: 10;
}

#licenses .license-list .license-wrap:nth-child(11) {
    --i: 11;
}

/* アニメーションの定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#licenses .license-list .license-wrap:hover {
    box-shadow: none;
}

#licenses .license-list .license-wrap:after {
    content: '';
    position: absolute;
    background-image: url('/assets/images/icon_zoom.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 70px;
    height: 90px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#licenses .license-list .license-wrap:before {
    content: '';
    position: absolute;
    background-color: #586d6a;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#licenses .license-list .license-wrap:hover::after {
    opacity: 1;
}

#licenses .license-list .license-wrap:hover::before {
    opacity: 0.5;
}

#work {
    border-bottom: 2px solid #ebecec;
}

#work .inner:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/bg_works_title.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 780px;
    height: 91px;
    left: -205px;
    top: -150px;
}

#work .inner:after {
    content: '';
    position: absolute;
    background-color: #fff;
    width: 3000px;
    height: 2px;
    left: -50%;
    top: -61px;
    margin: auto;
    z-index: -2;
}

#work .title-wrap {
    position: absolute;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    left: 0;
    top: 0;
    white-space: nowrap;
}

#work .title-wrap:before {
    content: '';
    position: absolute;
    right: -16px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #1f2020;
}

#work .btn-group {
    position: relative;
    left: 165px;
    margin-bottom: 80px;
    width: 1160px;
}

#work .btn-group:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 100%;
    height: 2px;
    background-color: #ebecec;
}

#work .btn-group .btn-wrap {
    position: relative;
    width: 360px;
    height: 500px;
    overflow: hidden;
}

#work .btn-group .btn-wrap a:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/icon_arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 16px;
    height: 12px;
    right: 15px;
    bottom: 20px;
    z-index: 1;
}

#work .btn-group .btn-wrap img {
    transition: 500ms all;
}

#work .btn-group .btn-wrap img:hover {
    transform: scale(1.05, 1.05);
    transition: 500ms all;
}

#work .btn-group .btn-wrap .btn-title {
    position: absolute;
    color: #fff;
    font-size: 24px;
    bottom: 15px;
    left: 20px;
}

#work .btn-wrap02 {
    display: inline-block;
    position: relative;
    background-color: #586d6a;
    padding: 20px 70px 20px 40px;
    color: #fff;
    font-size: 15px;
    left: 165px;
    transition: background-color 0.3s linear;
}

#work .btn-wrap02:hover {
    color: #fff;
    background-color: #1f2020;
}

#work .btn-wrap02:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/icon_arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 16px;
    height: 12px;
    right: 20px;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 1;
}

#work:before {
    content: '';
    background-color: #ebecec;
    width: 100%;
    height: 400px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: -2;
}

#work:after {
    content: '';
    position: absolute;
    background-image: url('/assets/images/bg_works.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 1760px;
    height: 480px;
    left: 0;
    right: 0;
    top: 210px;
    margin: auto;
    z-index: -1;
}

#access {
    position: relative;
}

#access .access-list .access-wrap {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #ebecec;
    border-top: 2px solid #ebecec;
    background-color: #fff;
}

#access .access-list .access-wrap .address-text {
    margin-bottom: 20px;
    flex-grow: 1; /*空きスペースの伸びる倍率を指定*/
}

#access .gmap_iframe {
    aspect-ratio: 16 / 9;
    max-width: 1000px;
    width: 100%;
    height: auto;
}

.footer .inner:before {
    content: '';
    position: absolute;
    background-image: url('/assets/images/bg_access_title.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    height: 84px;
    right: -200px;
    top: -132px;
}

.lb-close {
    display: none !important;
}

.footer {
    position: relative;
    color: #fff;
    background-color: #586d6a;
}

.footer .info-wrap h2 {
    font-family: 'Noto Serif JP', 'Hiragino Kaku Gothic ProN', Meiryo,
        sans-serif;
}

.footer .nav-wrap {
    width: 372px;
}

.footer .btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer .btn-group li {
    width: 30%;
}

.footer .btn-group li a {
    display: block;
    color: #fff;
    background-color: #1f2020;
    padding: 7px 6px;
    text-align: center;
    transition: background-color 0.3s linear;
}

.footer .btn-group li a:hover {
    color: #1f2020;
    background-color: #fff;
}

#lightboxOverlay {
    width: 100% !important;
}

.lb-outerContainer {
    display: grid;
    place-items: center;
    height: 100vh;
}

.lb-image {
    max-height: 90vh; /* 画面に収まるように制限 */
    max-width: 90vw;
}

@media screen and (max-width: 1900px) {
    #main .movie-wrap {
        width: 95%;
    }
}

@media screen and (max-width: 1760px) {
    .header .inner {
        width: auto;
        padding: 0 20px;
    }

    #about:after {
        width: 98%;
    }

    #main .inner {
        width: auto;
        padding: 0 20px;
    }

    #work .inner:before {
        top: -150px;
        left: 0;
    }

    .footer .inner:before {
        right: 0;
    }
}

@media screen and (max-width: 1400px) {
    .header .inner {
        width: auto;
        padding: 0 20px;
    }

    .inner {
        width: auto;
        padding: 0 40px;
    }

    #work .inner:before {
        left: 0;
    }

    #work .btn-group {
        width: 80%;
    }

    #work .title-wrap {
        left: 20px;
    }

    #work .btn-group .btn-wrap {
        width: 30%;
        height: auto;
    }

    #work .btn-group .btn-wrap .btn-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .header {
        padding: 10.5px 0;
    }

    #main {
        top: 60px;
    }

    #main .movie-wrap .title-wrap {
        bottom: 15%;
        font-size: 46px;
    }

    #work .title-wrap {
        left: 20px;
    }

    #work .btn-group {
        width: 90%;
        left: 85px;
    }

    #work .btn-wrap02 {
        left: 85px;
    }

    #access .access-list .access-wrap {
        margin-bottom: 30px;
    }

    .footer .info-wrap {
        width: 50%;
    }

    .footer .nav-wrap {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .footer .btn-group {
        gap: 10px 5%;
    }

    .footer .btn-group li {
        width: 45%;
    }
}

@media screen and (max-width: 639px) {
    #main .movie-wrap .title-wrap {
        bottom: 15%;
        font-size: 24px;
    }

    #main #scroll-title {
        transform: rotate(90deg);
        position: relative;
        top: 5px;
        right: 0;
    }

    #licenses .license-list .license-wrap {
        width: 50%;
    }

    #company .info-list {
        width: auto;
    }

    #work .inner:before {
        width: 100%;
        height: 46px;
        top: -106px;
    }

    #access .access-list {
        display: block;
    }

    .footer .info-wrap {
        width: auto;
    }

    .footer .nav-wrap {
        width: auto;
    }

    .footer .inner:before {
        width: 80%;
        height: 59px;
        top: -107px;
    }
}

@media screen and (max-width: 480px) {
    .only-pc {
        display: none;
    }

    .only-sp {
        display: block;
    }

    .header {
        padding: 10.5px 0;
    }

    .header .logo-wrap {
        /*width: 70%;*/
    }

    nav.global-menu-sp .inner {
        width: 80%;
    }

    main:before {
        width: 90%;
    }

    #scroll-down {
        right: 5px;
    }

    #main .movie-wrap {
        width: 95%;
        height: 490px;
    }

    #main .movie-wrap video {
        height: auto;
        max-width: inherit;
        width: 100%;
    }

    #about:before {
        width: 79px;
        height: 480px;
        right: 5%;
        top: 200px;
    }

    #company .info-list {
        font-size: 14px;
    }

    #company .info-list dt {
        padding-right: 18px;
    }

    #company .info-list dd {
        padding-left: 18px;
        margin-bottom: 5px;
    }

    #company:before {
        width: 90%;
        height: 180px;
        right: auto;
        bottom: -130px;
        left: 38px;
    }

    #work .title-wrap {
        left: 20px;
    }

    #work .title-wrap:before {
        right: -8px;
    }

    #work:after {
        right: auto;
        left: 60px;
        top: 210px;
    }

    #work .btn-group {
        left: 80px;
        margin-bottom: auto;
        width: auto;
        display: block;
    }

    #work .btn-group .btn-wrap {
        width: 60%;
        height: auto;
        margin-bottom: 30px;
    }

    #work .btn-wrap02 {
        display: block;
        font-size: 15px;
        left: auto;
        text-align: center;
    }

    #access .access-list .access-wrap {
        margin-bottom: 60px;
    }
}

/*SEO対策*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
