@charset "UTF-8"; /* -------------------------------------------------- shared/css/photo.css --------------------------------------------------- */ /* ------------- Photo Gallery 詳細ページ -------------- */ .gallery-carousel { max-width: 800px; max-height: 533px; margin: 0 auto; } .gallery-carousel .slick-prev { left: -70px; } .gallery-carousel .slick-prev:before { content: ""; margin-left: -0.6rem; } .gallery-carousel .slick-next { right: -70px; } .gallery-carousel .slick-next:before { content: ""; margin-left: -0.4rem; } .gallery-carousel .slick-list { z-index: 1; padding-top: 66.67%; } .gallery-carousel .slick-track { position: absolute; top: 0; height: 100%; } .gallery-carousel .slick-arrow { font-size: 0; position: absolute; top: 50%; z-index: 2; width: 50px; height: 50px; margin-top: -25px; border-radius: 25px; background-color: #ffffff; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25); color: #356cb6; cursor: pointer; -webkit-transition: all 0.3s; transition: all 0.3s; } .gallery-carousel .slick-arrow:hover { background-color: #356cb6; color: #ffffff; } .gallery-carousel .slick-arrow:before, .gallery-carousel .slick-arrow:after { -webkit-transition: border-color 0.3s; transition: border-color 0.3s; } .gallery-carousel .slick-arrow:hover:before, .gallery-carousel .slick-arrow:hover:after { border-color: #ffffff; } .gallery-carousel .slick-arrow:before { display: inline-block; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; font-family: glyphs; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: block; position: absolute; top: 50%; left: 50%; margin-top: -0.5rem; font-size: 1rem; z-index: 3; } .gallery-carousel-item { height: 100%; } .gallery-carousel-item img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; max-width: 100%; max-height: 100%; margin: auto; } .gallery-carousel-overlay { position: absolute; position: fixed; top: 0; bottom: 0; right: 0; left: 0; background-color: rgba(0, 0, 0, 0.9); z-index: 100; display: none; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; cursor: pointer; } .gallery-carousel-overlay .gallery-carousel { max-width: 1920px; max-height: 100vh; width: 100%; cursor: default; } .gallery-carousel-overlay .gallery-carousel .slick-prev { display: none; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; left: 3%; } .gallery-carousel-overlay .gallery-carousel .slick-next { display: none; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; right: 3%; } .gallery-carousel-overlay .gallery-carousel:hover .slick-prev { display: block; opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } .gallery-carousel-overlay .gallery-carousel:hover .slick-next { display: block; opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } .gallery-carousel-overlay .gallery-carousel-indicator, .gallery-carousel-overlay .gallery-carousel-close { max-width: 1920px; width: 100%; color: #ffffff; text-align: right; padding-right: 10px; } .gallery-carousel-overlay .gallery-carousel-indicator { position: static; margin: 10px auto 0 auto; } .gallery-carousel-overlay .gallery-carousel-close { margin: 0 auto; font-size: 4rem; } .gallery-carousel-utils { margin-top: 36px; max-width: 800px; min-height: 38px; margin-left: auto; margin-right: auto; position: relative; } .gallery-carousel-utils .gallery-carousel-modal { display: block; margin: auto; padding: 10px 30px; border-radius: 4px; border: 1px solid #356cb6; font-size: 1.4rem; font-weight: bold; cursor: pointer; line-height: 1; } .gallery-carousel-utils .gallery-carousel-modal:before { color: #356cb6; font-size: 1.6rem; margin-right: 8px; content: ""; display: inline-block; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; font-family: glyphs; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; vertical-align: -2px; } .gallery-carousel-indicator { position: absolute; right: 0; top: 50%; margin-top: -8px; color: #666666; z-index: 1; line-height: 1; font-family: Oswald; font-size: 1.6rem; } .gallery-carousel-thumbs-bg { background-color: #eff3f9; } .gallery-carousel-thumbs { margin-top: 36px; background-color: #eff3f9; position: relative; /* display: none; */ } .gallery-carousel-thumbs .slick-arrow { font-size: 0; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 15px; background-color: #ffffff; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25); color: #356cb6; cursor: pointer; -webkit-transition: all 0.3s; transition: all 0.3s; } .gallery-carousel-thumbs .slick-arrow:hover { background-color: #356cb6; color: #ffffff; } .gallery-carousel-thumbs .slick-arrow:before, .gallery-carousel-thumbs .slick-arrow:after { -webkit-transition: border-color 0.3s; transition: border-color 0.3s; } .gallery-carousel-thumbs .slick-arrow:hover:before, .gallery-carousel-thumbs .slick-arrow:hover:after { border-color: #ffffff; } .gallery-carousel-thumbs .slick-arrow:before { display: inline-block; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; font-family: glyphs; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: block; position: absolute; top: 50%; left: 50%; margin-top: -0.5rem; font-size: 1rem; z-index: 3; } .gallery-carousel-thumbs .slick-prev { left: 10px; } .gallery-carousel-thumbs .slick-prev:before { content: ""; margin-left: -0.6rem; } .gallery-carousel-thumbs .slick-next { right: 10px; } .gallery-carousel-thumbs .slick-next:before { content: ""; margin-left: -0.4rem; } .gallery-carousel-thumbs .slick-list { margin-left: 50px; margin-right: 50px; position: relative; height: 150px; } .gallery-carousel-thumbs .slick-list:before { position: absolute; display: block; content: ""; border-left: 1px solid #c9d8eb; top: 18px; bottom: 18px; left: 0; } .gallery-carousel-thumbs .slick-list:after { position: absolute; display: block; content: ""; border-left: 1px solid #c9d8eb; top: 18px; bottom: 18px; right: 0; } .gallery-carousel-thumbs .slick-track { margin-left: auto; margin-right: auto; height: 100%; } .gallery-carousel-thumbs .slick-slide { height: 100%; position: relative; } .gallery-carousel-thumbs .slick-slide:first-child:before { position: absolute; display: block; content: ""; border-left: 1px solid #c9d8eb; top: 18px; bottom: 18px; left: 0; } .gallery-carousel-thumbs .slick-slide:after { position: absolute; display: block; content: ""; border-right: 1px solid #c9d8eb; top: 18px; bottom: 18px; right: 0; } .gallery-carousel-thumbs .slick-slide img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; max-width: 80%; max-height: 80%; margin: auto; } .gallery-carousel-thumbs .slick-current { background-color: #356cb6; } .gallery-carousel-thumbs .slick-current:before, .gallery-carousel-thumbs .slick-current:after { border-color: #356cb6; } .gallery-carousel-thumbs .gallery-carousel-thumb { width: 158px; } .gallery-carousel-thumbs .gallery-carousel-thumb.active, .gallery-carousel-thumbs .gallery-carousel-thumb:hover { background-color: #356cb6; color: #ffffff; } .gallery-carousel-thumbs .gallery-carousel-thumb.active:before, .gallery-carousel-thumbs .gallery-carousel-thumb:hover:before { border-color: #356cb6; } .gallery-carousel-thumbs .gallery-carousel-thumb.active:after, .gallery-carousel-thumbs .gallery-carousel-thumb:hover:after { border-color: #356cb6; } .gallery-carousel-thumbs .gallery-carousel-thumb> .text { margin-top: 18px; position: relative; padding-left: 2rem; } .gallery-carousel-thumbs .gallery-carousel-thumb> .text:before { display: inline-block; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; font-family: glyphs; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; content: ""; font-size: 1.4rem; position: absolute; left: 0; top: 5px; } .title-body-gallery { padding-right: 330px !important; } .gallery-header-detail { display: block; width: 270px; height: 50px; border-radius: 25px; border: 2px solid #356cb6; background-color: #356cb6; font-size: 1.8rem; position: absolute; color: #ffffff; right: 40px; top: 50%; margin-top: -25px; font-weight: bold; text-align: center; line-height: 50px; padding-left: 30px; } .gallery-header-detail:before, .gallery-header-detail:after { display: inline-block; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; font-family: glyphs; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: block; position: absolute; top: 50%; } .gallery-header-detail:before { content: ""; left: 20px; font-size: 3.4rem; margin-top: -1.7rem; } .gallery-header-detail:after { right: 12px; content: ""; font-size: 1.2rem; margin-top: -0.7rem; } .gallery-header-detail:hover { background-color: #ffffff; color: #356cb6; } .gallery-header-detail.gallery-header-gallery:before { content: ""; } @media (max-width: 767px) { .gallery-carousel-utils .gallery-carousel-modal { display: none; } .title-body-gallery { padding-right: 0 !important; } .gallery-header-detail { width: 300px; left: 50%; margin-left: -150px; top: auto; bottom: -70px; } .gallery-carousel-container { margin-top: 60px; } div:not(.gallery-carousel-overlay) .gallery-carousel { overflow: hidden; } div:not(.gallery-carousel-overlay) .gallery-carousel .slick-arrow { width: 60px; height: 60px; margin-top: -30px; border-radius: 30px; } div:not(.gallery-carousel-overlay) .gallery-carousel .slick-prev { left: -36px; } div:not(.gallery-carousel-overlay) .gallery-carousel .slick-prev:before { margin-left: 10px; } div:not(.gallery-carousel-overlay) .gallery-carousel .slick-next { right: -36px; } div:not(.gallery-carousel-overlay) .gallery-carousel .slick-next:before { margin-left: -20px; } .gallery-carousel-utils { margin-top: 18px; } .gallery-carousel-utils .gallery-carousel-indicator { right: 18px; } .gallery-carousel-thumbs-bg { margin-top: 18px; } .gallery-carousel-thumbs { margin-top: 0; } .gallery-carousel-thumbs .slick-list { height: 135px; } .gallery-carousel-thumbs .gallery-carousel-thumb { width: 136px; } .gallery-header-detail { padding-right: 24px; } } @media (min-width: 768px) and (max-width: 991px) { .title-body-gallery { padding-right: 280px !important; } .gallery-header-detail { width: 220px; height: 40px; font-size: 1.6rem; line-height: 40px; margin-top: -20px; padding-left: 20px; } .gallery-header-detail:before { left: 10px; font-size: 2.6rem; margin-top: -1.3rem; } .gallery-header-detail:after { right: 10px; font-size: 1.2rem; margin-top: -0.6rem; } .gallery-carousel .slick-prev { left: 10px; } .gallery-carousel .slick-prev:before { content: ""; margin-left: -0.6rem; } .gallery-carousel .slick-next { right: 10px; } .gallery-carousel .slick-next:before { content: ""; margin-left: -0.4rem; } .gallery-carousel-overlay .gallery-carousel-indicator { padding-right: 16px; } .gallery-carousel-overlay .gallery-carousel-close { padding-right: 16px; } } @media (max-width: 479px) { .gallery-carousel-thumbs .slick-list { height: 85px; } .gallery-carousel-thumbs .slick-slide { padding: 24px 12px; } .gallery-carousel-thumbs .gallery-carousel-thumb { width: 84px; } }