/* ========== 最小リセット（ヘッダー・サイドバー・フッター用） ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/*====================================================================
siteHeader
====================================================================*/
.siteHeader {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    background-color: #dedede;
}

@media screen and (max-width: 768px) {
    .siteHeader {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 99;
    }
}

.siteHeader__row {
    max-width: 1440px;
    height: 91px;
    width: 100%;
    padding: 15px 16px 12px;
    margin: 0 auto;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .siteHeader__row {
        max-width: 100%;
        height: auto;
        padding: 0;
    }
}

.siteHeader__rowWrap {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    max-width: 375px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .siteHeader__rowWrap {
        width: 100%;
        padding: 8px 0 8px 0;
        background: #000;
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 3px;
    }
}

.siteHeader__rowText {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
    white-space: nowrap;
    color: #212529;
}

@media screen and (max-width: 768px) {
    .siteHeader__rowText {
        display: none;
    }
}

@media screen and (max-width: 1160px) and (min-width: 1026px) {
    .siteHeader__rowText {
        margin-left: 20px;
    }
}

@media screen and (max-width: 1249px) and (min-width: 1201px) {
    .siteHeader__rowText {
        font-size: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .siteHeader__rowText {
        margin-left: 20px;
    }
}

@media screen and (min-width: 1025px) {
    .siteHeader__rowText br {
        display: none;
    }
}

@media screen and (min-width: 1250px) {
    .siteHeader__rowText {
        font-size: 27px;
    }
}

.siteHeader__facetime {
    max-width: 244px;
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (min-width: 769px) {
    .siteHeader__facetime:hover {
        opacity: 0.6;
    }
}

@media screen and (max-width: 768px) {
    .siteHeader__facetime {
        margin-right: 4px;
        max-width: 175px;
    }
}

@media screen and (max-width: 358px) {
    .siteHeader__facetime {
        max-width: 150px;
    }
}

.siteHeader__docs {
    margin-left: 5px;
    max-width: 122px;
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (min-width: 769px) {
    .siteHeader__docs:hover {
        opacity: 0.6;
    }
}

@media screen and (max-width: 768px) {
    .siteHeader__docs {
        margin-left: 4px;
        max-width: 175px;
    }
}

@media screen and (max-width: 358px) {
    .siteHeader__docs {
        max-width: 150px;
    }
}

.siteHeader__banner {
    display: none;
}

@media screen and (max-width: 768px) {
    .siteHeader__banner__empty {
        width: 54%;
        margin: 8px auto 0;
    }
}

@media screen and (max-width: 500px) {
    .siteHeader__banner__empty {
        width: 95%;
        margin: 8px auto 0;
    }
}

@media screen and (max-width: 768px) {
    .siteHeader__banner {
        display: block;
        width: 100%;
        margin-top: 8px;
        max-width: 358px;
    }
}

.siteHeader__cal {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    transition: all 0.25s ease-in-out 0s;
    max-width: 150px;
    width: 100%;
    padding: 9px 11px;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #4d4d4d;
    max-height: 64px;
}

@media screen and (max-width: 768px) {
    .siteHeader__cal {
        display: none;
    }
}

.siteHeader__cal:hover {
    opacity: 0.7;
    text-decoration: none;
    color: #fff;
}

.siteHeader__calFig {
    max-width: 44px;
    width: 100%;
    margin-right: 10px;
}

.siteHeader__calText {
    font-size: 12px;
    line-height: 1.3;
    color: #fff;
}

.siteHeader__con {
    max-width: 300px;
    width: 100%;
    padding: 9px 6px 6px;
    background-image: url(./../images/common_bg-01.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    max-height: 64px;
}

@media screen and (max-width: 768px) {
    .siteHeader__con {
        max-width: 100%;
        padding: 10px 14px;
        max-height: auto;
        border-radius: 0;
    }
}

.siteHeader__conText {
    font-size: 12px;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .siteHeader__conText {
        display: none;
    }
}

.siteHeader__conWrap {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .siteHeader__conWrap {
        max-width: 347px;
        width: 100%;
        margin: 0 auto;
    }
}

.siteHeader__conBox {
    width: 100%;
    padding: 4px 8px;
    background-color: #fff;
    border-radius: 5px;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    color: #000;
    transition: all 0.25s ease-in-out 0s;
}

.siteHeader__conBox:hover {
    text-decoration: none;
    opacity: 0.7;
    color: #000;
}

.siteHeader__conBox:first-child {
    margin-right: 6px;
}

@media screen and (max-width: 768px) {
    .siteHeader__conBox {
        max-width: 168px;
        width: 100%;
        border-radius: 3px;
        justify-content: center;
        height: 40px;
    }
}

.siteHeader__conBoxFlex {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .siteHeader__conBoxFlex {
        line-height: 0.7;
    }
}

.siteHeader__conBoxFig {
    max-width: 21px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .siteHeader__conBoxFig {
        max-width: 26px;
        margin-right: 9px;
    }
}

.siteHeader__conBoxText {
    font-size: 12px;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.siteHeader__conBoxNum {
    font-size: 10px;
}

.siteHeader__conBoxHalf {
    font-size: 6px !important;
    white-space: nowrap;
}

/*====================================================================
siteFooter
====================================================================*/
.siteFooter {
    padding: 65px 0 23px;
    background-color: #000;
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

@media screen and (max-width: 768px) {
    .siteFooter {
        padding: 15px 16px 100px;
    }
}

.siteFooter__wrap {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

@media screen and (max-width: 768px) {
    .siteFooter__wrap {
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.siteFooter__social {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

@media screen and (max-width: 768px) {
    .siteFooter__social {
        margin-bottom: 20px;
    }
}

.siteFooter__list {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.siteFooter__icon {
    max-width: 23.5px;
    margin-right: 15px;
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (max-width: 768px) {
    .siteFooter__icon {
        margin-right: 18px;
    }
}

.siteFooter__icon:hover {
    opacity: 0.7;
}

.siteFooter__icon:last-child {
    margin-right: 0;
}

.siteFooter__text {
    font-size: 12px;
    color: #fff;
    margin-left: 25px;
    transition: all 0.25s ease-in-out 0s;
}

.siteFooter__text:hover {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .siteFooter__text {
        display: block;
        margin-left: 0;
        margin-bottom: 5px;
    }
}

.siteFooter__text--notactive {
    pointer-events: none;
}

.siteFooter__logo {
    max-width: 150px;
    transition: all 0.25s ease-in-out 0s;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .siteFooter__logo {
        max-width: 124px;
    }
}

.siteFooter__logo:hover {
    opacity: 0.7;
}

.siteFooter__buttons {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 1440px;
    margin: 25px auto 0;
    padding: 0 16px;
}

@media screen and (max-width: 768px) {
    .siteFooter__buttons {
        padding: 0;
        margin: 0 auto 10px;
        justify-content: center;
    }
}

.siteFooter__link {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    transition: all 0.25s ease-in-out 0s;
    margin-right: 20px;
    color: #fff;
    min-width: 80px;
}

.siteFooter__link:hover {
    opacity: 0.7;
    color: #fff;
    text-decoration: none;
}

.siteFooter__link:last-child {
    margin-right: 0;
}

footer .footer-NAVI {
    color: #fff;
    padding-right: 10px;
    vertical-align: bottom;
}

@media screen and (max-width: 768px) {
    footer .footer-NAVI {
        font-size: 10px;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

.siteFooter__linkFig {
    max-width: 8.6px;
    margin-left: 5px;
}

@media screen and (max-width: 768px) {
    .siteFooter__linkFig {
        max-width: 11.37px;
        margin-left: 10px;
    }
}

.siteFooter__mobile {
    width: 100%;
    justify-content: space-between;
}

/*====================================================================
SiteSide
====================================================================*/
.siteSide {
    width: 200px;
    height: 100vh;
    background-color: #000;
    position: fixed;
    top: 0;
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .siteSide {
        max-width: 100%;
        position: fixed;
        top: 0;
        z-index: 9999;
        height: auto;
        width: 100%;
    }
}

@media screen and (min-width: 1800px) {
    .siteSide {
        width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .siteSide__container {
        max-width: 100%;
        height: auto;
    }
}

.siteSide__hamburger {
    display: none;
}

@media screen and (max-width: 768px) {
    .siteSide__hamburger {
        display: block;
        max-width: 40px;
        width: 100%;
        cursor: pointer;
    }
}

.siteSide__hbline {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin-bottom: 10px;
}

.siteSide__hbline:last-child {
    margin-bottom: 0;
}

.siteSide__close {
    display: none;
}

@media screen and (max-width: 768px) {
    .siteSide__close {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        margin-bottom: 20px;
    }
}

.siteSide__clline {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
}

.siteSide__clline:first-child {
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    top: 50%;
}

.siteSide__clline:last-child {
    transform: rotate(-45deg);
    position: absolute;
    left: 0;
    top: 50%;
}

.siteSide__logo {
    width: 100%;
    height: 91px;
    padding: 26px 25px;
    background-image: url(../../_assets/images/logo_bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .siteSide__logo {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.5);
        height: 50px;
        justify-content: space-between;
        padding: 0 30px 0 12px;
        z-index: 9999;
    }
}

.siteSide__logoImg {
    max-width: 150px;
}

.siteSide__logoLink {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (max-width: 768px) {
    .siteSide__logoLink {
        max-width: 100px;
        width: 100%;
    }
}

.siteSide__logoLink:hover {
    opacity: 0.7;
}

.siteSide__logoTxt {
    color: #212529;
}

@media screen and (max-width: 768px) {
    .siteSide__logoTxt {
        font-size: clamp(10px, 3vw, 13px);
    }
}

.siteSide__wrap {
    padding: 20px 16px 20px;
    background-color: #000;
}

@media screen and (min-width: 769px) {
    .siteSide__wrap {
        overflow-y: auto;
        max-height: calc(100vh - 91px);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media screen and (min-width: 1800px) {
    .siteSide__wrap {
        padding: 24px 20px;
    }
}

.siteSide__wrap::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 768px) {
    .siteSide__wrap {
        padding: 15px 27px 42px 15px;
        align-items: flex-end;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        height: 100vh;
        right: -100%;
        transition: all 0.8s ease-in-out 0s;
    }
}

@media screen and (max-width: 768px) {
    .siteSide__wrap--active {
        right: 0;
    }
}

.siteSide__nav {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin-bottom: 11px;
}

.siteSide__navList {
    padding: 0;
    margin: 0;
}

.siteSide__navItem {
    list-style: none;
    padding-right: 17.9px;
    text-align: right;
    margin-bottom: 6.5px;
    position: relative;
}

.siteSide__navItem:last-child {
    margin-bottom: 0;
}

.nav-simulator {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-simulator {
        display: block;
        width: 100%;
    }

    .siteSide__navList {
        width: 150px;
    }
}

@media screen and (max-width: 768px) {
    .siteSide__navItem {
        padding-right: 0;
        margin-bottom: 16px;
    }
}

.siteSide__navLink {
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease-in-out 0s;
    display: block;
}

@media screen and (min-width: 1800px) {
    .siteSide__navLink {
        font-size: 18px;
    }
}

.siteSide__navLink:hover {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
}

.siteSide__navLink:hover:before {
    right: -3px;
}

.siteSide__navLink:hover:after {
    right: 3px;
}

.siteSide__navLink:before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (max-width: 768px) {

    .siteSide__navLink {
        font-size: 18px;
        text-align: left;
    }

    .siteSide__nav {
        margin: -40px auto;
    }

    .siteSide__navLink:before {
        display: none;
    }
}

.siteSide__navLink:after {
    content: "";
    position: absolute;
    right: 7px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.25s ease-in-out 0s;
}

@media screen and (max-width: 768px) {
    .siteSide__navLink:after {
        display: none;
    }
}

.siteSide__navLinkSpan {
    font-size: 12px;
}

.siteSide__badge {
    display: block;
    margin: 0 auto 8px;
    transition: all 0.25s ease-in-out 0s;
}

.siteSide__badge:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .siteSide__badge {
        display: none;
    }
}

.siteSide__contactBox {
    display: block;
    margin: 8px auto 8px;
    transition: all 0.25s ease-in-out 0s;
}

.siteSide__contactBox:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .siteSide__contactBox {
        display: none;
    }
}

.siteSide__calendar {
    display: block;
    transition: all 0.25s ease-in-out 0s;
}

.siteSide__calendar:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .siteSide__calendar {
        display: none;
    }
}

/*-----------------------------------------------
PC/SP
------------------------------------------------*/
.u-pcDb {
    display: block;
}

.u-pcDib {
    display: inline-block;
}

.u-pcDin {
    display: inline;
}

.u-pcDf {
    display: flex;
}

.u-pcDt {
    display: table;
}

.u-pcDtc {
    display: table-cell;
}

.u-spDb,
.u-spDib,
.u-spDin,
.u-spDf,
.u-spDt,
.u-spDtc {
    display: none;
}

@media screen and (max-width: 768px) {

    .u-pcDb,
    .u-pcDib,
    .u-pcDin,
    .u-pcDf,
    .u-pcDt,
    .u-pcDtc {
        display: none;
    }

    .u-spDb {
        display: block;
    }

    .u-spDib {
        display: inline-block;
    }

    .u-spDin {
        display: inline;
    }

    .u-spDf {
        display: flex;
    }

    .u-spDt {
        display: table;
    }

    .u-spDtc {
        display: table-cell;
    }
}

/*-----------------------------------------------
main
------------------------------------------------*/
.siteContent {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.siteContent__main {
    width: 100%;
    padding-left: 200px;
}

@media screen and (max-width: 768px) {
    .siteContent__main {
        padding-left: 0;
    }
}

@media screen and (min-width: 1800px) {
    .siteContent__main {
        padding-left: 300px;
    }
}

.link-banner {
    width: 88px;
    float: left;
    margin-top: 10px;
}

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

/* ========== style03.css より（ヘッダー・サイドバー用） ========== */
@media screen and (max-width: 768px) {
    .siteHeader {
        opacity: 0;
        visibility: hidden;
    }

    .siteHeader.active {
        opacity: 1;
        visibility: visible;
        transition-duration: 1s;
        transition-timing-function: ease-in;
    }
}

/* サイドバー：スタジオリンクエリア */
.siteSide__navLink-studio-area {
    border: solid 1px #ffffff;
    border-radius: 4px;
    padding: 4px 8px 4px 4px;
    width: fit-content;
    margin: 0px -8px 8px auto;
}

.siteSide__navLink-small-text {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 10px;
    line-height: 1.3;
}

.siteSide__navLink-small-text::before {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background-color: #ffffff;
}

/* 本番 https://studio-davinci.jp/ と同様のサイズ */
.siteSide__navLink-studio {
    font-size: 14px;
    line-height: 1.3;
    padding: 0px 16px;
}

@media screen and (min-width: 1800px) {
    .siteSide__navLink-studio {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .siteSide__navLink-studio {
        font-size: 18px;
    }
}

.siteSide__navLink-studio:before {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.25s ease-in-out 0s;
}

.siteSide__navLink-studio:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.25s ease-in-out 0s;
}

.siteSide__navLink-studio:hover:after {
    right: 10px;
}

.siteSide__navLink-studio:hover:before {
    right: 4px;
}

@media screen and (max-width: 768px) {
    .siteSide__navLink-studio-area {
        width: 160px;
        margin: 0px -8px 8px auto;
    }
}

/* ========== 本家 index.html のナビと同様のスタイルを確実に適用（Tailwind 上書き用） ========== */
.siteSide .siteSide__nav {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.siteSide .siteSide__navList {
    padding: 0;
    margin: 0;
    list-style: none;
}

.siteSide .siteSide__navItem {
    list-style: none;
    text-align: right;
    margin-bottom: 6.5px;
}

.siteSide .siteSide__navItem:last-child {
    margin-bottom: 0;
}

.siteSide .siteSide__navLink {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #fff;
}

.siteSide .siteSide__navLink-studio {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
}

.siteSide .siteSide__navLink-small-text {
    font-family: Helvetica Neue, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0;
}

@media screen and (min-width: 1800px) {
    .siteSide .siteSide__navLink,
    .siteSide .siteSide__navLink-studio {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .siteSide .siteSide__navItem {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .siteSide .siteSide__navLink,
    .siteSide .siteSide__navLink-studio {
        font-size: 18px;
        text-align: left;
    }
}
