@charset "utf-8";
/* CSS Document */

html {
    font-size: 10px;
    font-size: 62.5%;
    height: 100%;
}

body {
    font-family:
      ryo-gothic-plusn,
            "Helvetica Neue",
      Arial,
      "Hiragino Kaku Gothic ProN",
      "Hiragino Sans",
      Meiryo,
      sans-serif;
    font-size: 1.6em;
    line-height: 1.6;
    letter-spacing: 0.05em;
    height: 100%;
    color: #02214A;
          background: #fff;
          font-weight: 400;
          font-style: normal;
}

a {
        color: #51A8DD;
}

a:hover {
        color: #3B99E4;
        transition:0.2s;
        text-decoration: underline;
}

img {
        max-width: 100%;
        height: auto;
}

.pc-on {display: block;}
.sp-on {display: none;}

.all {
        display:flex;
  flex-direction:column;
  min-height: 100vh;
}

/* ヘッダー ------------------------------------------- */

header {
        background: #02214A;
}

.h-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
          color: #fff;
}

.h-logo {
  display: flex;
  gap: 24px;
}

.h-logo--name a {
  font-size: 24px;
  color: #6AB5E2;
        line-height: 1;
}

.h-logo--name a:hover {
  color: #6AB5E2;
  text-decoration: none;
}

.h-logo--sub {
        font-size: 14px;
}

.h-menu ul {
  display: flex;
  gap: 24px;
}

.h-menu ul li a {
  font-size: 14px;
        color: #fff;
}

.h-menu ul li a:hover {
  color: #3B99E4;
}

/* メイン ------------------------------------------- */

/*ページコンテンツが少ない時でもフッターを下部に設置*/
main {
  display: block;
  margin: 0 auto;
  flex: 1;
        width: 100%;
}

/*アプリ説明*/
.about-app {
        /*
        background-image: linear-gradient(rgba(249, 194, 235, 0.2), rgba(168, 194, 238, 0.6)), url("../img/bg.jpg");
  background-image:  url("../img/bg.jpg");
  */
  background-image: url("images/bg.jpg");
        background-repeat: no-repeat;
        filter: grayscale(0);
        background-position: center center;
        background-size: cover;
}

.about-app--inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 16px;
        display: flex;
        justify-content: space-between;
        gap: 40px;
}

.about-app--text-wrap {
}

.about-app--text {
  font-size: clamp(24px, 3.3vw, 42px);
  font-weight: bold;
        margin-top: 16px;
  margin-bottom: 24px;
        text-shadow: 2px 2px 2px #fff;
        color: #ed8302;
}

.about-app--text02 {
  font-size: clamp(20px, 1.5vw, 28px);
  margin-bottom: 8px;
        color: #02214A;
        text-shadow: 1px 1px 2px #fff;
}

.about-app--text03 {
  font-weight: bold;
        margin-bottom: 8px;
        text-shadow: 1px 1px 2px #fff;
        font-size: 18px;
}

/*Before,After*/
.before-after--wrap {
  padding: 16px 0;
        text-align: center;
}

.before-after--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.before-after--image {
        width: 480px;
        height: 480px;
}

.before-after--item01 {
  background: #288ECD;
  color: #fff;
  padding: 8px;
  width: 80px;
  font-size: 14px;
}

.before-after--item02 {
  background: #288ECD;
  color: #fff;
  padding: 8px;
  width: 80px;
        font-size: 14px;
}

/*画像選択*/
.form--wrap {
        background: #02214A;
        color: #fff;
}

.form--head {
        padding: 40px 16px;
        background: #fff;
}

.form--head-text {
        font-size: clamp(18px, 1.5vw, 26px);
        color: #ed8302;
        font-weight: bold;
        margin-left: 24px;
}

.form--head-text01 {
  font-size: clamp(18px, 1.5vw, 26px);
  color: #ed8302;
  font-weight: bold;
  margin-left: 20px;
  margin-top: -20px;
}

.form--head-text02 {
        font-size: 14px;
        color: #02214A;
        margin-top: 24px;
  display: flex;
  justify-content: center;
  margin-left: 24px;
}

.form--head-text03 {
  font-size: 16px;
  color: #3B99E4;
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.form--wrap-inner {
  padding: 40px 16px;
  max-width: 750px;
  margin: 0 auto;
}

.form--wrap-inner02 {
  padding: 24px;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.form--item {
        margin-bottom: 24px;
        display: flex;
  align-items: center;
        justify-content: center;
        gap:16px;
}

.form--item02 {
        display: flex;
  align-items: center;
        justify-content: center;
        margin-top: 40px;
}

.form--label {
  font-size: 18px;
}

.form--magnification {
  font-size: 18px;
}

.form--size-range {
  width: 72%;
}

.form--item select {
  padding: 12px;
  border: 1px solid #ccc;
        cursor: pointer;
        width: 72%;
}

.form--item select option {
  color: #02214A;
}

.form--file {
  display: flex;
        justify-content: center;
        width: 100%;
}

.form--file-button {
  background: #51A8DD;
  padding: 12px 8px;
  display: block;
  color: #fff;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
        font-size: 14px;
}

.form--file-button:hover {
  background: #288ECD;
}

#file_name {
  padding: 12px 8px;
  width: 64%;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: #51A8DD;
  font-size: 14px;
}

#resize_name {
  padding: 12px 8px;
  width: 64%;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: #51A8DD;
  font-size: 14px;
}

.form--button {
  padding: 16px;
  width: 280px;
  text-align: center;
  border-radius: 40px;
  cursor: pointer;
  color: #F2728D;
  font-size: 20px;
        font-weight: bold;
        border: 3px solid #F2728D;
}

.form--button:hover {
  background: #F2728D;
        color: #fff;
}

/*画像表示*/

.display {
        padding: 64px 16px;
        max-width: 1240px;
  margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 24px;
}

.display--item {
  display: flex;
  flex-direction: column;
        width: 50%;
}

.display--before {
  background: #389BD8;
  color: #fff;
  width: 100px;
  padding: 8px;
        text-align: center;
}

.display--after {
  background: #389BD8;
  color: #fff;
  width: 100px;
  padding: 8px;
        text-align: center;
}

.display--image {
/*  background: #ccc;
  max-width: 580px;
  max-height: 580px;
  object-fit: cover;
  padding-bottom: 94%;
        display: block;
*/
  background: #f1f1f1;
  max-width: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

/*ダウンロード*/

.alert {
  background: #ed8302;
  padding: 24px 16px;
  text-align: center;
  color: #fff;
        margin: 0 auto 60px;
}

/* トップへ戻る */

.arrow-top {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #51A8DD;
  border-right: 3px solid #51A8DD;
  transform: rotate(-45deg);
}

#js-pagetop {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 16px;
        right: 16px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 30;
        border: 3px solid #51A8DD;
}

#js-pagetop:hover {
        transition: 0.2s;
        opacity: 0.7;
}

/* フッター ------------------------------------------- */

footer {
        background: #02214A;
}

.f-inner {
        max-width: 1023px;
  margin: 0 auto;
  padding: 24px 16px;
}

.f-logo--name {
  text-align: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.f-logo--name a {
  color: #6AB5E2;
}

.f-logo--name a:hover {
  color: #6AB5E2;
        text-decoration: none;
}

.f-menu ul {
  display: flex;
  gap: 24px;
        justify-content: center;
}

.f-menu ul li a {
  font-size: 14px;
        color: #fff;
}

.f-menu ul li a:hover {
  color: #3B99E4;
}

.f-copy {
        font-size: 12px;
        text-align: center;
        padding: 24px 0 0;
        color: #ccc;
}

@media screen and (max-width:1024px) {

}


@media screen and (max-width:768px) {

        .pc-on{display: none;}
        .sp-on{display: block;}

        .h_inner {
    max-width: 1023px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: normal;
    flex-direction: column;
  }

        .h_logo {
    border-bottom: 1px solid #3B99E4;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

        /*アプリ説明*/

        .about-app--inner {
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-direction: column;
  }

        /*画像選択*/

        .form--head-text {
    text-align: left;
  }
}

@media screen and (max-width:480px) {

  .all {
    overflow: hidden;
  }

        /*ヘッダー*/

        .h-logo {
    display: flex;
    gap: 4px;
    flex-direction: column;
  }

        /*アプリ説明*/

        .before-after--head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .banner {
    display: flex;
    margin: 20px auto;
    min-width: 100%;
    max-width: 100%;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
  }

        .before-after--image {
    width: 320px;
    height: 320px;
  }

        /*画像選択*/

        .form--item {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

        .form--label {
    font-size: 14px;
  }

        .form--item select {
    padding: 12px;
    border: 1px solid #ccc;
    cursor: pointer;
    width: 80%;
  }

        .form--file {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 14px;
  }

        /*画像表示*/

        .display {
    padding: 40px 16px;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
          flex-direction: column;
    gap: 24px;
  }

        .display--item {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

        .display--before {
    background: #389BD8;
    color: #fff;
    width: 100%;
    padding: 8px;
    text-align: center;
  }

        .display--after {
    background: #389BD8;
    color: #fff;
    width: 100%;
    padding: 8px;
    text-align: center;
  }

        .alert {
    padding: 24px 16px;
    text-align: left;
    margin: 0 auto 60px;
  }

  div .upload-box {
    width: 100%;
    height: 370px;
    margin: 5px auto;
    padding: 5px;
    border: 2px dashed #333;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    font-size: 0.8rem;
  }
  /*	.upload-box {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
  }*/
  	.upload-box span {
    text-align: center;
  }
  	.preview-box {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
  }
}

.under {
  border-bottom: solid 5px #87CEFA;
}

.line-space {
  margin-top: 50px;
}

.form-re-wrap {
  background-color: #c0c0c0;
  margin-bottom: 50px;
}


.upload-box {
  width: 700px;
  min-height: 150px;
  margin: 20px auto;
  padding: 5px;
  border: 2px dashed #333;
  border-radius: 8px;
  text-align: center;
}
.upload-box {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.upload-box span {
  text-align: center;
}
.preview-box {
  width: 200px;
  height: 200px;
  margin: 20px auto;
  padding: 5px;
  border-radius: 8px;
  text-align: center;
}
.preview-box img { /* preview-box内に画像を収める */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#up {
  padding-top: 10px;
  margin-bottom: -10px;
}
#align {
  text-align: center;
  margin-bottom: 20px;
}

.a--button {
  display: block;
  padding: 16px;
  width: 280px;
  text-align: center;
  border-radius: 40px;
  cursor: pointer;
  color: #F2728D;
  font-size: 20px;
  font-weight: bold;
  border: 3px solid #F2728D;
  text-decoration: none;
}

.a--button:hover {
  background: #F2728D;
  color: #fff;
  text-decoration: none;
}

.banner {
  display: flex;
  justify-content: center;
  margin: 20px auto;
}

.banner-string {
  margin-top: 0px;
}

.banner-width {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}
