/* ================================================
  section-a1
===================================================*/
.section-a1 {
  padding: 100px 0 48px;
  position: relative;
  z-index: 1;
}

.section-a1__heading {
  padding: 21px 1em;
  background-color: #2554bf;
  font-family: "Shippori Mincho";
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  text-align: center;
  color: #fff;
}

.section-a1__inner {
  padding-top: 48px;
  width: min(96.5%, 734px);
}

.section-a1__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.section-a1__item {
  padding: 26px 28px 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 3px 46px #ebf1fa;
}

.section-a1__item:nth-of-type(1) {
  --_color: #2554bf;
}

.section-a1__item:nth-of-type(2) {
  --_color: #14a090;
}

.section-a1__title h3 {
  margin-block: var(--leading-trim);
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-weight: 600;
  line-height: calc(30 / 24);
  text-align: center;
  color: var(--_color);
}

.section-a1__img {
  margin-top: 16px;
  aspect-ratio: 300 / 200;
}

.section-a1__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-a1__list {
  margin: 15px 0 0 -5px;
}

.section-a1__list-item {
  padding-left: 37px;
  position: relative;
  font-family: "Shippori Mincho";
  font-size: 16px;
  font-weight: 600;
  line-height: calc(32 / 16);
  color: #444;
}

.section-a1__list-item + .section-a1__list-item {
  margin-top: 7px;
}

.section-a1__list-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1lh;
  background: url(../img/drymouth/new/section-a1-list-icon.svg) no-repeat center center/contain;
}

.section-a1__btn {
  margin-top: 10px;
  text-align: center;
}

.section-a1__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1366 / 415;
  max-height: 415px;
  z-index: -1;
}

.section-a1__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(any-hover: hover) {
  .section-a1__btn a:hover {
    filter: brightness(0.7);
  }
}

@media (max-width: 767px) {
  .section-a1 {
    padding: 60px 0 40px;
  }
  
  .section-a1__heading {
    padding: 12px .5em;
    font-size: 24px;
    line-height: 1.5;
  }
  
  .section-a1__inner {
    padding-top: 40px;
    width: min(92%, 576px);
  }
  
  .section-a1__items {
    display: block;
  }

  .section-a1__item + .section-a1__item {
    margin-top: 24px;
  }
  
  .section-a1__title h3 {
    font-size: 20px;
  }
  
  .section-a1__list-item {
    padding-left: 32px;
    font-size: 14px;
  }
  
  .section-a1__list-item::before {
    width: 24px;
  }
  
  .section-a1__btn {
    margin-top: 16px;
  }
  
  .section-a1__btn a {
    padding: 12px 10px 12px 20px;
    font-size: 18px;
  }
  
  .section-a1__btn a::before {
    width: 20px;
  }

  .section-a1__btn a::after {
    width: 32px;
  }
}

/* ================================================
  section-a2
===================================================*/
.section-a2 {
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

.section-a2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 240px;
  background: linear-gradient(to bottom, rgb(37 84 191 / 0.1) 0%, rgb(37 84 191 / 0) 100%);
  z-index: -1;
}

.section-a2--a::before {
  background: linear-gradient(to bottom, rgb(37 84 191 / 0.1) 0%, rgb(37 84 191 / 0) 100%);
}

.section-a2--b::before {
  background: linear-gradient(to bottom, rgb(20 160 144 / 0.1) 0%, rgb(20 160 144 / 0) 100%);
}

.section-a2__heading {
  padding: 13px 1em;
  border-radius: 10px;
  font-family: "Shippori Mincho";
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.section-a2--a .section-a2__heading {
  background-color: #2554bf;
}

.section-a2--b .section-a2__heading {
  background-color: #14a090;
}

.section-a2__container {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 60px;
}

.section-a2__text1 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.section-a2__text1 p {
  margin-block: var(--leading-trim);
  font-size: 16px;
  font-weight: 500;
  line-height: calc(38 / 16);
}

.section-a2__text1 p + p {
  margin-top: 1lh;
}

.section-a2__text1 .color {
  font-weight: 700;
  color: #2554bf;
}

.section-a2__text1 .marker {
  background-color: #fff5ac;
}

.section-a2__text1 .bold {
  font-weight: 700;
}

.section-a2__img {
  margin-left: max(calc(100% - 50vw), -450px);
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-self: center;
  aspect-ratio: 683 / 453;
  width: min(50vw, 960px);
  max-height: 453px;
}

.section-a2__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-a2__block {
  margin-top: 64px;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.section-a2__title h3 {
  margin-block: var(--leading-trim);
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #756026;
}

.section-a2__list-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.section-a2__list:nth-of-type(2) {
  justify-self: end;
}

.section-a2__list-item {
  font-family: "Shippori Mincho";
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: calc(28 / 16);
}

@media (max-width:767px) {
  .section-a2 {
    padding-top: 40px;
  }
  
  .section-a2::before {
    height: 240px;
  }
    
  .section-a2__heading {
    padding: 12px .5em;
    font-size: 24px;
  }
  
  .section-a2__container {
    margin-top: 40px;
    display: block;
  }
  
  .section-a2__text1 {
    margin-top: 24px;
  }

  .section-a2__text1 p {
    font-size: 14px;
  }
  
  .section-a2__img {
    margin: 0;
    width: unset;
    max-height: unset;
  }
  
  .section-a2__block {
    margin-top: 32px;
  }
  
  .section-a2__title h3 {
    padding-bottom: 8px;
    font-size: 20px;
  }
  
  .section-a2__list-wrap {
    margin-top: 24px;
    display: block;
  }
  
  .section-a2__list:nth-of-type(2) {
    justify-self: start;
  }
  
  .section-a2__list-item {
    font-size: 14px;
    line-height: 2;
  }
}

/* ================================================
  section-a3
===================================================*/
.section-a3 {
  margin-top: 72px;
}

.section-a3__heading {
  padding: 13px 1em;
  background-color: rgb(94 213 241 / 0.1);
  border-radius: 10px;
  font-family: "Shippori Mincho";
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  line-height: 1.5;
  color: #08afd6;
  text-align: center;
}

.section-a3__container {
  margin-top: 50px;
  display: grid;
  grid-template-columns: calc(439 / 1020 * 100%) 1fr;
  gap: 32px;
}

.section-a3__img {
  aspect-ratio: 439 / 297;
}

.section-a3__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-a3__description p {
  margin-block: var(--leading-trim);
  font-size: 16px;
  font-weight: 500;
  line-height: calc(36 / 16);
}

.section-a3__description p + P {
  margin-top: 1lh;
}

.section-a3__description .marker {
  background-color: #fff5ac;
}

.section-a3__block {
  margin-top: 70px;
  padding: 48px 48px 55px;
  background-color: rgb(233 239 247 / 0.5);
  border-radius: 10px;
}

.section-a3__text1 p {
  margin-block: var(--leading-trim);
  font-family: "Shippori Mincho";
  font-size: 38px;
  font-weight: 600;
  line-height: calc(54 / 38);
  color: #2554bf;
  text-align: center;
}

.section-a3__text2 {
  margin-top: 34px;
}

.section-a3__text2 p {
  margin-block: var(--leading-trim);
  font-size: 18px;
  font-weight: 500;
  line-height: calc(37 / 18);
  text-align: center;
}

@media (max-width:767px) {
  .section-a3 {
    margin-top: 40px;
  }
  
  .section-a3__heading {
    padding: 12px .5em;
    font-size: 24px;
  }
  
  .section-a3__container {
    margin-top: 40px;
    display: block;
  }
    
  .section-a3__description {
    margin-top: 24px;
  }

  .section-a3__description p {
    font-size: 14px;
  }
  
  .section-a3__description p + P {
    margin-top: .5lh;
  }
  
  .section-a3__block {
    margin-top: 40px;
    padding: 24px 16px 24px;
  }
  
  .section-a3__text1 p {
    font-size: 24px;
  }
  
  .section-a3__text2 {
    margin-top: 24px;
  }
  
  .section-a3__text2 p {
    font-size: 16px;
    text-align: left;
  }
}

/* ================================================
  section-a5
===================================================*/
.section-a5 {
  padding: 90px 0 80px;
  position: relative;
  background-color: #F7F7F7;
  z-index: 1;
}

.section-a5__inner {
  width: min(96.5%, 1080px);
}

.section-a5__heading h2 {
  margin-block: var(--leading-trim);
  font-family: "Shippori Mincho";
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: calc(70 / 46);
  text-align: center;
  color: #fff;
  text-shadow: 0 0 26px rgb(0 0 0 /1);
}

.section-a5__list {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.section-a5__title {
  padding: 12px 0.5em;
  background-color: #535a5f;
  border-radius: 10px;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.section-a5__sub-list {
  margin: 23px auto 0;
  max-width: fit-content;
}

.section-a5__sub-list-item {
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: calc(30 / 20);
}

.section-a5__text1 {
  margin-top: 60px;
}

.section-a5__text1 p {
  margin-block: var(--leading-trim);
  font-size: 16px;
  font-weight: 500;
  line-height: calc(36 / 16);
  text-align: center;
}

.section-a5__text2 {
  margin-top: 85px;
  padding-bottom: 61px;
  position: relative;
}

.section-a5__text2 p {
  margin-block: var(--leading-trim);
  font-family: "Shippori Mincho";
  font-size: 38px;
  font-weight: 600;
  line-height: calc(61 / 38);
  color: #2554bf;
  text-align: center;
}

.section-a5__text2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  width: 499px;
  aspect-ratio: 499 / 146.85;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(to bottom, rgb(255 255 255 / 0) 0%, rgb(89 143 217 / .31) 100%);
  z-index: -1;
}

.section-a5__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1366 /  614;
  max-height: 614px;
  z-index: -1;
}

.section-a5__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:767px) {
  .section-a5 {
    padding: 40px 0;
  }
  
  .section-a5__inner {
    width: min(92%, 576px);
  }
  
  .section-a5__heading h2 {
    font-size: 28px;
  }
  
  .section-a5__list {
    margin-top: 40px;
    display: block;
  }

  .section-a5__list-item + .section-a5__list-item {
    margin-top: 24px;
  }
  
  .section-a5__title {
    padding: 8px 0.5em;
    font-size: 18px;
  }
  
  .section-a5__sub-list {
    margin: 8px 0 0;
    padding-left: 24px;
  }
  
  .section-a5__sub-list-item {
    font-size: 16px;
  }

  .section-a5__text1 {
    margin-top: 40px;
  }
  
  .section-a5__text1 p {
    font-size: 14px;
    text-align: left;
  }
  
  .section-a5__text2 {
    margin-top: 40px;
    padding-bottom: 40px;
  }
  
  .section-a5__text2 p {
    font-size: 24px;
  }
  
  .section-a5__text2::before {
    width: 300px;
  }
}