@charset "UTF-8";
/* ==========================
   Works detail page
========================== */
.work-main {
  padding: 40px 16px;
}

/* セクション共通 */
.work-section {
  max-width: 880px;
  margin: 0 auto 64px;
}

.work-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #397f83;
}

/* FV */
.work-fv {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}

.work-fv__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.work-fv__img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 8px;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.work-fv__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* 概要（dl） */
.work-overview {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 16px;
  -webkit-column-gap: 24px;
  -moz-column-gap: 24px;
  column-gap: 24px;
}

.work-overview__row {
  display: contents;
}

.work-overview dt {
  font-weight: 600;
  color: #666;
}

.work-overview dd {
  margin: 0;
  line-height: 1.7;
}

/* リスト */
.work-list {
  padding-left: 20px;
}

.work-list li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* 使用技術 */
.work-skill {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.work-skill li {
  background: #f2f7f8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
}

/* デモリンク */
.work-demo-link {
  display: inline-block;
  margin: 16px 0;
  padding: 12px 32px;
  background: #397f83;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.work-auth {
  margin-top: 16px;
  padding: 12px;
  background-color: #f7f7f7;
  border-radius: 4px;
}
.work-auth__label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #555;
}
.work-auth__info {
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* 戻るリンク */
.work-back {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  color: #333;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
}
.button--bg {
  background-color: #fff;
}
.button--bg .button__text {
  color: #397f83;
}
.button--border {
  border: 1px solid #fff;
}
.button--border .button__text {
  color: #fff;
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.button__text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08rem;
  color: #fff;
}
.button__icon-path {
  fill: #fff;
}
.button__icon-path--contact {
  fill: #397f83;
}

.header {
  background-color: #397f83;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header__container {
  position: relative;
  width: 100%;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #fff;
}
.header__contents {
  display: none;
  height: calc(100vh - 88px);
  border-top: 1px solid #fff;
  padding-top: 60px;
}
.header__menu-button {
  border: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

main {
  padding: 0;
}

.fv {
  position: relative;
  margin-top: 88px;
}
.fv__img img {
  width: 100%;
}
.fv__contents {
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 209px;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: 100% auto;
  padding: 32px;
}
.fv__heading-main {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1rem;
}
.fv__heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 14px;
}

.section {
  padding: 48px 0;
}
.section__inner {
  padding: 0 32px;
}
.section__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 32px;
}
.section__head--center {
  text-align: center;
}
.section__head-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}
.section__head-sub {
  font-size: 20px;
  border-bottom: 1px solid #000;
}
.section__head-sub__lead-text {
  font-size: 16px;
  line-height: 1.6;
}
.section__contents {
  margin-top: 40px;
}

.wp-intro {
  padding: 56px 0;
  background-color: #f8fbfb;
}
.wp-intro__label,
.wp-intro__note {
  color: #397f83;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.wp-intro__label {
  font-size: 14px;
}
.wp-intro__title {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.55;
}
.wp-intro__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}
.wp-intro__list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.wp-intro__list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
.wp-intro__list li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #397f83;
  content: "✓";
  font-weight: bold;
}
.wp-intro__note {
  margin-top: 16px;
  font-size: 13px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  color: #fff;
  background-color: #16345f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.cta-button:hover {
  opacity: 0.78;
}
.cta-button--light {
  color: #16345f;
  background-color: #fff;
}

.cta-text-link {
  color: #16345f;
  font-size: 14px;
  text-decoration: underline;
}

.service__item + .service__item {
  margin-top: 40px;
}
.service__item-img {
  text-align: center;
  margin-bottom: 10px;
}
.service__item-img img {
  width: 60px;
}
.service__item-name {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.service__item-text {
  font-size: 14px;
  line-height: 1.6;
}

.works {
  background-color: #e6f4f3;
}
.works__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .works__list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.works__item {
  background-color: #fff;
  padding: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.works__item--featured {
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 24, 88, 0.12);
}

.works__item-img {
  margin-bottom: 16px;
}
.works__item-img img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.works__item-img--placeholder {
  background-color: #f5eee4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.works__placeholder,
.work-fv__placeholder {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #57483c;
  text-align: center;
  background: linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    repeating-linear-gradient(
      -45deg,
      #e9d8c5,
      #e9d8c5 18px,
      #f5eee4 18px,
      #f5eee4 36px
    );
}

.works__placeholder-label {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.works__placeholder-title {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.works__placeholder-text {
  margin-top: 8px;
  font-size: 14px;
}

.works__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.works__tag {
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background-color: #16345f;
  font-size: 12px;
}

.works__tag--sub {
  color: #57483c;
  background-color: #f5eee4;
}

.works__item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.works__item-name--featured {
  font-size: 20px;
}

.works__item-summary {
  font-size: 14px;
  line-height: 1.7;
}

.works__meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.works__meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.works__meta dt {
  color: #555;
  font-weight: bold;
}

.works__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.work-fv__placeholder {
  width: 100%;
  max-width: 720px;
  min-height: 360px;
  margin: 0 auto 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.works__item-link {
  margin-top: auto;
  font-size: 14px;
  text-decoration: underline;
  color: #397f83;
}
.works__item-link:hover {
  opacity: 0.7;
}

.works__item-link--external::after {
  content: " ↗";
}

.wp-needs {
  background-color: #f8fbfb;
}
.wp-needs__list {
  display: grid;
  gap: 12px;
}
.wp-needs__list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border-left: 4px solid #397f83;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}
.wp-needs__list li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  color: #397f83;
  content: "✓";
  font-weight: bold;
}

.sales-box {
  margin-top: 32px;
  padding: 24px;
  background-color: #e6f4f3;
  text-align: center;
}
.sales-box__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}
.sales-box__text {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.7;
}

.about__img {
  margin-bottom: 32px;
}
.about__img img {
  width: 100%;
  height: auto;
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.about__text {
  font-size: 16px;
  line-height: 1.6;
}
.about__text + .about__text {
  margin-top: 1rem;
}

.flow {
  background-color: #e6f4f3;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}
.flow__item + .flow__item {
  margin-top: 46px;
}
.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #397f83;
  color: #fff;
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}
.flow__item-img img {
  width: 60px;
}
.flow__item-name {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}
.flow__item-text {
  font-size: 14px;
  line-height: 1.6rem;
}

.message__img {
  margin-bottom: 32px;
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.message__text {
  font-size: 16px;
  line-height: 1.6;
}

.contact-cta {
  padding: 56px 0;
  color: #fff;
  background-color: #16345f;
  text-align: center;
}
.contact-cta__label {
  color: #e6f4f3;
  font-size: 18px;
  letter-spacing: 0.15em;
}
.contact-cta__title {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: bold;
  line-height: 1.55;
}
.contact-cta__text {
  margin: 16px 0 24px;
  font-size: 14px;
  line-height: 1.7;
}

.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background-color: #16345f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--contact {
  background-color: #16345f;
}
.page-bottom__item--twitter {
  background-color: #397f83;
}
.page-bottom .section__head-sub {
  border: none;
}

.footer {
  text-align: center;
  padding: 10px;
}
.footer__copy {
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
}

/*-----------------------
// pc
-----------------------*/
@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
    flex-basis: 79.2%;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 20.8%;
    flex-basis: 20.8%;
    padding: 50px 20px;
  }
  .header__container {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__logo {
    font-size: 30px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
  .header__menu-button {
    display: none;
  }
  .header__contents {
    display: block;
    border: none;
  }
  .button {
    -webkit-transition: background 0.3s, color 0.3s, opacity 0.3s;
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button:hover {
    background-color: #fff;
  }
  .button:hover .button__icon-path {
    fill: #397f83;
  }
  .button:hover .button__text {
    color: #397f83;
  }
  .button--bg {
    color: #397f83;
  }
  .button--bg:hover {
    opacity: 0.7;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    font-size: 60px;
  }
  .fv {
    margin-top: 0;
  }
  .fv__contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    bottom: 100px;
    left: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 24px;
    padding-left: 96px;
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  .wp-intro {
    padding: 72px 0;
  }
  .wp-intro__title {
    font-size: 32px;
  }
  .wp-intro__text {
    max-width: 740px;
  }
  .wp-intro__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-actions {
    flex-direction: row;
  }
  .works__item--featured {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 24px;
  }
  .works__item-img--featured {
    margin-bottom: 0;
  }
  .wp-needs__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .sales-box {
    padding: 32px;
  }
  .about__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .about__img img {
    width: 600px;
    height: auto;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .page-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .page-bottom__item {
    padding: 54px 10px;
  }
  .floating-contact {
    right: 24px;
    bottom: 24px;
    padding: 14px 22px;
  }
}
/*-----------------------
// tb
-----------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__head-main {
    font-size: 50px;
  }
  .fv__contents {
    bottom: 50%;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}
