/* mogiten.css - Page-specific overrides only */
/*
p {
  text-indent: 1em;
  font-size: 18px;
  line-height: 30px;
  margin: 0 auto;
  width: 800px;
}

h1 {
<<<<<<< HEAD
  border-bottom: #4a69a4 1px solid;
  letter-spacing: 0.2em;
  font-size: 40px;
  font-weight: bold;
  padding-bottom: 20px;
=======
  letter-spacing: 0.2em;
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
>>>>>>> origin/shop
}

h2 {
  color: #4a69a4;
  border-bottom: 6px #bbe2f1 solid;
  font-size: 36px;
  font-weight: bold;
  padding-top: 30px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
}

.title3 {
  color: #4a69a4;
  border-bottom: 6px #bbe2f1 solid;
  font-size: 36px;
  font-weight: bold;
  padding-top: 30px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
}

.naiyou {
  padding-top: 110px;
  padding-bottom: 60px;
}

section.naiyou > p {
  text-indent: 0;
  text-align: left;
  width: 100%;
  max-width: 900px;
}

.content_block {
  max-width: 800px;
  margin: 0 auto;
}

.content_block + .content_block {
  margin-top: 60px;
}

.content_block > h2 {
  padding-top: 0;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.laboButton {
  background-color: #4a69a4;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.laboButton:hover {
  background-color: #3b568a;
  transform: scale(1.05);
}

img {
  display: flex;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 48px;
  }

  h2, .title3 {
    font-size: 24px;
    padding-top: 20px;
    margin-bottom: 30px;
  }

  p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
  }

  .naiyou,
  section.naiyou,
  .content_block {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .naiyou p,
  .content_block p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
    text-indent: 0;
  }
}
*/
/* lecture.css - Page-specific overrides only */

/* Inherits taiken.css through PageFrame linkage */

.content_block + .content_block {
  margin-top: 24px;
}

.content_block > h2 {
  padding-top: 150px;
}

.content_block :is(h3, h4, h5, h6) {
  width: min(800px, 92%);
  margin: 36px auto 12px;
  padding-left: 14px;
  border-left: 4px solid #bbe2f1;
  color: #4a69a4;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.content_block h3 {
  font-size: 24px;
  font-weight: 700;
}

.content_block h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 28px;
}

.content_block h5 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
}

.content_block h6 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
}

.naiyou table {
  margin: 24px auto;
  border-collapse: collapse;
  min-width: 320px;
}

.naiyou th,
.naiyou td {
  border: 1px solid #c8d5ea;
  padding: 10px 16px;
}

.naiyou th {
  background-color: #f3f8ff;
}

<<<<<<< HEAD
@media screen and (max-width: 480px) {
  .naiyou p,
  .content_block p {
    width: 100%;
    max-width: 100%;
  }
=======
.content_block p {
  width: min(800px, 92%);
  margin: 0 auto;
}
>>>>>>> origin/shop

@media screen and (max-width: 768px) {
  section,
  .content_block {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content_block p {
    width: 100%;
    max-width: 100%;
  }

  .title1 h1 {
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 10px;
  }

  .content_block :is(h3, h4, h5, h6) {
    width: 100%;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-left: 12px;
  }

  .content_block h3 {
    font-size: 22px;
  }

  .content_block h4 {
    font-size: 18px;
  }

  .content_block h5 {
    font-size: 17px;
  }

  .content_block h6 {
    font-size: 15px;
  }

  .content_block > h2 {
    width: 92%;
    font-size: 26px;
    padding-top: 90px;
  }

  .content_block > h2::before {
    flex-basis: 96px;
    width: 96px;
    height: 58px;
  }
}

.form-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 0 16px;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px);
  background-color: #4a69a4;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  line-height: 1.5;
  box-sizing: border-box;
}

.form-button:link,
.form-button:visited,
.form-button:hover,
.form-button:active,
.form-button:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.form-button:hover {
  background-color: #3b568a;
  transform: scale(1.05);
}