body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
.mincho {
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-weight: 900;
    color: #796116;
}
.bg-customGray {
    background-color: #6A6A6A;
}
.bg-customBlue {
    background-color: #203864;
}
.border-customBlue {
    border-color: #203864;
}
.border-customYellow {
    border-color: #FFD966;
}
.text-customYellow {
    color: #FFD966;
}
.bg-customLightGray {
    background-color: #D6DCE5;
}
.bg-customWhiteGray {
    background-color: #E7E6E6;
}
.border-customWhiteGray {
    border-color: #E7E6E6;
}
.vertical-text {
    writing-mode: vertical-rl; /* 縦書きにする */
    text-orientation: upright; /* 文字の向きを設定する */
}
.title-font {
    font-size: 2.6rem !important;
    line-height: 1.3 !important;
    width: fit-content;
    color: transparent; /* テキストの色を透明にして背景が見えるように */
    background: linear-gradient(to right, #003A6F 20% ,#003763 20%, #00203C 60%);
    -webkit-background-clip: text;
    background-clip: text; /* Firefoxのため */
}
.title-font2 {
    font-size: 2.6rem !important;
    line-height: 1.3 !important;
    width: fit-content;
    color: transparent; /* テキストの色を透明にして背景が見えるように */
    background: linear-gradient(to right, #d2b356 20%, #d2b356 20%, #ad8f32 60%);
    -webkit-background-clip: text;
    background-clip: text; /* Firefoxのため */
}
.primary-text-gradient {
    color: transparent; /* テキストの色を透明にして背景が見えるように */
    background: linear-gradient(to right, #d2b356 20%, #d2b356 20%, #ad8f32 60%);
    -webkit-background-clip: text;
    background-clip: text; /* Firefoxのため */
}
.pattern-background {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 10%, transparent 10%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 60%, transparent 60%, transparent);
    background-size: 6px 6px; /* ストライプのサイズと間隔を調整 */
}
.serif {
    font-family: serif;
}
.transparent {
    background:transparent;
}
.portrait {
    height: 230px;
}
.section-line-height {
    line-height: 3rem;
}
.border-double {
    border-style: double;
    border-width: 4px; /* 幅を調整して二重枠の見た目を変えます */
}
.framed {
    height: 33vw;
}
#custom-layout-inner {
    top: 2.5vw; right: 5.5vw; bottom: 0; left: -5.5vw;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    opacity: 0; /* 初期状態は非表示 */
    transition: opacity 0.5s ease; /* ふわっと表示するためのトランジション */
    background-color: #000;
}
.fixed-header.visible {
    opacity: 1; /* 表示状態 */
}
/* セクション1の初期状態を非表示かつ下に少しずらしておく */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 3s ease-out, transform 3s ease-out; /* アニメーション時間を長くし、終わりをゆっくりにする */
}
/* 表示されるときの状態 */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.sp {
    display: none;
}
.pc {
    display: inline;
}
.pc-text {
    display: inline-block;
}
.sp-text {
    display: none;
}
.frame-title {
    display: none;
}
.sec-text-w {
    width: 70%;
}
.profile-photos {
    height: 14vw;
}
.top--16 {
    top: -25px;
}
.title {
    border-left: solid 3px #003A6F;
    font-family: 'Anton', sans-serif;
}
.title2 {
    border-left: solid 3px #dcb542;
    font-family: 'Anton', sans-serif;
}
.inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}
.work-image {
    width: 400px;
}
.outlined-text {
    color: black;
    font-size: 34px;
    font-weight: bold;
    text-shadow: 
        1px 1px 0 white, 
        -1px 1px 0 white, 
        1px -1px 0 white, 
        -1px -1px 0 white;
}
.coming-soon {
    color: black;
    font-size: 50px;
    font-weight: bold;
    text-shadow: 
        1px 1px 0 white, 
        -1px 1px 0 white, 
        1px -1px 0 white, 
        -1px -1px 0 white;
}
.work-title {
    width: 350px;
}
.frame-image {
    height: 300px;
    width: auto;
    object-fit: contain;
}
.show-modal {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}
.link-button1 {
    background: linear-gradient(to right, #2b4965 30%, #00203C 70%);
}
.link-button2, .profile-modal-title {
    background: linear-gradient(to right, #00203C 30%, #00122A 70%, #000000 100%);
}
.outline-bg {
    background: #C8BF6A;
}
.max-screen {
    display: inline-block;
}
.profile-images {
    width: 456.87px;
    min-width: 456.87px;
}
.kabuki {
    height: 211.85px;
}
.tight-spacing {
    letter-spacing: -0.5px;
}
.lg-text {
    display: inline-block;
}
.under-lg-text {
    display: none;
}
.sub-title {
    width: 640px;
    padding-right: 20px;
}
.photo-acrylic {
    color: #88191F;
    font-weight: 900;
    font-family: monospace;
    font-size: 26px;
    letter-spacing: 3px;
}
#contact-textarea p {
    height: 100%;
}
@media screen and (max-width: 1280px) {
    .sec-text-w {
        width: 80%;
    }
}
@media screen and (max-width: 1188px) {
    .max-screen {
        display: none;
    }
}
@media screen and (max-width: 1023px) {
    .sec-text-w {
        z-index: 1;
        position: absolute;
        right: 40px;
        width: 90vw;
    } 
    .vertical-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed; 
    }
    .rp-text {
        font-size: 1.25vw !important;
    }
    .inner {
        padding: 0 4%;
    }
    .lg-text {
        display: none;
    }
    .under-lg-text {
        display: inline-block;
    }
}
@media screen and (max-width: 767px) {
    .section-line-height {
        line-height: 2rem;
    }
    .rp-text {
        font-size: .875rem !important;
        line-height: 1.25rem !important;
    }
    .framed {
        height: 98vw;
    }
    .frame-h {
        height: 36vw;
    }
    #custom-layout {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #custom-layout-inner {
        position: static; /* absolute を無効にする */
        width: 100%;
        display: flex;
        flex-direction: column; /* 上下に並べる */
        align-items: center; /* 中央に揃える */
    }
    .frame-title {
        display: block;
    }
    .profile-photos {
        height: auto;
    }
}
@media screen and (max-width: 640px) {
    body {
        font-size: 14px;
    }
    .sp {
        display: inline;
    }   
    .pc {
        display: none;
    }
    .pc-text {
        display: none;
    }
    .sp-text {
        display: block;
    }
    .sec-text-w {
        right: 0;
        width: 100vw;
    }
    .text-base-xl {
        font-size: 1.15rem;
    }
    .framed {
        height: 110vw;
    }
    .title-font, .title-font2 {
        font-size: 8vw !important;
        line-height: 10vw !important;
    }
    .sub-title-font {
        font-size: 4.5vw !important;
        line-height: 8vw !important;
    }
    .frame-image{
        height: auto;
    }
    .work-title{
        width: 100%;
    }
    .outlined-text {
        font-size: 20px;
    }
    .coming-soon {
        font-size: 30px;
    }
    .link-button1 {
        background: linear-gradient(to right, #00203C 30%, #00122A 70%, #000000 100%);
    }
    .link-button2 {
        background: linear-gradient(to right, #00203C 30%, #00122A 70%, #000000 100%);
    }
    .link-button3 {
        background: linear-gradient(to right, #00203C 30%, #00122A 70%, #000000 100%) !important;
    }
    .profile-images {
        width: 100%;
        min-width: auto;
    }
    .kabuki {
        height: auto;
        width: 308px;
    }
    .lg-text {
        display: inline-block;
    }
    .under-lg-text {
        display: none;
    }
    .sub-title {
        width: auto;
        padding-right: 0;
    }
    .photo-acrylic {
        font-size: 22px;
    }
}
@media screen and (max-width: 430px) {
    .main-title {
        font-size: 2rem !important;
    }
    .sub-title {
        font-size: 1.1rem !important;
    }
}
@media screen and (max-width: 390px) {
    .rp-text {
        font-size: 3.2vw !important;
        line-height: 3.2vw !important;
    }
}