@charset "utf-8";

/* --------------------------------------------------------------- */
/* Reset */
/* --------------------------------------------------------------- */
:root {
  --c-secondary: #fff;
  --c-background: #f8f7f1;
  --c-text: #000;
  --f-title: "Zen Maru Gothic", serif;
  --w-title: 500;
  --f-text: "Noto San JP", sans-serif;
  --w-text: 400
}

html {
  font-size: 62.5%;
}

body {
  color: var(--c-text);
  font-family: var(--f-text);
  font-weight: var(--w-text);
}

h2,
h3 {
  font-family: var(--f-title);
  font-weight: var(--w-title);
}

h2 {
  color: var(--c-text);
}

h3 {
  color: var(--c-primary);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a:link,
a:visited,
button {
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
}

a:hover,
a:focus,
button:hover,
button:focus {
  opacity: 0.7;
}

button {
  border: 0;
}

ul li,
ol li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  transition: opacity 0.3s;
}

button:hover,
button:focus {
  opacity: 0.7;
}

/* --------------------------------------------------------------- */
/* Helper classes */
/* --------------------------------------------------------------- */
.pc-mode {
  display: block !important;
}

.sp-mode {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .pc-mode {
    display: none !important;
  }
  .sp-mode {
    display: block !important;
  }
}

.l-flex {
  display: flex;
}

.l-grid {
  display: grid;
}

.w1920 {
  margin: 0 auto;
  max-width: 1920px;
  width: 100%;
}

.w1600 {
  margin: 0 auto;
  max-width: 1600px;
  width: 83.3%;
}

.w1400 {
  margin: 0 auto;
  max-width: 1400px;
  width: 73%;
}

@media screen and (max-width: 767px) {
  .l-flex {
    flex-direction: column;
  }
}

@media print, screen and (min-width: 1081px) {
  .tab-off {
    display: none !important;
  }
}

@media print, screen and (min-width: 768px) {
  .pc-off {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .sp-off {
    display: none !important;
  }
}

@media screen and (max-width: 1919px) and (min-width: 1081px) {
  html {
    font-size: 0.5211047421vw;
  }
}

@media screen and (max-width: 1080px) and (min-width: 768px) {
  html {
    font-size: 0.625vw;
  }
}

/* Media print */
@media print {
  body {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    margin: 0 !important;
  }
}

/* --------------------------------------------------------------- */
/* Main */
/* --------------------------------------------------------------- */

.header-wrapper {
  position: relative;
}

.header-logo {
  position: absolute;
  top: 2.7rem;
  left: 2.2rem;
}

.title-link:link,
.title-link:visited {
  transition: none;
}

.title-link:hover,
.title-link:focus {
  opacity: 1;
}

.hero-wrapper {
  justify-content: flex-end;
  padding-bottom: 6.7rem;
  gap: 7.2rem
}

.hero-col-left {
  width: 69.5rem;
}

.hero-col-right {
  position: relative;
  width: 100.6rem;
}

.hero-main {
  margin-top: 16rem;
}

.hero-title {
  margin-bottom: 3.2rem
}

.hero-title-medium,
.hero-title-large {
  display: block;
}

.hero-title-large {
  font-weight: 500;
  color: var(--c-primary);
  line-height: 7.1rem;
  letter-spacing: 0.112rem;
}

.hero-title-medium {
  margin-bottom: 1.3rem;
  font-size: 3.6rem;
  line-height: auto;
  letter-spacing: 0.144rem;
}

.hero-content {
  margin: 0 3rem 0 0;
}

.hero-text {
  margin-bottom: 4rem;
  font-size: 1.6rem;
  text-wrap: pretty;
  line-height: 3.4rem;
  letter-spacing: 0.048rem;
}

.note {
  margin-bottom: 1rem;
}

.hero-promo {
  font-family: var(--f-title);
  color: var(--c-primary);
  font-weight: 500;
  font-size: 3rem;
  text-align: center;
  line-height: 4.3rem;
  letter-spacing: 0.015rem;
  margin-bottom: 2rem;
}

.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  margin: 0 auto;
  max-height: 65px;
  max-width: 292px;
  height: 6.5rem;
  width: 29.2rem;
  background-color: var(--c-secondary);
  border: 1px solid var(--c-primary);
  border-radius: 3.25rem;
  cursor: pointer;
}

.hero-btn-icon {
  width: 3.3rem;
}

.btn-text {
  font-family: var(--f-title);
  color: var(--c-text) !important;
  font-size: 1.8rem;
}

.service {
  background-color: var(--c-background);
}

.service-wrapper {
  padding: 9rem 0 12rem;
}

.service-title {
  margin-bottom: 6.8rem;
  text-align: center;
}

.service-title-text {
  font-size: 3.2rem;
  letter-spacing: 0.064rem;
  line-height: auto;
}

.service-content {
  column-gap: 4.5rem;
  row-gap: 5.1rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.span_indent {
  display: block;
  text-indent: -1em;
  padding-left: 1em;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
}

.card-image {
  overflow: hidden;
  background-color: #fff;
  text-align: center;
  height: 26.5rem;
}

.card-content {
  background-color: var(--c-secondary);
  padding: 3rem 3.2rem;
  flex-direction: column;
}

.card-content {
  flex-grow: 1;
}

.card-title {
  margin-bottom: 1.9rem;
  font-size: 2.4rem;
  color: var(--c-primary);
  line-height: auto;
  letter-spacing: 0.048rem;

  &.card-title--flex {
    display: flex;
  }
}

.title-line {
  position: relative;
  top: 0.6rem;
  display: inline-block;
  margin: 0 1.8rem;
  height: 2.7rem;
  width: 0.12rem;
  background-color: #A4A4A4;
}

.card-copy-btn,
.card-text,
.card-subtitle {
  font-family: var(--f-text);
  font-size: 1.6rem;
  text-wrap: pretty;
  letter-spacing: 0.048rem;
  line-height: 3rem;
}

.card-code {
  margin-top: auto;
  padding-top: 3rem;
  /* text-align: center; */
  width: 100%;
}

.code-text {
  font-family: var(--f-text);
  color: var(--c-primary);
  /* font-weight: 600; */
  font-size: 1.5rem;
  text-wrap: pretty;
  letter-spacing: 0.045rem;
  line-height: 2rem;
}

.card-copy-btn {
  font-size: 1.8rem;
  color: var(--c-primary);
  /* font-weight: 600; */
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
}

.no-code {
  cursor: default;
  transition: none;
}

.no-code:hover,
.no-code:focus {
  opacity: 1;
}

.card-subtitle {
  color: var(--c-text);
}

.footer-wrapper {
  padding: 8.5rem 0;
}

.footer-list {
  gap: 7rem;
}

.footer-item {
  font-family: var(--f-title);
  font-size: 1.6rem;
  line-height: auto;
  letter-spacing: 0.032rem;
}

.copyright {
  margin-left: auto;
  font-size: 1.4rem;
  line-height: auto;
  letter-spacing: 0.028rem;
}

@media screen and (max-width: 1080px) and (min-width: 768px) {
  .title-img {
    width: 160px;
  }

  .hero-col-right {
    width: 55vw;
  }

  .hero-col-left {
    width: 35vw;
  }

  .hero-main {
    margin-top: 12rem;
  }

  .hero-content {
    margin: 0;
  }

  .hero-text {
    margin-bottom: 3rem;
  }

  .hero-promo {
    font-size: 2.5em;
    margin-bottom: 1.5rem;
  }

  .hero-btn {
    height: 5.8rem;
    width: 27.8rem;
  }

  .hero-btn-icon {
    width: 3.3rem;
  }

  .btn-text {
    font-size: 1.8rem;
  }

  .card-image {
    height: 21.8rem;
  }
}

@media screen and (max-width: 767px) {
  .w1920 {
    width: 100%;
  }

  .w1400 {
    width: 70%;
  }

  .w1600 {
    width: 80%;
  }

  .header-wrapper {
    padding: 15px 0 12px 10px;
  }

  .header-logo {
    position: static;
    width: 167px;
    height: 28px;
  }

  .hero-wrapper {
    flex-direction: column-reverse;
  }

  .hero-col-left{
    width: inherit;
  }

  .hero-col-right {
    width: fit-content;
    align-self: flex-end;
  }

  .background-img {
    width: 95vw;
  }

  .background-text {
    font-size: 22px;
    letter-spacing: 0.44px;
  }

  .hero-wrapper {
    padding: 0;
  }

  .hero-main {
    margin: 0 auto 80px;
    width: 75vw;
  }

  .hero-wrapper {
    gap: 36px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .hero-title-large {
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0.52px;
  }

  .hero-title-medium {
    font-size: 16px;
    letter-spacing: 0.64px;
    margin-bottom: 4px;
  }

  .hero-content {
    margin: 0;
  }

  .hero-text {
    margin-bottom: 20px;
    font-size: 14px;
    text-wrap: wrap;
    line-height: 29px;
    letter-spacing: 0.42px;
  }

  .hero-promo {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.64px;
  }

  .hero-btn {
    width: 269px;
    height: 49px;
  }

  .hero-btn-icon {
    width: 25px;
  }

  .btn-text {
    font-size: 14px;
  }

  .background-btn {
    width: 34px;
    height: 34px;
  }

  .service-wrapper {
    padding-top: 50px;
  }

  .service-title {
    margin-bottom: 50px;
  }

  .service-title-text {
    font-size: 24px;
  }

  .service-content {
    grid-template-columns: auto;
    grid-auto-rows: auto;
  }

  .service-wrapper {
    padding-bottom: 80px;
  }

  .card-image {
    height: 181px;
  }

  .card-subtitle {
    font-size: 16px;
  }

  .card-text {
    line-height: 25px;
  }

  .card-text,
  .card-copy-btn {
    font-size: 14px;
  }

  .card-copy-btn {
    padding: 4px;
  }

  .footer-wrapper {
    gap: 50px;
    align-items: center;
    padding: 50px 0 80px;
  }

  .footer-list {
    align-items: center;
    gap: 30px;
  }

  .copyright {
    margin: 15px 0 0;
    width: 250px;
    text-align: center;
  }

  .card-title {

    &.card-title--flex {
      display: block;
    }
  }
}



@media screen and (max-width: 425px) {
  .w1400{
    width: 80%;
  }

  .hero-main {
    width: 85vw;
  }
}