@charset "utf-8";
/* CSS Document */

@media only screen and (max-width: 768px) {
body#top header .sns_icon {
    right: 4.8rem;
}
body#top.drawer--left .drawer-hamburger {
    right: 0.9rem;
}

body#top.is_show header .sns_icon {
    right: 6.7rem;
}
body#top.drawer--left.is_show .drawer-hamburger {
    right: 2.8rem;
}
}


/* #topmain
----------------------------------------- */
#topmain {
    position: relative;
	height : 100vh;
    z-index: 2;
    background: url("../images/top/topmain_bg.svg") no-repeat center bottom / 100%;
}

#topmain .inner {
	max-width: none;
	height: 100%;
    margin: 0;
}

#topmain .topmain_layout {
    width : 100%;
	height: 100%;
	position: relative;
    padding-bottom: 2.3rem;
}

#topmain .swiper-container,
#topmain .swiper-wrapper,
#topmain .swiper-slide {
	width: 100%;
    height: 100%;
}
#topmain .slide_wrap {
    width: 100%;
	height: 100%;
    overflow: hidden;
	display: flex;
}
#topmain .slide_wrap .img {
	display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

#topmain .topmain_layout > .logo {
    width: 28.5rem;
    position: absolute;
    top: 4rem;
    left: 5rem;
    z-index: 2;
}
#topmain .topmain_layout > .navi {
    position: absolute;
    bottom: 14rem;
    left: 5rem;
    z-index: 2;
}
#topmain .topmain_layout > .navi .navigation {
    display: flex;
    flex-flow: column;
    grid-gap: 2rem 0;
}
#topmain .topmain_layout > .navi .navigation .navi {
    display: flex;
    padding-left: 2.3rem;
    position: relative;
}
#topmain .topmain_layout > .navi .navigation .navi::before {
    content: '';
    width: 0.7rem;
    height: 1px;
    background-color: #FFFFFF;
    transition: all .6s;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
}
#topmain .topmain_layout > .navi .navigation .navi:hover::before {
    opacity: 1;
}
#topmain .topmain_layout > .navi .navigation a {
    font-size: 1.4rem;
    color: #FFFFFF;
    line-height: 1;
    font-weight: 500;
}
#topmain .topmain_layout > .txt {
    position: absolute;
    bottom: 12rem;
    right: 6rem;
    z-index: 2;
}


@media only screen and (max-width: 768px) {
#topmain {
	height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: url("../images/top/topmain_bg_sp.svg") no-repeat center bottom / 100%;
}
#topmain .inner {
	max-width: none;
	width: 100%;
    height: 100%;
}
    
#topmain .topmain_layout > .logo {
    width: 23.9rem;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
}
    
#topmain .topmain_layout > .navi {
    display: none;
}
#topmain .topmain_layout > .txt {
    display: none;
}
    
}



/* #bg_movie
----------------------------------------- */
#bg_movie {
    width: 100%;
    height: 100%;
    position: absolute;
    /*position: sticky;*/
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}
#bg_movie::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.00);
    position: absolute;
    top: 0;
    left: 0;
}

#bg_movie .video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}

@media only screen and (max-width: 768px) {
#bg_movie {
    display: block;
}
#bg_movie .video {
    height: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    width: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
}
}


/* #about
----------------------------------------- */
#about {
    position: relative;
    background: url("../images/top/about_bg.jpg") no-repeat center bottom;
    background-size: cover;
    margin-top: -7rem;
}

#about .inner {
    padding-top: 20rem;
    padding-bottom: 59rem;
}

#about .layout {
    display: flex;
    justify-content: space-between;
}
#about .layout .txt_wrap {
    padding-left: 6rem;
}
#about .layout .txt_wrap h2 .sub {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}
#about .layout .txt_wrap h2 img {
    margin-top: 3rem;
}
#about .layout .txt_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: calc(45/15);
    margin-top: 4rem;
}
#about .layout .txt_wrap > .btn_wrap {
    margin-top: 5rem;
}
#about .layout .img_wrap {
    width: calc(595/1166*100%);
}


@media only screen and (max-width: 768px) {
#about {
    position: relative;
    background: url("../images/top/about_bg.jpg") no-repeat center bottom;
    background-size: cover;
    margin-top: -4rem;
}

#about .inner {
    padding-top: 12rem;
    padding-bottom: 28rem;
}

#about .layout {
    flex-flow: column;
}
#about .layout .txt_wrap {
    padding-left: 0;
}
#about .layout .txt_wrap h2 .sub {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}
#about .layout .txt_wrap h2 img {
    margin-top: 3rem;
}
#about .layout .txt_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: calc(45/15);
    margin-top: 4rem;
}
#about .layout .txt_wrap > .btn_wrap {
    margin-top: 3rem;
}
#about .layout .img_wrap {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-top: 3rem;
}
}


/* #initiative
----------------------------------------- */
#initiative {
    position: relative;
    margin-top: -7rem;
    z-index: 1;
}
#initiative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: url("../images/top/initiative_bg.png") no-repeat center top;
    background-size: 100%;
    z-index: -1;
}
#initiative::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: url("../images/top/initiative_bg.png") no-repeat center bottom;
    background-size: 100%;
    z-index: -1;
}

#initiative .inner {
    padding-top: 20rem;
    padding-bottom: 23rem;
    position: relative;
    z-index: 1;
}
#initiative .inner::after {
    content: '';
    position: absolute;
    top: 8rem;
    left: calc(50% + 2rem);
    transform: translate(-50%,0);
    width: calc(100% + 7rem);
    height: 100%;
    background: url("../images/top/initiative_illust.svg") no-repeat center top;
    background-size: 100%;
    z-index: -1;
}


#initiative .layout {
    display: grid;
    grid-template-columns: repeat(2, calc(500/1160*100%));
    grid-gap: 6rem calc(130/1160*100%);
    align-items: center;
}
#initiative .layout .sec_ttl_wrap {
    grid-column: 2 / 3;
    display: flex;
    flex-flow: row-reverse;
    align-items: flex-start;
    column-gap: 2rem;
}
#initiative .layout .sec_ttl_wrap .ttl {
    display: flex;
    flex-flow: row-reverse;
}
#initiative .layout .sec_ttl_wrap .ttl .sub {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1;
    color: #0A4F7F;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-font-feature-settings: 'pkna';
    -webkit-font-feature-settings: 'pkna';
    font-feature-settings: 'pkna';
    margin-left: 2rem;
}
#initiative .layout .sec_ttl_wrap .lead {
    font-size: 1.4rem;
    letter-spacing: 0.5em;
    line-height: calc(36/14);
    font-weight: 500;
    
    margin-top: 3.5rem;
    
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-font-feature-settings: 'pkna';
    -webkit-font-feature-settings: 'pkna';
    font-feature-settings: 'pkna';
    
    position: relative;
}
#initiative .layout .sec_ttl_wrap .lead img {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(110%);
}

#initiative .layout .con_wrap.glasses {
    grid-row: 1 / 3;
}
#initiative .layout .con_wrap.house {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

#initiative .layout .con_wrap a:hover {
    opacity: 1;
}
#initiative .layout .con_wrap .img_wrap {
    position: relative;
    z-index: 1;
}
#initiative .layout .con_wrap .img_wrap::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #446379;
    border-radius: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .6s;
}
#initiative .layout .con_wrap .img_wrap img {
    border-radius: 1.5rem;
}
#initiative .layout .con_wrap .img_wrap .btn_wrap {
    position: absolute;
    bottom: -1.4rem;
    right: -1.2rem;
    z-index: 2;
}
#initiative .layout .con_wrap.glasses:hover .img_wrap::after  {
    transform: rotate(-2deg) translate(0, 1rem);
    transform-origin: 0 0;
}
#initiative .layout .con_wrap:hover .img_wrap::after  {
    transform: rotate(2deg) translate(1rem, 0);
    transform-origin: 0 0;
}

#initiative .layout .con_wrap .txt_wrap {
    margin-top: 3rem;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl {
    display: flex;
    align-items: center;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl .number {
    width: 5rem;
    height: 5rem;
    background: url(../images/circle_bg.svg) no-repeat center center;
    background-size: contain;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 1.8rem;
    /*letter-spacing: 0.1em;*/
    color: #FFFFFF;
    font-weight: 700;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl .sub {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    line-height: calc(48/22);
}
#initiative .layout .con_wrap .txt_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: calc(35/15);
    font-weight: 500;
    margin-top: 1.5rem;
}

#initiative .layout .con_wrap:hover .img_wrap .btn_wrap .btn span {
    color: #FFFFFF;
}
#initiative .layout .con_wrap:hover .img_wrap .btn_wrap .btn::after {
    transform:scale(1.03);
    background-color: #0A4F7F;
}
#initiative .layout .con_wrap:hover .img_wrap .btn_wrap .btn.bg_w::after {
    background-color: #0A4F7F;
}
#initiative .layout .con_wrap:hover .img_wrap .btn_wrap .btn .arrow .arrow_svg .a {
    fill: #FFFFFF;
}

@media only screen and (max-width: 768px) {
#initiative {
    margin-top: -4rem;
}
#initiative::before {
    background: url("../images/top/initiative_bg_sp.png") no-repeat center top;
    background-size: 100%;
}
#initiative::after {
    background: url("../images/top/initiative_bg_sp.png") no-repeat center bottom;
    background-size: 100%;
    z-index: -2;
}

#initiative .inner {
    padding-top: 12rem;
    padding-bottom: 14rem;
}
#initiative .inner::before {
    content: '';
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translate(-50%,0);
    width: 31.9rem;
    height: 18.7rem;
    background: url("../images/top/initiative_illust_sp01.svg") no-repeat center center;
    background-size: contain;
    z-index: -1;
}
#initiative .inner::after {
    content: '';
    position: absolute;
    top: auto;
    bottom: 5rem;
    left: 50%;
    transform: translate(-50%,0);
    width: 29.8rem;
    height: 7.6rem;
    background: url("../images/top/initiative_illust_sp02.svg") no-repeat center center;
    background-size: contain;
    z-index: -1;
}


#initiative .layout {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    grid-gap: 10rem 0;
    align-items: center;
}
#initiative .layout .sec_ttl_wrap {
    grid-column: auto;
    flex-flow: column;
    align-items: center;
    column-gap: 2rem;
}
#initiative .layout .sec_ttl_wrap .ttl {
    display: flex;
    flex-flow: row-reverse;
}
#initiative .layout .sec_ttl_wrap .ttl .sub {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1;
    color: #0A4F7F;
    
    
    
    margin-left: 2rem;
}
#initiative .layout .sec_ttl_wrap .lead {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: calc(28/14);
    font-weight: 500;
    
    margin-top: 3.5rem;
    
    -webkit-writing-mode:horizontal-tb;
	-ms-writing-mode:lr-tb;
	writing-mode:horizontal-tb;
    
    position: relative;
}
#initiative .layout .sec_ttl_wrap .lead::after {
    content: '';
    position: absolute;
    width: 28.9rem;
    height: 4.8rem;
    background: url("../images/ttl_line_l.svg") no-repeat center center / contain;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,100%);
}
    
#initiative .layout .sec_ttl_wrap .lead img {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(110%);
}

#initiative .layout .con_wrap.glasses {
    grid-row: auto;
}
#initiative .layout .con_wrap.house {
    grid-column: auto;
    grid-row: auto;
}

#initiative .layout .con_wrap a:hover {
    opacity: 1;
}
#initiative .layout .con_wrap .img_wrap {
    position: relative;
    z-index: 1;
}
#initiative .layout .con_wrap .img_wrap::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #446379;
    border-radius: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .6s;
}
#initiative .layout .con_wrap .img_wrap img {
    border-radius: 1.5rem;
}
#initiative .layout .con_wrap .img_wrap .btn_wrap {
    position: absolute;
    bottom: -1.4rem;
    right: -1.2rem;
    z-index: 2;
}
#initiative .layout .con_wrap.glasses:hover .img_wrap::after  {
    transform: rotate(-2deg) translate(0, 1rem);
    transform-origin: 0 0;
}
#initiative .layout .con_wrap:hover .img_wrap::after  {
    transform: rotate(2deg) translate(1rem, 0);
    transform-origin: 0 0;
}

#initiative .layout .con_wrap .txt_wrap {
    margin-top: 3rem;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl {
    display: flex;
    align-items: center;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl .number {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
    
    font-size: 1.2rem;
}
#initiative .layout .con_wrap .txt_wrap h3.ttl .sub {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: calc(44/18);
}
#initiative .layout .con_wrap .txt_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: calc(30/15);
    margin-top: 1.5rem;
}

}



/* #news
----------------------------------------- */
#news {
    position: relative;
    z-index: 1;
}
#news::before {
    content: '';
    width: 100%;
    height: 100%;
    aspect-ratio: 1373 / 456;
    background: url("../images/top/news_bg.svg") no-repeat left center;
    background-size: contain;
    position: absolute;
    top: 55%;
    left: -7rem;
    transform: translate(0,-50%);
    z-index: -1;
}
#news .inner {
    padding-top: 20rem;
    padding-bottom: 20rem;
}

#news .layout {
    display: flex;
    justify-content: space-between;
    grid-gap: 0 10rem;
}

#news .sec_ttl_wrap {
}
#news .sec_ttl_wrap .lead {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: calc(28/14);
    margin-top: 3rem;
}
#news .sec_ttl_wrap .btn_wrap {
    margin-top: 4rem;
}

#news #post_list_wrap .post_list {
    padding-top: 0;
    grid-gap: 4rem 4rem;
}

@media only screen and (max-width: 768px) {
#news {
}
#news::before {
    content: '';
    width: 43.2rem;
    height: 138rem;
    aspect-ratio: auto;
    background: url("../images/top/news_bg_sp.svg") no-repeat left center;
    background-size: contain;
    position: absolute;
    top: 2rem;
    left: -1rem;
    transform: translate(0,0);
    z-index: -1;
}
#news .inner {
    padding-top: 12rem;
    padding-bottom: 14rem;
}

#news .layout {
    flex-flow: column;
    align-items: center;
    grid-gap: 0;
}

#news .sec_ttl_wrap {
    display: contents;
}
#news .sec_ttl_wrap .ttl {
    order: 1;
}
#news .sec_ttl_wrap .lead {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: calc(28/14);
    margin-top: 2rem;
    
    order: 2;
}
#news .sec_ttl_wrap .btn_wrap {
    margin-top: 4rem;
    
    order: 4;
}

#news #post_list_wrap {
    margin-top: 6rem;
    
    order: 3;
}
#news #post_list_wrap .post_list {
    padding-top: 0;
    grid-gap: 5rem 0;
}
}



/* #recruit
----------------------------------------- */
#recruit {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 683 / 360;
    display: flex;
    align-items: center;
    justify-content: center;
}
#recruit::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/top/recruit_img_bg.png") no-repeat center center / 100%;
    z-index: -2;
}
#recruit > .img_wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: url("#myClip");
    /*clip-path: url("../images/top/clip-shape4.svg#myClip");*/
    z-index: 0;
}
#recruit > .img_wrap .clip-svg {
    position: absolute;
}
#recruit > .img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s, transform 0.4s;
}

#recruit:hover > .img_wrap img {
    transform: scale(1.05);
}

#recruit .inner {
    padding-top: 20rem;
    padding-bottom: 15rem;
    position: relative;
    z-index: 1;
}


#recruit .layout {
    display: flex;
    justify-content: flex-end;
}
#recruit .layout .sec_ttl_wrap {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}
#recruit .layout .sec_ttl_wrap .icon {
    position: absolute;
    top: -6rem;
    right: 0;
    z-index: 2;
    width: 12rem;
    height: 12rem;
    background: url(../images/circle_bg_l.png) no-repeat center center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* letter-spacing: 0.1em; */
    color: #FFFFFF;
    font-weight: 700;
}
#recruit .layout .sec_ttl_wrap .ttl {
}
#recruit .layout .sec_ttl_wrap .ttl .sub {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2rem;
}
#recruit .layout .sec_ttl_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: calc(35/15);
    margin-top: 4rem;
}
#recruit .layout .sec_ttl_wrap .btn_wrap {
    margin-top: 4rem;
}


@media only screen and (max-width: 768px) {
#recruit {
    aspect-ratio: auto;
}
#recruit::after {
    display: none;
}
#recruit > .img_wrap {
    display: none;
}

#recruit .inner {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 0;
}

#recruit .layout {
    width: 31.5rem;
    flex-flow: column;
    justify-content: center;
    margin: auto;
    margin-top: 4rem;
}
#recruit .layout .sec_ttl_wrap {
    color: #313131;
    position: relative;
    z-index: 1;
}
#recruit .layout .sec_ttl_wrap .icon {
    top: -2rem;
    right: 0;
    z-index: 2;
    width: 7.2rem;
    height: 7.2rem;
    background: url(../images/circle_bg_l_sp.png) no-repeat center center;
    background-size: contain;
    font-size: 1.4rem;
}
#recruit .layout .sec_ttl_wrap .ttl {
}
#recruit .layout .sec_ttl_wrap .ttl .sub {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2rem;
}
#recruit .layout .sec_ttl_wrap > .txt {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: calc(35/15);
    margin-top: 4rem;
}
#recruit .layout .sec_ttl_wrap .btn_wrap {
    margin-top: 2rem;
}
}



/* #photogallery
----------------------------------------- */
#photogallery {
    position: relative;
    z-index: 1;
}
#photogallery::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1366 / 927;
    background: url("../images/top/photogallery_bg01.png") no-repeat center center / cover;
    position: absolute;
    top: 12rem;
    left: 0;
    z-index: -1;
}
#photogallery::after {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1366 / 824;
    background: url("../images/top/photogallery_bg02.png") no-repeat center center / cover;
    position: absolute;
    bottom: 3rem;
    left: 0;
    z-index: 10;
}

#photogallery .inner {
    padding-top: 18rem;
    padding-bottom: 10rem;
}

#photogallery .layout {
    position: relative;
    z-index: 1;
}
#photogallery .layout .sec_ttl_wrap {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
}
#photogallery .layout .sec_ttl_wrap a {
    display: flex;
    flex-flow: row-reverse;
    column-gap: 3rem;
}
#photogallery .layout .sec_ttl_wrap .ttl .sub {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    line-height: 1;
    color: #0A4F7F;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-font-feature-settings: 'pkna';
    -webkit-font-feature-settings: 'pkna';
    font-feature-settings: 'pkna';
    
}
#photogallery .layout .sec_ttl_wrap .img {
    display: flex;
    flex-flow: column;
    grid-gap: 2rem 0;
}
#photogallery .layout .sec_ttl_wrap .img .arrow {
    transform: translateX(-25%);
}


#photogallery .layout .img_wrap {
    width: 100%;
    aspect-ratio: 1166 / 1086;
    position: relative;
    z-index: 1;
}
#photogallery .layout .img_wrap .img {
    position: absolute;
}
#photogallery .layout .img_wrap .img01 {
    width: calc(262/1166*100%);
    top: calc(-40/1086*100%);
    left: calc(535/1166*100%);
}
#photogallery .layout .img_wrap .img02 {
    width: calc(480/1166*100%);
    top: calc(50/1086*100%);
    left: calc(-50/1166*100%);
    z-index: -1;
}
#photogallery .layout .img_wrap .img03 {
    width: calc(371/1166*100%);
    top: calc(357/1086*100%);
    left: calc(535/1166*100%);
}
#photogallery .layout .img_wrap .img04 {
    width: calc(339/1166*100%);
    top: calc(445/1086*100%);
    left: 0;
    z-index: -1;
}
#photogallery .layout .img_wrap .img05 {
    width: calc(444/1166*100%);
    top: calc(558/1086*100%);
    left: calc(793/1166*100%);
    z-index: -1;
}
#photogallery .layout .img_wrap .img06 {
    width: calc(371/1166*100%);
    top: calc(833/1086*100%);
    left: calc(263/1166*100%);
}


@media only screen and (max-width: 768px) {
#photogallery {
}
#photogallery::before {
    content: '';
    display: block;
    width: 42.414rem;
    height: 86.238rem;
    aspect-ratio: auto;
    background: url("../images/top/photogallery_bg01_sp.png") no-repeat center center / cover;
    position: absolute;
    top: 28.4rem;
    left: -3.5rem;
    z-index: -1;
}
#photogallery::after {
    content: '';
    display: block;
    width: 28.4rem;
    height: 86.0rem;
    aspect-ratio: auto;
    background: url("../images/top/photogallery_bg02_sp.png") no-repeat center center / cover;
    position: absolute;
    top: 12rem;
    bottom: auto;
    left: 3rem;
    z-index: 10;
}

#photogallery .inner {
    width: 100%;
    padding-top: 12rem;
    padding-bottom: 10rem;
}

#photogallery .layout {
    position: relative;
    z-index: 1;
}
#photogallery .layout .sec_ttl_wrap {
    position: absolute;
    z-index: 2;
    top: 25.5rem;
    right: 4.5rem;
}
#photogallery .layout .sec_ttl_wrap a {
    display: flex;
    flex-flow: row-reverse;
    column-gap: 2rem;
}
#photogallery .layout .sec_ttl_wrap .ttl .sub {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    line-height: 1;
    color: #0A4F7F;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-font-feature-settings: 'pkna';
    -webkit-font-feature-settings: 'pkna';
    font-feature-settings: 'pkna';
    
}
#photogallery .layout .sec_ttl_wrap .img {
    width: 6.14rem;
    display: flex;
    flex-flow: column;
    grid-gap: 2rem 0;
}
#photogallery .layout .sec_ttl_wrap .img .arrow {
    transform: translateX(-25%);
}


#photogallery .layout .img_wrap {
    width: 100%;
    aspect-ratio: 375 / 1035;
    position: relative;
    z-index: 1;
}
#photogallery .layout .img_wrap .img {
    position: absolute;
}
#photogallery .layout .img_wrap .img01 {
    width: calc(125/375*100%);
    top: 0;
    left: auto;
    right: 0;
}
#photogallery .layout .img_wrap .img02 {
    width: calc(222/375*100%);
    top: calc(64/1035*100%);
    left: 0;
    z-index: -1;
}
#photogallery .layout .img_wrap .img03 {
    width: calc(174/375*100%);
    top: calc(255/1035*100%);
    left: calc(15/375*100%);
}
#photogallery .layout .img_wrap .img04 {
    width: calc(157/375*100%);
    top: calc(469/1035*100%);
    left: 0;
    z-index: -1;
}
#photogallery .layout .img_wrap .img06 {
    width: calc(172/375*100%);
    top: calc(649/1035*100%);
    left: calc(123/375*100%);
    z-index: -1;
}
#photogallery .layout .img_wrap .img05 {
    width: calc(210/375*100%);
    top: calc(845/1035*100%);
    left: calc(135/375*100%);
}
}

