@charset "utf-8";

/* ---------------------------------------------------
   File: index.css
   Version: 2.0.0
   Update: 2023-10-19
   Author: https://flowlab.co.jp

   (c)2007-2023 Flowlab inc. All Rights Reserved.
--------------------------------------------------- */



/* =======================================================================================================================

   WIDE DESKTOP LAYOUT

======================================================================================================================= */

/* ====================================================
		Layout
==================================================== */
#main {
  padding: 0;
}


/* ====================================================
		Main Visual
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#mainVisual {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url("../img_index/ph_main.jpg") no-repeat center center / cover;
}

/* -------------------------------
		Catch Copy
------------------------------- */
#catchCopy {
  width: 90%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* Main */
#catchCopy p.mainCatch {
  color: #e29898;
  font-size: 2.6rem;
  font-family: "Shippori Mincho", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.16em;
  padding-bottom: 20px;
}
#catchCopy p.mainCatch span {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
  padding: 20px 30px;
  margin-bottom: 15px;
}

/* Sub */
#catchCopy p.subCatch {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  padding-top: 20px;
  filter: drop-shadow(0 0px 10px rgba(0, 0, 0, .9));
}

/* -------------------------------
		Contact
------------------------------- */
#mainVisual #contact {
  background: #fff;
  border-radius: 6px 0 0 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 40px 60px;
  z-index: 99999;
}

/* Tel */
#mainVisual #contact p {
  padding-bottom: 15px;
}
#mainVisual #contact p a {
  display: block;
}
#mainVisual #contact p a span {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  padding-right: 5px;
}
#mainVisual #contact p a strong {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* Button - Reception Hours */
#mainVisual #contact ul li a {
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0.08em;
  background: #e29898;
  border-radius: 6px;
  position: relative;
  display: block;
  padding: 10px 0;
}

/* -------------------------------
		Scroll Down
------------------------------- */
#mainVisual .scrolldown {
  position: absolute;
  left: 50%;
  bottom: 30px;
  height: 50px;
}

/* Text */
#mainVisual .scrolldown span {
  position: absolute;
  top: -25px;
  left: -1.5em;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

/* Line */
#mainVisual .scrolldown::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 40px;
  background: #fff;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/* Animation */
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 40px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}




/* ====================================================
		Medical
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#medical {
  background: #f8eee8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#medical section {
  width: 50%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  padding: 140px 0;
  position: relative;
}
#medical section:first-child {
  background-image: url("../img_index/bg_large-intestine.png");
  background-position: top right;
}
#medical section:first-child::after {
  content: '';
  width: 1px;
  height: calc(100% - 280px);
  background: #fff;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
}
#medical section:last-child {
  background-image: url("../img_index/bg_anus.png");
}

/* -------------------------------
		Title
------------------------------- */
#medical h3 {
  position: relative;
  margin-bottom: 50px;
}
#medical h3 span {
  width: 1.4em;
  font-size: 6rem;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -ms-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  letter-spacing: 0.1em;
  color: #e29898;
  background: none;
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
}
#medical h3::after,
#main h3 span::before,
#main h3 span::after {
  content: none;
}

/* -------------------------------
		Text
------------------------------- */
#medical p {
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 2.4;
  padding-bottom: 50px;
}

/* -------------------------------
		Button
------------------------------- */
#medical ul {
  max-width: 350px;
  margin: 0 auto;
}
#medical ul li {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}
#medical ul li:not(:last-child) {
  margin-bottom: 10px;
}
#medical ul li:nth-child(3) {
  margin-top: 30px;
}
#medical ul li a {
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0.06em;
  background: #e29898;
  border-radius: 6px;
  position: relative;
  display: block;
  padding: 20px 0;
}
#medical ul li a::before,
#medical ul li a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: '';
  vertical-align: middle;
  transition: all .5s;
}
#medical ul li a::before {
  width: 4px;
  height: 4px;
  right: 22px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#medical ul li a::after {
  width: 14px;
  height: 1px;
  right: 21px;
  background: #fff;
}
#medical ul li a:hover::before {
  right: 17px;
}
#medical ul li a:hover::after {
  width: 20px;
  right: 18px;
}

/* Background - White */
#medical ul li:nth-of-type(2n) a {
  color: #e29898;
  background: #fff;
}
#medical ul li:nth-of-type(2n) a::before {
  border-top: 1px solid #e29898;
  border-right: 1px solid #e29898;
}
#medical ul li:nth-of-type(2n) a::after {
  background: #e29898;
}










/* =======================================================================================================================

   TABLET

======================================================================================================================= */
@media screen and (min-width: 897px) and (max-width: 1299px) {
  
  /* ====================================================
      Main Visual
  ==================================================== */
  /* -------------------------------
      Contact
  ------------------------------- */
  #mainVisual #contact {
    padding: 20px 50px 30px;
  }
  
  /* Tel */
  #mainVisual #contact p {
    padding-bottom: 10px;
  }
  
  /* Button - Reception Hours */
  #mainVisual #contact ul li a {
    font-size: 1.5rem;
  }
  
  
  /* ====================================================
      Medical
  ==================================================== */
  /* -------------------------------
      Title
  ------------------------------- */
  #medical h3 {
    position: relative;
    margin-bottom: 50px;
  }
  #medical h3 span {
    font-size: 3.6rem;
  }
  
  /* -------------------------------
      Text
  ------------------------------- */
  #medical p {
    font-size: 1.5rem;
  }
  
  /* -------------------------------
      Button
  ------------------------------- */
  #medical ul li:not(:last-child) {
    margin-bottom: 10px;
  }
  #medical ul li a {
    font-size: 1.5rem;
  }
  
  
  
}








/* =======================================================================================================================

   MOBILE

======================================================================================================================= */
@media screen and (max-width: 896px) {

  /* ====================================================
      Layout
  ==================================================== */
  .row {
    padding-top: 200px;
  }
  
  
  /* ====================================================
      Main Visual
  ==================================================== */
  /* -------------------------------
      Layout
  ------------------------------- */
  #mainVisual {
    min-height: 630px;
    margin-bottom: 100px;
  }
  
  /* -------------------------------
      Catch Copy
  ------------------------------- */
  #catchCopy {
    top: 40%;
  }
  
  /* -------------------------------
      Catch Copy
  ------------------------------- */
  #catchCopy {
    width: 90%;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  
  /* Main */
  #catchCopy p.mainCatch {
    font-size: 1.7rem;
    text-align: left;
    background: #fff;
    border-radius: 6px;
    line-height: 2.2;
    letter-spacing: 0.06em;
    padding: 20px 30px;
    margin-bottom: 20px;
  }
  #catchCopy p.mainCatch span {
    background: none;
    padding: 0;
    margin: 0;
    display: inline;
  }

  /* Sub */
  #catchCopy p.subCatch {
    color: #fff;
    font-size: 1.2rem;
    text-align: left;
    letter-spacing: 0.08em;
    padding-top: 10px;
  }
  
  /* -------------------------------
      Contact
  ------------------------------- */
  #mainVisual #contact {
    width: calc(100% - 40px);
    padding: 30px 20px;
    border-radius: 0;
    bottom: -100px;
  }
  
  /* Tel */
  #mainVisual #contact p {
    padding-bottom: 10px;
  }
  #mainVisual #contact p a {
    color: #e29898;
    text-align: center;
    border: 1px solid #e29898;
    border-radius: 6px;
    padding: 10px;
  }
  #mainVisual #contact p a span {
    font-size: 1.1rem;
  }
  #mainVisual #contact p a strong {
    font-size: 1.6rem;
  }
  
  /* Button - Reception Hours */
  #mainVisual #contact ul li a {
    font-size: 1.4rem;
  }
  
  /* -------------------------------
      Scroll Down
  ------------------------------- */
  #mainVisual .scrolldown {
    bottom: 100px;
  }
  
  
  
  
  /* ====================================================
      Medical
  ==================================================== */
  /* -------------------------------
      Layout
  ------------------------------- */
  #medical {
  }
  #medical section {
    width: 100%;
    padding: 60px 0;
  }
  #medical section:first-child {
    border-bottom: 10px solid #fff;
  }
  
  /* -------------------------------
      Title
  ------------------------------- */
  #medical h3 {
    margin-bottom: 20px;
  }
  #medical h3 span {
    font-size: 3rem;
  }
  
  /* -------------------------------
      Text
  ------------------------------- */
  #medical p {
    font-size: 1.4rem;
    letter-spacing: 0.01em;
    line-height: 2;
    padding: 0 40px 1.5em;
    text-align: left;
  }
  
  /* -------------------------------
      Button
  ------------------------------- */
  #medical ul {
    width: 80%;
  }
  #medical ul li:not(:last-child) {
    margin-bottom: 10px;
  }
  #medical ul li a {
    font-size: 1.4rem;
    padding: 15px 0;
  }
  

  
  
}