
/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}
.cd-container:after {
  content: "";
  display: table;
  clear: both;
}

.has-top-margin {
  /* this class is given - using jQuery - to the .cd-main-content following the .cd-secondary-nav when it becomes fixed */
}
/*@media only screen and (min-width: 1000px) {
  .has-top-margin {
    -webkit-animation: animate-margin-top 0.3s;
    -moz-animation: animate-margin-top 0.3s;
    animation: animate-margin-top 0.3s;
  }
}*/

@-webkit-keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
@-moz-keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
@keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
/* -------------------------------- 

Navigation

-------------------------------- */
.cd-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  z-index: 3;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
    background-color:#f8f9f9;
    box-shadow: none;
  }
}

#cd-logo,
#header-logo{
	width:172px;
	height:40px;
	font-size:28px;
	font-size:2.8rem;
	line-height:1;
	margin:20px 0 0 16px;
	left:16px;
	z-index:5;
}
#cd-logo a,
#header-logo a{
	color:#36c8b9;
}
#cd-logo {
}

#cd-logo img {
  display: block;
}

#header-logo{
	margin:23px 0 0 16px;
}
#header-logo a{
}


@media only screen and (min-width: 768px) {
#cd-logo {
	opacity: 0;
	position: fixed;
	left: -40%;
	margin: 23px 0 0 0;
}
#header-logo{
	position: inherit;
}
}
@media only screen and (min-width: 1000px) {
#header-logo{
	margin:26px 0 0 14px;
}
#cd-logo.is-hidden {
/* assign a position fixed and move outside the viewport (on the left) */
	opacity: 0;
	position: fixed;
	left: -30%;
	margin-left: 0;
	-webkit-transition: left 0.3s, opacity 0.3s;
	-moz-transition: left 0.3s, opacity 0.3s;
	transition: left 0.3s, opacity 0.3s;
}
#cd-logo.is-hidden.slide-in {
	/* slide in when the secondary navigation gets fixed */
	left: 16px;
	opacity: 1;
}
#cd-logo.slide-in {
	left: 16px;
	opacity: 1;
	position: fixed;
}
#header-logo{
	position: fixed;
}
}

/*追加*/
.front-header nav .icon-line {
  margin-top: -4px;
}




/* -------------------------------- 

Secondary Fixed Navigation

-------------------------------- */
.cd-secondary-nav {
  position: relative;
  z-index: 3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-secondary-nav ul {
  /* mobile first - secondary navigation hidden by default, triggered by tap/click on .cd-secondary-nav-trigger*/
  position: fixed;
  width: 90%;
  max-width: 400px;
  right: 16px;
  bottom: 20px;
  border-radius: 0.25em;
  background: rgba(54, 200, 185, 0.96);
  visibility: hidden;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -o-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
  transition: transform 0.3s, visibility 0s 0.3s;
  /*追加*/
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 12px;
  height: fit-content;
  transition: 0.15s;
}
.cd-secondary-nav ul.is-visible {
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
  transition: transform 0.3s, visibility 0s 0s;
}
.cd-secondary-nav li a {
	display: block;
	padding: 1.6em;
	border-bottom: 1px solid #72d8ce;
	color: #ffffff;
	font-size:13px;
	font-size:1.3rem;
	font-weight:500;
	font-family: 'Rubik', sans-serif;
	transition:.5s;
}
.cd-secondary-nav li:last-child a {
  border-bottom: none;
}
.cd-secondary-nav li a:hover {
	color:#f1799d;
}
.cd-secondary-nav li a .icon-insta{
  background-position: 0;
  vertical-align: sub;
}
.cd-secondary-nav li a .icon-insta::before{
  font-size: 2.5rem;
}
.cd-secondary-nav li a .fa-line::before{
  font-size: 2.5rem;
}

@media only screen and (max-width: 767px) {
  .cd-secondary-nav ul {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media only screen and (min-width: 1000px) {
  .cd-secondary-nav {
    z-index: 1;
    height: 80px;
    background-color: rgba(248, 249, 249, 1);
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
  }
.cd-secondary-nav nav{
    width: auto;
	float:right;
	}
.cd-secondary-nav nav, .cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
	height: 100%;
}
  .cd-secondary-nav ul {
    /* reset navigation values */
    position: static;
    width: auto;
    max-width: 100%;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    text-align: center;
    background-color: transparent;
    padding-right:120px;
    height: fit-content;
  }
  .cd-secondary-nav li {
    display: inline-block;
    margin-left: -4px;
  }
  .cd-secondary-nav li a {
	color: #6fd6cc;
	position: relative;
	text-align: center;
	display: block;
	padding: 0 1.5em 0;/*32px 1.5em 12px*/
	border-bottom: none;
	-webkit-transition: padding 0.2s, color 0.5s;
	-moz-transition: padding 0.2s, color 0.5s;
	transition: padding 0.2s, color 0.5s;
  }
/*追加*/
.cd-secondary-nav .icon-line a {
  padding-left: 0;
}
/*----*/
/*--ホーム隠す--*/
#nav-home{
	display:none;
}

/*--お問い合わせ--*/
#btn-mail{
	position:absolute;
	top:10px;
	right:16px;
}
#btn-mail a{
	width:112px;
	height:112px;
	color:#ffffff;
	background-color:#36c8b9;
	border:solid 1px #ffffff;
	-webkit-border-radius: 52px;
	border-radius: 56px;
	padding:28px 1.5em 16px;
	display:block;
	transition:.5s;
}
#btn-mail a:hover{
	background-color:#00b9a6;
}
#btn-mail a > span{
    font-size: 28px;
    font-size: 2.8rem;
	display:inline-block;
}


  .cd-secondary-nav li a b {
    text-transform: uppercase;
    font-size: 13px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(240, 238, 225, 0.3);
  }
  .cd-secondary-nav li a:hover b, .cd-secondary-nav li a.active b {
    color: #f0eee1;
  }
  .cd-secondary-nav li:nth-child(1) a span {
    background-position: 0 0;
  }
  .cd-secondary-nav li:nth-child(2) a span {
    background-position: -40px 0;
  }
  .cd-secondary-nav li:nth-child(3) a span {
    background-position: -80px 0;
  }
  .cd-secondary-nav li:nth-child(4) a span {
    background-position: -120px 0;
  }
  .cd-secondary-nav li:nth-child(5) a span {
    background-position: -160px 0;
  }
  .cd-secondary-nav.is-fixed {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    position: fixed;
    left: 0;
    top: 0;
    height: 80px;
    width: 100%;
	background-color:rgba(255, 255, 255, .85);
  }
  .cd-secondary-nav.animate-children {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  .cd-secondary-nav.animate-children li a {
    padding: 0 1.5em 0;/*26px 1.5em 0*/
  }
  .cd-secondary-nav.animate-children .icon-line a {
    padding-left: 0 ;
  }
  .animate-children.cd-secondary-nav ul {
    padding-top: 26px;
    transition: 0.15s;
  }
/*  .cd-secondary-nav.animate-children li a span {
    opacity: 0;
  }*/





}

.cd-secondary-nav-trigger {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  background:rgba(54, 200, 185, 0.96);
  border-radius: 0.25em;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
}
.cd-secondary-nav-trigger span {
  /* the span element is used to create the menu icon */
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0eee1;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}
.cd-secondary-nav-trigger span::before, .cd-secondary-nav-trigger span::after {
  content: '';
  position: absolute;
  background: inherit;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.cd-secondary-nav-trigger span::before {
  right: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-secondary-nav-trigger span::after {
  left: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-secondary-nav-trigger.menu-is-open {
  background: transparent;
}
.cd-secondary-nav-trigger.menu-is-open span {
  background: rgba(240, 238, 225, 0);
  width: 20px;
  height: 2px;
}
.cd-secondary-nav-trigger.menu-is-open span::before, .cd-secondary-nav-trigger.menu-is-open span::after {
  background: #f0eee1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  top: 0;
  left: 0;
}
.cd-secondary-nav-trigger.menu-is-open span::before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-secondary-nav-trigger.menu-is-open span::after {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
@media only screen and (min-width: 1000px) {
  .cd-secondary-nav-trigger {
    display: none;
  }
}

@media only screen and (max-width: 999px){
  /*追加*/
  .cd-secondary-nav .icon-line a {
    padding-left: 2.2rem;
  }
  /*----*/
}