body {
  font-family: 'Gothic A1', sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #1C1C1C;
  letter-spacing: 0.1em;
  line-height: 1.8;
  width: 100%;
  transition: opacity 0.4s;
  transition-duration: 0.4s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: opacity;
  margin: 0px;
  letter-spacing: 0.05rem;
}

ul,
ol {
list-style: none;
padding: 0px;
}

a {
color: inherit;
text-decoration: none;
}

.mockup_mobile {
  display: none;
}

.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 1s,visibility 1s, transform 1s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateX(0px);
}


/* ヘッター */

header {
  width: 100%;
  top: 0;
  background-color: #fff;
  z-index: 100;
}

.header_menu_wrapper {
  padding-top: 40px;
  background-color: #D6E4F080;
}

.header_nav_wraper {
  display: none;
}

.nav {
  display: none;
}

.header_menu {
  width: 83.3vw;
  margin: 0 auto;
}

.header_menu ul {
  display: flex;
  margin-bottom: 0px;
}

.header_menu li {
  margin-right: 60px;
}

.header_menu li a {
  font-size: 20px;
  position: relative;
  font-weight: bold;
}

.header_menu li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #163172;
  bottom: -7px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}

.header_menu li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.header_menu li.current a::after {
  transform: scale(1, 1);
}

.header_menu li.current a::after {
  background: #163172;
}

.menu_last {
  margin-right: 0px;
}

/* ヘッター終了 */



/* クリニックタイトル・画像部分 */

.sumo_title_wrapper {
  padding-top: 60px;
  padding-bottom: 100px;
  background-color: #D6E4F080;
}

.sumo_title {
  width: 82.3vw;
  margin: 0 auto;
}





.sumo_main_title {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  margin-bottom: 100px;
  font-weight: 520;
  overflow: hidden;
}

.sumo_main_title {
  position: relative;
  padding-bottom: 0.5em;
}

.sumo_main_title::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  box-sizing: border-box;
  border-top: 3px solid #000;
  border-bottom: 1px solid #000;
}

.sumo_main_title p {
  color: #000;
  font-weight: bold;
  letter-spacing: .06em;
  margin: 0;

  /* ここからアニメーション関係 */
  transform: translateY(2em);
  animation: textanimation 1s forwards;
}

.main_title_in {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 520;
  overflow: hidden;
}

.main_title_in p {
  color: #000;
  font-weight: bold;
  letter-spacing: .06em;
  margin: 0;

  /* ここからアニメーション関係 */
  transform: translateY(2em);
  animation: textanimation 1s forwards;
}


.main_title_in p:nth-child(1) {
  animation-delay: 0.1s
}
/* 2文字目 */
.main_title_in p:nth-child(2) {
  animation-delay: 0.2s
}
/* 3文字目 */
.main_title_in p:nth-child(3) {
  animation-delay: 0.3s
}
/* 4文字目 */
.main_title_in p:nth-child(4) {
  animation-delay: 0.4s
}


/* 5文字目 */
.sumo_main_title p:nth-child(1) {
  animation-delay: 0.6s
}
/* 6文字目 */
.sumo_main_title p:nth-child(2) {
  animation-delay: 0.7s
}
/* 7文字目 */
.sumo_main_title p:nth-child(3) {
  animation-delay: 0.8s
}


@keyframes textanimation {
  0% {
      transform: translateY(2em);
  }

  100% {
      transform: translateY(0);
  }
}





.main_title {
  font-size: 50px;
  font-weight: 600;
  color: #000;
}

.sub_title {
  font-size: 28px;
}

.sumo_mockup {
  display: flex;
  justify-content: center;
}

.sumo_original {
  margin-right: 80px;
}

.sumo_original p {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 0px;
}

.sumo_Copying p {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 0px;
}



.guesthouse_site {
  text-align: center;
}

.guesthouse_site a {
  display: inline-block;
  padding: 22px 62px;
  font-size: 16px;
  color: #fff;
  border-radius: 50px;
  background-color: #163172;
  text-align: center;
  font-weight: bold;
  border: 2px solid #1E56A0;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.guesthouse_site a:hover {
  background: #fff;
  color: #1E56A0;
}

/* クリニックタイトル・画像部分終了 */



/* 南林間眼科クリニック詳細部分 */

.portforio_detail_wrapper {
  padding-bottom: 240px;
  background-color: #D6E4F080;
}

.portforio_detail {
  width: 73.7vw;
  margin: 0 auto;
}

.portforio_list {
  margin-bottom: px;
}

.portforio_list dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0px;
}

.target {
  width: 11%;
  padding: 23px 40px;
  background-color: #0B1B42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-weight: 600;
}

.target_sentence {
  width: 70.4%;
  padding-top: 23px;
  padding-bottom: 23px;
  padding-left: 56px;
  padding-right: 58px;
  background-color: #fff;
  margin-left: 0px;
  margin-bottom: 5px;
}

.design {
  width: 11%;
  padding: 23px 40px;
  background-color: #0B1B42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-weight: 600;
}

.design_sentence {
  width: 70.4%;
  padding-top: 23px;
  padding-bottom: 23px;
  padding-left: 56px;
  padding-right: 58px;
  background-color: #fff;
  margin-left: 0px;
  margin-bottom: 5px;
}

.introspection {
  width: 11%;
  padding: 22px 40px;
  background-color: #0B1B42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-weight: 600;
}

.introspection_sentence {
  width: 70.4%;
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: 56px;
  padding-right: 58px;
  background-color: #fff;
  margin-left: 0px;
  margin-bottom: 5px;
}










/* フッター */

.footer_wrapper {
  padding-top: 40px;
  padding-bottom: 30px;
  background-color: #163172;
}

.footer {
  width: 83.3vw;
  margin: 0 auto;
}

.footer p {
  text-align: center;
  color: #fff;
  font-size: 50px;
  margin-top: 0px;
  margin-bottom: 55px;
}

.footer_btn {
  text-align: center;
  margin-bottom: 30px;
}

.footer_btn a {
  display: inline-block;
  padding: 20px 90px;
  font-size: 20px;
  color: #000;
  border-radius: 50px;
  background-color: #fff;
  text-align: center;
}

.icon {
  text-align: center;
}









@media (max-width: 760px) {


  /* ハンバーガーメニュー */

  .header_nav_wrapper {
    display: block;
    background-color: #D6E4F080;
  }

.header_menu_wrapper {
  display: none;
}

.header_nav_menu {
  position: fixed;
  display: block;
  top: 20px;
  right: 10%;
  z-index: 40;
}


.nav_toggle {
  display: block;
  position: absolute;
  width: 1.75rem;
  height: 1.5rem;
  z-index: 30;
}

  .nav_toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #163172;
    position: absolute;
    transition: transform .5s, opacity .5s;
  }

  .nav_toggle i:nth-child(1) {
    top: 0;
  }

  .nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .nav_toggle i:nth-child(3) {
    bottom: 0;
  }

  .nav_toggle.show i:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .nav_toggle.show i:nth-child(2) {
    opacity: 0;
  }
  .nav_toggle.show i:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    background-color: #FFF;
    transition: all 0.3s;
    display: block;
    width: 100vw;
    height: 100%;
    /* transform: translateY(-24px); */
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
    background-color: #1E56A0;
  }

  .nav ul {
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav ul li {
    margin-bottom: 60px;
  }

  .nav ul li a{
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #fff;
  }

  .header_main_menu {
    font-size: 24px;
  }

  .header_sub_menu {
    font-size: 13px;
  }
  
 /* ハンバーガーメニュー終了 */




  .sumo_title_wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .sumo_title {
    width: 90vw;
    margin: 0 auto;
  }

  .sumo_title h1 {
    text-align: center;
  }

  .main_title {
    font-size: 28px;
  }

  .main_title_sub {
    font-size: 18px;
  }

  .sumo_main_title {
    margin-bottom: 50px;
  }

  .main_title_in {
    margin-bottom: 0px;
  }

  .sub_title {
    font-size: 14px;
  }

  .sumo_mockup {
    text-align: center;
  }

  .mockup_pc {
    display: none;
  }

  .mockup_mobile {
    display: block;
    width: 41vw;
    height: 140px;
    text-align: center;
  }

  .sumo_original {
    margin-right: 20px;
  }

  .sumo_original p {
    font-size: 17px;
  }

  .sumo_Copying p {
    font-size: 17px;
  }

  .guesthouse_site_pc {
    display: none;
  }

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

  .guesthouse_site_mobile a {
    padding: 15px 50px;
    font-size: 14px;
    color: #fff;
    border-radius: 50px;
    background-color: #163172;
    text-align: center;
    font-weight: bold;
    border: 2px solid #1E56A0;
    cursor: pointer;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  }

  .guesthouse_site_mobile a:hover {
    background: #fff;
    color: #1E56A0;
  }



  .sumo_detail_wrapper {
    padding-top: 0px;
    padding-bottom: 80px;
  }

  .sumo_detail {
    width: 88.5vw;
    margin: 0 auto;
  } 

  .sumo_list {
    margin-bottom: 0px;
  }

  .sumo_list dl {
    justify-content: center;
    margin: 0px;
  }

  .target {
    width: 23%;
    padding: 16px 71px;
    background-color: #0B1B42;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
  }

  .target_sentence {
    width: 100%;
    padding: 0px;
    background-color: transparent;
    margin-left: 0px;
    margin-bottom: 60px;
    text-align: center;
  }

  .design {
    width: 23%;
    padding: 16px 71px;
    background-color: #0B1B42;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
  }

  .design_sentence {
    width: 100%;
    padding: 0px;
    background-color: transparent;
    margin-left: 0px;
    margin-bottom: 60px;
  }

  .introspection {
    width: 23%;
    padding: 16px 71px;
    background-color: #0B1B42;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
  }

  .introspection_sentence {
    width: 100%;
    padding: 0px;
    background-color: transparent;
    margin-left: 0px;
    margin-bottom: 60px;
  }



 /* フッター */

  .footer_wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer {
    width: 88vw;
    margin: 0 auto;
  }

  .footer p {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .footer_btn {
    margin-bottom: 15px;
  }
}

@media (761px <= width <= 1415px) {

  .sumo_title {
    width: 90vw;
    margin: 0 auto;
  }

  .main_title {
    font-size: 34px;
    font-weight: 600;
  }

  .mockup_pc {
    width: 90vw;
    height: auto;
  }

  .sumo_detail {
    width: 88.5vw;
    margin: 0 auto;
  }

  .sumo_list {
    margin-bottom: 0px;
  }

  .target {
    width: 13%;
  }

  .target_sentence {
    width: 58%;
  }

  .design {
    width: 13%;
  }

  .design_sentence {
    width: 58%;
  }

  .introspection {
    width: 13%;
  }

  .introspection_sentence {
    width: 58%;
  }
}



@media(max-width:1415px) {
  .mockup_pc {
    display: none;
  }

  .mockup_mobile {
    display: block;
  }
}

@media(461px<= width <=600px) {

  .mockup_mobile {
    width: 41vw;
    height: 190px;
  }
}

@media(601px<= width <=700px) {

  .mockup_mobile {
    width: 41vw;
    height: 240px;
  }
}

@media(701px<= width <=760px) {

  .mockup_mobile {
    width: 41vw;
    height: 290px;
  }
}

@media(761px<= width <=900px) {

  .mockup_mobile {
    width: 35vw;
    height: 280px;
  }
}

@media(901px<= width <=1024px) {

  .mockup_mobile {
    width: 35vw;
    height: 350px;
  }
}

@media(1025px<= width <=1200px) {

  .mockup_mobile {
    width: 35vw;
    height: 400px;
  }
}

@media(1201px<= width <=1350px) {

  .mockup_mobile {
    width: 35vw;
    height: 450px;
  }
}

@media(1351px<= width <=1414px) {

  .mockup_mobile {
    width: 35vw;
    height: 450px;
  }
}

@media (max-width: 389px) {

  .main_title {
    font-size: 24px;
  }

  .target {
    width: 28%;
  }

  .design {
    width: 28%;
  }

  .introspection {
    width: 28%;
  }
}
