@charset "UTF-8";
/* 共通設定 */
body {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: #3e3a39;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
}

/* 共通設定＞画像 */
img {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* 共通設定＞表示切り替え */
.pc-only {  display: block;}
.sp-only {  display: none;}
@media screen and (max-width:599px) {
  .pc-only {  display: none;}
  .sp-only {  display: block;}
}

/* 共通設定＞フォント */
.f-g {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
.f-maru-g {
  font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

/* 共通設定＞文字色 */
.c-white { color: #fff;}
.c-black { color: #3e3a39;}
.c-yellow { color: #f8b62d;}

/* 共通設定＞背景色 */
.bg-white {  background-color: #fff !important;}
.bg-black {  background-color: #3e3a39 !important;}
.bg-beige {  background-color: #faf8ef !important;}
.bg-yellow {  background-color: #f8b62d !important;}
.bg-brown {  background-color: #8a7b6d !important;}
.bg-red {  background-color: #F72120 !important;}
.bg-blue {  background-color: #2032F7 !important;}

/* 共通設定＞画面幅 */
.container-l,.container,.container-s {
  margin: 0 auto;
  padding: 0 16px;
}
.container-l { max-width: 1600px;}
.container { max-width: 1200px;}
.container-s { max-width: 800px;}

/* 共通設定＞flex */
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.col-8 { width: 80%;}
.col-7 { width: 70%;}
.col-6 { width: 60%;}
.col-5 { width: 50%;}
.col-4 { width: 40%;}
.col-3 { width: 30%;}
.col-2 { width: 20%;}
@media screen and (max-width:599px) {
  .col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2 {  width: 100%;}
}

/* 共通設定＞角丸 */
.circle-20 { border-radius: 20px;}
.circle-10 { border-radius: 10px;}

/* 共通設定＞見出し */
h2 {
  font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
  font-size: 2.2em;
  text-align: center;
}
@media screen and (max-width:599px) {
  h2 {
    font-size: 1.7em;
  }
}
h2 span {
  position: relative;
  padding: 0 .5em;
}
h2 span::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 0;
  vertical-align: middle;
}

/* 共通設定＞アニメーション */
.hov-opacity:hover {
  opacity: .7;
  transition: all .3s;
}

/* 共通設定＞お問い合わせフォーム */
.tel-btn {
  cursor: pointer;
}


/* 共通設定ここまで */

/* header */
#header {
  padding: 30px 0;
}
@media screen and (max-width:599px) {
  #header {
    padding: 0;
  }
  #header .container-l {
    align-items: center;
    padding: 0 0 0 16px;
  }
}
#header .flex {
  width: 100%;
  flex-wrap: nowrap;
}
.header-logo a {
  display: block;
}
@media screen and (max-width:1200px) {
  .header-logo a {
    width: 32vw;
  }
}
@media screen and (max-width:599px) {
  .header-logo a {
    width: 180px;
  }
}
.pc-nav ul {
  display: flex;
  align-items: baseline;
}
.pc-nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  padding: 10px 40px;
  border-left: dotted 1px #3e3a39;
}
@media screen and (max-width:1400px) {
  .pc-nav a {
    padding: 10px 2.5vw;
  }
}
@media screen and (max-width:1023px) {
  .pc-nav a {
    font-size: .8em;
    padding: 10px 2vw;
  }
}
.pc-nav ul li:last-child a {
  border-right: dotted 1px #3e3a39;
}
.pc-nav img {
  width: 2em;
  margin-bottom: 10px;
}

#header .tel.pc-only {
  text-align: center;
}
#header .tel.pc-only .tel-btn {
  margin-bottom: 10px;
}
@media screen and (max-width:1200px) {
  #header .tel.pc-only .tel-btn {
    width: 27vw;
  }
}
@media screen and (max-width:1023px) {
  #header .tel.pc-only .tel.pc-only {
    font-size: .8em;
  }
}
#header .tel.sp-only img {
  height: 70px;
}
.header-sns {
  display: flex;
  justify-content: center;
}
.header-sns img {
  width: 32px;
}
.header-sns a:first-child {
  margin-right: 1em;
}
@media screen and (max-width:1200px) {
  .header-sns {
    display: none;
  }
}

/* header＞ハンバーガーボタン */
#burger-btn{
  position: relative;
  width: 40px;      
  height: 40px;
  z-index: 20;
}    
#burger-btn span{      
  position: absolute;      
  display: block;      
  left: 50%;      
  transform: translateX(-50%);
  width: 30px;      
  height: 2px;
  border-radius: 100vh;
}    
#burger-btn span:first-child{   
  top: 10px;
}
#burger-btn span:nth-child(2){    
  top: 50%;
  transform: translate(-50%,-50%);
}
#burger-btn span:last-child{
  bottom: 10px;
}

/* クリック時の動作 */
#burger-btn.open span {
	background: #fff !important;
}
#burger-btn.open span:first-child{      
  transform: translate(-50%,10px) rotate(-45deg);      
  transition: transform .4s;
}    
#burger-btn.open span:nth-child(2){      
  opacity: 0;
  transition: opacity .4s;    
}    
#burger-btn.open span:last-child{      
  transform: translate(-50%,-8px) rotate(45deg);      
  transition: transform .4s;
}

/* ナビゲーションメニュー表示時に画面を固定 */
body.open {
  height: 100%;
  overflow: hidden;
}

/* スマホ時のナビゲーションメニュー */
#header .sp-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: translateY(5%);
	opacity: 0;
	visibility: hidden;
  transition: all 0.3s linear;
  z-index: 10;
}
#header .sp-nav.open {
  visibility: visible;
	opacity: 1;
  transform: translateY(0);
}
#header .sp-nav ul {
  margin-bottom: 30px;
}
#header .sp-nav li {
  margin-bottom: 10px;
}
#header .sp-nav .sns {
  justify-content: center;
}
#header .sp-nav .sns li {
  margin: 0 2rem;
}
#header .sp-nav .sns img {
  width: 2rem;
}
.sp-nav-stamp {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.sp-nav-stamp::before,.sp-nav-stamp::after {
  position: absolute;
  content: url("https://yasuda-vets.com/img/footprint.svg");
  width: 40px;
}
.sp-nav-stamp::before {
  top: 8%;
  right: 5%;
  transform: rotate(45deg);
}
.sp-nav-stamp::after {
  bottom: 7%;
  left: 15%;
  transform: rotate(-45deg);
}
.header-sp-nav div {
  margin-bottom: 2rem;
}
.header-sp-nav li {
  margin-bottom: 1rem;
}
.header-sp-nav .sns ul {
  justify-content: center;
}
.header-sp-nav .sns li {
  margin: 0 1rem;
}

/* mainvisual */
.mainvisual {
  padding-bottom: 70px;
  background: center / cover url("https://yasuda-vets.com/img/bg-1.png");
}
.mainvisual-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.mainvisual-text {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  height: max-content;
  font-size: 2em;
  writing-mode: vertical-rl; 
}

/* main-end */
.main-end {
  width: 100%;
  text-align: center;
  margin-top: -5%;
  padding-bottom: 70px;
}
@media screen and (max-width:599px) {
  .main-end {
    margin-top: 0;
  }
}

/* ページトップボタン */
#page-top {
  position: fixed;
  right: 2%;
  bottom: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Alte DIN 1451 Mittelschrift gepraegt',sans-serif;
  writing-mode: vertical-rl; 
	z-index: 1000;
}
#page-top a {
  position: relative;
  padding-bottom: calc(100px + 2em);
}
#page-top a::before,#page-top a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
#page-top a::before {
  bottom: 100px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 2.5px 10px 2.5px;
  border-color: transparent transparent #3e3a39 transparent;
}
#page-top a::after {
  bottom: 0;
  width: 1px;
  height: 100px;
  background: #3e3a39;
}

/* モーダルウィンドウ */
.modal {
  position: fixed;
	top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background:  rgba(0, 0, 0, 0.5);
  opacity: 0;
	visibility: hidden;
  transition: .3s;
  z-index: 9999;
}
.modal.active {
  visibility: visible;
	opacity: 1;
}
.tel-close {
  cursor: pointer;
}
.modal-content {
  position: relative;
  padding: 2rem;
}
.modal-close-btn {
  position: absolute;
	top: 1rem;
  right: 1rem;
  width: 20px;
}
.modal-content p {
  font-size: 1.3rem;
  text-align: center;
  margin: 1rem auto 2rem;
}
.modal-content ul {
  justify-content: space-around;
  list-style: none;
}
.modal-content li {
  width: 35%;
  text-align: center;
  line-height: 2.5;
  border-radius: 10px;
  transition: .3s;
}
.modal-content li:hover {
  opacity: .7;
}
.modal-content a {
  display: block;
}

/* footer */
#footer {
  text-align: center;
}
#footer>* {
  margin-bottom: 30px;
}
#footer .footer-nav {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  margin-bottom: 50px;
}
#footer .footer-nav li {
  margin: 0 3rem;
}
@media screen and (max-width:599px) {
  #footer .footer-nav {
    justify-content: space-around;
  }
  #footer .footer-nav li {
    margin: 0;
  }
}
.footer-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 2em;
}
.footer-nav img {
  width: 1em;
  margin-right: 1em;
}
.footer-logo {
  display: block;
}
#copyright {
  padding-top: 40px;
}
/* footerここまで */