/* ==================================================
BASE
================================================== */


:root {
  --text: #000; /* Page text */
  --bg: #fff;  /* Page background */

  --formblock-color: #FFEA00;  /* Unknown / currently no visible effect */

  --formblock-color-invert: #000000; /* Success message text */
  --formblock-color-error: #CC0000; /* Error message background */
  --formblock-color-success: #EBF4E8; /* Success message background */
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
 font-family: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

main {
  flex-grow: 1;
}

/* ==================================================
LAYOUT
================================================== */
.inner {
  width: 90%;
  max-width: 42rem;
  margin: 0 auto;
}

/* ==================================================
TYPE
================================================== */




h1 {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  letter-spacing: -0.01em;
}

h2 {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}


h1 {

 font-size: 2.2rem;
  margin-bottom: 0.4em;
letter-spacing: -0.01em

}





h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75em;
  text-align: center;
  font-weight: 600;
}



p {
  margin: 0 0 1em;
}

/* Lists */
ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.3em;
}

ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

/* ==================================================
LINKS
================================================== */
a {
  color: #004f71;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}


/* ==================================================
LANG SWITCHER
================================================== */



.language-switcher {
    background: #f5f7f8;
    text-align: center;
    padding: 1rem 0;
    /*margin-bottom: 1rem;*/
    font-size: 0.875rem;
}


.language-switcher a {
    text-decoration: none;
}

.language-switcher a + a::before {
    content: " | ";
}

.language-switcher a[aria-current="page"] {
    font-weight: 700;
}


/* ==================================================
HEADER (UPDATED)
================================================== */
header {
  background: #e8e8e8;
  /* background: #AFE79F; */
  color: #000;
}

header .inner {
  display: block;
  padding-top: 0.5em;
  /* padding-bottom: 1em; */
}

/* Header layout */
.header-columns {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  /* gap: 2em; */
  gap: 2em;
}





.header-text {
  text-align: center;
}



.header-sub {
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #222;
}



/*
.header-svg {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}*/


.header-image img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}


/* ==================================================
SECTIONS
================================================== */
.section {
  padding: 2.5em 0;
}

.section-light {
  background: #f7f7f7;
}

.section-bright {
  /* background: #eef8eb; */
  background: #ededed;

}

.section-dark {
  background: #2a2d2f;
  color: #fff;
}




.section-dark a {
  color: #fff;
}

.section-dark a:hover,
.section-dark a:focus {
  color: #fff;
}




.section-dark h2 {
  color: #fff;
}

/* ==================================================
COLUMNS
================================================== */
.columns {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.col {
  width: 100%;
}

.text {
  max-width: 42rem;
}

/* ==================================================
IMAGES
================================================== */
.image {
  margin-top: 2em;
  text-align: center;
}

.image img {
  width: 100%;
  /* max-width: 480px; */
  max-width: 100%;
  height: auto;
}

/* ==================================================
LOGOS
================================================== */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.logos img {
  height: 60px;
  width: auto;
}





/* ==================================================
How it works images
================================================== */
.how-image {
  margin-top: 1.5em;
}

.how-image img {
  width: 100%;
  /* max-width: 280px; */
  height: auto;
  display: block;
  margin: 0 auto;
}




/* ==================================================
FAQ
================================================== */
.faq-list details {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}





/*
.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 1.5em;
}
*/

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 1.5em;
}


.faq-list summary:hover {
  opacity: 0.7;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
 margin-top: 0.75em;
 color: #333;
}




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

/* ==================================================
CARD EXAMPLES
================================================== */


.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.example {
  width: 100%;
}


.example img {
  width: 100%;
  height: auto;
  display: block;
}



.example-link {
    margin-top: 0.5rem;
    text-align: center;
}

.example-link a {
    text-decoration: none;
}

.example-link a:hover,
.example-link a:focus {
    text-decoration: underline;
}


/* ==================================================
FORM
================================================== */
.form {
  margin-top: 2em;
}

.formblock {
  max-width: none;
}

.formblock__submit {
  width: 100% !important;
  margin-left: 0 !important;
  text-align: left !important;
}

.formblock__submit input[type="submit"] {
  width: 100%;
  padding: 0.9em;
  background: #f4d64d;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.formblock__submit input[type="submit"]:hover {
  background: #e0c53f;
}


/* Additional */

/* Inputs and textarea */
.formfield__input,
.formfield__textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* Field spacing */
.formfield__container {
  margin-bottom: 1.25rem;
}



/* Labels */
.formblock_field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}




/* Textarea */
.formfield__textarea {
  min-height: 8rem;
  resize: vertical;
}







/* ==================================================
FOOTER
================================================== */
footer {
  background: #000;
  color: #fff;
  padding: 2em 0;
  text-align: center;
}

/* ==================================================
DESKTOP
================================================== */
@media (min-width: 768px) {

  h1 {
    font-size: 3.0rem;
   line-height: 1.1;
   /*margin-top:0;*/
  }


  h1 span:last-child {
    font-size: 0.7em;
  }



html[lang="ja"] h1 {
    font-size: 2.61rem;
  }



  h2 {
    font-size: 2rem;
    text-align: left;
  }

  p {
    font-size: 1.05rem;
  }

  /* Header becomes two columns */
  .header-columns {
    flex-direction: row;
    align-items: center;
    /* align-items: flex-end; */
  }

  .header-text {
    width: 48%;
    text-align: left;
  }



  .header-sub {
    margin: 0;
  }




  .header-image {
    display: flex;
    width: 48%;
    align-items: flex-end;
    justify-content: center;

  }


  /* General columns */
  .columns {
    flex-direction: row;
    gap: 2em;
  }

  .columns .col {
    width: 48%;

  }

/* How text */
  .how-text {
      min-height: 16rem;
      /* border: 2px solid red; */
    }




  /* Examples */

.examples {
    justify-content: space-between;
    gap: 2rem 0;
  }

  .example {
    width: calc(50% - 1rem);
  }


.example img {
  max-width: 260px;
  margin: 0 auto;
}



  /* .example img {
    max-width: 260px;
  }*/
}
