html {
  width: 100%;
  font-size: 62.5%;
}

body {
  background-color: #EFF0F2;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #3B3D40;
  margin: 0 auto;
  letter-spacing: 0.05em;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  min-width: 1200px;
  animation: loading 1s;
}

@keyframes loading {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  color: #3B3D40;
  transition: 0.3s;
  cursor: pointer;
}

a:hover {
  transition: 0.3s;
}

ul {
  padding: 0;
}

li {
  list-style-type: none;
}

th {
  font-weight: normal;
}


img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

video {
  max-width: 100%;
}

.inner {
  width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  text-align: left;
}

.pc {
  display: block;
}

.mobile {
  display: none;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}

.absolute {
  position: absolute;
}

p {
  text-align: justify;
}

.grecaptcha-badge {
  visibility: hidden;
}

.area_btn a {
  background-color: #2953D3;
  border-radius: 100vmax;
  color: #fff;
  padding: 14px 50px 14px 32px;
  display: inline-block;
  position: relative;
  box-shadow: 0px 3px 23px 0px rgba(0, 0, 0, 0.16);
  font-weight: 700;
  min-width: 280px;
  text-align: center;
}

.area_btn {
  margin-top: 40px;
  text-align: right;
}

.area_btn a {
  transition: 0.6s;
}

.area_btn a img {
  content: "";
  width: 20px;
  height: 10px;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transition: 0.4s;
}

.area_btn a:hover img {
  right: 12px;
}

header {
  width: 100%;
  padding: 20px 20px 20px 40px;
  z-index: 10;
  position: sticky;
  top: 0;
  left: 0;
  margin-bottom: 8px;
}

header .row {
  align-items: center;
  flex-wrap: nowrap;
}

.header_logo {
  width: 280px;
}

.header_logo a {
  display: flex;
}

.header_logo img {
  vertical-align: middle;
  width: 180px;
}

.header_nav_wrapper {
  display: flex;
  font-weight: 700;
  align-items: center;
}

.header_nav {
  padding-right: 24px;
}

.header_nav a {
  padding: 7px 12px;
  display: inline-block;
}

.header_nav a:hover,
footer ul li a:hover {
  color: #2953D3;
  opacity: 1;
}

.header_contact {
  display: flex;
  transition: 0.6s;
}

.header_contact:hover {
  filter: brightness(1.2);
}

.header_mail {
  background-color: #2953D3;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  padding: 20px 40px;
  border-radius: 100vmax
}

.header_mail span {
  margin-left: 12px;
}

#nav-wrapper {
  display: none;
}

.pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 15px;
  width: 120px;
  z-index: 2;
}

.pagetop a {
  display: block;
}

.wave_bg {
  position: relative;
}

.wave_bg {
  position: relative;
  margin-top: 20vw;
}


.wave_bg::before {
  content: "";
  background-image: url(../image/common/bg_wave.png);
  position: absolute;
  top: -20vw;
  left: 0;
  width: 100%;
  height: 17.8vw;
  background-repeat: no-repeat;
  background-size: cover;
}

section {
  padding-bottom: 180px;
}

section:last-of-type {
  padding-bottom: 160px;
}

.item {
  padding: 60px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.profile {
  font-size: 2.4rem;
  margin-top: 32px;
}

.profile span {
  font-size: 0.6em;
  margin-right: 1em;
}

.works_list {
  justify-content: flex-start;
  gap: 40px 50px;
}

.works_list li {
  width: 340px;
  transition: 0.6s;
}

.works_list li:hover {
  opacity: 0.6;
}

.works_list li .thumb {
  aspect-ratio: 320 / 180;
  overflow: hidden;
}

.works_list li .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post_info_top {
  color: #2953D3;
  display: block;
  line-height: 1.6;
  margin-top: 0.8em;
}

.date {
  font-family: "Public Sans", sans-serif;
  font-size: 0.9em;
  margin-right: 1em;
  color: #9D9D9D;
}

.post_title {
  font-size: 1.8rem;
}


.post_date {
  font-size: 14px;
  font-family: "Open Sans", system-ui;
  font-weight: 600;
  color: #AAB7DF;
  margin-right: 10px;
}

.sec_contact {
  padding-bottom: 100px;
}

.sec_contact a {
  background-color: #2953D3;
  border-radius: 24px;
  padding: 76px;
  color: #fff;
  align-items: center;
}

.sec_contact a .contact_arrow {
  transition: 0.6s;
}

.sec_contact a:hover .contact_arrow {
  transform: translateX(14px);
}

.sec_contact .left_area {
  width: 800px;
}

.sec_contact h3 {
  font-size: 1.4rem;
  line-height: normal;
  margin-bottom: 40px;
}

.sec_contact h3 span {
  color: #fff;
  font-size: 6.4rem;
  padding-left: 0;
}

.sec_contact h3 span::before {
  content: none;
}

.sec_contact p {
  font-size: 1.8rem;
}

.sec_contact .area_title {
  display: flex;
}


/* コンテナの調整 */
.contact_yokoyama_illust {
  position: relative;
  display: inline-block;
  margin-top: -30px;
  margin-left: 24px;
}

/* 横山さんぴょこアニメーション */
.cvt_yokoyama {
  animation: squishJump 3.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes squishJump {
  0% {
    transform: scaleY(1) translateY(0);
  }

  10% {
    transform: scaleY(0.7) translateY(5px);
    /* 縮む */
  }

  20% {
    transform: scaleY(1) translateY(-20px);
    /* ジャンプ */
  }

  30% {
    transform: scaleY(1) translateY(0);
    /* 着地 */
  }

  100% {
    transform: scaleY(1) translateY(0);
    /* 待機 */
  }
}

/* 吹き出し：表示 → 消える */
.cvt_hukidasgi {
  position: absolute;
  left: 100%;
  top: 0;
  width: 100px;
  max-width: inherit;
  top: -82px;
  right: -100px;
  opacity: 0;
  opacity: 0;
  animation: fadePop 3.5s ease-in-out infinite;
  animation-delay: 0.2s;
  /* 少し遅れて登場 */
}

@keyframes fadePop {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
    /* ふわっと表示 */
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-5px);
    /* ふわっと上に消える */
  }
}

.contact_arrow {
  width: 114px;
  height: 114px;
}


footer {
  padding-bottom: 20px;
}

footer .row {
  align-items: end;
  align-items: flex-start;
  gap: 50px;
}

footer .left_area p {
  margin-top: 1.4em;
  font-size: 0.9em;
}

footer .left_area a {
  display: block;
  width: 200px;
}

footer ul li {
  line-height: 190%;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.8em;
}

footer ul .nav_sub {
  position: relative;
  padding-left: 1em;
  margin-top: -4px;
  font-size: 0.9em;
}

footer ul .nav_sub::before {
  position: absolute;
  content: "";
  height: 1px;
  width: 0.6em;
  background-color: #2953D3;
  top: 15px;
  left: 0;
}

.copyright {
  font-size: 12px;
  color: #9398A0;
  font-family: "Public Sans", sans-serif;
}


@media screen and (max-width: 767px) {
  body {
    min-width: inherit;
    font-size: 15px;
    line-height: 190%;
  }

  p {
    text-align: justify;
  }

  .inner {
    width: calc(100% - 40px);
  }

  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .row {
    flex-wrap: wrap;
  }

  section,
  section:last-of-type {
    padding-top: 40px;
    padding-bottom: 60px;
  }



  header .row {
    padding: 10px;
  }

  .header_logo {
    width: 80px;
    z-index: 300;
  }

  .header_contact {
    display: none;
  }

  /* 
hamburger(ハンバーガーアイコン)
=================================== */
  #nav-wrapper {
    display: block;
  }

  .hamburger {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 300;
    background-color: #2953D3;
    border-radius: 100vmax;
  }

  .open .hamburger {
    border: none;
  }

  .hamburger__line {
    position: absolute;
    width: 24px;
    height: 2px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: #fff;
    transition: all 0.5s;
  }

  .hamburger__line--1 {
    transform: translateY(-8px);
  }


  .hamburger__line--3 {
    transform: translateY(8px);
  }

  /*ハンバーガーがクリックされたら*/
  .open .hamburger__line--1 {
    transform: rotate(-45deg);
  }

  .open .hamburger__line--2 {
    opacity: 0;
  }

  .open .hamburger__line--3 {
    transform: rotate(45deg);
  }

  /* 
sp-nav(ナビ)
=================================== */
  .sp-nav {
    position: fixed;
    right: -100%;
    /*ハンバーガーがクリックされる前はWindow右側に隠す*/
    top: 0;
    width: 100%;
    /* 出てくるスライドメニューの幅 */
    height: 100%;
    background-color: #fff;
    transition: 0.6s;
    z-index: 200;
    /* メニューが多くなったらスクロールできるように */
    display: inherit;
  }

  /*ハンバーガーがクリックされたら右からスライド*/
  .open .sp-nav {
    right: 0;
  }

  /*ハンバーガーメニューが開いたら表示*/
  .open .black-bg {
    opacity: 0.3;
    visibility: visible;
  }

  .sp-nav_header {
    display: flex;
    padding: 32px 22px 32px;
  }

  header .header_nav {
    display: none;
  }

  .sp-nav_header .yukapeta_title {
    width: 200px;
    margin-bottom: 0;
  }

  .spnav_menu {
    background-color: #2953D3;
    height: inherit;
  }

  header .sp-nav .spnav_menu {
    display: flex;
    flex-direction: column;
    padding: 80px 24px 80px 24px;
    overflow: auto;
    height: 100vh;
  }

  header .sp-nav .spnav_menu a {
    padding: 0.8em;
    font-size: 16px;
    color: #fff;
  }

  header .sp-nav .spnav_menu .header_mail {
    border: #fff solid 1px;
    border-radius: 100vmax;
    justify-content: center;
    margin-top: 32px;
    padding: 18px;
  }



  header {
    padding: 0;
    height: 60px;
  }

  .header_logo {
    width: 110px;
    padding: 8px;
  }

  header .logo_caption {
    display: none;
  }

  header .inner {
    width: 100%;
    padding-right: 0;
  }

  .item {
    padding: 32px;
  }

  .works_list li {
    width: 100%;
  }


  .sec_contact h3 span {
    font-size: 4rem;
    margin-bottom: 0;
  }

  .cvt_hukidasgi {
    position: absolute;
    width: 90px;
    max-width: inherit;
    top: -62px;
    right: -90px;
  }

  .sec_contact {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .sec_contact a {
    padding: 32px;
  }

  .contact_yokoyama_illust {
    margin-left: 8px;
    width: 64px;
  }

  .sec_contact p {
    font-size: 1.5rem;
  }

  .sec_contact h3 {
    margin-bottom: 0;
  }

  .contact_arrow {
    width: 60px;
    height: 60px;
    margin: 0 0 0 auto;
  }


  footer {
    padding-bottom: 32px;
  }

  footer .inner .row {
    display: none;
  }

  footer .left_area a {
    width: 160px;
  }

  .copyright {
    font-size: 11px;
    margin-top: 32px;
  }

  .pagetop {
    display: none;
    position: fixed;
    bottom: 10px;
    right: -7px;
    width: 100px;
  }

}

.blog_list li {
  transition: 0.6s;
}

.blog_list li:hover {
  opacity: 0.6;
}

.blog_list,
.blog_post {
  width: 740px;
}

.blog_list li {
  margin-bottom: 24px;
}

.blog_list li a {
  display: flex;
  padding-bottom: 24px;
  border-bottom: #DEDEDE 1px solid;
}

.blog_list li a .area_image {
  width: 200px;
  aspect-ratio: 228 / 156;
}

.blog_list li a .area_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.blog_list li a .text_area {
  margin-left: 24px;
  width: 480px;
}

.category {
  color: #2953D3;
  position: relative;
  padding-left: 0.8em;
}

.category::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
  width: 0.6em;
  height: 0.6em;
  background-color: #2953D3;
  border-radius: 100vmax;
}

@media screen and (max-width: 767px) {
  .blog_list li a {
    justify-content: space-between;
  }


  .blog_list li a .area_image {
    width: 30%;
  }

  .blog_list li a .area_image img {
    height: 20vw;
  }

  .blog_list li a .text_area {
    margin: 0;
    width: 64%;
  }
}


.modal-video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-video-content video {
  max-width: 90vw;
  max-height: 80vh;
}

.modal-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}