@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* お問い合わせフォームのCSS */
.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #119B88;
	border-radius: 6px;
}

.cf7__optional {
  background: #FDF500;
	border-radius: 6px;
	color: #333;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type="submit"] {
  width: 30%;
  height: 60px;
  background: #119B88;
  color: #fdfdfd;
  transition:all .3s;
	border-radius: 60px;
	font-size: 20px;
}

input[type="submit"]:hover {
	 background: #FDF500;
	 color: #333;
	 font-weight: bold;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 100%;
    height: 56px;
	
  }
	
	.cf7__button {
		padding-left: 0px
	}

}

/* 各フォーム記入欄の枠の丸み */
select.wpcf7-form-control.wpcf7-select {
    border-radius: 10px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	border-radius: 10px;
}

input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
	border-radius: 10px;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
	border-radius: 10px;
}






/* 追従バナー */
.follow-banner {
  position: fixed;
  top: 30%;
  right: 0;
  transform: translateY(-50%);
  z-index: 20;
}

.follow-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode: vertical-rl;
  color: #333;
  background-color: #FDF500;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5em 1em;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s;
}

.follow-banner a:hover {
  opacity: 0.8;
	transform: scale(1.2);
}

.follow-banner .swl-inline-icon::after {
  left: 50%;
  transform: translateX(-50%);
}

/* スマホで非表示 */
@media screen and (max-width: 599px) {
  .follow-banner {
     display: none;
  }
}





/* グローバルナビお問い合わせボタンのアイコンの色 */
svg.__icon.-right {
    color: #333;
}

/* 知っておくべきことの白背景の丸み */
.wp-block-columns.are-vertically-aligned-center.animated.fadeIn.has-background.o-anim-ready {
	border-radius: 20px;
}

.wp-block-columns.animated.fadeIn.delay-100ms.has-background.o-anim-ready{
	border-radius: 20px;
}

.wp-block-columns.animated.fadeIn.delay-500ms.has-background.o-anim-ready {
	border-radius: 20px;
}

/* 手術の流れの白背景の丸み */
.swell-block-tab.has-background.is-style-balloon {
	border-radius: 20px;
}

/* お問い合わせフォーム白背景の丸み */
.wp-block-group.u-mb-ctrl.u-mb-60.has-background.is-layout-constrained.wp-block-group-is-layout-constrained {
	border-radius: 30px;
}

/* Tabボタンの丸み */
button.c-tabList__button {
	border-radius: 6px;
}

/* 見出し4の縦線の太さ */
.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    padding: 0 0 0 16px;
    border-left: solid 10px var(--color_htag);
}

/* 流れの一番上のタイトル部分の文字の太さ */
.is-style-big>.swell-block-step__item>.swell-block-step__number:after {
    font-size: 24px;
    font-weight: bold;
}

/* 気管ステント手術とは 診断がとても大切です部 スライドアニメーション */
/* force image size */
.slide img {
  width: inherit;
  height: inherit;
  margin: 0;
  padding: 0;
  border: none;
}

.slide {
  white-space: nowrap;
  width: 550px;
  height: 400px;
  overflow: hidden;
}

.slide > :first-child {
  animation-name: slide;
  animation-duration: 12s;
  animation-delay: 2s;
  animation-iteration-count: infinite;
}

@keyframes slide {
  0% {
    margin-left: 0;
  }
  33% {
    margin-left: -100%;
  }
  66% {
    margin-left: -200%;
  }
  100% {
    margin-left: -300%;
  }
}

.center {
  margin: auto;
}

@media screen and (max-width: 599px) {
  .slide {
    width: 100%;
    height: 300px;
  }
}

/* 気管ステント手術とは タブ・気管ステント術後の流れ（退院後）部 、術後の注意点の！の文字色 */
[class*=is-style-big_icon_]:before {
	color: #333;
}

/* よくある質問のアコーディオンの枠の丸み */
.swell-block-accordion__title {
	border-radius: 10px;
}

/* Qの背景の丸み */
.has-black-background-color {
	border-radius: 6px;
	padding: 9px;
}

/* Aの丸み */
.swl-bg-color {
	border-radius: 6px;
	padding: 9px;
}

/*  咳のスコア表ダウンロードボタン */
a.wp-block-file__button.wp-element-button {
	background: #009b86;
	transition: all 0.3s;
}

/* 咳のスコア表ダウンロードボタンをhoverした時 */
a.wp-block-file__button.wp-element-button:hover {
		background: #fdf500;
		color: #333;
		font-weight: bold;
}

/* エルムス動物医療センター柏の葉部の画像・白背景 */
img.wp-image-119.size-full.ls-is-cached.lazyloaded {
    border-radius: 20px;
    box-shadow: 20px 20px 2px #119b88;
}

.wp-block-group.has-background.is-layout-constrained.wp-block-group-is-layout-constrained {
	border-radius: 20px;
}

/* エルムス動物医療センター柏の葉部最下部の写真の無限ループアニメーション(左から右へ) */
	@keyframes infinity-scroll-right {
from {
  transform: translateX(-100%);
}
  to {
  transform: translateX(0%);
}
}

.scroll-infinity__wrap {
  display: flex;
  padding: 0;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
}

.scroll-infinity__list--right{
  animation :infinity-scroll-right 80s infinite linear 1s both;
}

.scroll-infinity__item {
  width: calc(100vh / 3);
}

.scroll-infinity__item>img {
  width: 100%;
}

ul.scroll-infinity__list.scroll-infinity__list--right {
    padding-left: 0;
}



/* 個人情報保護方針ページの上部の余白削除 */
div#breadcrumb {
	display: none;
}

/* 当院での可能な検査部分のカラムの丸み */
.wp-block-columns.animated.has-background.o-anim-ready.fadeIn {
	border-radius: 20px;
}

.wp-block-columns.animated.has-background.o-anim-ready.fadeIn.delay-200ms {
    border-radius: 20px;
}

/* お問い合わせフォーム下のカラムの丸み */
.is-style-clmn-shadow>.swell-block-columns__inner>.swell-block-column {
	border-radius: 30px;
}

/* お問い合わせフォーム下各項目のテキストリンク */
p.has-text-align-center.p_link {
  position: relative;
  z-index: 1;
  padding: 0 10px;
	transition: all 0.3s;
}

p.has-text-align-center.p_link::before {
   background: #FDF500;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .8s;
  z-index: -1;
	border-radius: 0 20px 20px 0;
}

p.has-text-align-center.p_link:hover {
	transform: scale(1.25);
	font-weight: bold;
}

p.has-text-align-center.p_link:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* footerの個人情報保護方針のリンクのCSS */
.l-footer__nav li:first-child a {
	border: none;
}

.l-footer__nav a {
	border: none;
	font-weight: bold;
	transition: all 0.3s;
	text-decoration: none;
}

.l-footer__nav a:hover {
	color: #119B88;
}





/* SPのハンバーガーメニュー削除 */
.l-header__menuBtn.sp_ {
    display: none;
}

/* SPのお問い合わせメニューの文字色 */
i.c-iconBtn__icon.icon-mail {
    color: #333;
}

span.c-iconBtn__label {
	color: #333;
	font-weight: bold;
}




/* メインビジュアルのは画像を前に */
.p-mainVisual__inner {
    position: relative;
    z-index: 2;
}

/* スマホ用お問い合わせフォームの丸み */
.wp-block-group.animated.u-mb-ctrl.u-mb-40.has-background.is-layout-constrained.wp-block-group-is-layout-constrained.o-anim-ready.fadeIn.delay-200ms {
    border-radius: 20px;
}

/* 咳のスコア表のPDF画像スマホでは非表示 */
@media screen and (max-width: 599px){
.wp-block-file .wp-block-file__embed {display: none;}
	
/* 咳のスコア表当院での～の文字を中央に */
a#wp-block-file--media-e0721b43-efff-49ca-b224-a3643e39b6c3 {
    text-align: center;
    display: block;
}
	
/* 咳のスコア表ダウンロードボタンを幅いっぱいに */
a.wp-block-file__button.wp-element-button {
    margin-top: 15px;
    display: block;
    text-align: center;
	  background: #009b86;
	  transition: all 0.3s;
}
	
/* 咳のスコア表ダウンロードボタンをhoverした時 */
	a.wp-block-file__button.wp-element-button:hover {
		background: #fdf500;
		color: #333;
		font-weight: bold;
	}
}
