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;
}

.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;
}

/* ヘッター終了 */



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

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

.portforio_title {
  width: 85vw;
  margin: 0 auto;
}


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

.portforio_title_main::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;
}


.portforio_title_main {
  display: flex;
  margin-top: 0px;
  margin-bottom: 70px;
  font-weight: 520;
  line-height: 1.2;
  justify-content: center;
  font-weight: 600;
  overflow: hidden;
}

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

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

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

.sub_title {
  font-size: 28px;
}


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

.portforio_title_main p:nth-child(6) {
  animation-delay: 0.6s
}

.portforio_title_main p:nth-child(7) {
  animation-delay: 0.7s
}

.portforio_title_main p:nth-child(8) {
  animation-delay: 0.8s
}

.portforio_title_main p:nth-child(9) {
  animation-delay: 0.9s
}

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








.portforio_mockup {
  text-align: center;
}

.portforio_site {
  text-align: center;
}

.portforio_site a {
  display: inline-block;
  padding: 22px 62px;
  font-size: 16px;
  color: #fff;
  border-radius: 50px;
  background-color: #163172;
  text-align: center;
}

.mockup_pc {
  max-width: 1000px;
  width: 60vw;
  height: auto;
}

.mockup_mobile {
  display: none;
}

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



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

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

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

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

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

.purpose_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;
}

.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;
}

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

.infor_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;
}

.design {
  width: 11%;
  padding: 75px 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: 22px;
  padding-bottom: 23px;
  padding-left: 56px;
  padding-right: 58px;
  background-color: #fff;
  margin-left: 0px;
  margin-bottom: 5px;
}

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

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

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

.tool_sentence {
  width: 70.4%;
  padding-top: 20px;
  padding-bottom: 21px;
  padding-left: 56px;
  padding-right: 58px;
  background-color: #fff;
  margin-left: 0px;
  margin-bottom: 0px;
}










/* フッター */

.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;
  }

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




  .portforio_title_wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
  }

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

  .portforio_title h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  .main_title {
    font-size: 28px;
  }

  .main_title_in {
    display: none;
  }

  .sub_title {
    font-size: 14px;
  }

  .portforio_mockup {
    text-align: center;
  }

  .mockup_pc {
    display: none;
  }

  .mockup_mobile {
    display: block;
    width: 90vw;
    height: auto;
  }

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

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

  .portforio_list {
    margin-bottom: 0px;
  }

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

  .purpose {
    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;
  }

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

  .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;
  }

  .infor {
    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;
  }

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

  .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;
  }

  .period {
    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;
  }

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

  .tool {
    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;
  }

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



 /* フッター */

  .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 (max-width: 389px) {

  .main_title {
    font-size: 24px;
  }

  .purpose {
    width: 28%;
  }

  .target {
    width: 28%;
  }

  .infor {
    width: 28%;
  }

  .design {
    width: 28%;
  }

  .period {
    width: 28%;
  }

  .tool {
    width: 28%;
  }
}










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

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

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

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

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

  .portforio_list {
    margin-bottom: 0px;
  }

  .portforio_list dl {
    justify-content: center;
  }

  .purpose {
    width: 13%;
  }

  .purpose_sentence {
    width: 58%;
  }

  .target {
    width: 13%;
  }

  .target_sentence {
    width: 58%;
  }

  .infor {
    width: 13%;
  }

  .infor_sentence {
    width: 58%;
  }

  .design {
    width: 13%;
  }

  .design_sentence {
    width: 58%;
  }

  .period {
    width: 13%;
  }

  .period_sentence {
    width: 58%;
  }

  .tool {
    width: 13%;
  }

  .tool_sentence {
    width: 58%;
  }
}

@media(max-width: 626px) {

  .purpose_sentence {
    text-align: left;
  }
}

@media(max-width: 407px) {

  .tool_sentence {
    text-align: left;
  }
}

@media(max-width: 379px) {

  .target_sentence {
    text-align: left;
  }

}











