/* -------------------------------------------------------------------------- */
/*	Document Setup
/* -------------------------------------------------------------------------- */
html { font-size: 62.5%; /* 1rem = 10px */ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: smooth; } }
body { box-sizing: border-box; color: #111; font-family: "Noto Sans JP", sans-serif; font-optical-sizing: auto; letter-spacing: 0.05rem; font-size: 1.6rem; margin: 0; padding: 0; }

.pc_display { display: inherit; }

.sp_display { display: none !important; }

a { text-decoration: none; color: #3194b4; }
a:hover { opacity: 0.8; }

.x-small { font-size: 1.2rem; }

.large { font-size: 1.6rem; }

.t-75 { transform: scaleX(0.75); }

.emphasis { font-size: 2.4em; letter-spacing: 1.5; }

.name { letter-spacing: -0.5rem; }

p { line-height: 1.5; }

input, textarea, select { padding: 5px 10px; width: 90%; }

input[type=checkbox] { padding: 5px 10px; width: auto; }

.w_90 { width: 90%; height: auto; margin: 0 auto 2rem; }
.w_90 img { width: 100%; height: auto; }

.w_auto { display: inline-block; width: auto; height: auto; margin: 0 auto; position: relative; left: 50%; transform: translateX(-50%); }

#side_nav { position: fixed; z-index: 1000; top: 30%; right: 0; width: 4%; height: auto; transform: translateY(-50%); margin: 0; padding: 0; }
#side_nav a img { margin: 0 0 10px 0; width: 100%; height: auto; }

#sideimg_l { width: 20%; height: 100%; position: fixed; left: 0; top: 0; z-index: 99; background-image: url("images/sideimg_l.png"); background-repeat: no-repeat; background-position: left; background-size: 50%; }
#sideimg_l img { position: absolute; top: 70%; left: -20px; }

#sideimg_r { width: 20%; height: 100%; position: fixed; right: 0; top: 0; z-index: 99; background-image: url("images/sideimg_r.png"); background-repeat: no-repeat; background-position: right; background-size: 50%; }

section { margin-bottom: 10rem; }

/*	HEADER
/* -------------------------------------------------------------------------- */
header { width: 100%; height: auto; position: relative; z-index: 1; background-image: url("images/header_photo01.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center; padding-top: 2rem; }
header h1 { font-size: 1rem; text-align: center; margin: 0; padding: 0; color: #fff; }
header #header_logo { width: 180px; height: auto; margin: 2rem auto; }
header #header_logo img { width: 100%; height: auto; }
header #mainimg_text { width: 30%; height: auto; margin: 30vh auto 0 auto; transform: translateY(-50%); }
header #mainimg_text img { width: 100%; height: auto; }
header #news_box { display: flex; width: 50%; height: auto; margin: 0 auto 5rem auto; justify-content: center; justify-content: space-around; }
header #news_box p.news_text { width: 80%; height: auto; background-color: rgba(255, 255, 255, 0.9); border-radius: 0 16px 16px 0; margin: 0 0 60px 0; padding: 10px 50px; box-sizing: border-box; }
header #news_box p.news_text .news_date { width: 25%; height: auto; margin-right: 5%; }
header #news_box p.news_text .newscontents { width: 70%; height: auto; }
header #news_box #newstitle { width: 20%; height: auto; background-color: #d9e793; display: block; font-weight: 900; border-radius: 16px 0 0 16px; margin: 0 0 60px 0; padding: 10px 0; text-align: center; box-sizing: border-box; }

/*	CONTENTS
/* -------------------------------------------------------------------------- */
.container { width: 60%; height: auto; margin: 0 auto 10rem auto; padding: 5rem 0; }

.contents_title_l { margin: 0 auto 5rem 0; }
.contents_title_l img { width: auto; height: 4rem; }

.contents_title_c { margin: 0 auto 5rem auto; text-align: center; }
.contents_title_c img { width: auto; height: 4rem; }

.img_center { width: 100%; height: auto; margin: 0 auto 10rem auto; }
.img_center img { width: 100%; height: auto; }

.flex_box { display: flex; justify-content: space-around; margin-bottom: 10rem; }

.notes { border: none !important; text-align: right; font-size: 1.2rem; bottom: 0; }

#contents_01 h3 { margin: 0 0 2rem 0; }
#contents_01 h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.8rem; padding: 5px 30px; text-align: center; margin-right: 10px; }
#contents_01 p { width: 80%; height: auto; font-size: 1.6rem; line-height: 2.0; }
#contents_01 img { width: 80%; height: auto; }

#contents_02 { position: relative; }
#contents_02 h3 { margin: 0 0 2rem 0; }
#contents_02 h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.8rem; padding: 5px 30px; text-align: center; margin-right: 10px; }
#contents_02 p { width: 50%; height: auto; font-size: 1.6rem; line-height: 2.0; position: relative; z-index: 1; }
#contents_02 img { width: 120%; height: auto; position: relative; z-index: 2; margin: -30% 0 0 -30%; }

#contents_03 { position: relative; margin-top: 5rem; }
#contents_03 #con_03_left { width: 70%; margin-top: 3rem; }
#contents_03 #con_03_left p { width: 100%; height: auto; font-size: 1.6rem; line-height: 2.0; position: relative; z-index: 1; }
#contents_03 #con_03_left img { width: 110%; height: auto; position: relative; z-index: 2; margin: 0 0 0 0; }
#contents_03 #con_03_right { width: 30%; margin-top: -5rem; }
#contents_03 #con_03_right h3 { margin: 0 0 2rem 0; }
#contents_03 #con_03_right h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.8rem; padding: 5px 30px; text-align: center; margin-right: 10px; }

#contents_05 p { width: 60%; margin: 0 3% 0 0; }
#contents_05 div { width: 37%; height: auto; }
#contents_05 div img { width: 100%; height: auto; margin: 0 auto; }
#contents_05 div figcaption { display: inline-block; width: 100%; text-align: center; height: auto; padding: 0.5rem 0; background-color: rgba(0, 0, 0, 0.8); color: #fff; font-weight: 600; }

#splus { margin-right: 0.5rem; }
#splus img { width: auto; height: 1.4rem; }

#gmap_btn { width: 30%; height: auto; margin: 0 auto 2rem; }
#gmap_btn img { width: 100%; height: auto; }

#tel_btn { width: 50%; height: auto; margin: 3rem auto; }
#tel_btn img { width: 100%; height: auto; }

.gallery { columns: 3; padding: 0 15px; list-style: none; }

.gallery li { margin-bottom: 20px; }

.gallery img { width: 100%; height: auto; vertical-align: bottom; }

.flipLeft { animation-name: flipLeft; animation-duration: 1.0s; animation-fill-mode: forwards; perspective-origin: left center; opacity: 0; }

@keyframes flipLeft { from { transform: perspective(600px) translate3d(0, 0, 0) rotateY(50deg); opacity: 0; }
  to { transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg); opacity: 1; } }
.info_table { border: none; width: 70%; height: auto; margin: 0 auto 10rem auto; position: relative; }
.info_table th { padding: 3rem; border-bottom: solid 2px #f29600; white-space: nowrap; }
.info_table td { padding: 3rem; border-bottom: solid 2px #f29600; }

footer { width: 60%; margin: 0 auto; }
footer h4 { font-size: 1.2rem; text-align: center; margin: 0 auto 1rem auto; padding: 0; }
footer #footer_logo { width: 10%; height: auto; margin: 0 auto 2rem; }
footer #footer_logo img { width: 100%; height: auto; }
footer #footer_name { width: 15%; height: auto; margin: 0 auto 2rem; }
footer #footer_name img { width: 100%; height: auto; }

#copy_right { font-size: 1.0rem; text-align: center; margin: 0 auto 1rem; }

/*	980px
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 980px) { .gallery { columns: 3; }
  .info_table { border: none; width: 90%; height: auto; margin: 0 auto 10rem auto; }
  .info_table th { padding: 3rem; border-bottom: solid 2px #f29600; white-space: nowrap; }
  .info_table td { padding: 3rem; border-bottom: solid 2px #f29600; } }
/*	768px
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) { body { font-size: 1.4rem; }
  .pc_display { display: none !important; }
  .sp_display { display: inherit; }
  #side_nav { position: fixed; z-index: 1000; top: 30%; right: 0; width: 10%; height: auto; transform: translateY(-50%); margin: 0; padding: 0; }
  #side_nav a img { margin: 0 0 10px 0; width: 100%; height: auto; }
  #sideimg_l { width: 20%; height: 100%; position: fixed; left: 0; top: 0; z-index: 99; background-image: url("images/sideimg_l.png"); background-repeat: no-repeat; background-position: left; background-size: 50%; }
  #sideimg_l img { width: 150%; height: auto; position: absolute; top: 70%; left: -20px; }
  #sideimg_r { width: 20%; height: 100%; position: fixed; right: 0; top: 0; z-index: 99; background-image: url("images/sideimg_r.png"); background-repeat: no-repeat; background-position: right; background-size: 50%; }
  #sideimg_r img { width: 150%; height: auto; position: absolute; top: 7%; }
  section { margin-bottom: 5rem; }
  .w_auto { display: inline-block; width: 90%; height: auto; margin: 0 auto; position: relative; left: 50%; transform: translateX(-50%); }
  header { width: 100%; height: auto; position: relative; z-index: 1; background-image: url("images/sp/header_photo01.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center; padding-top: 2rem; padding-bottom: 5px; }
  header #header_logo { width: 30%; height: auto; margin: 2rem auto; }
  header #header_logo img { width: 100%; height: auto; }
  header #mainimg_text { width: 50%; height: auto; margin: 20vh auto 0 auto; transform: translateY(-50%); }
  header #mainimg_text img { width: 100%; height: auto; }
  header #news_box { display: block; width: 80%; height: auto; margin: 0 auto; justify-content: center; justify-content: space-around; }
  header #news_box p.news_text { width: 100%; height: auto; background-color: rgba(255, 255, 255, 0.9); border-radius: 0 0 10px 10px; margin: 0 0 60px 0; padding: 5px 30px; box-sizing: border-box; justify-content: space-between; }
  header #news_box p.news_text .news_date { width: 100%; margin-right: 0; text-align: left; display: block; justify-content: flex-start; }
  header #news_box p.news_text .newscontents { width: 100%; height: auto; display: block; justify-content: flex-end; }
  header #news_box #newstitle { width: 100%; height: auto; background-color: #d9e793; display: block; font-weight: 900; border-radius: 10px 10px 0 0; margin: 0; padding: 2px 0; text-align: center; box-sizing: border-box; }
  header #news_box span.newscontents { display: block; width: 100%; height: auto; }
  .notes { border: none !important; text-align: right; font-size: 1.0rem; bottom: 0; }
  .container { width: 86%; height: auto; margin: 0 auto 10rem auto; padding: 5rem 0; }
  .container img { max-width: 100%; }
  .contents_title_l { margin: 0 auto 3rem auto; text-align: center; }
  .contents_title_l img { width: 90%; height: 3rem; }
  .contents_title_c { margin: 0 auto 3rem auto; text-align: center; }
  .contents_title_c img { width: auto; height: 3rem; }
  .img_center { width: 100%; height: auto; margin: 0 auto 3rem auto; }
  .img_center img { width: 100%; height: auto; }
  .flex_box { display: block; margin: 0 auto 10rem auto; }
  #contents_01 { text-align: center; }
  #contents_01 h3 { margin: 0 auto 2rem auto; }
  #contents_01 h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.6rem; padding: 5px 12px; text-align: center; margin-right: 5px; }
  #contents_01 p { width: 80%; height: auto; font-size: 1.6rem; line-height: 2.0; margin: 0 auto; text-align: left; }
  #contents_01 img { width: 40%; height: auto; margin: 0 auto; }
  #contents_02 { text-align: center; position: relative; }
  #contents_02 h3 { margin: 0 0 2rem 0; }
  #contents_02 h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.6rem; padding: 5px 30px; text-align: center; margin-right: 10px; }
  #contents_02 p { width: 80%; height: auto; font-size: 1.6rem; line-height: 2.0; position: relative; z-index: 1; margin: 0 auto; text-align: left; }
  #contents_02 img { width: 100%; height: auto; position: relative; z-index: 2; margin: 0; }
  #contents_03 { position: relative; margin-top: 40rem; text-align: center; }
  #contents_03 #con_03_left { display: block; width: 100%; margin: 0 auto; }
  #contents_03 #con_03_left p { width: 80%; height: auto; font-size: 1.6rem; line-height: 2.0; position: relative; margin: 0 auto; z-index: 1; }
  #contents_03 #con_03_left img { width: 100%; height: auto; position: relative; z-index: 2; margin: 0; }
  #contents_03 #con_03_right { display: block; width: 100%; margin-top: -60rem; }
  #contents_03 #con_03_right h3 { margin: 0 0 2rem 0; }
  #contents_03 #con_03_right h3 span { display: inline-block; background-color: #3194b4; color: #fff; font-size: 1.8rem; padding: 5px 30px; text-align: center; margin-right: 10px; }
  #contents_03 #con_03_right p { width: 80%; height: auto; margin: 0 auto; text-align: left; }
  #contents_04 { margin-top: 55rem; }
  #contents_05 p { width: 80%; margin: 0 auto 2rem auto; }
  #contents_05 div { width: 100%; height: auto; text-align: center; }
  #contents_05 div img { width: 90%; height: auto; margin: 0 auto; }
  #contents_05 div figcaption { display: inline-block; width: 90%; text-align: center; height: auto; padding: 0.5rem 0; background-color: rgba(0, 0, 0, 0.8); color: #fff; font-weight: 600; }
  #contents_05_01 p { width: 80%; height: auto; margin: 0 auto 2rem auto; }
  #contents_05_01 h2 { text-align: center; margin: 0 auto 3rem auto; padding: 0; width: 90% !important; }
  #contents_05_01 h2 img { width: 100%; }
  #contents_05_02 h2 { text-align: center; margin: 0 auto 3rem auto; padding: 0; width: 90% !important; }
  #contents_05_02 h2 img { width: 100%; }
  #contents_05_02 p { width: 80%; height: auto; margin: 0 auto 2rem auto; }
  #gmap_btn { width: 50%; height: auto; margin: 0 auto 2rem; }
  #gmap_btn img { width: 100%; height: auto; }
  #tel_btn { width: 80%; height: auto; margin: 2rem auto; }
  #tel_btn img { width: 100%; height: auto; }
  footer { width: 100%; margin: 0 auto; }
  footer h4 { font-size: 1.2rem; text-align: center; margin: 0 auto 1rem auto; padding: 0; }
  footer #footer_logo { width: 20%; height: auto; margin: 0 auto 2rem; }
  footer #footer_logo img { width: 100%; height: auto; }
  footer #footer_name { width: 30%; height: auto; margin: 0 auto 2rem; }
  footer #footer_name img { width: 100%; height: auto; }
  .gallery { width: 90%; columns: 2; margin: 0 auto 10rem; }
  .gallery li { margin-bottom: 10px; }
  .gallery img { width: 100%; height: 200px; object-fit: cover; vertical-align: bottom; }
  .info_table { border: none; width: 90%; height: auto; margin: 0 auto 10rem auto; }
  .info_table th { padding: 1rem 0; border-bottom: solid 2px #f29600; }
  .info_table td { padding: 1rem; border-bottom: solid 2px #f29600; } }
