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

html {
  box-sizing: border-box;
  background-color: #ffffff;
font-family: Optima;
}

*, *::after, *::before {
  box-sizing: inherit;
}

*, *:before, *:after {
  box-sizing: border-box;
  outline: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body{
  margin: 0;
  padding-top: 60px;
  
  * {
    box-sizing: border-box;
  }
  
  .is-menuOpen & {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }
}



/* ===============================================
ハンバーガースタイリング


header {
  position: fixed;
  top: 0;
  width: 100%;
max-width: 1200px;
}

.centering_parent {
  background-color: #308f73;

}

.centering_item {
display: flex;
  width: 100%;
  height: 70px;
max-width: 1200px;
  padding-right: 0px;
  padding-left: 0px;
  z-index: 999;
  background-color: #666666;
  margin: 0 auto;
}



header #btn {
  position: relative;
  background: none;
  border: none;
margin: 0px 0 0 0;
}
header #btn:before {
   content: url(menu.gif);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 40px;
  height: 60px;
}
header #btn.is-active:before {
   content: url(close.gif);
  height: 60px;
}

header #menu {
position: absolute;
  top: 60px;
  left: 0;
  width: 50%;
  height: 0;
  background-color: #308f73;
overflow: auto;
  transition: height 0.5s ease-in-out;
}

.header__logo {
font-size: 16px;
font-weight: normal;
color: #ffffff;
text-align: center;
}

.centering_item text {
font-size: 16px;
font-weight: normal;
color: #ffffff;
text-align: center;
}

.nav__item a {
  display: block;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 12px 0 12px 25px;
  text-transform: uppercase;
}
.nav__item a:hover {
  color: #0f5474;
  background-color: #fff;
}

=============================================== */


/**************** ここまで、メニューのスタイリング ****************/

.container {
width: 100%;
margin: 0 auto;
background-color: #ffffff;
max-width: 1200px;
padding: 10px 0 0 0;
  z-index: 20;
}


.clear {
  all: initial;
}


.imgsize {
margin-top: -5%;
}

.imgsize img {
    width: 100%;
    max-width: 1200px;
    height: auto;
  margin: 0 auto;

}


.content {
width: 100%;
background-color: #faf0e6;
max-width: 1200px;
margin: 0 auto;
padding: 5px 0px 5px 0px;
}
@media screen and (max-width: 960px) {
.content {
width: 100%;
background-color: #faf0e6;
max-width: 960px;
margin: 0 auto;
padding: 15px 25px 10px 25px;
border-radius: 25px 0px 25px 0px;
}
}

/* イメージボックスＰＣ　960切り替え*/
.imagesbox {
display: block;
max-width: 1200px;
width: 100%;
margin: 0 auto;
padding: 12px 0 6px 0;
background-color: #ffffff;
text-align: center;
}
@media screen and (max-width: 960px) {
.imagesbox {
display: none;
}
}
.imagesbox img {
width: 100%;
max-width: 1200px; /* 親要素の幅に合わせて縮小 */
height: auto;   /* アスペクト比を維持 */
}
@media screen and (max-width: 960px) {
.imagesbox img {
display: none;
}
}

/* イメージボックスSmart phone 960切り替え*/
.imagesbox_sp {
display: block;
max-width: 960px;
width: 100%;
margin: 0 auto;
padding: 12px 0 6px 0;
background-color: #ffffff;
text-align: center;
}
@media screen and (min-width: 960px) {
.imagesbox_sp {
display: none;
}
}

.imagesbox_sp img {
display: block;
width: 100%;
max-width: 960px; /* 親要素の幅に合わせて縮小 */
height: auto;   /* アスペクト比を維持 */
}
@media screen and (min-width: 960px) {
.imagesbox_sp img {
display: none;
}
}

/* ↑イメージボックス切り替えここまで　*/


.content h1 {
font-size: 17px !important;
letter-spacing: 0px;
background-color: #308f73 !important;
font-weight: normal !important;
color: #fff !important;
padding: 0.5em 1em calc(0.5em - 6px) !important;
padding-top: 10px !important;
padding-bottom: 8px !important;
position: relative !important;
display: block !important;
margin: 10px 0 25px 0 !important;
font-family: Franklin Gothic !important;
}
@media screen and (min-width: 960px) {
.content h1 {
font-size: 18px !important;
letter-spacing: 2px;
background-color: #308f73f !important;
font-weight: normal !important;
color: #fff !important;
padding: 0.5em 1em calc(0.5em - 6px) !important;
padding-top: 10px !important;
padding-bottom: 8px !important;
position: relative !important;
display: block !important;
margin: 10px 0 25px 0 !important;
font-family: Franklin Gothic !important;
}
}
.content h1::after {
content: '' !important;
background-color: #308f73ff !important;
width: 100% !important;
height: 3px !important;
position: absolute !important;
bottom: -6px !important;
left: 0 !important;
}

.content h2 {
font-size: 17px !important;
display: block!important;
font-weight: normal!important;
padding: 0.5em 1em!important;
padding-top: 5px !important;
padding-bottom: 8px !important;
background-color:#008040ff !important;
color: #fff!important;
overflow: hidden!important;
position: relative!important;
margin: 5px 0 5px 0 !important;
letter-spacing: 0px;
font-family: Franklin Gothic !important;
}
@media screen and (min-width: 960px) {
.content h2 {
font-size: 19px !important;
display: block!important;
font-weight: normal!important;
padding: 0.5em 1em!important;
padding-top: 10px !important;
padding-bottom: 10px !important;
background-color:#008040ff !important;
color: #fff!important;
overflow: hidden!important;
position: relative!important;
margin: 5px 0 15px 0 !important;
letter-spacing: 2px;
font-family: Franklin Gothic !important;
}
}

.content h2::after {
content: ''!important;
background-color: #fff!important;
opacity: 0.3!important;
transform: rotate(-65deg)!important;
position: absolute!important;
bottom: -250px!important;
right: -250px!important;
width: 300px!important;
height: 500px!important;
}

.content h3 {
display: block;
border-bottom: 2px solid #008040ff;
padding: 20px 0 4px 6px;
font-size: 22px;
font-weight: normal;
color: #600000;
margin: 20px 5px 10px 0px;
font-family: Helvetica;
letter-spacing: 4px;
}
/*
@media screen and (min-width: 960px) {
.content h3 {
all: unset !important;
display: block !important;
border-bottom: 2px solid #008040ff !important;
border-left: 0px solid #008040ff !important;
padding: 20px 0 18px 20px; !important;
font-size: 20px !important;
font-weight: normal !important;
margin: 20px 5px 10px 0px !important;
font-family: Franklin Gothic !important;
letter-spacing: 20px;
}
}
*/

.content h4 {
display: block;
font-size: 18px;
letter-spacing: 1px;
font-weight: normal;
position: relative;
padding: .5em 1.2em;
margin: 20px 0 5px 10px;
font-family: Franklin Gothic;
color: #600000;
}
@media screen and (min-width: 960px) {
.content h4 {
display: block;
font-size: 21px;
letter-spacing: 1px;
font-weight: normal;
position: relative;
padding: .5em 1.2em;
margin: 20px 0 10px 10px;
font-family: Franklin Gothic;
color: #600000;
}
}

.content h4::before {
display: inline-block!important;
position: absolute!important;
transform: translateY(-50%)!important;
width: 12px!important;
height: 12px!important;
border: 2px solid #008040ff !important;
content: ''!important;
}
.content h4::after {
display: inline-block!important;
position: absolute!important;
transform: translateY(-50%)!important;
width: 12px!important;
height: 12px!important;
border: 2px solid #008040ff!important;
content: ''!important;
}
.content h4::before {
top: calc(50% - 3px)!important;
left: 0!important;
}
.content h4::after {
top: calc(50% + 3px)!important;
left: 5px!important;
}

/**************** テキスト ****************/
.text {
margin: 10px 10px 10px 10px;
padding: 0 8px 0 8px;
font-size: 16px;
font-weight: normal;
line-height: 150%;
color: #505050;
text-align: left ;
}
@media screen and (min-width: 960px) {
.text {
margin: 10px 10px 10px 10px;
padding: 0 16px 0 16px;
font-size: 18px;
font-weight: normal;
line-height: 150%;
color: #505050;
text-align: left ;
}
}

.text p{
padding-left: 10px;
}



main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background-color: #fffaf0;
  z-index: 20
}

main footer {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 0 0;
  padding: 20px 20px 20px;
  background-color: #278765;
}
main footer::after {
  clear: both;
  content: "";
  display: block;
}
main footer .logo {
  font-size: 28px;
  color: whitesmoke;
  line-height: 0;
  margin-bottom: 8px;
  margin-right: 4px;
}
@media screen and (min-width: 960px) {
  main footer .logo {
    float: left;
    margin-bottom: 0;
  }
}
main footer ul {
  line-height: 1.5;
  margin: 0 0 16px 0;
  padding: 0;
}
main footer ul::after {
  clear: both;
  content: "";
  display: block;
}
@media screen and (min-width: 960px) {
  main footer ul {
    float: left;
    line-height: 1.8;
    margin-bottom: 0;
    margin-left: 16px;
  }
  main footer ul::after {
    clear: both;
    content: "";
    display: block;
  }
}
main footer ul li {
  list-style: none;
  padding-right: 16px;
}
@media screen and (min-width: 960px) {
  main footer ul li {
    display: inline;
    text-align: left;
  }
}
main footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
main footer ul li a:focus, main footer ul li a:hover {
  color: white;
}
@media screen and (min-width: 960px) {
  main footer .secondary-links {
    float: right;
  }
}
main footer .secondary-links li a {
  font-size: 12px;
  font-weight: 100 !important;
}
main footer .secondary-links .social {
  margin: 1em 0 0 0;
}
@media screen and (min-width: 960px) {
  main footer .secondary-links .social {
    float: right;
    margin-top: 0;
  }
}
main footer .secondary-links .social li {
  float: left;
  font-size: 1em;
  line-height: 0;
  margin: 0;
  padding-right: 0.7em;
}
main footer .secondary-links .social li:last-child {
  padding-right: 0;
}
main footer .secondary-links .social li > a {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #444;
  text-align: center;
  line-height: 30px;
}
main footer .secondary-links .social li > a:hover {
  background-color: white;
}

.footersign {
margin: 5px 0 15px 0 !important;
display: block;
background-color: #308f73ff !important;
}
@media screen and (min-width: 960px) {
.footersign {
margin: 50px 0 15px 0 !important;
display: block;
background-color: #308f73ff !important;
}
}

.footersign h4 {
padding: 5px 0 5px 15px !important;
font-size: 16px !important;
font-weight: normal !important;
letter-spacing: 1px;
margin: 15px 0 15px 0 !important;
color: #333333;  
}

.footersign h5 {
font-size: 13px !important;
font-weight: normal !important;
margin: -15px 0 15px 25px !important;
color: #333333;
}


.maillink {
	width: 70%;
	font-size: 130%;
	font-weight: normal;
	line-height: 220%;
	margin: 20px 0px 20px 0px;
	text-align: center;
letter-spacing: 2px;

}
@media screen and (max-width: 960px) {
.maillink {
	width: 85%;
	font-size: 120%;
}
}

.maillink a {
	display: block;
	height: 70px;
	padding: 12px 12px 12px 18px;
	text-decoration: none;
	color: #ffffff;
	background-color: #ba9205;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 1px 2px 3px #999999;
	-webkit-box-shadow: 1px 2px 3px #999999;
	box-shadow: 1px 2px 3px #999999;/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
}

.maillink a:hover {
	color: #ffffff;
	background-color: #009999;
	-moz-box-shadow: -1px -2px 3px #999999;
	-webkit-box-shadow: -1px -2px 3px #999999;
	box-shadow: -1px -2px 3px #999999;/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
}

.minicon {
  min-width: 60px;
  height: 25px;
  color: #fff;
  padding: 0px 4px;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 5px;
  border: 2px solid #ffd819;
  background: #ffd819;
text-align: center;
}
.minicon a {
  text-decoration: none;
}
.minicon:hover {
  background: #fff;
  color: #ffd819
}

.minitext {
margin: 0;
padding: 0;
font-size: 13px;
font-weight: normal;
color: #505050;
}




/*"スケジュール写真"*/
.media {
display: block;
padding: 0;
width: 98%;/*画像サイズ300px*/
}

.media img {
	border: 0px solid #80ff80;
	margin: 0;
	width: 38%;/*300px*/
	min-width: 180px;
	float: right;
	margin-left: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
height: 100%;
}
/*"写真横文章"*/
.media p {
display: block;
	font-size: 16px;
	color: #454545!important;
	margin: 0;
	padding: 10px;
	width: 100%;
height: 100%;
	min-height: 250px;
}

/**************** 文中リスト ****************/


  li.list1 {
   position: relative;
   padding: 0px 0 0px 20px;
list-style: none;
margin: 20px 0 20px 20px;
	font-size: 18px;
font-family: Franklin Gothic !important;
  }
 
  li.list1:before {
   content: "";
   position: absolute;
   top: .1em;
   left: -3px;
   width: 15px;
   height: 15px;
   border-top: 1px solid #fff;
   border-right: 1px solid #fff;
   border-radius: 50%;
   background-color: #8b6b4e;
  }
 
  li.list1:after {
   content: "";
   position: absolute;
   top: .5em;
   left: 1px;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
   width: 4px;
   height: 4px;
   border-top: 1px solid #fff;
   border-right: 1px solid #fff;
  }

/**************** 冒頭お知らせ ****************/

.infotext {
margin: 13px 0px 13px 10px;
padding: 0;
font-size: 13px;
font-weight: normal;
line-height: 140%;
color: #000080;
text-align: left ;
}


/*********youtube埋め込みレスポンシブ*********/

.youtube {
  width: 90%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}


.totop {
margin: 10px 0;
text-align: right;
}

