/*
Theme Name: Yuu Uesugi 2026
Theme URI: https://yuuuesugi.com/
Description:  Theme for Yuu Uesugi Official Site
Version: 1
Author:  O-MORO
Author URI: https://o-moro.co.jp/
*/

a:hover {
    text-decoration: none;
}

.keycolor   {
    color: #FF4800;
}

.bg_keycolor   {
    background-color: #FF4800;
}

.bg_white   {
    background-color: #fff;
}

.blue,
.blue *  {
    color: #0D5A71;
}

.white  {
    color: white !important;
}

.yellow {
    color: #AC8E2A !important;
}

.gray   {
    color: #666666;
}

html,body  {
    overflow-x: clip;
}

[class^="radius"],
[class*=" radius"] {
    overflow: hidden;
}
.sp {
    display: none !important;
}

.block  {
    display: block;
}

.flex1 {
    flex: 1 !important;
}

.relative   {
    position: relative;
}

.hasshadow   {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.flex   {
    display: flex;
}

.flex.column  {
    flex-direction: column;
}

.flex.wrap  {
    flex-wrap: wrap;
}

.flex.pc_reverse   {
    flex-direction: row-reverse;
}

.flex_left  {
    justify-content: flex-start !important;
}

.flex_center    {
    width: 100%;
    justify-content: center !important;
}

.flex_right {
    justify-content: flex-end !important;
}

.flex_between  {
    justify-content: space-between !important;
}

.flex_top   {
    align-items: flex-start !important;
}

.flex_middle    {
    align-items: center !important;
}

.flex_bottom    {
    align-items: flex-end !important;
}

.center_middle  {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-left  {
    text-align: left !important;
}

.text-center  {
    text-align: center !important;
}

.text-right  {
    text-align: right !important;
}

.pc_center  {
    text-align: center !important;
}

*    {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    outline: none !important;
    line-height: 187.5%;
    color: #000;
    font-feature-settings: "palt";
    letter-spacing: 0.5px;
    color: #333;
}

.sans-serif {
    font-family: Roboto, "Noto Sans JP", sans-serif !important;
}

.extralight {
    font-weight: 100 !important;
}

.light {
    font-weight: 300 !important;
}

.regular   {
    font-weight: 400 !important;
}

.medium {
    font-weight: 500 !important;
}

.semibold {
    font-weight: 600 !important;
}

.bold {
    font-weight: 700 !important;
}

.extrabold {
    font-weight: 700 !important;
}

.italic,
.italic * {
    font-style: italic !important;
}

img {
    max-width: 100%;
}

/* common */
header  {
    transition: all 0.3s ease-in;
    position: fixed;
    z-index: 100;
    background-color: rgba(255,255,255,0);
}

.scrolled header    {
    background-color: rgba(255,255,255,0.8);
}

header .logo img    {
    width: 29vw;
}

.key    {
    width: 100vw;
    position: relative;
}

main    {
    min-height: 30vw;
}

main section .inner {
    max-width: 1024px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

main section    {
    position: relative;
}

main section.afterwhite:after   {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100vw;
    aspect-ratio: 18/1;
    background-image: url(images/bg_head_white.webp);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

main section.afterblue:after   {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100vw;
    aspect-ratio: 18/1;
    background-image: url(images/bg_head_blue.webp);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.button a   {
    transition: all 0.2s ease-in;
}

.button a:hover   {
    transform: translateY(-3px);
    opacity: 0.8;
}

.button a:after {
    content: "▶︎";
    font-size: 16px;
    position: absolute;
    right: 7.5%;
    top: 50%;
    transform: translateY(-50%);
}

footer .social a    {
    font-size: 30px;
    width: min(10vw,40px);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .social a img    {
    height: min(7.5vw,30px);
}
/* index */

.index header .logo {
    transition: all 0.3s ease-in;
    opacity: 0;
    pointer-events: none;
}

.index.scrolled header .logo {
    opacity: 1;
    pointer-events: auto;
    display: block;
}


.index .key:before {
    content: "";
    position: absolute;
    width: 65%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 69.71%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.index .key picture img.key_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
}

.index .key    {
    min-height: 56.25vw;
}

.index .key .keylogo    {
    transition: all 0.3s ease-in;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 9.25vw;
    width: 29vw;
    opacity: 1;
    z-index: 2;
}

.index.scrolled .key .keylogo    {
    opacity: 0;
}

.index main section.sec1    {
    background-image: url(images/main_bg.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 56.25vw;
}

.index main section.sec1 .videoarea iframe  {
    aspect-ratio: 16/9;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    width: 100%;
    height: 100%;
}

.index main section.sec2    {
    background-color: #fff;
}

.index main section.sec3    {
    background-color: #e1ebf6;
    min-height: 20vw;
}

.index main section.sec2 dl div dt  {
    font-feature-settings: initial;
}

.index main section.sec2 dl div dd a    {
    display: inline-block;
}

/* sub */

.sub .key .subpage_title    {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 9.25vw;
    width: 80vw;
    opacity: 1;
    z-index: 2;
}
@media screen and (max-width: 834px)  {
    
    html,body  {
        overflow-x: clip;
        width: 100%;
    }
    
    body:before,
    body:after {
        display: none;
    }
    
    *    {
        font-size: 4.07vw;
        line-height: 175%;
    }
    
    .pc {
        display: none !important;
    }
    
    .sp,
    .sp_block {
        display: block !important;
    }
    
    .sp_left   {
        text-align: left !important;
    }
    
    .sp_center  {
        text-align: center !important;
    }
    
    .flex.sp   {
        display: flex !important;
    }
    .flex.pc_reverse   {
        flex-direction: rows;
    }
    
    .sp_row {
        flex-direction: row !important;
    }
    
    .sp_column  {
        flex-direction: column !important;
    }
    
    .sp_column_reverse  {
        flex-direction: column-reverse !important;
    }
    
    .sp_flex_center   {
        justify-content: center !important;
    }
    
    .sp_flex_right   {
        justify-content: flex-end !important;
    }
    
    .sp_flex_top   {
        align-items: flex-start !important;
    }
    
    .sp_flex_middle   {
        align-items: center !important;
    }
    
    .sp_flex_bottom   {
        align-items: flex-end !important;
    }
    
    .sp_column > *  {
        width: 100% !important;
    }
    
    .sp_wrap  {
        flex-wrap: wrap !important;
    }
    
    br.sp   {
        display: inline-block !important;
    }
    
    main section .inner    {
        width: 85vw;
    }

    header .logo img    {
        width: 65vw;
    }
    .index .key .keylogo    {
        width: 45vw;
        left: 5vw;
    }

    .sub .key .subpage_title   {
        left: 5vw;
    }
}