/* SHOUEI CSS */
body, input, textarea {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", "Meiryo", "verdana", sans-serif;
}

@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #22b573;
}

body {
  color: #3e3a39;
}

img{
  -webkit-backface-visibility: hidden;
}

#wrapper {
  overflow: hidden;
}

/* Header Navigation */
.inner {
    width: 100%;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#header {
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 30px 5% 30px 10%;
  line-height: 1;
  z-index: 999;
  background-color: #eaf4ec;
  height: 145px;
  transition: .5s;
}
#header a,
#header {
    color: #3e3a39;
    text-decoration: none;
}
#header .inner {
    position: relative;
}
#header .logo {
  float: left;
  font-size: 22px;
  display: inline-flex;
  width: 300px;
}
#header .logo a {
  display: flex;
  width: 300px;
}
#header img {
  width: auto;
  transition: .5s;
  height: 85px;
}
#header .logo-name {
  margin: 35px 0 0 20px;
  letter-spacing: 3px;
}
#header .logo-text {
  font-size: 14px;
  position: absolute;
  top: 10px;
  left: 90px;
  letter-spacing: 1px;
  font-weight: normal;
}
#global-nav ul {
  list-style: none;
  position: absolute;
  top:73px;
  right: 0;
  bottom: 0;
  font-size: 14px;
  margin: 0;
  transition: 0.5s ease-in-out;
}
#global-nav ul li {
  float: left;
  font-weight: normal;
}
#global-nav ul li a {
  padding: 0 15px;
}

#global-nav ul li a:hover,#header.fixed #global-nav ul li a:hover {
  color: #22b573;
}

/* Fixed */
#header.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #eaf4ec;
    background: rgba(243,244,236,.9);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#header.fixed .logo {
    font-size: 24px;
    color: #333;
}

#header.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

@media screen and (min-width: 999px) {
  #global-nav ul {
    top: 40px;
    transition: .5s ease-in-out;
  }
}
@media screen and (min-width: 801px) {
  #header.fixed {
    padding: 10px;
  }

  #header.fixed .logo img {
    height: 39px;
    width: auto;
  }
  #header.fixed .logo-name {
    font-size: 15px;
    margin: 17px 0 0 18px;
  }
  #header.fixed .logo-text {
    font-size: 10px;
    position: absolute;
    top: 3px;
    left: 50px;
  }
  #header.fixed #global-nav ul {
    top: 13px;
    font-size: 12px;
  }
}
@media screen and (max-width: 800px) {
    #header,
    .inner {
        width: 100%;
        padding: 0;
    }
    #header {
        top: 0;
        position: fixed;
        margin-top: 0;
        height: 56px;
        transition: .5s;
    }
    /* Fixed reset */
    #header.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #eaf4ec;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #header.fixed .logo,
    #header .logo {
        position: absolute;
        left: 11px;
        top: 3px;
        color: #333;
        font-size: 17px;
        width: auto;
    }
    #header img {
        width: auto;
        height: 49px;
    }
    #header .logo-name {
    margin: 25px 0 0 20px;
    }
    #header .logo-text {
      font-size: 11px;
      top: 8px;
      left: 60px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #caf1ca;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
        padding: 0;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #header #global-nav ul li a,
    #header.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #4a4a4a;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(555px);
        -webkit-transform: translateY(555px);
        transform: translateY(555px);
    }
}

/* Hero Image */
.hero-img {
  text-align: left;
  background-image: url(../images/hero-img-1.jpg);
  background-position: 60% 50%;
  background-size: cover;
  margin: 145px 0 0;
  height: 70vh;
  min-height: 350px;
  color: #3e3a39;
}
.hero-img h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 3vw;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-left: 2.2em;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.hero-img-content p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
}

.hero-img-content h1 span {
  color: #22B573;
  font-size: 4vw;
}

@media screen and (max-width: 800px) {
  .hero-img {
    margin-top: 56px;
    height: 30vh;
    background-position: 50% 50%;
  }
  .hero-img h1 {
    font-size: 3vw;
  }
  .hero-img h1 span {
    font-size: 4vw;
  }
}

@media screen and (max-width: 425px) {
  .hero-img {
    margin-top: 56px;
    height: 34vh;
    min-height: inherit;
    background-position: 50% 50%;
  }
  .hero-img h1 {
    font-size: 3.5vw;
  }
  .hero-img h1 span {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 350px) {
  #header .logo-name {
    margin: 21px 0 0 10px;
  }
  #header .logo-text {
    font-size: 11px;
    top: 8px;
    left: 50px;
  }
  #nav-toggle {
    width: 6vw;
  }
}

/* Section Menu Button */
#section-menu {
  margin-top: 25px;
  margin-bottom: 70px;
}

.menu-button {
  display: flex;
  text-align: center;
  justify-content: space-between;
  color: #fff;
}

.menu-box {
  font-size: 12px;
  width: 100%;
  text-align: center;
  background-color: #22b573;
  padding: 25px 15px;
}

.menu-box img {
  width: 25%;
  margin: 0 auto 10px;
}
.menu-box hr {
  border:0;
  border-top: 3px #fff solid;
  padding: 0;
  margin: 8px auto 15px;
  width: 75%;
}

.menu-box h1 {
  font-size: 15px;
  letter-spacing: 0.2em;
  margin-left: 0.2em;
}

.menu-box h2 {
  font-size: 11px;
  font-weight: normal;
  margin-bottom: 15px;
}

.menu-box h3 {
  font-size: 12px;
  border: 1px #fff solid;
  display: inline;
  padding: 5px 20px;
}

.menu-box h3:hover {
  border: 1px #22b573 solid;
  background-color: #fff;
}

.menu-button-1 {
  background-image: url(../images/menu-button-1back.jpg);
  background-size: cover;
  background-position: top right;
}

.menu-button-3 {
  background-image: url(../images/menu-button-3back.jpg);
  background-size: cover;
  background-position: center center;
}

.menu-button-5 {
  background-image: url(../images/menu-button-5back.jpg);
  background-size: cover;
  background-position: center center;
}

@media screen and (max-width: 630px) {
  .pc-br {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .menu-box {
    font-size: 12px;
    padding: 25px 5px;
  }
  .menu-box img {
    width: 35%;
  }
  .menu-box h1 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-left: 1px;
  }
  .menu-box h2 {
    height: 45px;
  }
  .menu-box h3 {
    font-size: 11px;
    padding: 5px 8px;
  }
  .menu-box hr {
    width: 90%;
  }
}
@media screen and (max-width: 480px) {
  .menu-button {
    flex-direction: column;
  }
  .menu-box img {
    width: 40px;
    margin: 0 auto 10px;
  }
  .menu-box h1 {
    font-size: 12px;
    letter-spacing: 5px;
    margin-left: 5px;
  }
  .menu-box h2 {
    font-size: 12px;
    height: auto;
    margin-bottom: 10px;
  }
  .menu-box h3 {
    font-size: 12px;
    padding: 7px 0;
    display: block;
    margin: 0 auto;
    width: 40%;
  }
  .menu-box hr {
    width: 70%;
    border-top: 2px #fff solid;
    margin-bottom: 10px;
  }
  .menu-box {
    font-size: 12px;
    padding: 15px 0px;
  }
}

/* Section Philosophy */
#section-philosophy {
  text-align: center;
  color: #3e3a39;
}

.philosophy {
  margin-bottom: 30px;
}

.philosophy h1 {
  font-size: 21px;
  color: #22b573;
  letter-spacing: 10px;
  margin: 0 0 30px 10px;
}

.philosophy h2 {
  font-size: 19px;
  letter-spacing: 5px;
  margin-bottom: 30px;
}

.philosophy h3 {
  font-size: 13px;
  font-weight: normal;
  line-height: 2.5em;
}

.philosophy-text {
  padding: 20px 0;
  background: no-repeat center url(../images/philosophy.png);
  background-size: contain;
  position: relative;
}

@media screen and (max-width: 470px) {
  .philosophy h2 {
    font-size: 14px;
  }
  .philosophy h3 {
    font-size: 12px;
    padding: 0 2%;
  }
}

.president {
  background: url(../images/president.jpg);
  background-size: cover;
  background-position: top;
  padding: 5px 0;
}

.president-sp {
  background-color: #fefbeb;
  padding: 5px 0;
}

.president-message {
  text-align: left;
  padding: 30px 50px 10px;
  margin: 35px 0 35px 10%;
  width: 47%;
  background-color: rgb(255 255 255 / 0.8);
}

.president-message-sp {
  text-align: left;
  padding: 30px 15px 10px;
  margin: 15px 0 0px 5%;
  width: 90%;
  background-color: rgb(255 255 255 / 0.8);
}

.president-message h1,.president-message-sp h1 {
  font-size: 20px;
  color: #22b573;
  font-weight: normal;
  line-height: 1.7em;
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.president-message h2,.president-message-sp h2 {
  font-size: 15px;
  text-align: right;
  font-weight: normal;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 1px;
}

.president-message p,.president-message-sp p {
  font-size: 12px;
  line-height: 2em;
  margin-bottom: 15px;
}

.president-message span,.president-message-sp span {
  font-size: 23px;
  letter-spacing: 0.3em;
  margin-left: 0.8em;
}

.president-message span img,.president-message-sp span img {
  width: 135px;
  display: inline-block;
  margin-bottom: -4px;
}

@media screen and (max-width: 760px) {
  .president {
    background-position: top right;
    padding: 5px 0;
    min-height: 30vh;
  }
  .president-message {
    display: none;
  }
  .president-message-sp {
    display: block;
  }
  .president-message-sp h1 {
    font-size: 14px;
  }
  .president-message-sp h2 {
    font-size: 13px;
  }
  .president-message-sp span {
    font-size: 18px;
  }
}

@media screen and (min-width: 761px) {
  .president-sp,.president-message-sp {
    display: none;
  }
  .president-message h1 {
    font-size: 14px;
  }
  .president-message h2 {
    font-size: 14px;
  }
  .president-message span {
    font-size: 20px;
  }
}

@media screen and (min-width: 999px) {
  .president {
    background-position: top right;
    padding: 5px 0;
    min-height: 600px;
  }
  .president-message h1 {
    font-size: 20px;
  }
  .president-message h2 {
    font-size: 15px;
  }
  .president-message span {
    font-size: 23px;
  }
}

/* Section News */
#section-news {
  text-align: center;
  color: #22b573;
  padding: 80px 0;
  background-color: #fefbeb;
}

.news-container img {
  width: 60px;
  margin: 0 auto 10px;
}

.news-container h1 {
  font-size: 20px;
  letter-spacing: 10px;
  margin-right: -0.4em;
  font-family: monospace;
  margin-bottom: 40px;
}

img.fb-img {
  width: 500px;
}

/* Footer */
.footer-container {
  display: flex;
  padding: 50px 0;
  justify-content:center;
  align-items: flex-start;
  background-color: #eaf4ec;
  flex-wrap: wrap;
}

.footer-container img {
  width: 100px;
  float: left;
  margin: 3px;
}

.footer-container h1 {
  font-size: 17px;
  letter-spacing: 0.2em;
  margin-bottom: 0.5em;
}

.footer-container h2 {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 0.5em;
  font-weight: normal;
}

.footer-container h3 a {
  font-size: 15px;
  letter-spacing: 0.2em;
  color:#22b573;
  font-family: monospace;
}

.footer-container ul {
  padding: 0;
  margin: 0;
  position: relative;
}

.footer-container ul li {
  line-height: 1.5;
  padding: 0 1em 1.5em;
  list-style-type: none!important;
  font-size: 12px;
}

.footer-container ul li:before {
  padding: 3px 0px 3px 6px;
  background: #22b573;
  margin-right: 8px;
  content: "〉";
  color: #fff;
  font-size: xx-small;
}

.footer-company {
  padding: 15px;
}

.footer-icon {
  padding: 15px 0;
}

.footer-list {
  display: flex;
  padding: 15px;
  align-items: flex-start;
}

footer a {
  color: #3e3a39;
}

.copyright {
  letter-spacing: 0.5px;
  background-color: #22b573;
  text-align: center;
  font-size: 13px;
  line-height: 2em;
  color: #fff;
  font-family: 'Times New Roman', 'Times';
}

/* facebook */
.facebook-wrapper {
  max-width: 500px; /* Facebook Page Plugin の最大幅 */
  margin: 0 auto;
}

.facebook-wrapper > .fb-page {
  width: 100%;
}

.facebook-wrapper > .fb-page > span,
.facebook-wrapper iframe {
  width: 100% !important;
}

/* Site Map Page */
#section-sitemap {
	margin-top: 145px;
}
@media screen and ( max-width: 800px ) {
	#section-sitemap {
		margin-top: 56px;
	}
}

/* Thanks Page */
.thanks-container {
  margin: 250px auto 90px;
  max-width: 600px;
  text-align: center;
  line-height: 3em;
  font-size: 16px;
  letter-spacing: 2px;
}

.thanks-container h1 {
  margin-right: -2px;
}

.thanks-container a {
  font-size: 15px;
  font-weight: bold;
  color: #22b573
}

@media screen and ( max-width: 800px ) {
  .thanks-container {
    margin: 150px auto 90px;
	}
}
