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

.gray-bg {
background: #F6F6F6;
}
a.btn {
display: table;
background: #2e3035;
color: #fff;
box-sizing: border-box;
}

#hero, #hero img {
position: relative;
}
#hero h2 {
position: absolute;
color: #83CBD1;
z-index: 2;
line-height: 150%;
top: 50%;
left: 5%;
transform: translateY(-50%);
}
#hero img {
z-index: 1;
opacity: .5;
}
#banner {
width: 90%;
max-width: 640px;
margin: 0 auto;
display: flex;
justify-content: space-between;
}
#banner li {
width: 48%;
}
#banner li a img{
display: block;
border-radius: 8px;
}
a#line {
display: block;
max-width: 300px;
margin: 0 auto;
}
a#line img {
border-radius: 8px;
}

#greeting h3 {
color: #83CBD1;
text-align: center;
}
#greeting p {
font-family: "NotoSerifJP", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
#greeting p:last-child, #point li:last-child {
padding-bottom: 0;
}
#point div {
width: 90%;
max-width: 1440px;
margin: 0 auto;
}
#point ul li span{
display: block;
position: relative;
background: #83CBD1;
padding:10px;
text-align:center;
color:#FFFFFF;
font-weight: bold;
margin-bottom: 15px;
}
#point ul li span:after{
border: solid transparent;
content:'';
height:0;
width:0;
pointer-events:none;
position:absolute;
border-color: rgba(131, 203, 209, 0);
border-top-width:10px;
border-bottom-width:10px;
border-left-width:10px;
border-right-width:10px;
margin-left: -10px;
border-top-color:#83CBD1;
top:100%;
left:50%;
}
#info > div {
width: 90%;
max-width: 800px;
margin: 0 auto;
}
#info table{
width: 100%;
}

#itemlist li a {
display: block;
position: relative;
}
#itemlist li a img {
position: relative;
z-index: 1;
}
#itemlist li a h4 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
display: grid;
place-items: center;
background: rgba(131, 203, 209, 0.8);
font-weight: 700;
color: #fff;
}
#itemdetail h3 {
color: #83CBD1;
}

#caution {
color: red;
}

.how dl dt, #voice ul li div h4 {
color: #83CBD1;
font-weight: 700;
}
.how dl dd:last-child {
padding-bottom: 0;
}
.how dd ul, .how ol {
padding-left: 40px;
}
.how ul {
list-style-type: square;
}
.how ol {
list-style-type: decimal-leading-zero;
}
.how a.btn {
margin: 20px 0 0 0;
}

#voice ul li:last-child {
margin-bottom: 0;
}

#gallery ul.flex{
display: flex;
flex-wrap: wrap;
}
#gallery ul.flex li{
position: relative;
}
#gallery ul li:before{
content: "";
display: block;
padding-top: 100%;
}
#gallery ul li img{
position: absolute;
width: 100%;
height: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
object-fit: cover;
}

#newslist h3, #news h3 {
text-align: center;
}
#newslist .box > ul {
display: table;
margin: 0 auto;
}
#newslist .box > ul li a{
display: flex;
align-items: center;
}
#newslist .box > ul li a time{
font-weight: 600;
line-height: 1.5em;
}
.pager ul{
display: flex;
justify-content: center;
}
.pager ul li{
position: relative;
text-align: center;
border-radius: 50%;
}
.pager ul li a:after{
content: '';
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background: linear-gradient(-45deg, #eee8ff,#d3e2fa,#dcfdff);
transition: .3s;
}
.pager ul li:last-of-type{
margin-right: 0;
}
.pager ul li a.current_page_number:after{
background: linear-gradient(-45deg, #c7b6fe,#aac6f2,#99e9ef);
}
.pager ul a{
display: block;
color: #fff;
font-weight: bold;
}

#news > div {
max-width: 800px;
width: 90%;
margin: 0 auto;
}
#news time {
display: block;
text-align: right;
padding-bottom: 10px;
}
#news p {
padding-bottom: 16px;
}
#news p:last-child {
padding-bottom: 0;
}

@media (max-width: 560px){
.gray-bg {
padding-top: 60px;
margin-bottom: 60px;
}
a.btn {
width: 160px;
padding: 6px 12px;
background: url(../images/arrow.svg) no-repeat center right 12px #262626;
background-size: 50px;
margin-left: auto;
}
#main section h3 span.en {
font-size: 7vw;
}

#hero h2{
font-size: 7vw;
}
#banner ul {
padding-bottom: 30px;
}
#banner li {
padding-bottom: 30px;
}

#greeting p {
line-height: 160%;
padding-bottom: 20px;
}
#greeting p br {
display: none;
}
#point li {
padding-bottom: 40px;
}
#info table th, #info table td{
display: grid;
place-items: center;
padding: 10px;
box-sizing: border-box;
}
#info table th {
background: #F6F6F6;
}

#itemlist li {
padding-bottom: 40px;
}
#itemlist li:last-child {
padding-bottom: 0;
}
#itemlist li a h4 {
font-size: 1.8rem;
}
#itemphoto {
padding-bottom: 20px;
}
#itemdescription p {
padding-bottom: 20px;
}
#itemdescription a.btn, .how a.btn {
width: 200px;
}

#note2 .flex img, #note3 .flex img, .photo .flex img {
padding-bottom: 10px;
}
#caution {
padding: 10px 0;
}

.how p, .how li, .how dd, #voice ul li div p {
line-height: 160%;
}
.how dl dt, #voice ul li div h4 {
font-size: 5vw;
padding-bottom: 12px;
}
.how dl dd {
padding-bottom: 30px;
}
.how dd ul, .how ol {
padding-top: 10px;
}
.how p, .how dd ul li, .how ol li {
padding-bottom: 20px;
}
.how h4 {
font-size: 4vw;
padding-bottom: 12px;
}

#voice ul li {
margin-bottom: 50px;
}
#voice ul li img {
padding-bottom: 10px;
}

#greeting h3 span.en {
line-height: 100%;
}

#gallery ul.flex{
margin-bottom: 40px;
}
#gallery ul.flex li{
width: calc(48% - 20px) ;
border: solid 10px #F6F6F6;
margin-right: 4%;
margin-bottom: 20px;
}
#gallery ul.flex li:nth-of-type(2n){
margin-right: 0;
}
#gallery ul.flex li:nth-last-child(-n+2){
margin-bottom: 0;
}

#newslist .box > ul{
padding-bottom: 20px;
}
#newslist .box > ul li{
padding-bottom: 10px;
}
#newslist .box > ul li a time{
font-size: 3.5vw;
padding: 5px;
margin-bottom: 10px;
background: #000;
color: #fff;
}
.pager ul li{
width: 40px;
height: 40px;
margin-right: 10px;
}
.pager ul a{
font-size: 1.6rem;
line-height: 40px;
}
.pager ul li a:after{
background: linear-gradient(-45deg, #c7b6fe,#aac6f2,#99e9ef);
}
}

@media (min-width: 561px){
.gray-bg {
padding-top: 120px;
margin-bottom: 120px;
}
a.btn {
width: 180px;
padding: 10px;
background: url(../images/arrow.svg) no-repeat center right 10px #262626;
background-size: 80px;
margin-left: auto;
}

#main section h3 span.en {
font-size: 3.6rem;
}
#banner {
padding-bottom: 80px;
}

#greeting p {
text-align: center;
line-height: 200%;
padding-bottom: 30px;
}
#point ul li span {
font-size: 1.4rem;
}
#info table {
border-top: solid 1px #dfdfdf;
}
#info table th{
width: 30%;
padding: 20px 30px;
border-bottom: solid 1px #dfdfdf;
}
#info table td{
padding: 20px;
border-bottom: solid 1px #dfdfdf;
}

ul#itemlist {
display: flex;
flex-wrap: wrap;
}
ul#itemlist li {
width: 32%;
padding: 0 2% 30px 0;
}
ul#itemlist li:nth-child(3n) {
padding-right: 0;
}
#itemdetail .flex, #note2 .flex, #note3 .flex, .photo .flex {
justify-content: space-between;
}
#itemdetail .flex > div {
width: 48%;
}
#itemdescription p {
padding-bottom: 30px;
}
#itemdescription a.btn, .how a.btn {
width: 240px;
}

#note2 .flex img, #note3 .flex img, .photo .flex img {
width: 48%;
height: 100%;
}
#note2 .flex p, #note3 .flex p, .photo .flex p {
width: 48%;
}
#caution {
padding: 20px 0;
}

.how p, .how li, .how dd, #voice ul li div p {
line-height: 200%;
}
.how dl dt, #voice ul li div h4 {
font-size: 2.4rem;
padding-bottom: 10px;
}
.how dl dd {
padding-bottom: 40px;
}
.how dd ul, .how ol {
padding-top: 20px;
}
.how p, .how dd ul li, .how ol li {
padding-bottom: 30px;
}
.how h4 {
font-size: 2rem;
padding-bottom: 10px;
}

#voice ul li {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 80px;
}
#voice ul li img {
width: 20%;
height: 100%;
}
#voice ul li div {
width: 76%;
}

#gallery ul.flex li{
width: calc(23% - 40px) ;
border: solid 20px #F6F6F6;
margin-right: 2.6%;
margin-bottom: 30px;
}
#gallery ul.flex li:nth-of-type(4n){
margin-right: 0;
}

#newslist .box > ul{
padding-bottom: 30px;
}
#newslist .box > ul li{
padding-bottom: 30px;
}
#newslist .box > ul li a time{
font-size: 1.2rem;
padding: 5px 20px 5px 0;
margin-right: 20px;
border-right: solid 1px #cbcbcb;
}
.pager ul li{
width: 50px;
height: 50px;
margin-right: 20px;
}
.pager ul li a:hover:after{
background: linear-gradient(-45deg, #c7b6fe,#aac6f2,#99e9ef);
transition: .3s;
}
.pager ul a{
font-size: 1.6rem;
line-height: 50px;
}
}

@media (min-width: 561px) and (max-width: 960px){
#hero h2 {
font-size: 8vw;
}

#itemlist li a h4 {
font-size: 2rem;
}
}

@media screen and (max-width: 960px){
#greeting p {
font-size: 1.6rem;
}
}

@media screen and (min-width: 961px){
#hero {
max-width: 1440px;
margin: 0 auto;
}
#hero h2 {
font-size: 6rem;
}

#greeting p {
font-size: 2rem;
}

#itemlist li a h4 {
font-size: 2.2rem;
}

#voice .flex {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#voice ul.flex li {
width: 48%;
padding-bottom: 40px;
align-items: flex-start;
}
#voice ul.flex li:nth-last-child(-n+2) {
padding-bottom: 0;
margin-bottom: 0;
}
#voice ul.flex li img {
height: auto;
}
}

@media (min-width: 561px) and (max-width: 1440px){
#point ul {
flex-wrap: wrap;
justify-content: center;
}
#point li {
width: 32%;
padding: 0 2% 30px 0;
}
#point li:nth-child(3), #point li:nth-child(5) {
padding-right: 0;
}
}

@media screen and (min-width: 1441px){
#point ul {
justify-content: space-between;
}
#point li {
width: 18%;
}
}