﻿*, *:before, *:after {
  box-sizing: border-box
}
html, body, .sitewrap {
  height: 100%;
  width: 100%
}
@media screen and (max-width: 600px) {
  html.open {
    overflow: hidden
  }
}
body {
  color: #000;
  position: relative;
  -webkit-text-size-adjust: 100%;
  letter-spacing: .05em
}
@media screen and (min-width: 601px) {
  body {
    min-width: 1040px
  }
}
.wrap {
  margin-left: auto;
  margin-right: auto;
  position: relative
}
@media screen and (min-width: 601px) {
  .wrap {
    width: 1000px;
    padding-right: 20px;
    padding-left: 20px
  }
}
@media screen and (max-width: 600px) {
  .wrap {
    width: 90.66%
  }
}
a {
  transition: all 0.3s
}
a:hover {
  opacity: 0.7;
}
img {
  max-width: 100%;
  height: auto
}
img[src$=".svg"] {
  width: 100%
}
#header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  background: #fff;
  width: 100%;
  min-width: 1040px
}
#header #menubtn {
  display: block;
  border: none;
  background: none;
  width: 80px;
  height: 79px;
  position: absolute;
  right: 0;
  top: 0
}
#header #menubtn .bar {
  background: #716e6e;
  display: block;
  width: 36px;
  height: 5px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  transition: all 0.3s
}
#header #menubtn .bar1 {
  top: 26px
}
#header #menubtn .bar2 {
  top: 38px
}
#header #menubtn .bar3 {
  top: 50px
}
.open #header #menubtn .bar {
  transition: all 0.6s
}
.open #header #menubtn .bar1 {
  top: 38px;
  transform: rotate(45deg)
}
.open #header #menubtn .bar2 {
  opacity: 0
}
.open #header #menubtn .bar3 {
  top: 38px;
  transform: rotate(-45deg)
}
@media screen and (min-width: 601px) {
  #header.ptn1 .header-wrap {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,.08);
  }
  #header.ptn1 .siteid {
    width: 320px;
    padding: 0 2vw;
  }
  #header.ptn1 .siteid h1 {
    line-height: 1
  }
  #header.ptn1 .siteid a {
    display: inline-block;
    text-decoration: none
  }
  #header.ptn1 .siteid .logo-wrapper {
    display: flex;
  }
  #header.ptn1 .siteid .logo {
    width: 222px;
    height: auto;
    margin-right: .3em;
  }


@media screen and (max-width: 1200px) {
	
  #header.ptn1 .siteid .logo {
    width: 180px!important;
    height: auto;
    margin-right: .3em;
  }
}
	
  #header.ptn1 .siteid .num {
    width: 65px;
    height: auto;
  }
  #header.ptn1 #menubtn {
    display: none
  }
  #header.ptn1 #gnav {
  }
  #header.ptn1 #gnav .gnav {
    display: flex;
    width: 100%;
  }
  #header.ptn1 #gnav .gnav > li {
    position: relative;
  }
  #header.ptn1 #gnav .gnav > li::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    display: block;
    width: 0px;
    height: 4px;
    background-color: #002f75;
    transition: all 0.3s;
  }
  #header.ptn1 #gnav .gnav > li.active::after,
  #header.ptn1 #gnav .gnav > li:hover::after {
    width: 100%;
  }
  #header.ptn1 #gnav .gnav > li.active::after{
    transition: none;
  }
  #header.ptn1 #gnav .gnav .mainmenu {
    line-height: 1;
    min-width: 8em;
    height: 88px;
    padding: 0 1.3vw;
    text-decoration: none;
    text-align: center;
  }
  #header.ptn1 #gnav .gnav .mainmenu.arufes img {
    width: 110px;
    height: auto;
  }
  #header.ptn1 #gnav .gnav .mainmenu:hover {
    opacity: 1
  }
  #header.ptn1 #gnav .gnav .mainmenu .icon {
    width: 38px;
    height: 30px;
    margin: 0 auto;
    min-height: 0%
  }
  #header.ptn1 #gnav .gnav .mainmenu .icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    font-family: 'object-fit: contain;'
  }
  #header.ptn1 #gnav .gnav .mainmenu .en {
    margin: 8px 0 0;
    color: #7ab9d2;
    letter-spacing: .1em;
    font-size: 1.0rem;
    font-weight: 600;
    line-height: 1;
  }
  #header.ptn1 #gnav .gnav .mainmenu .jp {
    margin: 5px 0 0;
    font-size: 1.43rem;
    font-weight: 500;
    line-height: 1;
  }
 #header.ptn1 #gnav .gnav .submenu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s
  }
  #header.ptn1 #gnav .gnav > li:hover .submenu {
    opacity: 1;
    max-height: 999px;
    transition: all 0.6s
  }
  #header.ptn1 #gnav .gnav .subnav li + li {
    border-top: 1px solid #c4c4c4
  }
  #header.ptn1 #gnav .gnav .subnav a {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 10px
  }
  #header.ptn1 #gnav .gnav .subnav a:hover {
    opacity: 1;
    color: #008c67;
  }
	
  #header.ptn2 .header-wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 80px;
    border-bottom: 1px solid #c3c3c3
  }
  #header.ptn2 .siteid {
    padding: 10px
  }
  #header.ptn2 .siteid a {
    display: block;
    text-decoration: none
  }
  #header.ptn2 .siteid img {
    width: 100%;
    height: 60px;
    -o-object-fit: contain;
    object-fit: contain;
    font-family: 'object-fit: contain;'
  }
  #header.ptn2 #menubtn {
    display: block;
    position: absolute;
    right: 0;
    top: 0
  }
  #header.ptn2 #gnav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #c3c3c3
  }
  #header.ptn2 #gnav .gnav {
    display: table;
    width: 960px;
    table-layout: fixed;
    margin: auto;
    border-right: 1px solid #c2c2c2
  }
  #header.ptn2 #gnav .gnav > li {
    display: table-cell;
    vertical-align: top;
    border-left: 1px solid #c2c2c2;
    position: relative
  }
  #header.ptn2 #gnav .gnav > li:hover .mainmenu {
    transition: all 0.6s;
    color: #bdd35c
  }
  #header.ptn2 #gnav .gnav .mainmenu {
    height: 80px;
    text-decoration: none;
    text-align: center;
    line-height: 1
  }
  #header.ptn2 #gnav .gnav .mainmenu:hover {
    opacity: 1;
    color: #bdd35c
  }
  #header.ptn2 #gnav .gnav .mainmenu .icon {
    width: 38px;
    height: 30px;
    margin: 0 auto;
    min-height: 0%
  }
  #header.ptn2 #gnav .gnav .mainmenu .icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    font-family: 'object-fit: contain;'
  }
  #header.ptn2 #gnav .gnav .mainmenu .en {
    margin: 8px 0 0;
    letter-spacing: .1em;
    font-size: 1.3rem;
    line-height: 1
  }
}
@media screen and (max-width: 600px) {
  #header {
    min-width: 100%
  }
  #header .header-wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 55px;
    border-bottom: 1px solid #c4c4c4
  }
  #header .siteid {
    width: calc(100% - 120px);
    margin: auto;
    padding: 6px;
    overflow: hidden;
  }
  #header .siteid a {
    display: block;
    text-decoration: none
  }
  #header .siteid .logo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #header .siteid .logo,
  #header .siteid .num {
    width: auto;
    height: 42px;
  }
  #header .siteid .sitename {
    display: none
  }
  #header #gnav {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    height: calc(100vh - 55px);
    background: rgba(255, 255, 255, 0.95)
  }
  #header #gnav .gnavwrap {
    padding: 0 0 50px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none
  }
  #header #gnav .gnavwrap::-webkit-scrollbar {
    display: none
  }
  #header #gnav .gnav > li {
    width: 90.66%;
    margin: auto;
    border-bottom: 1px solid #c2c2c2
  }
  #header #gnav .gnav .mainmenu {
    display: block;
    line-height: 45px;
    text-decoration: none;
    color: #008c67;
    padding: 0 10px;
    cursor: pointer;
  }
  #header #gnav .gnav .mainmenu.arufes img {
    width: auto;
    height: 60px;
    padding: 10px 0;
  }
  #header #gnav .gnav .mainmenu .icon {
    display: none
  }
  #header #gnav .gnav .mainmenu .jp {
    font-weight: 700;
  }
  #header #gnav .gnav .mainmenu .en {
    display: none
  }

  #header #gnav .gnav .submenu {
    display: none;
    padding: 0 0 20px 15px;
  }
  #header #gnav .gnav .subnav {
    margin: 5px 0 0;
  }
  #header #gnav .gnav .subnav li + li {
    margin-top: 2px
  }

  #header #gnav .gnav .subnav a {
    font-size: 1.3rem;
    text-decoration: none;
	display:block;
  }
	
  #header #menubtn {
    width: 55px;
    height: 54px
  }
  #header #menubtn .bar {
    width: 24px;
    height: 3px
  }
  #header #menubtn .bar1 {
    top: 18px
  }
  #header #menubtn .bar2 {
    top: 26px
  }
  #header #menubtn .bar3 {
    top: 34px
  }
  .open #header #menubtn .bar1 {
    top: 26px
  }
  .open #header #menubtn .bar3 {
    top: 26px
  }
}
@media screen and (min-width: 601px) {
  .toppage #contents {
    padding-top: 88px
  }
  .lowerpage #contents {
    padding-top: 88px
  }
}
@media screen and (max-width: 600px) {
  #contents {
    padding: 55px 0 0
  }
}
#mainvisual {
  position: relative;
}
#mainvisual .phtbox {
  height: auto;
  position: relative;
}
#mainvisual .phtbox.h-full {
  height: 100vh;
  height: calc((var(--vh, 1vh) * 100) - 88px);
}
#mainvisual .phtbox img {
  width: 100%;
}
#mainvisual .phtbox.h-full img {
  padding-top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 600px) {
  #mainvisual .phtbox {
    height: auto;
    max-height: calc((var(--vh, 1vh) * 100) - 55px);
  }
}
/*スクロールダウン*/
.scrolldown{
	position: absolute;
	bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
	height: 50px;
	font-size: 1.5rem;
  text-align: center;
	text-shadow: 
      1px  1px 2px #ffffff,
     -1px  1px 2px #ffffff,
      1px -1px 2px #ffffff,
     -1px -1px 2px #ffffff,
      1px  0px 2px #ffffff,
      0px  1px 2px #ffffff,
     -1px  0px 2px #ffffff,
      0px -1px 2px #ffffff; 
  z-index: 10;
}
.scrolldown::after{
	content: "";
	position: absolute;
  left: 50%;
  bottom: -50px;
	width: 1px;
	height: 75px;
	background: #000000;
	box-shadow: 
      1px  1px 2px #ffffff,
     -1px  1px 2px #ffffff,
      1px -1px 2px #ffffff,
     -1px -1px 2px #ffffff,
      1px  0px 2px #ffffff,
      0px  1px 2px #ffffff,
     -1px  0px 2px #ffffff,
      0px -1px 2px #ffffff; 
	animation: pathmove 3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s infinite;
}

@keyframes pathmove {
  0% {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: center top;
    transform-origin: center top;
  }
  25% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
  }
  55% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
  }
  80% {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
  }
  100% {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
  }
}
.main p + p, .main p + address, .main address + p, .main address + address {
  margin-top: 0px
}
.main ul.noicon li {
  padding: 0
}
.main ul.noicon li:before {
  content: none
}
.main ol, .main ul {
  counter-reset: number
}
.main ol li > :first-child, .main ul li > :first-child {
  margin-top: 0
}
.main ol > li, .main ul > li {
  counter-increment: number 1;
  position: relative;
}
.main ol.numbering li:before, .main ul.numbering li:before {
  content: counter(number) ".";
}
.main table {
  width: 100%
}
.main table th, .main table td {
  width: auto;
  text-align: left;
  vertical-align: top
}
.main table th > :first-child, .main table td > :first-child {
  margin-top: 0
}
.main dl dt > :first-child, .main dl dd > :first-child {
  margin-top: 0
}
.main blockquote {
  display: block;
  padding: 20px
}
.main blockquote:before, .main blockquote:after {
  display: block
}
.main blockquote:before {
  content: '“';
  text-align: left
}
.main blockquote:after {
  content: '”';
  text-align: right
}
.main em {
  font-style: italic
}
.main strong {
  font-weight: bold
}
.main h2 + * {
  margin-top: 0px
}
.main h2 + p {
  margin-top: 0px
}
.main h3 + * {
  margin-top: 0px
}
.main h3 + p {
  margin-top: 0px
}
.main h4 + * {
  margin-top: 0px
}
.main h4 + p {
  margin-top: 0px
}
.main h5 + * {
  margin-top: 0px
}
.main h5 + p {
  margin-top: 0px
}
#footer {
  padding: 70px 0 20px;
  background-color: #7ab9d2;
}
#footer .logo-wrapper {
  text-align: center;
}
#footer .logo {
  width: 183px;
  height: auto;
}
#footer .num {
  width: 50px;
  height: auto;
  margin-left: .5em;
}
#footer .footnav {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}
#footer .footnav > li {
  font-size: 1.43rem;
  color: #ffffff;
  position: relative;
}
#footer .footnav > li+ li::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  display: block;
  width: 1px;
  height: 1em;
  background-color: #ffffff;
}
#footer .footnav .nav {
  display: block;
  color: inherit;
  padding: 0 1em;
  text-decoration: none;
  line-height: 1;
}
#footer .footer-ad {
  margin-top: 2em;
  padding: 1.5em 2em 2em;
  background-color: #f5f5f5;
  border-radius: 10px;
  font-size: 1.4rem;
  text-align: center;
  position: relative;
}

#footer .footer-ad::after{
	position:absolute;
	content:' ';
	width:80px;
	height:80px;
	top:0;
	bottom:0;
	right:50px;
	margin:auto;
	background:url(../../assets/img/common/QR_code.png)no-repeat top center /contain;
}

#footer .footer-ad .title {
  color: #00a67a;
  font-weight: 700;
  font-size: 125%;
  line-height: 1.5;
}
#footer .footer-ad a {
  word-break: break-all;
}
#footer .copy {
  margin-top: 2em;
  color: #ffffff;
  font-size: 1.2rem;
  text-align: center;
}
#footer .footnav .en {
  display: block;
  margin: 8px 0 0;
  letter-spacing: .1em;
  font-size: 1.4rem;
  line-height: 1;
  text-align: center
}
#footer .footnav .submenu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 166, 122,0.8);
    width: 100%;
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s;
	margin-top:10px;
	border-top:2px solid #fff;
  }
#footer .footnav > li:hover .submenu {
    opacity: 1;
    max-height: 999px;
    transition: all 0.6s
  }
#footer .footnav .subnav li + li {
    border-top: 1px solid #c4c4c4
  }
#footer .footnav .subnav a {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 10px
  }
#footer .footnav .subnav a:hover {
    opacity: 1;
    color: #008c67;
  }

@media screen and (max-width: 600px) {
  #footer {
    padding: 40px 0 60px
  }
  #footer .footnav {
    display: block;
    border: none
  }
  #footer .footnav > li {
    display: block;
    padding: 0;
    border-bottom: 1px solid #ffffff;
  }
  #footer .footnav > li+ li::after {
    content: none;
  }
  #footer .footnav .nav {
    padding: 19px 10px
  }
  #footer .footnav .icon {
    display: none
  }
  #footer .footnav .en {
    margin: 0;
    font-size: 1.6rem;
    text-align: left;
    color: #bdd35c
  }
  #footer .footer-ad {
    padding: 1em;
  }
#footer .footnav .mainmenu {
    display: block;
    line-height: 45px;
    text-decoration: none;
    color: #fff;
    padding: 0 10px;
    cursor: pointer;
  }
#footer .footnav .mainmenu.arufes img {
    width: auto;
    height: 60px;
    padding: 10px 0;
  }

#footer .footnav .submenu {
	border-top:none;
	margin-top:0;
	position:relative;
    display: none;
    padding: 0 0 0px 15px;
  }
#footer .footnav .gnav .subnav {
    margin: 5px 0 0;
  }
#footer .footnav .subnav li + li {
    margin-top: 2px
  }

#footer .footnav .subnav a {
    font-size: 1.3rem;
    text-decoration: none;
	display:block;
  }


#footer .footer-ad::after{
	display:none;
}
	
}

/* PageTop
------------------------------------------------------------------ */
#pageTop {
	display: none;
	position: relative;
	margin:0 auto;
}
#pageTop a {
	z-index:999;
	display: block;
	overflow: hidden;
	position: fixed;
	bottom: 30px;
	right: 15px;
	height:40px;
	width: 40px;
	background: #002f75;
	border-radius: 20px;
	text-indent: -9999px;
	outline: none;
}
/* Arrow */
#pageTop a:before,
#pageTop a:after {
	position: absolute;
	left: 50%;
	content: "";
	width: 0px;
	height: 0px;
	margin-left: -10px;
	border: 10px solid transparent;
}
#pageTop a:before {
	top:50%;
	margin-top: -11px;
	border-bottom: 10px solid #002f75;
}
#pageTop a:after {
	z-index: -1;
	top: 50%;
	margin-top: -15px;
	border-bottom: 10px solid #fff;
}


/*印刷設定*/
@media print {
  header, footer {display: none;}
}