@charset "UTF-8";
@import url("framework.css");
body {
  animation: body-fadein 2s forwards;
  background-color: #FFF;
  color: #333;
  font: 17px/1.7 "游明朝", "YuMincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

@keyframes body-fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* 共通部分 */
.bg-white {
  background-color: #FFFFFF;
}

.bg-navy {
  background-color: #9ba7d4;
}

.bg-blue {
  background-color: #ced8f3;
}

.bg-picture {
  background: url("../images/background01.jpg") no-repeat 0% 15%;
  background-size: cover;
}

.bg-navy-transparent {
  background: rgba(155, 167, 212, 0.8);
}

.text-red {
  color: #CA3333;
}

.text-blue {
  color: #5687c3;
}

.text-pink {
  color: #F24848;
}

.text-green {
  color: #2E9740;
}

.text-white {
  color: #FFFFFF;
}

img {
  border: none;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}
img.icon {
  vertical-align: central;
}

a {
  text-decoration: none;
}
a:hover {
  transition: 0.3s;
}
a:hover img {
  opacity: 0.7;
  transition: all 0.3s linear;
}

/* 外部リンクのアイコンを付ける */
.icon-link::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: baseline;
  background: url("../images/icon-link.png") no-repeat;
  background-size: 16px 16px;
  background-position: 0;
  margin-left: 3px;
}

/* フォントの両端を揃える */
.alignment p {
  text-align: justify;
  word-break: break-all;
}

.text-alignment {
  text-align: justify;
  word-break: break-all;
}

@media (min-width: 783px) {
  .wrapper {
    width: 1050px;
    margin: 0 auto;
  }
}
@media (max-width: 782px) {
  .wrapper {
    width: auto;
    margin: 0 10px;
  }
}

h2 {
  color: #7b84a7;
  padding: 50px 0;
  text-align: center;
}
@media (min-width: 783px) {
  h2 {
    font-size: 200%;
  }
}
@media (max-width: 782px) {
  h2 {
    font-size: 150%;
  }
}
h2::first-letter {
  color: #f24848;
  font-size: 120%;
}

p.button a {
  display: inline-block;
  color: #FFF;
  background-color: #5687c3;
  padding: 13px 20px;
  border-radius: 10px;
}
p.button a:hover {
  color: #FFF;
  background-color: #de6c90;
}

/*-------------
header
-------------*/
.header {
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
}
.header.scrollFixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.header__logo {
  background: url("../images/logo.png") no-repeat;
  text-indent: -9999px;
  display: block;
  transition: 0.2s;
}
@media (min-width: 783px) {
  .header__logo {
    width: 258px;
    height: 80px;
    background-size: 258px 80px;
  }
}
@media (max-width: 782px) {
  .header__logo {
    width: 194px;
    height: 60px;
    background-size: 177px 55px;
  }
}
.header__logo#small {
  transition: 0.2s;
}
@media (min-width: 783px) {
  .header__logo#small {
    width: 129px;
    height: 40px;
    background-size: 129px 40px;
  }
}
@media (max-width: 782px) {
  .header__logo#small {
    width: 162px;
    height: 50px;
    background-size: 162px 50px;
  }
}
.header__logo a {
  display: block;
}
@media (min-width: 783px) {
  .header__logo a {
    width: 258px;
    height: 80px;
  }
}
@media (max-width: 782px) {
  .header__logo a {
    width: 194px;
    height: 60px;
  }
}

/* パソコンメニュー */
.navPc__list {
  font-size: 0;
}
.navPc__item {
  line-height: 40px;
  height: 40px;
  border-right: 1px solid #71737a;
  display: inline-block;
  font-size: 16px;
  position: relative;
}
.navPc__item:last-child {
  border-right: none;
}
.navPc__item a {
  display: block;
  padding: 0 10px;
  color: #333;
}
.navPc__item a::before {
  position: absolute;
  width: 80%;
  height: 2px;
  left: 10%;
  bottom: 0;
  transform: translateY(-10px);
  content: "";
  background: rgba(100, 100, 100, 0);
  transition: all 0.3s;
}
.navPc__item a:hover::before {
  background: rgb(100, 100, 100);
  transform: translateY(0px);
}
.navPc__item a:hover {
  color: inherit;
}
.navPc__item a:active {
  color: inherit;
}

/* スマホメニュー */
body.active {
  overflow: hidden;
  height: 100%;
}

.navSp__threeLine {
  display: block;
  position: relative;
  top: 0px;
  right: 5px;
  width: 42px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  background: #eee;
  text-align: center;
}
.navSp__threeLine span {
  display: block;
  position: absolute;
  width: 30px;
  border-bottom: solid 3px #666;
  transition: 0.35s ease-in-out;
  left: 6px;
}
.navSp__threeLine span:nth-child(1) {
  top: 9px;
}
.navSp__threeLine span:nth-child(2) {
  top: 18px;
}
.navSp__threeLine span:nth-child(3) {
  top: 27px;
}
.navSp__threeLine span:nth-child(4) {
  top: 34px;
  border: none;
  font-size: 10px;
}
.navSp__threeLine.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  transform: rotate(-45deg);
}
.navSp__threeLine.active span:nth-child(2), .navSp__threeLine.active span:nth-child(3) {
  top: 18px;
  transform: rotate(45deg);
}
.navSp__sideDrawer {
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  transition: all 0.3s;
  width: 100%;
}
.navSp__sideDrawer.active {
  transform: translateX(0%);
}
.navSp__sideDrawerBackground {
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
  transition: all 0.3s;
  width: 100%;
  height: 100%;
}
.navSp__sideDrawerBackground.active {
  transform: translateX(0%);
}
.navSp__item {
  float: none;
  width: 100%;
  background: #6d7389 url("../images/icon-right.gif") no-repeat 1em 50%;
  background-size: 11px 16px;
  border-collapse: collapse;
  box-sizing: border-box;
}
.navSp__item a {
  display: block;
  padding: 0.7em 3em;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
}

.mobile-menu-back-bottom {
  width: 100%;
  height: 100%;
}

/*-------------
main
-------------*/
/* アイキャッチ */
.eyecatch__arch {
  width: 100%;
  height: auto;
  border-bottom-right-radius: 1050px 50px;
  border-bottom-left-radius: 1050px 50px;
  margin-left: -100px;
  margin-right: -100px;
  padding-left: 100px;
  padding-right: 100px;
  background-color: #9ba7d4;
  background-size: 40%;
}
@media (min-width: 783px) {
  .eyecatch__hero {
    position: relative;
    background: url("../images/eyecatch-bg3.webp") no-repeat;
    width: 1050px;
    height: 435px;
    background-size: 1050px 435px;
    background-position: center;
    padding: 30px 0 50px 0;
    margin: 0 auto;
  }
}
@media (max-width: 782px) {
  .eyecatch__hero {
    position: relative;
    width: 100%;
    height: 300px;
    background: url(" ../images/eyecatch-bg-sp3.webp") no-repeat;
    background-size: 782px 300px;
    background-position: right;
    padding: 10px 0 40px 0;
    margin: 0;
  }
}
@media (min-width: 783px) {
  .eyecatch__hero img {
    position: absolute;
    width: 580px;
    height: 430px;
    left: 40px;
    top: 40px;
  }
}
@media (max-width: 782px) {
  .eyecatch__hero img {
    position: absolute;
    width: 380px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* コンテンツのスクロール時フェードイン */
.contentsFadein {
  opacity: 0;
  transform: translate(0px, 90px);
  transition: all 1200ms;
}
.contentsFadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* テキストのフェードイン */
.fade-in-text {
  visibility: hidden;
}

.char {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.5s linear both;
}

/* 手掛けた作品 */
.design__container {
  display: flex;
  flex-wrap: wrap;
}
@media (min-width: 783px) {
  .design__container {
    gap: 40px 2%;
  }
}
@media (max-width: 782px) {
  .design__container {
    gap: 30px 0%;
  }
}
.design__item {
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid #9ba7d4;
  border-radius: 7px;
  background: url("../images/works-icon-right.gif") no-repeat right bottom;
  background-size: 42px 42px;
}
@media (min-width: 783px) {
  .design__item {
    width: 32%;
  }
}
@media (max-width: 782px) {
  .design__item {
    width: 100%;
  }
}
.design__item a:hover {
  opacity: 0.7;
  transition: all 0.3s linear;
}
.design__item img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.design__item h3 {
  width: 100%;
  box-sizing: border-box;
  color: #7b84a7;
  text-align: center;
  font-size: 140%;
  padding: 10px 0;
}
@media (max-width: 782px) {
  .design__item h3 {
    font-size: 130%;
    padding: 17px 0;
  }
}
.design__item p {
  color: #333;
  padding: 0 10px 45px;
}

.works__list {
  width: 100%;
  list-style: none;
  display: table;
  table-layout: fixed; /* 等間隔 */
}
.works__item {
  float: left;
  padding: 0;
  width: 32%;
  margin-left: 2%;
}
@media (max-width: 782px) {
  .works__item {
    float: none;
    padding: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }
}
.works__item a {
  text-decoration: none;
}
.works__item:first-child {
  margin-left: 0;
}
@media (max-width: 782px) {
  .works__item:first-child {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 782px) {
  .works__item:last-child {
    margin-bottom: 0;
  }
}
.works__wrapper {
  border: 3px solid #9ba7d4;
  border-radius: 5px;
  box-sizing: border-box;
  background: url("../images/works-icon-right.gif") no-repeat right bottom;
  background-size: 42px 42px;
  padding: 0;
  width: 100%;
  height: 360px;
}
@media (max-width: 782px) {
  .works__wrapper {
    background-size: 35px 35px;
    height: auto;
    padding-bottom: 20px;
  }
}
.works__wrapper img {
  width: 100%;
  height: auto;
}
.works__wrapper h3 {
  width: 100%;
  box-sizing: border-box;
  color: #7b84a7;
  text-align: center;
  font-size: 140%;
  padding: 10px 0;
}
@media (max-width: 782px) {
  .works__wrapper h3 {
    font-size: 120%;
    background-color: #9ba7d4;
    color: #FFF;
  }
}
.works__wrapper p {
  color: #333;
  padding: 0 10px 10px 10px;
}
@media (max-width: 782px) {
  .works__wrapper p {
    padding: 8px;
  }
}
.works__item a:hover .works__wrapper {
  opacity: 0.7;
  transition: all 0.3s linear;
}

/* 手掛けた作品・オーバーレイ部分 */
#overlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
}
#overlay__ikeda, #overlay__iriyamanaka, #overlay__yagi, #overlay__blog {
  display: none;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: auto;
  border-radius: 7px;
  margin-left: -200px;
  margin-top: -110px;
  padding: 10px 10px 10px 20px;
  box-sizing: border-box;
}
@media (max-width: 782px) {
  #overlay__ikeda, #overlay__iriyamanaka, #overlay__yagi, #overlay__blog {
    top: 30%;
    left: 0;
    margin: 0;
    width: 100%;
    border-radius: 0px;
    height: auto;
  }
}

/* メディラボについて */
.bg-wave {
  background-image: url("../images/bg-wave-top.png"), url("../images/bg-wave-bottom.png");
  background-position: top center, bottom center;
  background-size: 100% 30px;
  background-repeat: no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
}

.about__rightSide {
  width: 700px;
  float: right;
  padding-bottom: 45px;
}
@media (max-width: 782px) {
  .about__rightSide {
    width: 100%;
    float: none;
    padding-bottom: 40px;
  }
}
.about__leftSide {
  width: 300px;
  float: left;
  padding: 45px 0;
}
@media (max-width: 782px) {
  .about__leftSide {
    width: 100%;
    float: none;
    padding: 0;
  }
}
.about__leftSide img {
  width: 300px;
  height: 300px;
  border-radius: 150px;
}
@media (max-width: 782px) {
  .about__leftSide img {
    float: left;
    margin-right: 12px;
    width: 140px;
    height: 140px;
    border-radius: 70px;
  }
}

/* 料金について ＆ お問い合わせ・分割*/
.plan__unit, .contact__unit {
  box-sizing: border-box;
}
@media (min-width: 783px) {
  .plan__unit, .contact__unit {
    width: 50%;
    padding: 15px;
    float: left;
    height: auto;
    overflow: hidden;
  }
}
@media (max-width: 782px) {
  .plan__unit, .contact__unit {
    width: 100%;
    padding: 10px;
    float: none;
  }
}

@media (min-width: 783px) {
  #plan__divide, #contact__divide {
    border-left: 1px solid #999;
  }
}
@media (max-width: 782px) {
  #plan__divide, #contact__divide {
    border-left: none;
  }
}

/* 料金について */
.plan {
  position: relative;
}
.plan__itemUl {
  list-style-type: disc;
  line-height: 1.8;
}
.plan__itemOl {
  list-style-type: decimal;
  line-height: 1.8;
}
.plan__itemOl + .plan__itemOl {
  position: relative;
  margin-top: 13px;
}
.plan__itemOl + .plan__itemOl::before {
  content: "";
  display: block;
  position: absolute;
  top: -13px;
  width: 100%;
  height: 10px;
  background: url("../images/icon-down.gif") no-repeat 4% 50%;
  background-size: 10px 10px;
}

/* https://9elements.github.io/fancy-border-radius/ */
@keyframes circle {
  0% {
    border-radius: 61% 39% 65% 35%/57% 62% 38% 43%;
    transform: scale(1) rotate(0deg);
  }
  50% {
    border-radius: 41% 59% 38% 62%/62% 41% 59% 38%;
    transform: scale(1.3) rotate(180deg);
  }
  100% {
    border-radius: 61% 39% 65% 35%/57% 62% 38% 43%;
    transform: scale(1) rotate(360deg);
  }
}
.circle {
  animation: circle 15s linear infinite;
  width: 35vw;
  height: 35vw;
  position: absolute;
  z-index: -1;
  bottom: -5vw;
  left: -5vw;
  background: #9ba7d4;
  opacity: 0.2;
}
@media (max-width: 782px) {
  .circle {
    width: 50vw;
    height: 50vw;
  }
}

/* お問い合わせ */
.contact {
  clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
}
.contact__wrapper {
  background-color: #f5ebd1;
  width: 100%;
}
@media (min-width: 783px) {
  .contact__wrapper {
    border-radius: 15px;
  }
}
@media (max-width: 782px) {
  .contact__wrapper {
    text-align: center;
    border-radius: 7px;
  }
}

/* トップへ戻る */
p#backToTop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
p#backToTop a {
  display: block;
  background-color: #999;
  width: 60px;
  padding: 15px 0;
  text-align: center;
  border-radius: 7px;
}

/*-------------
footer
-------------*/
.footer {
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
  margin-top: -30px;
  width: 100%;
  background-color: #6d7389;
}
@media (max-width: 782px) {
  .footer__list {
    display: none;
  }
}
.footer__item {
  color: #FFF;
  border-left: solid 1px #FFF;
  display: inline-block;
}
.footer__item:first-child {
  border-left: none;
}
.footer__item a {
  display: block;
  padding: 0 10px;
  color: #FFF;
}/*# sourceMappingURL=main.css.map */