@charset "UTF-8";

/* ------------------------------
   Reset / Base
------------------------------ */

* {
	font-weight: 100;
	text-decoration: none;
	font-variant: normal;
	text-transform: none;
	white-space: normal;
	text-indent: 0;
	letter-spacing: 0;
	word-spacing: 0;
	border-style: none;
	border-width: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font: normal 62.5% "M PLUS Rounded 1c", sans-serif;
	appearance: none;
	outline: none;
	line-height: 1;
	  border-collapse: collapse;
  border-spacing: 0;
          background-color: transparent;
  text-align: left;
}

img {
	display: block;
}

/*h1,h2,h3,h4,h5,h6,p,li,a,dd,dt,span,i,b {
transform: rotate(0.03deg); 
}*/

.bgf6f6f6 {
	background-color: #f6f6f6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;

  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.inner {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: relative;
  z-index: 1000;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .08em;
}

/* ------------------------------
   PC Global Menu
------------------------------ */
.global-menu {
  display: flex;
  align-items: stretch;
}

.global-menu > li {
  position: relative;
}

.global-menu > li > a {
  min-height: 80px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  transition: color .2s, background-color .2s;
  font-size: 1.75rem;
  color: #0bab91;
  font-weight: 500;
}

.global-menu > li > a:hover {
  background: #0ba58c;
  color: #fff;
  
  box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}

.has-child > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -4px 0 0 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* PCでは + ボタンを非表示 */
.submenu-toggle {
  display: none;
}

/* Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  background-color: #e5f6f3;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}

.has-child:hover > .sub-menu,
.has-child:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 14px 18px;
  color: #0bab91;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background-color .2s;
  font-size: 1.5rem;
}

.sub-menu a:hover {
  background: #0bab91;
  color: #fff;
}

/* ------------------------------
   Hamburger
------------------------------ */
.menu-button {
  display: none;
}

/* ------------------------------
   Contents
------------------------------ */
.hero {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  text-align: center;
}

.hero-copy {
  margin: 0 0 5px;
  font-size: 13px;
  letter-spacing: .2em;
}

.hero h2 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 64px);
}

.hero p:last-child {
  margin: 0;
}

.section {
  padding: 100px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 32px;
}

.site-footer {
  padding: 35px 0;
  color: #fff;
  background: #222;
  text-align: center;
}

/*TOPSLIDER*/
.home-slider{
    position:relative;
    width:100%;
    height:800px;
    overflow:hidden;
}

.home-slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.home-slide.is-active{
    opacity:1;
}

.home-slide picture{
    display:block;
    width:100%;
    height:100%;
}

.home-slide img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}


/* ==============================
   スマホ
============================== */

@media (max-width:768px){

    .home-slider{
        height:75vh;
    }

}
