@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');

html { font-size: 62.5%;}
@media (min-width: 576px){
  html { font-size: 68.75%;}
}
@media (min-width: 992px){
  /* html { font-size: 75%;} */
}
@media (min-width: 1200px){
  /* html { font-size: 75%;} */
}
@media (min-width:1680px){
  /* html { font-size: 82.5%;} */
}

:root {
  --color-base:   #9BD1AC;
  --color-main:   #ff3da5;
  --color-accent: #3AA673;
  --color-sub01:  #f29655;
  --color-sub02:  #ffd940;

  --sans-serif: 'Noto Serif JP', '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;

  --space-unit: 1.6rem;
  --space-xxs:  calc(0.25 * var(--space-unit));
  --space-xs:   calc(0.5 * var(--space-unit));
  --space-sm:   calc(0.75 * var(--space-unit));
  --space-md:   calc(1.25 * var(--space-unit));
  --space-lg:   calc(2 * var(--space-unit));
  --space-xl:   calc(3.25 * var(--space-unit));
  --space-xxl:  calc(5.25 * var(--space-unit));
}

body {
  font-size: 1.3rem;
  font-family: 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  background: #ffd940;
  color: hsl(0, 0%, 20%);
  text-align: justify;
  word-break: break-all;
  font-feature-settings: "palt";
}

* {
  user-select: none;
  letter-spacing: 0.1em;
}

/* common */
.inner {
  padding: 0 60px;
}
@media (max-width:575px){
  .inner {
    padding: 0 20px;
  }
}

@media (max-width:575px){
  .pc {
    display: none;
  }
}
@media (min-width:576px){
  .sp {
    display: none;
  }
}

ul li {
  padding-left: 1em;
  text-indent: -1em;
  margin: var(--space-xxs) 0;
  font-size: 1.2rem;
}

span.br {
  display: inline-block;
}

span.red {
  color: rgb(255, 53, 53);
}

.center {
  text-align: center;
}



/* header */
header {
  background-color: #FFF;
  display: flex;
  text-align: center;
  align-items: center;
  height: 60px;
  max-width: 1024px;
  margin: 0 auto;
}
@media (max-width:575px){
  header {
    height: 40px;
  }
}

header a.logo {
  display: inline-block;
  margin: 0 auto;
  height: 60%;
}

header a.logo img {
  height: 100%;
}



/* main */
main {
  width: 100%;
  max-width: 1024px;
  /* background: var(--color-main); */
  /* color: #FFF; */
  margin: 0 auto;
  /* filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.2)); */
  overflow: hidden;
}

@media (min-width:1025px){
  main {
    /* border-radius: 16px; */
  }
}

.hero h1 img {
  width: 100%;
}

.headline {
  background-color: var(--color-base);
  color: #000;
  padding-top: var(--space-sm);
  /* padding-bottom: var(--space-xl); */
  position: relative;
}
@media (max-width:575px){
  .headline {
    /* padding-bottom: var(--space-xl); */
  }
}

.headline p {
  text-align: center;
  /* font-family: var(--sans-serif); */
  font-size: 1.8rem;
  line-height: 2.2;
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);

  /* wbr用 */
  word-break: keep-all;
}

.headline p.limit {
  font-size: 3.0rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width:575px){
    .headline p {
      font-size: 4.0vw;
      line-height: 2.0;
      margin-top: var(--space-sm);
      margin-bottom: var(--space-sm);
      word-break: normal;
    }
    .headline p:nth-of-type(2) {
      text-align: justify;
    }
    .headline p.limit {
      font-size: 5.5vw;
    }
    .headline br {
      display: none;
    }
  }


.headline p span.highlight {
  /* color: var(--color-accent); */
  /* font-family: var(--sans-serif); */
  font-size: 2.0rem;
  line-height: 1;
  margin-bottom: var(--space-xl);
  position: relative;
  padding: 0 4px;
  font-size: 120%;
  font-weight: bold;
}


.headline .inner.cheki_single {
  /* padding-top: var(--space-md); */
  padding-bottom: var(--space-md);
  /* background: #009B90; */
  color: #FFF;
}

.headline .inner.cheki01 {
  padding-top: var(--space-md);  
  padding-bottom: var(--space-md);  
  background: var(--color-sub01);
  color: #000;
}

.headline .inner.cheki02 {
  padding-top: var(--space-md);  
  padding-bottom: var(--space-md);  
  background: var(--color-sub02);
  color: #000;
}


.headline .cheki_wrap {
  margin: var(--space-md) 0 var(--space-lg);
  place-content: center;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 15px;
}
.headline .cheki_wrap.x6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 10px;
}
@media (max-width:991px){
  .headline .cheki_wrap {
  }
}
@media (max-width:575px){
  .headline .cheki_wrap.x6,
  .headline .cheki_wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 10px;
  }
}

.js-cheki-register + .cheki_wrap {
  margin: var(--space-lg) 0 var(--space-lg);
}

.headline .cheki_wrap .cheki {
  width: 100%;
  filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.15));
  transition: all 0.2s;
  will-change: filter, transform;
}

.headline .cheki_wrap .cheki:hover {
  filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.4));
  transform: scale(1.2, 1.2) rotate(0.007turn);
  z-index: 1;
  transition: all 0.2s;
}

.headline .cheki_wrap .cheki img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

svg.bg_wave {
  bottom: 0;
  width: 100%;
  background-color: #fcf5f0;
  margin-top: -20px;
  max-height: 80px;
}


/* flow */
.flow {
  text-align: center;
  background: #FFF;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.flow h2 {
  text-align: center;
  margin-bottom: var(--space-sm);
  font-size: 2.6rem;
  font-weight: bold;
  color: var(--color-accent);
  /* font-family: var(--sans-serif); */
}

.flow h2 span {
  letter-spacing: 0.3em;
  padding: 0 8px;
  /* background: linear-gradient(transparent 70%, yellow 30%); */
}

.flow .step_diagram {
  width: 100%;
  padding: var(--space-sm) 0 var(--space-lg);
}

.flow .step_diagram img{
  width: 100%;
}

.flow .step_wrap {
  max-width: 680px;
  margin: 0 auto;
}

.flow .fa-chevron-down {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  color: var(--color-accent);
  font-size: 2.4rem;
  margin: var(--space-md) auto 0;
}

.flow h3 {
  font-size: 2.0rem;
  line-height: 1.5;
  font-weight: bold;
  /* margin-top: calc(var(--space-xl) * 0.8); */
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}
@media (max-width:575px){
  .flow h3 {
    font-size: 1.8rem;
  }
}

.flow p.justify {
  text-align: justify;
}

.flow .external_link_wrap {
  margin-top: var(--space-sm);
}

.flow .external_link {
  color: #64B2D4;
  display: inline-block;
  padding: 4px 0;
  transition: opacity 0.1s;
  margin-right: 20px;
}
.flow .external_link:last-child {
  margin-right: 0;
}
@media (max-width:575px){
  .flow .external_link:active {
    opacity: 0.6;
    transition: opacity 0.2s;
  }
}
@media (min-width:576px){
  .flow .external_link:hover {
    opacity: 0.6;
    transition: opacity 0.2s;
  }
}

.digital_photobook {
  display: grid;
  align-items: start;
  grid-template:
    "a b" 
    "a c" 1fr /
    168px 2fr;
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-sm) 0;
}

.digital_photobook + .digital_photobook {
  margin-top: 10px;
}

@media (max-width:575px){
  .digital_photobook {
    grid-template:
      "a b"
      "c c" /
      1fr 2fr;
    gap: var(--space-xs) var(--space-sm);
  }
  .digital_photobook + .digital_photobook {
    margin-top: 0px;
  }
}

.digital_photobook_cover {
  width: 100%;
  max-width: 168px;
  grid-area: a;
}

.digital_photobook_cover a {
  transition: opacity 0.1s;
}

@media (max-width:575px){
  .digital_photobook_cover a:active {
    opacity: 0.8;
    transition: opacity 0.2s;
  }
}
@media (min-width:576px){
  .digital_photobook_cover a:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
  }
}


.digital_photobook_cover img {
  width: 100%;
}

.digital_photobook_data {
  width: 100%;
  grid-area: b;
  margin: auto 0;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
}

.digital_photobook_data p {
  text-align: left;
}

.digital_photobook_data p:nth-child(1) {
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.digital_photobook_data p:nth-child(2) {
  font-size: 1.3rem;
}

.digital_photobook_data p:nth-child(2) span {
  font-size: 1.0rem;
}

.digital_photobook_data p:nth-child(3) {
  font-size: 1.1rem;
}

.digital_photobook_data .btn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.digital_photobook_data .btn a,
.digital_photobook_data .btn button {
  font-size: 12px;
  text-align: center;
  /* width: 140px; */
  color: #64B2D4;
  border: solid 1px #64B2D4;
  border-radius: 4px;
  padding: 6px 10px;
  display: inline-block;
  transition: all 0.1s;
}

.digital_photobook_data .btn a {
  margin: 8px 8px 0px 0;
}
.digital_photobook_data .btn a:last-of-type {
  margin: 8px 0px 0px 0;
}

.digital_photobook_data .btn button {
  color: #FFFFFF;
  background: #64B2D4;
}

@media (max-width:575px){
  .digital_photobook_data .btn a:active {
    color: #FFFFFF;
    background: #64B2D4;
    transition: all 0.2s;
  }
  .digital_photobook_data .btn button:active {
    color: #64B2D4;
    background: #EDF5FA;  
    transition: all 0.2s;
  }
}
@media (min-width:576px){
  .digital_photobook_data .btn a:hover {
    color: #FFFFFF;
    background: #64B2D4;  
    transition: all 0.2s;
  }
  .digital_photobook_data .btn button:hover {
    color: #64B2D4;
    background: #EDF5FA;  
    transition: all 0.2s;
  }
}


.digital_photobook_txt {
  font-size: 1.1rem;
  text-align: justify;
  width: 100%;
  grid-area: c;
  opacity: 0.7;
  /* margin-top: auto; */
  margin-bottom: var(--space-xs);
}

.digital_photobook_txt p + p {
  margin-top: var(--space-xs);
}



/* attention */
.attention {
  background-color: hsl(0, 0%, 97%);
  color: #000;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.attention .inner {
  max-width: 960px;
  margin: 0 auto;
}

.attention h2 {
  font-size: 2.2rem;
  letter-spacing: 0.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: var(--space-md);
}

.attention ul li {
  opacity: 0.8;
}



/* footer */
footer {
  /* background-color: #FFF; */
  width: 100%;
  text-align: center;
  font-size: 11px;
  /* color: #FFFFFF; */
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

footer p {
  opacity: 0.5;
}

footer p.copyright {
  margin-top: var(--space-xs);
  font-size: 10px;
}


/* エントリーボタン */
.title_btn {
  font-size: 2.2rem;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  margin-top: var(--space-xs);
}
@media (max-width:575px){
  .title_btn {
    font-size: 1.8rem;
  }
}
.headline .title_btn {
  /* color: #FFF; */
}
.flow .title_btn {
  font-size: 1.8rem;
}


.js-cheki-register {
  position: relative;
  display: block;
  appearance: none;
  cursor: pointer;
  font-size: 2.0rem;
  font-weight: 700;
  width: 400px;
  height: 60px;
  border-radius: 15px;
  /* background: linear-gradient(180deg,#FF2A6E 50%,#FF2A6Ee6 50%),#000; */
  background: url("../img/btn.png") center / contain repeat-x, rgb(194, 168, 40);
  box-shadow: 0 3px 4px rgba(0,0,0,.25);
  text-align: center;
  color: #FFFFFF;
  margin: var(--space-xs) auto var(--space-md);
}

.js-cheki-register[data-item_id="1"] {
}
.js-cheki-register[data-item_id="2"] {
}

@media (hover: hover) {
  .js-cheki-register:not(:disabled):hover {
    filter: brightness(115%);
  }
}
@media (hover: none) {
  .js-cheki-register:not(:disabled):active {
    filter: brightness(115%);
  }
}


@media (max-width:920px){
  .js-cheki-register {
  }
}

@media (max-width:767px){
  .js-cheki-register {
  }
}

@media (max-width:575px){
  .js-cheki-register {
    width: 90%;
    height: 45px;
    font-size: 1.8rem;
  }
}

.js-cheki-register:disabled {
  filter: grayscale(1);
}



/* modal */
.modal {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #f4f4f4;
  border-radius: 8px;
  margin: 0 auto;
  padding: 50px 40px;
  width: 90%;
  max-width: 640px;
  filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.16));
  animation-name: modalopen;
  animation-duration: 1s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@keyframes modalopen {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@media (max-width:575px){
  .modal-content {
    padding: 30px 15px;
  }
}

.modal-header {
  justify-content: space-between;
}

.modalClose {
  position: absolute;
  top: 6px;
  right: 4px;
  font-size: 2rem;
  line-height: 1;
  font-weight: bold;
  opacity: 0.7;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  color: #222;
}

.modal-body h3 {
  display: inline-block;
  padding: 0 20px 5px;
  margin-bottom: 30px;
  font-size: 2.4rem;
  font-weight: bold;
  border-bottom: 6px solid #19B3D6;
}

@media (max-width:767px){
  .modal-body h3 {
    padding: 0 10px 5px;
    font-size: 1.8rem;
  }
}

@media (max-width:575px){
  .modal-body h3 {
    font-size: 1.6rem;
  }
}

.modal-body p {
  font-size: 1.8rem;
  /* line-height: 2.4; */
  font-weight: bold;
}

.modal-body .url {
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width:767px){
  .modal-body p {
    font-size: 1.5rem;
  }
  .modal-body .url {
    font-size: 1.2rem;
  }
}

@media (max-width:575px){
  .modal-body p {
    font-size: 1.3rem;
  }
  .modal-body .url {
    font-size: 1.0rem;
  }
}

.modal-body ul {
  text-align: left;
  list-style-type: disc;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 15px;
}

.modal-body ul li {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
  padding-left: 0;
  text-indent: 0;
}

.modal-body .digital_photobook_txt {
  display: none;
}

.modal-body .digital_photobook {
  grid-template:
        "a b";
}

#outbound-modal-cancel,
#outbound-modal-submit {
  margin: 0;
  width: 40%;
  height: 44px;
  border-radius: 44px;
  line-height: 42px;
  font-size: 1.4rem;
  font-weight: 500;
  transition: 0.3s;
}

#outbound-modal-cancel {
  display: inline-block;
  border: 1px solid #707070;
  margin-right: 5%;
}

#outbound-modal-cancel:hover {
  background: #cecece;
}

#outbound-modal-submit {
  display: inline-block;
  background: #fd0061;
  color: #fff;
}

#outbound-modal-submit:hover {
  opacity: 0.6;
}

@media (max-width:767px){
  #outbound-modal-cancel,
  #outbound-modal-submit {
    display: block;
    margin: 0 auto;
    width: 80%;
    font-size: 1.3rem;
  }

  #outbound-modal-cancel {
    margin-bottom: 5%;
  }
}



/* 全体フレーム */
@media (max-width:1024px){
  .all_wrap {
    display: contents;
  }
}
@media (min-width:1025px){
  .all_wrap {
    position: relative;
    margin: 20px auto 0;
    width: 1024px;
    border-radius: 16px;
    overflow: hidden;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
  }
}