@charset "UTF-8";

:root {
  --Text: #666;
  --Main: #EA7B7C;
  --Sub: #FFEEE4;
  --Accent: #7FF2E8;
  --Back: #efe4db;
  --gray: #ABA8A3;
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Noto_Sans_JP_Bold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Noto_Sans_JP_Regular.woff") format("woff");
  font-display: swap;
}

/* global */

:root {
  --bg-primary: ;
  --bg-secondary: ;
}

* {
  font-family: "Noto Sans JP", "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
}

.forSP {
  display: none;
}

.forPC {
  display: block;
}

html {
  font-size:10px;
  font-family: "Noto Sans JP";
  color: var(--Text);
}

body{
	font-feature-settings: "palt";
	line-break: strict;
	overflow-wrap: break-word;
	word-wrap: break-word;
	background-color: #efe4db;
}

/*
header
*/
.header{
    background-color:#EA7B7C;
    height: 48px;
    max-width: 750px;
    margin: 0 auto;
}

.header__inner{
    position: relative;
    padding: 0 30px;
    max-width: 750px;
    margin: 0 auto;
}

.adTxt {
  text-align: right;
  max-width: 74.375rem;
  position: absolute;
  content: "";
  top: 3px;
  right: 30px;
  padding: 0px;
  margin: 8px auto;
}

.adTxt span {
  font-size: 18px;
  border: 1px solid #fff;
  padding: 2px 14px;
  color: #fff;
}

.header__logo img{
    height: 48px;
    max-width: auto;
    width:auto ;
}

/*
MV
*/
section.mv{
    max-width: 750px;
    margin: 0 auto;   
    padding: 0;
}

.mv__inner{
    margin:0 auto;
}

.mv__inner img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
/*
coupon
*/

.coupon{
  background-color: #fff;
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 0;
}

.coupon__inner{
  max-width: 556px;
  margin: 40px auto;
}

.coupon__img{
  width: 100%;
  vertical-align: bottom;
}

/*
education
*/

.education{
  background-color: #fff;
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 0;
}
.education__inner{
  max-width: 690px;
  margin: 0 auto;
}

.education__img{
   margin: 20px auto; 
}

.education__img img{
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.education__txt{
  line-height: 1.8;
  font-size: 1.6rem;
  margin: 20px auto;
}

  .underlineTxt {
    color: #EA7B7C;
    font-weight: bold;
    position: relative;
    display: inline-block;
  }

  .underlineTxt::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    border-top: 1px solid #EA7B7C;
    border-bottom: 1px solid #EA7B7C;
  }


/*
search
*/  

.search{
  background-color: #FFEEE4;
  max-width: 750px;
  margin: 0 auto;
  padding: 30px 0 24px;
}

.search__inner{
  max-width: 566px;
  margin: 0 auto;
}

.search__ttl{
  margin: 32px auto;
  text-align: center;
}

.search__ttl img{
  vertical-align: bottom;
}

.search__item-select{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap:10px;
}

.search__select-item{
  background-color: #fff;
  display: inline-block;
  box-sizing: border-box;
}

.search__kodawari-list{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  column-gap: 9px;
}

.search__kodawari-item{
  background-color: #fff;
  border:1px solid #EA7B7C;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 4px;
  display: inline-block;
}

.search__kodawari-ico{
  text-align: center;
  border-radius: 4px;
  background-color: #F9EFE7;
}

.search__kodawari-ico img{
  height: 26px;
  width: auto;
  vertical-align: bottom;
}

.search__bottom{
  padding: 32px 0 0;
  text-align: center;
}

/*
column
*/
.column__main-point{
  margin: 30px auto;
  padding: 65px 24px 50px; /* 上51px + 余白、下42px + 余白 */
  box-sizing: border-box;
  position: relative;
}

.column__main-point::before{
  content: "";
  width: 100%;
  height: 51px; /* SVGの実際の高さに合わせる */
  display: inline-block;
  box-sizing: border-box;
  background-image: url("../img/img_rank_point_01.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  position: absolute;
  left: 0;
  top: 0;
}

.column__main-point::after{
  content: "";
  width: 100%;
  height: 42px; /* SVGの実際の高さに合わせる */
  display: inline-block;
  box-sizing: border-box;
  background-image: url("../img/img_rank_point_02.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  position: absolute;
  left: 0;
  bottom: 0;
}

/*
footer
*/
.footer {
  background-color: #F9EFE7;
  color: #525252;
  max-width: 750px;
  margin: 0 auto;
}

.footer__inner {
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 30px;
}

.footer__link {
  margin-bottom: 30px;
}

.footer__link-ttl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #9F5048;
  margin-bottom: 20px;
}

.footer__link-list,
.footer__link-list2 {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
}

.footer__link-list2 {
  grid-template-columns: 1fr;
}

.footer__link-list li,
.footer__link-list2 li {
  position: relative;
  padding-left: 20px;
}

.footer__link-list li::before,
.footer__link-list2 li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #9F5048;
  font-size: 1.5rem;
}

.footer__link-list a,
.footer__link-list2 a {
  color: #525252;
  text-decoration: underline;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer__link-list a:hover,
.footer__link-list2 a:hover {
  color: #F0A0A1;
}

.footer__bottom {
  background-color: #F0A0A1;
  color: #FFFFFF;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 750px;
  margin: 0 auto;
}

.footer__bottom-link {
  font-size: 1.2rem;
}

.footer__bottom-link a {
  color: #FFFFFF;
  text-decoration: none;
  margin-right: 30px;
  transition: opacity 0.3s;
}

.footer__bottom-link a:last-child {
  margin-right: 0;
}

.footer__bottom-link a:hover {
  opacity: 0.8;
}

.footer__copy {
  font-size: 1rem;
  text-align: right;
}
