body {
  font-size: 16px;
  color: #2c2c2c;
  min-height: 100%;
  width: 100%;
  position: relative;
}

body {
	animation: bodyFadeIn 2s ease 0s 1 normal;
	-webkit-animation: bodyFadeIn 2s ease 0s 1 normal;
}

@keyframes bodyFadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

@-webkit-keyframes bodyFadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

body, p, ul, ul li, ol, ol li, h1, h2, h3, h4 {
  font-family:'Hiragino Sans','Avenir','Helvetica Neue','Helvetica','Arial','ヒラギノ角ゴシック','YuGothic','Yu Gothic','メイリオ', 'Meiryo','ＭＳ Ｐゴシック','MS PGothic', sans-serif;
}

body li {
  list-style: none;
}

a, img{
  display: inline-block;
  text-decoration: none;
}

.fix_tel p, .tel p, .contact p, .copyright p, .tb_only p, .sp_only p {
  text-align: center;
  color: #fff;
}

.copyright, .contact, .tb_contact, .sp_contact {
  background-color: #EB8896;
}

.header_container, .scroll_container, .nav_list {
  margin: 0 auto;
}

.tb_only, .lower_sp_nav {
  display: none;
}

/* スクロールヘッダー */
.scroll_header {
  width: 100vw;
  position: absolute;
  z-index: 99;
  height: 100px;
  }

.scroll_container, .header_container {
  width: 100%;
  padding: 24px 0;
  max-width: 1280px;
}

/* ロゴに関するスタイル */
.header-logo, .logo {
  height: auto;
  width: 250px;
}
.header-logo.headerLogoScroll.-before {
  display : none;
}
.header-logo.-after {
  display : none;
}
.header-logo.headerLogoScroll.-after {
  display : block;
}

.header-logo {
  display: flex;
  justify-content: center;
  z-index: -1;
  transition: 0.3s;
}

nav {
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
  line-height: 1.5;
  align-items: center;
}

.header_nav {
  display: flex;
}

.header_nav li {
  padding: 13px 14px;
}

.button {
  display: flex;
  max-width: 420px;
}

.fix_tel, .tel p, .sp_tel p {
  line-height: 48px;
  font-size: 20px;
}

.contact p, .sp_contact p,.scroll_tel p {
  line-height: 48px;
  font-size: 22px;
}

.tel, .contact, .fix_tel, .scroll_tel{
  width: 200px;
  height: 48px;
  border-radius: 50px;
}

:is(.tel, .contact, .nav_link, .scroll_tel, .sp_tel, .sp_contact, .sp_tel, .sp_contact):hover {
  opacity: 0.7;
}

.scroll_tel {
  background-color: #fff;
}

.scroll_tel p {
  font-size: 18px;
  color: #EB8896;
  font-family: Meiryo;
  font-weight: bold;
  text-align: center;
}

.contact {
  margin-left: 20px;
}

.tel img, .sp_tel img, .fix_tel img, .scroll_tel img  {
  margin-right: 3px;
  width: 18px;
  vertical-align: middle;
  text-align: center;
}

.contact img, .sp_contact img {
  width: 22px;
  margin-right: 5px;
  vertical-align: middle;
}

.sp_nav {
  position: relative;
}

/* 固定header */
.fix_header, .list_inner {
  width: 100vw;
  background-color: #fff;
  box-shadow: 0px 5px 10px 0px #acacac;
  position: fixed;
  top: 0;
  z-index: 10;
  transition: top .5s; /* アニメーション効果を追加 */
  }


  .inner_list {
    width: 100vw;
    height: 80px;
    background-color: #fff;
    box-shadow: 0px 5px 10px 0px #acacac;
    transition: .5s;
    padding: 24px 20px;
  }

.fix_tel, .sp_tel, .tel {
  background-color: #72C3C8;
}

/* フッター */
.footer_container {
  width: 100vw;
  background-color: #FEF9FA;
}

.footer_wrapper {
  width: 100vw;
  margin: 0 auto;
  max-width: 1280px;
  padding-left: 50px;
}

.footer_nav {
  margin: 0 0 40px 50px;
  max-width: 980px;
}

.section_inner {
  max-width: 890px;
  display: flex;
  justify-content: space-between;
  padding-right: 60px;
}

.name {
  margin: 0 0 75px 88px;
}

.f_logo {
  width: 218px;
  display: block;
}

.footer_logo {
  padding: 80px 0  22px 50px;
}

.f_menu {
  width: 346px;
  padding: 12px 0;
}

.f_menu ul {
  padding: 10px 0;
}

.footer_item {
  padding: 8px 0 8px 22px;
}

.f_menu span, .privacypolicy_menu span {
  color: #EB8896; 
  margin-right: 8px;
}

.footer_title, .cases_title {
  padding: 10px 0;
  border-bottom: 1px solid #EB8896;
}

.privacypolicy {
  padding: 0 0 100px 50px;
}

.privacypolicy_title {
  border-bottom: none;
} 

.copyright {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

.copyright p {
  line-height: 1.5;
}
/* topへ戻るボタン */
#top_btn {
  width: 60px;
  height: 60px;
  z-index: 105;
  position: fixed;
  right: 3vw;
  bottom: 8vh;
  padding: 8px;
  line-height: 1.3;
  background-color: #EB8896;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

#top_btn:hover {
  opacity: 0.7;
}

#top_btn a {
  display: block;
}

/* タブレットボタン */
.tb_only {
  position: absolute;
  display: flex;
  writing-mode: vertical-rl;
  right: 0%;
  top: 15%;
}

.tb_only p {
  font-size: 24px;
  line-height: 58px;
  letter-spacing: 0.15em;
}

.tb_only img {
  width: 20px;
  vertical-align:baseline;
  margin-bottom: 6px;
}

.tb_only a {
  display: block;  
}

.tb_tel, .tb_contact {
  width: 58px;
  border-radius: 25px 0 0 25px;
}

.tb_tel {
  height: 176px;
  background-color: #9EDBDE;
  margin-bottom: 10px;
}

.tb_contact {
  height: 163px;
}

/* .sp ボタン */
.sp_only  {
  width: 100vw;
  position: fixed;
  z-index: 101;
  bottom: 30px;
  display: flex;
  justify-content: center;
}

.sp_tel, .sp_contact {
  width: 240px;
  height: 48px;
  border-radius: 50px;
  line-height: 1.5; 
}

.sp_contact  {
  margin-left: 20px;
}

/* バーガーメニュー */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -70px;
  right: 0;
  z-index: 100;
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
  background: #83CCD2;
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: #83CCD2;
}

/* メニューのデザイン*/
.nav_content {
  width: 100vw;
  position: fixed;
  bottom: 100%;
  left: 0; 
  z-index: 99;
  background: #F8FCFC;
  transition: .5s;
}

.inner_list {
  width: 100vw;
  height: 80px;
  background-color: #fff;
  box-shadow: 0px 5px 10px 0px #acacac;
  transition: .5s;
  padding: 20px 0;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
  margin-top: 40px;
  max-width: 366px;
  padding: 0 10px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
  top: 0;
}

/* バーガーメニュー内 */
.nav_title {
  max-width: 336px;
  padding: 10px 0;
  border-bottom: 1px solid #96CCCF;
  text-align: left; 
}

.sp_span {
  color: #96CCCF;
  margin-right: 5px;
}

.nav_inner {
  padding: 10px 0 10px 24px;
  text-align: left;
}

.nav_item {
  padding: 8px 0;
  font-size: 14px;
}

/* スクロールしたらヘッダーメニューのフォントカラー変更 */
.navColorScroll span, .navColorScroll span:before, .navColorScroll span:after {
  background-color: #EB8896;
  transition: color 0.4s ease-out;
}

/* レスポンシブ */
@media  screen and (max-width: 1219px) {
  .header-logo, .logo {
    width: 228px;
  }

  .header_nav li{
    padding: 13px 10px;
  }
}

@media screen and (min-width: 1161px) {
  .tb_only  {
    display: none;
  }
}

@media  screen and (max-width: 1160px) {
  .button {
    display: none;
  } 

  .tb_only {
    position: fixed;
    z-index: 35;
  }

  .logo, .header-logo {
    width: 218px;
  }

  .scroll_container, .header_container {
    max-width: 768px;
  }

  .header_nav li{
    padding: 13px 14px;
  }
}

@media screen and (max-width:879px) {
  .footer_wrapper {
    padding-left: 0;
  }

  .footer_title {
    width: 335px;
  }
  
  .cases_title {
    width: 310px;
    padding: 10px 0;
    border-bottom: 1px solid #EB8896;
  }

  .privacypolicy_title {
    width: 346px;
  }

  .name {
    margin: 0 0 75px 88px;
  }
  
  .footer_logo {
    padding: 80px 0  22px 50px;
  }

  .privacypolicy_menu {
    width: 346px;
  }

  .privacypolicy {
    padding: 0 0 150px 50px;  
  }
}

@media screen and (max-width:767px) {
  .section_inner {
    display: block;
  }

  .footer_nav {
    padding-left: 26px;
  }

  .footer_logo {
    margin-left: 20px;
  }

  .name {
    margin: 0 0 75px 98px;
  }

  .cases_title {
    width: 330px;
  }

  .privacypolicy {
    margin-left: 26px;
  }
}
/*spレスポンシブ*/
@media screen and (max-width:740px) {
  .fix_header nav {
    display: none;
  }
  
  .header_container, .scroll_container{
    height: 80px;
  }

  .logo, .header-logo {
    width: 165px;
  }

  nav {
    display: inline-block;
    text-align: center;
    width: 100vw;
    padding: 0;
  }
  
  .sp_nav.fixed {
    position: relative;
  }

  nav.fixed {
    position: fixed;
    left: inherit;
  }

  .header_nav, .tb_only{
    display: none;
  }

  #top_btn {
    width: 50px;
    height: 50px;
    bottom: 11vh;
    padding: 2px;
  }
}

@media screen and (min-width:741px) {
  .sp_only, .sp_nav, .fix_nav {
    display: none;
  }
}

@media screen and (max-width: 499px) {
  .footer_logo {
    padding: 80px 0 22px 20px;
    margin-left: 0;
    }
 
  .name {
    margin: 0 0 75px 58px;
  }

  .footer_nav  {
    margin: 0 0 40px 20px;
    padding-left: 0px;
  }

  .privacypolicy {
    padding: 0 0 150px 20px;
    margin-left: 0;
  }

  .sp_tel, .sp_contact {
    width: 180px;
    height: 46px;
    margin: 0 auto;
  }

  .sp_tel {
    margin-bottom: 7px;
  }

  .sp_tel p {
    font-size: 18px;
  }
  
  .copyright p {
    font-size: 14px;
  }

  .sp_only  {
  display: block;
  text-align: center;
  }
}

@media screen and (max-width: 400px) {
  .footer_wrapper {
    margin-left: 0; 
  }

  .footer_nav  {
    margin: 0 0 20px 10px;
  }

  .f_menu {
    width: 298px;
  }

  .privacypolicy, .footer_logo {
    padding-left: 0px;
    margin-left: 10px;
  }

  .name {
    margin-left: 28px;
  }

  .footer_item, .footer_title,.cases_title, .privacypolicy_title, .privacypolicy_menu{
    width: 304px;
    font-size: 14px;
  }

  .sp_br {
    display: block;
  }

   .sp_contact p {
    font-size: 20px;
  }

  .sp_only  {
    bottom: 46px;
  }

  #top_btn {
    width: 46px;
    height: 46px;
    bottom: 13vh;
  }
}

