@charset "UTF-8";
/*============================================================
　変数
============================================================*/
/*============================================================
　リセット
============================================================*/
html, body, header, footer, nav, menu, section, article, aside, figcaption, figure, img, div, span, iframe, form, label, h1, h2, h3, h4, h5, p, blockquote, pre, del, em, strong, mark, dl, dt, dd, ol, ul, li, table, tbody, thead, tfoot, tr, th, td, caption {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-size: inherit;
  font-weight: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
}

input, button, select, textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

a,
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
  text-decoration: none;
}

em {
  font-style: normal;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
  pointer-events: none;
}

ol, ol li,
ul, ul li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  display: block;
}

/*============================================================
　レイアウト
============================================================*/
html {
  width: 100%;
  height: 100%;
  font-size: 62.5%;
}

#wrap {
  position: relative;
  min-height: 100% !important;
  overflow: hidden;
}

body {
  color: #222;
  font-family: "Lato", "Noto Sans JP", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.06em;
  word-break: break-all;
  text-align: justify;
  margin: 0;
  padding: 0;
  height: 100%;
}
@media print, screen and (width >= 768px) {
  body {
    font-size: 1.5rem;
  }
}
@media screen and (width < 768px) {
  body {
    font-size: 1.4rem;
  }
}

a {
  color: #222;
  transition: all 0.3s;
}

#contents {
  background-image: linear-gradient(rgba(204, 204, 204, 0.1) 1px, transparent 1px), linear-gradient(to right, rgba(204, 204, 204, 0.1) 1px, transparent 1px);
  background-size: 6px 6px;
  background-color: #fff;
  background-position: top top;
}
@media print, screen and (width >= 1000px) {
  #contents {
    padding: 100px 0 0;
  }
}
@media screen and (width < 1000px) {
  #contents {
    padding: 60px 0 0;
  }
}

@media print, screen and (width >= 600px) {
  .sp {
    display: none !important;
  }
}
@media print, screen and (width >= 768px) {
  .tb {
    display: none !important;
  }
}
@media screen and (width < 600px) {
  .pc {
    display: none !important;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body {
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

.detail-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  height: 52px;
  text-align: center;
  background-color: #fff;
  color: #24365e;
  border: 2px solid #24365e;
  border-radius: 50px;
  margin: 100px auto 0;
  transition: all 0.3s;
}
@media print, screen and (width >= 768px) {
  .detail-btn {
    margin: 80px auto 0;
  }
}
@media screen and (width < 768px) {
  .detail-btn {
    margin: 30px auto 0;
  }
}
@media (hover: hover) {
  .detail-btn:hover {
    background-color: #24365e;
    color: #fff;
  }
  .detail-btn:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #e62318;
  border-radius: 50px;
  /* 光のスタイル */
  overflow: hidden;
  position: relative;
  width: 90%;
  max-width: 300px;
  margin: 40px auto 0;
  font-size: 1.5rem;
  transition: all 0.3s;
}
@media print, screen and (width >= 768px) {
  .contact-btn {
    height: 60px;
  }
}
@media screen and (width < 768px) {
  .contact-btn {
    height: 50px;
  }
}
.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
  transition: 0.5s;
}
.contact-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
  margin: 0 0 0 20px;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
@media (hover: hover) {
  .contact-btn:hover::before {
    top: 0;
    left: 100%;
  }
}

#pagetop {
  position: fixed;
  bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  line-height: 1.1em;
  font-size: 1.1rem;
  text-align: center;
  border: solid 1px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s;
}
@media print, screen and (width >= 768px) {
  #pagetop {
    right: 35px;
  }
}
@media screen and (width < 768px) {
  #pagetop {
    right: 20px;
  }
}
@media (hover: hover) {
  #pagetop:hover {
    color: #fff;
    border: 1px solid #fff;
    background-color: #222;
  }
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 4px;
}

h2 {
  font-size: clamp(2rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: #24365e;
  text-align: center;
  position: relative;
  padding: 0 25px;
}
@media print, screen and (width >= 768px) {
  h2 {
    margin-bottom: 80px;
  }
}
@media screen and (width < 768px) {
  h2 {
    margin-bottom: 60px;
  }
}
h2::before {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #06b8b1, #0874b7);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media print, screen and (width >= 768px) {
  section {
    padding: 100px 0 120px;
  }
}
@media screen and (width < 768px) {
  section {
    padding: 60px 0 80px;
  }
}

/*============================================================
　ヘッダー
============================================================*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: all 0.3s;
}
@media print, screen and (width >= 1000px) {
  header {
    height: 100px;
  }
}
@media screen and (width < 1000px) {
  header {
    height: 60px;
  }
}
header .logo-box {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #666;
}
@media screen and (width < 768px) {
  header .logo-box {
    left: 20px;
  }
}
header .logo-box p {
  margin: 5px 0 0;
}
header .logo {
  display: block;
  margin: 0 15px 0 0;
}
@media print, screen and (width >= 768px) {
  header .logo {
    height: 40px;
  }
}
@media screen and (width < 768px) {
  header .logo {
    height: 34px;
  }
}

header.scroll {
  height: 60px;
}

/*============================================================
　メニュー
============================================================*/
@media print, screen and (width >= 1000px) {
  nav #menu ul {
    display: flex;
    position: absolute;
    top: 50%;
    right: 200px;
    transform: translateY(-50%);
  }
  nav #menu ul li a {
    margin-left: 25px;
  }
  nav #menu ul li a:hover {
    color: #06b8b1;
  }
  nav #menu ul .submenu {
    position: relative;
  }
  nav #menu ul .submenu > a {
    padding: 0 15px 0 0;
  }
  nav #menu ul .submenu > a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    right: 0;
    top: 50%;
    border-bottom: solid 2px #666;
    border-right: solid 2px #666;
    transform: rotate(45deg) translateY(-70%);
    transition: all 0.3s;
  }
  nav #menu ul .submenu:hover ul {
    transform: scaleY(1);
  }
  nav #menu ul .submenu ul {
    transform: scaleY(0);
    transform-origin: center top;
    transition: all 0.3s;
    width: 190px;
    position: absolute;
    top: 35px;
    right: -25px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: block;
  }
  nav #menu ul .submenu ul li {
    border-bottom: solid 1px #eee;
    height: 50px;
    line-height: 50px;
  }
  nav #menu ul .submenu ul a {
    display: block;
    margin: 0;
    padding: 0 0 0 20px;
    position: relative;
  }
  nav #menu ul .submenu ul a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 170px;
    display: block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #06b8b1;
    border-right: 2px solid #06b8b1;
    transform: translateY(-50%) rotate(45deg);
  }
  nav .contact-btn {
    width: 150px;
    height: 33px;
    line-height: 33px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    font-size: 1.4rem;
    margin: 0;
  }
  nav .contact-btn::after {
    content: none;
  }
  nav #btn-menutoggle {
    display: none;
  }
}
@media screen and (width < 1000px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    z-index: 2000;
  }
  nav #menu {
    position: fixed;
    background: #fff;
    pointer-events: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 2000;
    background: linear-gradient(90deg, #06b8b1, #0874b7);
    overflow: scroll;
    padding: 0 0 30px;
  }
  nav #menu > ul {
    padding: 60px 30px 0;
    text-indent: 10px;
  }
  nav #menu li a {
    display: block;
    padding: 15px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    position: relative;
  }
  nav #menu li a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    right: 15px;
    top: 50%;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
  }
  nav #menu .submenu ul {
    text-indent: 20px;
  }
  nav #menu .submenu ul li a {
    padding: 10px 0 10px 15px;
    position: relative;
  }
  nav #menu .submenu ul li a::before {
    content: "-";
    position: absolute;
    left: 0;
  }
  nav #btn-menutoggle {
    position: absolute;
    top: 14px;
    right: 20px;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 0;
    z-index: 3000;
  }
  nav #btn-menutoggle span, nav #btn-menutoggle span:before, nav #btn-menutoggle span:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #222;
    transition: transform 0.4s;
  }
  nav #btn-menutoggle span:before {
    transform: translateY(-10px);
  }
  nav #btn-menutoggle span:after {
    transform: translateY(8px);
  }
}

.menu-active nav {
  height: 100%;
}
.menu-active nav #menu {
  opacity: 1;
  transition: opacity 0.5s;
  pointer-events: auto;
}
.menu-active nav #btn-menutoggle span {
  background: none;
}
.menu-active nav #btn-menutoggle span:before {
  transform: rotate(45deg);
  background-color: #fff;
}
.menu-active nav #btn-menutoggle span:after {
  transform: rotate(-45deg);
  background-color: #fff;
}

/*============================================================
　トップページ
============================================================*/
#mv {
  background-image: url(../img/top_bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
@media print, screen and (width >= 768px) {
  #mv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0 25px;
    padding: 7% 3%;
    border-radius: 20px;
    font-size: clamp(1.5rem, 1.6vw, 1.6rem);
  }
  #mv .mv-l {
    width: 50%;
    max-width: 550px;
    padding: 0 25px 0 0;
  }
  #mv .mv-r {
    width: 40%;
    max-width: 350px;
  }
}
@media screen and (width < 768px) {
  #mv {
    padding: 40px 25px 60px;
    text-align: center;
  }
  #mv img {
    max-width: 280px;
    width: 100%;
    margin: 0 auto 30px;
  }
  #mv .mv-r {
    display: none;
  }
}
#mv span {
  font-size: clamp(1.5rem, 1.7vw, 1.9rem);
  display: inline-block;
  margin: 0 0 25px;
  border-bottom: solid 1px;
  font-weight: bold;
  position: relative;
}
#mv h1 {
  font-size: clamp(2.3rem, 2.8vw, 3.6rem);
  font-weight: bold;
  margin: 0 0 40px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  font-weight: 900;
}
@media print, screen and (width >= 768px) {
  #mv .contact-btn {
    margin: 40px 0 0;
  }
}

/*============================================================
　導入
============================================================*/
#intro {
  padding-right: 25px;
  padding-left: 25px;
}
@media print, screen and (width >= 600px) {
  #intro {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}
@media print, screen and (width >= 600px) {
  #intro dl {
    width: 50%;
  }
}
@media screen and (width < 600px) {
  #intro dl {
    margin: 0 0 40px;
  }
}
#intro dt {
  font-size: clamp(2.2rem, 2.6vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.5;
}
@media screen and (width < 600px) {
  #intro dt {
    text-align: center;
  }
}
@media print, screen and (width >= 600px) {
  #intro dd {
    font-size: 1.6rem;
  }
}
#intro em {
  color: #e62318;
}
#intro span {
  font-size: 1.6rem;
  display: block;
  margin: 0 0 10px;
}
#intro img {
  max-width: 360px;
}
@media print, screen and (width >= 600px) {
  #intro img {
    width: 45%;
  }
}
@media screen and (width < 600px) {
  #intro img {
    margin: 0 auto;
  }
}

/*============================================================
　メリット
============================================================*/
#merit {
  background-color: #daeaf2;
}
#merit ul {
  padding: 0 25px;
}
@media print, screen and (width >= 600px) {
  #merit ul {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
#merit ul li {
  background-color: #fff;
  border-radius: 10px;
  margin: 10px auto;
  position: relative;
}
@media print, screen and (width >= 600px) {
  #merit ul li {
    width: 48%;
    padding: 50px;
  }
}
@media screen and (width < 600px) {
  #merit ul li {
    padding: 40px 30px 30px;
  }
}
#merit ul li::before {
  position: absolute;
  top: -5%;
  left: 5%;
  color: #daeaf2;
}
@media print, screen and (width >= 600px) {
  #merit ul li::before {
    font-size: 10rem;
  }
}
@media screen and (width < 600px) {
  #merit ul li::before {
    font-size: 8rem;
  }
}
#merit ul li:first-of-type::before {
  content: "01";
}
#merit ul li:nth-of-type(2)::before {
  content: "02";
}
#merit ul li:nth-of-type(3)::before {
  content: "03";
}
#merit ul li:nth-of-type(4)::before {
  content: "04";
}
#merit ul img {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}
#merit ul h3 {
  font-size: clamp(1.6rem, 1.7vw, 1.8rem);
  font-weight: bold;
  margin: 0 0 30px;
  text-align: center;
}
@media print, screen and (width >= 768px) {
  #merit ul p {
    font-size: 1.4rem;
  }
}

/*============================================================
　サービス
============================================================*/
#service > p {
  padding: 0 25px;
}
@media print, screen and (width >= 768px) {
  #service > p {
    text-align: center;
    font-size: 1.6rem;
  }
}
#service .about-video {
  max-width: 560px;
  width: 90%;
}
@media print, screen and (width >= 768px) {
  #service .about-video {
    margin: 80px auto 120px;
  }
}
@media screen and (width < 768px) {
  #service .about-video {
    margin: 50px auto 80px;
  }
}
#service h3 {
  max-width: 220px;
  width: 80%;
  margin: 0 auto 35px;
}
#service .s-overview {
  text-align: center;
  background: linear-gradient(90deg, #06b8b1, #0874b7);
}
@media print, screen and (width >= 768px) {
  #service .s-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0 auto 100px;
    padding: 60px 1%;
  }
}
@media screen and (width < 768px) {
  #service .s-overview {
    margin: 0 auto 40px;
    padding: 20px 25px;
  }
}
#service .s-overview a {
  background-color: #fff;
  border-radius: 2px;
  max-width: 300px;
  padding: 30px;
  position: relative;
  display: block;
}
@media print, screen and (width >= 768px) {
  #service .s-overview a {
    width: 30%;
    margin: 0 10px;
  }
}
@media screen and (width < 768px) {
  #service .s-overview a {
    margin: 30px auto;
  }
}
#service .s-overview a::before {
  content: "";
  position: absolute;
  inset: 6px -8px -8px 6px;
  border: 2px solid #204ea0;
  border-radius: 2px;
}
#service .s-overview a:hover {
  background-color: #fff !important;
}
#service .s-overview a:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #204ea0;
  border-radius: 2px;
  transition: all 0.3s;
}
#service .s-overview a:first-of-type {
  background-color: #deefff;
}
#service .s-overview a:first-of-type .num {
  color: #204ea0;
}
#service .s-overview a:nth-of-type(2) {
  background-color: #e1fff0;
}
#service .s-overview a:nth-of-type(2) .num {
  color: #06b8b1;
}
#service .s-overview a:last-of-type {
  background-color: #d3fdff;
}
#service .s-overview a:last-of-type .num {
  color: #0874b7;
}
#service .s-overview a .num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
}
#service .s-overview a dt {
  font-size: 1.4rem;
  margin-bottom: 5px;
}
#service .s-overview a dd {
  font-size: clamp(1.8rem, 1.7vw, 2rem);
  font-weight: bold;
}
#service ul.s-detail {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 25px;
}
#service ul.s-detail > li:not(:last-child) {
  margin-bottom: 100px;
}
@media print, screen and (width >= 1000px) {
  #service ul.s-detail > li {
    display: flex;
    justify-content: space-between;
  }
  #service ul.s-detail > li:nth-of-type(even) {
    flex-direction: row-reverse;
  }
}
#service ul.s-detail > li:first-of-type em {
  color: #204ea0;
}
#service ul.s-detail > li:first-of-type dt, #service ul.s-detail > li:first-of-type li::before {
  background-color: #204ea0;
}
#service ul.s-detail > li:first-of-type dd ul {
  border: solid 1px #204ea0;
}
#service ul.s-detail > li:nth-of-type(2) em {
  color: #06b8b1;
}
#service ul.s-detail > li:nth-of-type(2) dt, #service ul.s-detail > li:nth-of-type(2) li::before {
  background-color: #06b8b1;
}
#service ul.s-detail > li:nth-of-type(2) dd ul {
  border: solid 1px #06b8b1;
}
#service ul.s-detail > li:nth-of-type(3) em {
  color: #0874b7;
}
#service ul.s-detail > li:nth-of-type(3) dt, #service ul.s-detail > li:nth-of-type(3) li::before {
  background-color: #0874b7;
}
#service ul.s-detail > li:nth-of-type(3) dd ul {
  border: solid 1px #0874b7;
}
#service ul.s-detail > li .s-img {
  border-radius: 4px;
  max-width: 550px;
}
@media print, screen and (width >= 1000px) {
  #service ul.s-detail > li .s-img {
    width: 48%;
    margin: 0 0 30px;
  }
}
@media screen and (width < 1000px) {
  #service ul.s-detail > li .s-img {
    margin: 0 auto 30px;
  }
}
#service ul.s-detail > li .s-img img {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
@media print, screen and (width >= 1000px) {
  #service ul.s-detail > li .s-box {
    width: 48%;
  }
}
#service ul.s-detail > li .s-box h4 {
  position: relative;
  font-size: clamp(2.4rem, 2.6vw, 2.8rem);
  font-weight: bold;
  margin: 0 0 30px 0;
  padding: 0 0 0 105px;
}
#service ul.s-detail > li .s-box h4 em {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 7.5rem;
  font-weight: 900;
}
#service ul.s-detail > li .s-box h4 span {
  display: block;
  font-size: 1.6rem;
  font-weight: normal;
  color: #222;
}
#service ul.s-detail > li .s-box a {
  margin: 20px 0 0;
  display: inline-block;
  color: #0874b7;
  text-decoration: underline;
  transition: all 0.3s;
}
@media (hover: hover) {
  #service ul.s-detail > li .s-box a:hover {
    opacity: 0.5;
  }
}
#service ul.s-detail > li .s-box dl {
  margin: 30px 0 0;
}
#service ul.s-detail > li .s-box dl dt {
  display: inline-block;
  color: #fff;
  border-radius: 5px 5px 0 0;
  padding: 2px 12px;
  font-weight: bold;
}
#service ul.s-detail > li .s-box dl dd ul {
  padding: 25px 20px;
  border-radius: 0 5px 5px 5px;
  background-color: #fff;
}
#service ul.s-detail > li .s-box dl dd ul li {
  position: relative;
  padding: 0 0 0 30px;
}
#service ul.s-detail > li .s-box dl dd ul li:not(:last-child) {
  margin: 0 0 8px;
}
#service ul.s-detail > li .s-box dl dd ul li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
#service ul.s-detail > li .s-box dl dd ul li::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/*============================================================
　制作実績
============================================================*/
#works {
  background-color: #f5f5f5;
}

#works-box {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}
@media print, screen and (width >= 600px) {
  #works-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #works-box::after {
    content: "";
    display: block;
    width: 30%;
  }
}
@media print, screen and (width >= 1000px) {
  #works-box li {
    width: 30%;
    max-width: 450px;
    margin: 25px 15px;
  }
}
@media screen and (width < 1000px) {
  #works-box li {
    width: 45%;
    max-width: 450px;
    margin: 25px 15px;
  }
}
@media screen and (width < 600px) {
  #works-box li {
    width: 100%;
    margin: 0 auto 50px;
    padding: 0 25px;
  }
}
#works-box a.js-modal-video {
  display: block;
  margin: 0 0 15px;
  position: relative;
  transition: all 0.3s;
}
#works-box a.js-modal-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  border: solid 2px #fff;
  z-index: 1;
}
#works-box a.js-modal-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 17px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  z-index: 2;
}
@media (hover: hover) {
  #works-box a.js-modal-video:hover {
    transform: scale(1.05);
  }
}
#works-box a.js-modal-video img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#works-box h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 10px;
}
#works-box span {
  display: inline-block;
  font-size: 1.2rem;
  background-color: #fff;
  border: solid 1px;
  color: #777;
  padding: 0px 6px;
  border-radius: 2px;
}

/*============================================================
　MedTubeをもっと知る
============================================================*/
#moreinfo ul {
  margin: 0 auto;
  padding: 0 25px;
}
@media print, screen and (width >= 768px) {
  #moreinfo ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-bottom: 50px;
  }
}
#moreinfo li {
  background-color: #daeaf2;
  border-radius: 10px;
}
@media print, screen and (width >= 768px) {
  #moreinfo li {
    width: 31%;
    margin: 0 5px;
    padding: 30px 4% 35px;
  }
}
@media screen and (width < 768px) {
  #moreinfo li {
    margin: 0 0 30px;
    padding: 30px 25px 35px;
  }
}
#moreinfo img {
  width: 100%;
  max-width: 80px;
  display: block;
  margin: 0 auto 20px;
}
#moreinfo h3 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 15px;
}

/*============================================================
　問い合わせボックス（ページ共通）
============================================================*/
#contact-box {
  text-align: center;
  background-image: url(../img/top_bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media print, screen and (width >= 768px) {
  #contact-box {
    margin: 0 auto;
    padding: 5%;
  }
}
@media screen and (width < 768px) {
  #contact-box {
    margin: 0 auto;
    padding: 40px 25px;
  }
}
@media screen and (width < 375px) {
  #contact-box {
    padding: 30px 15px;
  }
}
#contact-box .inner {
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  padding: 45px 25px;
  border-radius: 10px;
}
#contact-box dl {
  max-width: 750px;
  margin: 0 auto;
}
#contact-box dt {
  font-size: clamp(2.2rem, 2.4vw, 2.4rem);
  font-weight: bold;
  margin: 0 0 30px;
  line-height: 1.5;
}
#contact-box dd {
  display: block;
  margin: 0 0 20px;
}
@media screen and (width < 768px) {
  #contact-box dd {
    text-align: left;
  }
}

/*============================================================
フッター
============================================================*/
footer {
  position: sticky;
  top: 100vh;
  width: 100%;
  border-top: solid 1px #eee;
}
footer .inner {
  position: relative;
}
@media print, screen and (width >= 768px) {
  footer .inner {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 15px;
  }
}
@media screen and (width < 768px) {
  footer .inner {
    padding: 40px 25px;
  }
}
footer .inner .logo {
  height: 40px;
  display: block;
  margin: 0 20px 10px 0;
}
footer .inner a {
  display: inline-block;
}
footer .inner a:hover {
  color: #06b8b1;
}
@media screen and (width < 768px) {
  footer .inner > ul:first-of-type {
    border-bottom: solid 1px #ccc;
    padding: 0px 0 30px;
    margin: 0 0 30px;
  }
}
footer .inner > ul > li {
  padding: 0 15px 0;
}
footer .inner > ul > li:not([class]) {
  position: relative;
}
footer .inner > ul > li:not([class])::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #06b8b1;
  border-right: 2px solid #06b8b1;
  transform: translateY(-50%) rotate(45deg);
}
@media screen and (width < 768px) {
  footer .inner > ul > li {
    margin: 15px 0 0;
  }
}
footer .inner > ul li.submenu {
  margin: 15px 0 0 15px;
  padding: 0;
}
footer .inner > ul li.submenu ul {
  display: flex;
  flex-wrap: wrap;
}
footer .inner > ul li.submenu li {
  position: relative;
  padding: 0 0 0 15px;
  margin: 0 20px 0 0;
  line-height: 2;
}
footer .inner > ul li.submenu li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 5px;
  height: 2px;
  background-color: #06b8b1;
}
@media print, screen and (width >= 768px) {
  footer .inner > ul > li + li {
    margin-top: 25px;
  }
}
footer .copyright {
  text-align: center;
  padding: 15px 0;
  font-size: 1.2rem;
  background-color: #222;
  color: #fff;
}

/*============================================================
下層ページ
============================================================*/
#page-h1-box {
  max-height: 220px;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  background: url(../img/sub_bg.jpg);
  background-size: cover;
  background-position: center;
}
@media print, screen and (width >= 768px) {
  #page-h1-box {
    padding: 80px 0;
  }
}
@media screen and (width < 768px) {
  #page-h1-box {
    padding: 40px 0;
  }
}
#page-h1-box h1 {
  font-size: clamp(2.2rem, 2.4vw, 2.6rem);
  letter-spacing: 0.08em;
  font-weight: 900;
}

/*============================================================
制作実績ページ
============================================================*/
#page-works ul.select-plan {
  display: block;
  text-align: center;
  margin: 0 auto 50px;
  font-size: 1.4rem;
}
@media screen and (width < 768px) {
  #page-works ul.select-plan {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 450px;
    width: 95%;
  }
}
#page-works ul.select-plan li {
  display: inline-block;
}
@media screen and (width < 768px) {
  #page-works ul.select-plan li {
    width: 48%;
  }
}
@media print, screen and (width >= 768px) {
  #page-works ul.select-plan li {
    width: 170px;
  }
}
#page-works ul.select-plan li a {
  display: block;
  background-color: #daeaf2;
  margin: 0 5px 15px;
  border-radius: 100px;
  line-height: 30px;
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-works ul.select-plan li a:hover {
    background-color: #24365e;
    color: #fff;
  }
}
#page-works p {
  text-align: center;
}
#page-works nav.navigation {
  position: static;
}
#page-works .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media print, screen and (width >= 768px) {
  #page-works .nav-links {
    margin: 60px 0 0;
  }
}
@media screen and (width < 768px) {
  #page-works .nav-links {
    margin: 40px 0 0;
  }
}
#page-works .nav-links .page-numbers {
  background-color: #0874b7;
  color: #fff;
  margin: 0 5px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media screen and (width < 375px) {
  #page-works .nav-links .page-numbers {
    width: 30px;
    height: 30px;
  }
}
#page-works .nav-links a.page-numbers {
  background-color: #eee;
  color: #0874b7;
  position: relative;
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-works .nav-links a.page-numbers:hover {
    background-color: #0874b7;
    color: #fff;
  }
}
#page-works .nav-links a.prev, #page-works .nav-links a.next {
  font-size: 0;
}
#page-works .nav-links a.prev::before, #page-works .nav-links a.next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
}
#page-works .nav-links a.prev {
  margin: 0 10px 0 0;
}
#page-works .nav-links a.prev::before {
  border-bottom: 2px solid;
  border-left: 2px solid;
}
#page-works .nav-links a.next {
  margin: 0 0 0 10px;
}
#page-works .nav-links a.next::before {
  border-top: 2px solid;
  border-right: 2px solid;
}
#page-works .nav-links .dots {
  color: #999;
  background-color: transparent;
  font-family: san-serif;
}
@media screen and (width < 600px) {
  #page-works .nav-links .dots {
    width: 10px;
    height: 10px;
  }
}

/*============================================================
利用者の声ページ
============================================================*/
#page-voice ul {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}
#page-voice ul li {
  position: relative;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 10px;
}
@media print, screen and (width >= 600px) {
  #page-voice ul li {
    padding: 50px 6% 50px 28%;
  }
}
@media screen and (width < 768px) {
  #page-voice ul li {
    padding: 40px 6% 40px 30%;
  }
}
@media screen and (width < 600px) {
  #page-voice ul li {
    padding: 25px;
  }
}
#page-voice ul li + li {
  position: relative;
  margin-top: 60px;
}
#page-voice ul img.doctor {
  border-radius: 50%;
  background-color: #ccc;
  position: absolute;
}
@media print, screen and (width >= 600px) {
  #page-voice ul img.doctor {
    margin: 0 auto 30px;
    width: 130px;
    height: 130px;
    top: 50px;
    left: 50px;
  }
}
@media screen and (width < 768px) {
  #page-voice ul img.doctor {
    width: 110px;
    height: 110px;
    top: 40px;
    left: 40px;
  }
}
@media screen and (width < 600px) {
  #page-voice ul img.doctor {
    width: 80px;
    height: 80px;
    top: 25px;
    right: 25px;
    left: inherit;
  }
}
#page-voice ul h3 {
  font-size: clamp(1.7rem, 2vw, 2rem);
}
@media print, screen and (width >= 600px) {
  #page-voice ul h3 {
    margin: 0 0 40px;
  }
}
@media screen and (width < 600px) {
  #page-voice ul h3 {
    margin: 0 0 20px;
  }
}
#page-voice ul span.name {
  display: block;
  color: #06b8b1;
  line-height: 1.5;
}
@media print, screen and (width >= 600px) {
  #page-voice ul span.name {
    margin: 0 0 25px;
    font-size: 1.4rem;
  }
}
@media screen and (width < 600px) {
  #page-voice ul span.name {
    margin: 0 0 20px;
    padding: 0 100px 0 0;
    font-size: 1.3rem;
    min-height: 80px;
    display: flex;
    align-items: center;
  }
}
#page-voice a {
  color: #000;
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
@media print, screen and (width >= 600px) {
  #page-voice a {
    margin: 60px auto 0;
  }
}
@media screen and (width < 600px) {
  #page-voice a {
    margin: 40px auto 0;
  }
}
#page-voice a::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-voice a:hover::after {
    background-color: inherit;
  }
  #page-voice a:hover span.thumbnail-btn {
    display: none;
  }
}
#page-voice a span.thumbnail-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 10px 20px;
  border: solid 1px;
  border-radius: 2px;
  font-size: 1.4rem;
  font-weight: bold;
  z-index: 3;
  width: 70%;
  max-width: 250px;
  text-align: center;
}

/*============================================================
実施の流れページ
============================================================*/
#page-flow ul {
  max-width: 800px;
  width: 90%;
  margin: 0 auto 120px;
}
#page-flow ul li {
  position: relative;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 10px;
}
@media print, screen and (width >= 600px) {
  #page-flow ul li {
    padding: 30px 40px 40px 200px;
  }
}
@media screen and (width < 600px) {
  #page-flow ul li {
    padding: 20px 35px 35px;
  }
}
#page-flow ul li + li {
  position: relative;
  margin-top: 60px;
}
#page-flow ul li + li::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top: 20px solid #e5e5e5;
}
#page-flow ul img {
  margin: 0 auto;
}
@media print, screen and (width >= 600px) {
  #page-flow ul img {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 130px;
  }
}
@media screen and (width < 600px) {
  #page-flow ul img {
    max-width: 100px;
  }
}
#page-flow ul h3 {
  display: flex;
  align-items: center;
  margin: 0 0 15px;
  font-size: clamp(1.6rem, 1.7vw, 1.8rem);
  font-weight: bold;
}
#page-flow ul span {
  margin: 0 15px 0 0;
  display: inline-block;
  font-size: 3.2rem;
  font-weight: 800;
  color: #0874b7;
}
#page-flow .manager-box {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  background-color: #daeaf2;
  border-radius: 10px;
  position: relative;
}
@media print, screen and (width >= 600px) {
  #page-flow .manager-box {
    padding: 45px 60px 45px 280px;
  }
}
@media screen and (width < 768px) {
  #page-flow .manager-box {
    padding: 45px 60px 45px 240px;
  }
}
@media screen and (width < 600px) {
  #page-flow .manager-box {
    padding: 40px 35px;
  }
}
#page-flow .manager-box img {
  margin: 0 auto 30px;
  border-radius: 50%;
  background-color: #fff;
}
@media print, screen and (width >= 600px) {
  #page-flow .manager-box img {
    position: absolute;
    left: 60px;
    top: 50px;
    max-width: 170px;
  }
}
@media screen and (width < 768px) {
  #page-flow .manager-box img {
    max-width: 150px;
  }
}
@media screen and (width < 600px) {
  #page-flow .manager-box img {
    max-width: 140px;
  }
}
#page-flow .manager-box dt {
  margin: 0 0 25px;
}
#page-flow .manager-box dt em {
  font-size: 2rem;
}
#page-flow .manager-box dt span {
  display: inline-block;
  color: #06b8b1;
  margin: 0 0 0 15px;
}
#page-flow .manager-box dt p {
  color: #666;
  font-size: 1.4rem;
  margin: 20px 0 0;
}
#page-flow a {
  margin: 50px 0 0;
  border: solid 1px;
  color: #000;
  border-radius: 2px;
  transition: all 0.3s;
}
@media screen and (width < 600px) {
  #page-flow a {
    margin: 40px auto 0;
  }
}
@media (hover: hover) {
  #page-flow a:hover {
    background-color: #222;
    color: #fff;
  }
}

/*============================================================
よくある質問ページ
============================================================*/
#page-faq .faq-box {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}
#page-faq .faq-box dl:not(:last-child) {
  margin: 0 0 80px;
}
#page-faq .faq-box dt {
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
  font-weight: bold;
  margin: 0 0 15px;
  padding: 0 0 15px 50px;
  position: relative;
}
#page-faq .faq-box dt::before {
  content: "Q";
  display: block;
  width: 35px;
  height: 35px;
  line-height: 33px;
  border-radius: 1px;
  background-color: #06b8b1;
  font-size: 2rem;
  color: #fff;
  text-align: center;
  position: absolute;
  left: 0;
}
#page-faq .faq-box dt::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #06b8b1;
  position: absolute;
  bottom: 1px;
  left: 0;
}

/*============================================================
お問い合わせページ
============================================================*/
#page-contact {
  max-width: 650px;
  width: 85%;
  margin: 0 auto;
}
@media print, screen and (width >= 600px) {
  #page-contact > p {
    text-align: center;
  }
}
#page-contact table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
@media print, screen and (width >= 600px) {
  #page-contact table {
    margin: 80px auto 40px;
  }
}
@media screen and (width < 600px) {
  #page-contact table {
    margin: 40px auto 20px;
  }
}
@media screen and (width < 600px) {
  #page-contact table th, #page-contact table td {
    display: block;
  }
}
#page-contact table th {
  text-align: left;
  line-height: 1.5;
}
@media print, screen and (width >= 600px) {
  #page-contact table th {
    width: 200px;
  }
}
#page-contact table th span {
  color: #e62318;
  font-size: 1.2rem;
  padding: 0 0 0 5px;
}
@media print, screen and (width >= 600px) {
  #page-contact table td {
    padding: 15px 0;
  }
}
@media screen and (width < 600px) {
  #page-contact table td {
    padding: 10px 0 20px;
  }
}
#page-contact input[type=text],
#page-contact input[type=email],
#page-contact input[type=tel],
#page-contact textarea {
  width: 100%;
  max-width: 500px;
  height: 50px;
  padding: 0 20px;
  font-size: 1.6rem;
  background-color: #fff;
  border-radius: 2px;
  border: solid 1px #222;
  margin: 0 auto;
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-contact input[type=text]:hover,
  #page-contact input[type=email]:hover,
  #page-contact input[type=tel]:hover,
  #page-contact textarea:hover {
    background-color: #deefff;
  }
}
#page-contact input[type=text]:focus,
#page-contact input[type=email]:focus,
#page-contact input[type=tel]:focus,
#page-contact textarea:focus {
  background-color: #deefff;
}
#page-contact input[type=text]::placeholder,
#page-contact input[type=email]::placeholder,
#page-contact input[type=tel]::placeholder,
#page-contact textarea::placeholder {
  color: #999;
}
#page-contact .wpcf7-list-item-label {
  position: relative;
  margin: 10px 20px 0 0;
  padding: 0 0 0 28px;
  display: inline-block;
  cursor: pointer;
  line-height: 1.3;
}
#page-contact .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #222;
  border-radius: 2px;
}
#page-contact input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  background: #06b8b1;
  border: 1px solid #06b8b1;
  border-radius: 2px;
}
#page-contact input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  width: 12px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
#page-contact .wpcf7-list-item {
  margin: 0;
}
#page-contact input[type=submit] {
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-contact input[type=submit]:hover {
    transform: scale(1.1);
  }
}
#page-contact textarea {
  height: 200px;
  padding: 20px;
  font-size: 1.6rem;
  margin: 0 auto;
}
#page-contact .wpcf7-not-valid-tip {
  color: #e62318;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 5px 0 0;
}
#page-contact .wpcf7-response-output {
  max-width: 550px;
  margin: 60px auto 0;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  background-color: #fff;
}
#page-contact .recaptcha {
  text-align: center;
  font-size: 1.2rem;
  margin: 50px 0 0;
}
#page-contact .recaptcha a {
  text-decoration: underline;
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-contact .recaptcha a {
    opacity: 0.7;
  }
}

/*============================================================
お問い合わせ完了ページ
============================================================*/
#page-thanks {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
@media print, screen and (width >= 768px) {
  #page-thanks {
    text-align: center;
    padding: 80px 0 120px;
  }
}
@media screen and (width < 768px) {
  #page-thanks {
    padding: 60px 0;
  }
}
#page-thanks h1 {
  font-size: clamp(2.2rem, 2.4vw, 2.6rem);
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
}
#page-thanks p {
  margin-bottom: 80px;
}
#page-thanks a {
  color: #06b8b1;
  transition: all 0.3s;
}
@media (hover: hover) {
  #page-thanks a:hover {
    opacity: 0.5;
  }
}

/*============================================================
404エラーページ
============================================================*/
#error {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
@media print, screen and (width >= 768px) {
  #error {
    padding: 80px 0 100px;
    text-align: center;
  }
}
@media screen and (width < 768px) {
  #error {
    padding: 40px 0 100px;
  }
}
#error h1 {
  font-size: clamp(2.1rem, 2.4vw, 2.6rem);
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
}
#error h1 span {
  display: block;
  margin: 0 0 40px;
  color: #06b8b1;
  line-height: 1.1;
  letter-spacing: 0.1em;
}
#error h1 em {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  display: block;
}
#error p {
  margin-bottom: 80px;
}
#error a {
  color: #06b8b1;
  transition: all 0.3s;
}
@media (hover: hover) {
  #error a:hover {
    opacity: 0.5;
  }
}

/*============================================================
ComingSoonページ
============================================================*/
.comingsoon {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  padding: 100px 0 130px;
}
@media screen and (width < 768px) {
  .comingsoon {
    padding: 60px 0 100px;
  }
}
@media print, screen and (width >= 768px) {
  .comingsoon p {
    text-align: center;
  }
}