main {
  width: 1280px;
  margin: 0 auto;
}
main img.topimg {
  width: 100%;
}

.hira {
  font-family: 
  "Hiragino Sans";
}

.bold {
  font-weight: bold;
}

main .content .top-box{
  text-align: center;
  margin: 20px auto 10px auto;
  width: 100%;
  background-color: #9FDFE0;
  padding: 10px;
}

main .content .top-box img {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

main .top-slider-wrap {
  margin-top: 0px !important;
}
main .top-slider-wrap h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 70vw;
  color: #fff;
  font-size: 3rem;
  text-align: center;
}
main .top-slider-wrap ol {
  margin: 10px 0 0 20px;
}
main .top-slider-wrap ol li {
  display: inline;
  margin-right: 5px;
  font-size: 80%;
}

main .content .safe {
  padding: 10px 40px;
  margin: 10px 0;
}

main .content .safe .topinfo {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}



main .content .safe .topinfo p {
  line-height: 1.5em;
}

main .content .safe .topinfotitle {
  color: red;
  font-size: 1.9em;
  font-weight: bolder;
  background-color: white;
  text-align: left;
  padding: 0;
}

main .content .safe .topinfotitle span {
  color: red;
  font-size: 3em;
  display: inline;
}

main .content .safe h2.toptext {
  text-align: center;
  font-size: 2em;
  margin: 40px 0 0px 0;
  font-family: "UD Shin Go Regular";
  font-weight: bold;
  color: #3FA0A2;
}

main .content .safe h2.toptext-b {
  text-align: center;
  font-size: 2.7em;
  margin: 40px 0 0px 0;
  font-family: "UD Shin Go Regular";
  font-weight: bold;
  color: #3FA0A2;
}
main .content .safe h2 {
  text-align: center;
  font-size: 1.8em;
  margin: 30px 0 20px 0;
  font-weight: bold;
  line-height: 2.5rem;
  font-family: "UD Shin Go Regular";
}

.hukidasi-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  font-size: 1.3rem;
}

.hukidasi-box > div {
  display: flex;
  width: 45%;
  margin: 0 auto;
  gap: 10px;
}

.hukidasi-box > div:nth-child(odd){
  flex-direction: row-reverse;
}

.hukidasi-box .hukidasi {
  display: flex;
  align-items: center;
  position: relative;
  max-width: auto;
  margin-left: 15px;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #e0efff;
  color: #333333;
  width: 100%;
}

.hukidasi-box .hukidasi::before {
  position: absolute;
  left: -15px;
  width: 15px;
  height: 30px;
  background-color: #e0efff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  content: '';
}


.hukidasi-box .hukidasi-re {
  display: flex;
  align-items: center;
  position: relative;
  max-width: auto;
  margin-left: 15px;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #e0efff;
  color: #333333;
  width: 100%;
}

.hukidasi-box .hukidasi-re::before {
  position: absolute;
  right: -15px;
  width: 15px;
  height: 30px;
  background-color: #e0efff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: '';
}

main .content .safe .anzen-movie {
  margin: 40px auto;
  text-align: center;
}
main .content .safe .anzen-movie p{
  text-align: center;
  margin-top: 10px;
}

main .content .safe .info-box{
  text-align: center;
  margin: 0 auto;
  width: 100%;
  background-color: #9FDFE0;
  padding: 30px;
}

main .content .safe .info-box img {
  text-align: center;
  width: 900px;
  margin: 0 auto;
}

main .content .safe .info-box .info-text {
  width: 80%;
  text-align: left;
  line-height: 2em;
  margin: 20px 30px;
}

main .content .safe .maru-box {
  text-align: center;
  margin: 50px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px 50px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

main .content .safe div.bene {
  margin: 20px auto 60px auto;
  text-align: center;
}

main .content .safe div.bene h2 {
  margin: 0 0 20px 0;
  text-align: center;
  color: #E0003C;
  font-size: 1.8rem;
  /* background: blue; */
}
main .content .safe div.bene ul.bene {
  margin: 0 0 0 0px;
  text-align: left;
  /* background: blue; */
}


main .content .safe ul.bene li {
  line-height: 1.6;
  
}

main .content .safe h3 {
  text-align: center;
  font-size: 2em;
  margin: 40px 0 0 0;
  color: white;
  background-color: #1B9B74;
  font-family: "UD Shin Go Regular";
  padding: 30px 0;
  margin: 0 0 30px 0;
  font-weight: bold;
}
main .content .safe h3 span {
  display: block;
  font-size: 70%;
  margin-top: 10px;
}

h2.event {
  margin: 50px 0 40px 0 !important;
  font-size: 2.5rem !important;
}
p.ev-info {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}


main .content .safe h5 {
  text-align: center;
  font-size: 2.5em;
  margin: 10px 0;
  padding: 20px 0;
  font-weight: bold;
}

main .content .safe h5 span {
  font-size: 0.6em;
  display: inline-block;
  text-align: right;
}

main .content .safe p.subtitle {
  text-align: center;
  font-size: 1.2em;
  margin: 20px 0 50px;
}

main .content .safe .newdriver {
  margin-bottom: 40px;
}

main .content .safe .newdriver img {
  width: 100%;
}


main .content .safe .kouka {
  text-align: center;
  margin: 50px 0 0 0 !important;
  padding: 0;
  background-color: white;
}
main .content .safe .kouka img {
  width: 100%;
  max-width: 700px;
}

main .content .safe .ev-box {
  padding: 0 10px;
  display: flex;
  gap: 30px;
}

main .content .safe .ev-box >div>p {
  font-size: 1.4em;
  margin: 10px 0;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
}

main .content .safe .ev-box-box {
  display:flex ;
  flex-wrap: wrap;
  gap: 20px 10px;
}

main .content .safe .ev-box-box h6 {
  width: 130px;
  background-color: #C4E6DC;
  color: #1D9B75;
  text-align: center;
  padding: 10px;
  height: 2rem;
  display: table;
  vertical-align: middle;
}

main .content .safe .ev-box-box p {
  width: 500px;
  text-align: left;
  padding: 0 10px;
  line-height: 2rem;

}

main .content .safe .plus {
  text-align: center;
  margin: 30px 0;
}
main .content .safe .plus img {
  width: 56px;
  height: auto;
}


main .content .safe .ev-box-outline {
  flex-wrap: wrap;
  background-color: #F0FEFF;
  border: 3px solid gray;
  color: #044A04;
  padding: 30px 0px 30px 100px;
}

main .content .safe .ev-box-outline .outline-title {
  width: 100%;
  text-align: center;
  margin: 20px 0 40px 0;
}


main .content .safe .ev-box-outline .ev-box-box {
  width: 600px;
  text-align: center;
  gap: 0px;
  color: black;
}

main .content .safe .ev-box-outline .ev-box-box h6 {
  width: 150px;
  text-align: center;
  margin: 10px 0;
}

main .content .safe .ev-box-outline .ev-box-box p {
  width: 450px;
  text-align: left;
  margin: 10px 0;
}

main .content .safe .ev-box-box ul {
  width: 500px;
  padding: 0px;
  line-height: 1.5;
}

main .content .safe .ev-box-box ul li {
  padding-left:1em;
	text-indent:-1em;
  line-height: 2rem;
}

main .content .safe .ev-box-outline .kaisai {
  width: 500px;
  text-align: left;
  font-size: 1.8em;
}

.gbn {
  background-color: #1A8CEF;
  color: white;
  text-align: center;
  font-size: 1.4em;
  padding: 20px;
  width: 100%;
  margin: 0 auto;
  font-weight: bold;
}
.gbn span {
  font-size: 0.6em;
}



.sanka span {
  font-size: 0.6em;
}








main .content .reasonlist {
  width: 1280px;
  margin: 0px auto 30px auto;
}



main .content .reasonlist .reasonlist-wrap {
  /* width: 1000px; */
  margin: 0 auto;
}
main .content .reasonlist .reasonlist-wrap h3 {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 40px auto;
  color: green;
  border-bottom: 1px solid green;
  width: 80%;
}

main .content .reasonlist .reasonlist-wrap h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 70px;
  color: green;
  
}
main .content .reasonlist .reasonlist-wrap p {
  text-align: center;
  line-height: 2em;
  width: 80%;
  margin: 0 auto;
}
main .content .reasonlist .reasonlist-wrap h4 {
  text-align: left;
  line-height: 2em;
  font-size: 140%;
  width: 80%;
  margin: 0 auto;
}
main .content .reasonlist .reasonlist-wrap .gbn {
  text-align: center;
  background-color: green;
  color: white;
  line-height: 2em;
  font-size: 140%;
  width: 90%;
  margin: 20px auto;
}
main .content .reasonlist .reasonlist-wrap .h2-info {
  text-align: center;
  font-size: 0.4emrem;
  margin-top: 3px;
  color: green;
}
main .content .reasonlist .reasonlist-wrap .uketuke {
  border: 1px solid green;
  width: 100px;
  text-align: center;
  color: green;
  padding: 4px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line {
  margin-top: 20px;
  margin-bottom: 30px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #carspro,
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #saiteki,
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #tenpo,
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #sapsta,
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #kyoten,
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards #wellcab {
  scroll-margin-top: 200px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card {
  width: 1000px;
  border-radius: 10px;
  margin: 15px 0;
  background-color: #fff;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 25px 0 80px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card p.card-title {
  font-size: 1.8rem;
  padding: 20px 0 50px;
  margin-right: 5vw;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card p.card-title img {
  margin: 0 5vw;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card p.card-title span {
  color: #E50404;
  font-size: 40px;
  margin: 0 0.8vw;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card p.card-title .int {
  font-size: 50px;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card p.card-subtitle {
  width: 75%;
  margin: 0 auto;
  padding-bottom: 30px;
  font-size: 1.2rem;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card ul {
  width: 85%;
  margin: 0 auto;
  padding-left: 15px;
  list-style: disc;
}
main .content .reasonlist .reasonlist-wrap .reasonlist-line .reason-cards .card ul li {
  margin: 0.7vw 0;
}/*# sourceMappingURL=style.css.map */


main .top-slider-wrap .pcbaner {
  display: block;
  width: 100%;
}
main .top-slider-wrap .spbaner {
  display: none;
  width: 100%;
}

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

main .top-slider-wrap h1 br.respo-nav {
  display: none;
}

main .toptitle {
  margin-top: 67px !important;
  width: 1280px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
  color: #2C6802;
  background-color: #EAF5ED;
  font-size: 1.9rem;
}

main .toptitle img {
  position: relative;
  top: 30px;
  margin-top: -30px;
  height: 80px;
}


.newdriver {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
}

h4.newdrivertitle {
  color: white;
  margin: 0 auto 60px auto;
  text-align: center;
  background-color: #02AB4E;
  padding: 10px 20px;
  width: 300px;
  font-size: 1.2rem;
}

.newdriver > div {
  display: flex;
  width: 45%;
  margin: 0 auto;
  gap: 10px;
}

.newdriver > div:nth-child(odd){
  /* flex-direction: row-reverse; */
}

.newdriver .face {
  width: 50%;
}
.newdriver .face img {
  width: 90px !important;
}

.newdriver .hukidasi {
  display: flex;
  align-items: center;
  position: relative;
  max-width: auto;
  margin-left: 0px;
  padding: 1.6em 1.6em;
  border: 3px solid gray;
  color: #333333;
  line-height: 1.5rem;
  background-color: white;
}

.newdriver .hukidasi:after {
  background: gray;
  color: #fff;
  font-weight: bold;
  position: absolute;
  left: -3px;
  bottom: 100%;
  padding: 5px 10px 5px 10px;
  content: "Before";
  letter-spacing: 0.1em;
}

.newdriver .hukidasi::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -70px;
  margin: auto;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 15px solid transparent;
  border-left: 15px solid gray;
}

.newdriver .hukidasi-af {
  display: flex;
  align-items: center;
  position: relative;
  max-width: auto;
  margin-left: 15px;
  padding: 1.6em 1.6em;
  border: 3px solid #5AC7D0;
  color: #229BA5;
  line-height: 1.5rem;
  background-color: white;
}

.newdriver .hukidasi-af:after {
  background: #5AC7D0;
  color: #fff;
  font-weight: bold;
  position: absolute;
  left: -3px;
  bottom: 100%;
  padding: 5px 10px 5px 10px;
  content: "After";
  letter-spacing: 0.1em;
}

.mousikomi-div {
  margin: 20px 0;
  text-align: center;
}

.mousikomi-info {
  width: 700px;
  text-align: left;
  margin: 0 auto;
}

/* ------------------------ */
.kohyo {
  font-size: 2.5rem;
  text-align: left;
  padding: 0px 0;
  margin: 20px 0 0 0;
  font-weight: bold;
}


.sanka {
  background-color: #40ACAD;
  color: white;
  text-align: center;
  font-size: 1.6em;
  padding: 25px 0;
  width: 90%;
  margin: 0px auto 20px auto;
  font-weight: bold;
  border-radius: 30px;
}

.sinai {
  background-color: #E0003C;
}
.nanbu {
  background-color: #0092E0;
}
.hokubu {
  background-color: #31B564;
}

.sanka span {
  display: block;
  line-height: 2.5rem;
}

.sanka span.t {
  font-size: 2rem;
}
.sanka span.i {
  font-size: 1.8rem;
}
.sanka span.d {
  font-size: 1.3rem;
}
.sanka span.dd {
  font-size: 1.1rem;
}

.noto {
  font-family: 'Noto Sans JP', sans-serif;
}

.mt20 {
  margin-top: 20px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}

.talk1 {
  background-color: #FCC13F;
  width: 100%;
  padding: 30px 0;
}

.talk1 section {
  display: flex;
  align-items: flex-start;
  gap: 30px; 
  padding: 0px 50px;
}

.talk1 section.left {
  justify-content: flex-start;
}
.talk1 section.right {
  justify-content: flex-end;
}

.talk1 section div {
  width: 60%;

}

.hukidasi-a {
  color: black;
  font-size: 1.4rem;
  line-height: 2rem;
  border-radius: 30px;
}

.hukidasi-b {
  color: black;
  font-size: 1.4rem;
  line-height: 2rem;
  border-radius: 30px;
}

.hukidasi-info {
  margin: 20px 30px 20px 20px;
  line-height: 2rem;
  font-size: 1.2rem;
  text-align: left;
}

.hukidasi-right{
  position:relative;
  background:#FFFFFF;
  padding:20px;
  text-align:left;
  border:4px solid #9B9B9B;
  width: 70%;
}
.hukidasi-right:after,.hukidasi-right:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  right:100%;
  top:50%;
}
.hukidasi-right:after{
  border-color: rgba(255, 255, 255, 0);
  border-top-width:10px;
  border-bottom-width:10px;
  border-left-width:20px;
  border-right-width:20px;
  margin-top: -10px;
  border-right-color:#FFFFFF;
}
.hukidasi-right:before{
  border-color: rgba(155, 155, 155, 0);
  border-top-width:12px;
  border-bottom-width:12px;
  border-left-width:24px;
  border-right-width:24px;
  margin-top: -12px;
  margin-right: 2px;
  border-right-color:#9B9B9B;
}

.hukidasi-left{
  position:relative;
  background:#FFFFFF;
  padding:20px;
  text-align:left;
  border:4px solid #9B9B9B;
}
.hukidasi-left:after,.hukidasi-left:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  left:100%;
  top:50%;
}
.hukidasi-left:after{
  border-color: rgba(255, 255, 255, 0);
  border-top-width:10px;
  border-bottom-width:10px;
  border-left-width:20px;
  border-right-width:20px;
  margin-top: -10px;
  border-left-color:#FFFFFF;
}
.hukidasi-left:before{
  border-color: rgba(155, 155, 155, 0);
  border-top-width:12px;
  border-bottom-width:12px;
  border-left-width:24px;
  border-right-width:24px;
  margin-top: -12px;
  margin-left: 2px;
  border-left-color:#9B9B9B;
}

.ev-box-box li.new::before {
  content: url(../img/new.png);
  height: 46px;
  width: 46px;
  margin-left: -50px;
  position: relative;
  top:30px;
  left: -12px;

}

.text-black {
  color: black;
}

.sanka2 {
  background-color: #9FDFE0;
}

h3.kouka {
  color: #01AB4D !important;
}

div.info-box {
  margin-bottom: 50px !important;
}

div.kouka-box {
  background-color: #9FDFE0;
  width: 100%;
  padding: 20px;
  /* box-sizing:border-box;
  margin: 0px calc(50% - 50vw);
	padding: 30px calc(50vw - 50% + 8px); */

}

div.kouka img {
    mix-blend-mode: multiply1;
}

.orange {
  background-color: #FCC13F !important;
}

.ev-text {
  text-align: center;
  font-size: 1.4rem;
  margin: 20px 0;
}

section.ev-out-sec {
  display: flex;
  margin: 30px 0;
}

.mx10 {
  margin: 30px 0 ;
}

footer .info {
  color: gray;
  font-size: 0.8rem;
  line-height: 1.3rem;
  margin: 10px 0;
}

h2.kk {
  margin: 60px 0 30px 0 !important;
  font-size: 2.4rem !important;
}

.kouka-sub {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 20px 0;
}

br.pc {
  display: block;
}
br.sp {
  display: none;
}
.topinfo-sub {
  text-align: left;
  color: #9925AD;
}
.topinfo-prog {
  text-align: center;
margin-bottom: 20px;
}
.bkwhite {
  background-color: white;
}
.bene-fl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.kouka-ti {
  background-color: #48A8AA !important;
  color: white !important;
  width: 100%;
  margin: 0 !important;
  /* box-sizing:border-box;
  margin: 0px calc(50% - 50vw) !important;
	padding: 30px calc(50vw - 50% + 8px); */

}
.mt10 {
  margin-top: 20px !important;
}
.info-box .fl {
  display: flex;
  justify-content: center;
  align-items: center;

}
.info-box .fl .tq1 {
  max-width: 550px;
}
.info-box .fl .ta1 {
  max-width: 380px;
}

.info-20260511 {
  font-size: 90%;margin: 0 auto;text-align: center;
}


@media screen and (max-width: 1024px) {
  main {
    width: auto;
  }
  main .top-slider-wrap {
    margin-top: 133.5px;
  }
  main .top-slider-wrap ol li {
    font-size: 75%;
  }

  main .toptitle {
    margin-top: 60px !important;
    width: auto;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
    color: #00622D;
    background-color: #EAF5ED;
  }

  main p.top-info {
    line-height: 1.3rem;
    margin: 0 10px;
  }

  main .content .safe .anzen-movie {
    padding: 30px 0;
  }


  main .content #reasonlist {
    scroll-margin-top: 120px;
  }
  main .content .reasonlist {
    width: auto;

  }
  main .content .reasonlist .reasonlist-wrap {
    width: 100%;
    padding: 10px 20px;
    text-align: left;
  }

  main .content .reasonlist .reasonlist-wrap img {
    width: 100%;
  }

  main .content .reasonlist .reasonlist-wrap .uketuke {
    border: 1px solid green;
    width: 100px;
    text-align: center;
    color: green;
    padding: 4px;
    position: absolute;
    left: 20px;
  }

  main .content .reasonlist .reasonlist-wrap p {
    text-align: left;
    line-height: 2em;
    width: 100%;
    margin: 0 auto;
  }

  main .content .reasonlist .reasonlist-wrap h3 {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 20px auto;
    color: green;
    border-bottom: 1px solid green;
    width: 100%;
  }

  main .content .reasonlist .reasonlist-wrap h4 {
    text-align: left;
    line-height: 2em;
    font-size: 110%;
    width: 100%;
    margin: 0 auto;
  }

  main .content .reasonlist .reasonlist-wrap h2 {
    font-size: 1.5em;
    margin-top: 60px;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line {
    margin: 20px 15px;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .q-item h3 {
    margin-left: 15px;
    margin-right: 10px;
    font-size: 1.6em;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .q-item p {
    font-size: 1em;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .a-item {
    margin: 15px auto;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .a-item h3 {
    margin-left: 15px;
    margin-right: 10px;
    font-size: 1.6em;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .a-item p {
    padding-top: 2px;
    font-size: 1em;
    line-height: 1.5;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .a-item p .pc-br {
    display: none;
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-line .ichiran {
    margin-right: 10px;
  }

  main .content .acomenu {
    width: auto;
  }

  main .content .acomenu section .title {
    display: block;
  }

  main .content .acomenu .accordion-area li {
    min-height: 350px;
    margin: 15px 0;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #EEEFF8;
    position: relative;
  }
  main .content .acomenu .accordion-area li:last-child {
    margin-bottom: 30px;
  }
  main .content .acomenu .accordion-area li .accordion-card {
    position: relative;
    width: 80vw;
    height: 162px;
    border-radius: 10px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.5);
  }
  main .content .acomenu .accordion-area li p {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto;
    padding: 0px 0 0px 0px;
    width: 90vw;
  }



  main .content .acomenu .accordion-area li .buttons {
    margin-top: 30px;
    margin-left: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  main .content .acomenu .accordion-area li .buttons .category-button {
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    margin: 5px 10px;
    width: 200px;
  }



  main .top-slider-wrap img {
    width: 100%;
  }
  main .content .safe {
    padding: 0px 10px;
  }
  
  main .content .safe .topinfo {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
  }
  
  main .content .safe .topinfo img {
    width: 100%;
  }
  
  main .content .safe .topinfo >div {
    width: 34%;
  }

  main .content .safe .topinfo h3 {
    text-align: center;
    font-size: 1.2em;
    margin: 0px 0;
  }
  

  main .content .safe .topinfo p {
    line-height: 1em;
    font-size: 0.8em;
  }
  
  main .content .safe .topinfotitle {
    color: red;
    font-size: 1.2em;
  }
  
  main .content .safe .topinfotitle span {
    color: red;
    font-size: 1.4em;
  }
  
  main .content .safe h2 {
    text-align: center;
    font-size: 1.4em;
    margin: 20px 0;
    font-weight: bold;
  }
  
  .hukidasi-box {
    display: block;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0px auto;
  }
  
  .hukidasi-box > div {
    display: flex;
    width: 100%;
    margin: 20px auto;
    gap: 10px;
  }
  
  .hukidasi-box .face img {
    width: 100px;
  }

  .hukidasi-box > div:nth-child(odd){
    flex-direction: row-reverse;
  }
  
  .hukidasi-box .hukidasi {
    display: flex;
    align-items: center;
    position: relative;
    max-width: auto;
    font-size: 1rem !important;
    margin-left: 15px;
    padding: 10px 10px;
    border-radius: 5px;
    background-color: #e0efff;
    color: #333333;
  }
  
  .hukidasi-box .hukidasi::before {
    position: absolute;
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: #e0efff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
  }
  
  
  .hukidasi-box .hukidasi-re {
    display: flex;
    align-items: center;
    position: relative;
    max-width: auto;
    font-size: 1rem !important;
    margin-left: 10px;
    padding: 10px 5px 10px 10px;
    border-radius: 5px;
    background-color: #e0efff;
    color: #333333;
  }
  
  .hukidasi-box .hukidasi-re::before {
    position: absolute;
    right: -15px;
    width: 15px;
    height: 30px;
    background-color: #e0efff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: '';
  }
  
  main .content .safe .anzen-movie {
    margin: 30px auto;
    text-align: center;
    width: 100%;
  }
  main .content .safe .anzen-movie img {
    width: 100%;
  }
  main .content .safe .anzen-movie p{
    text-align: center;
  }
  
  main .content .safe .info-box{
    text-align: center;
    margin: 0 auto 30px auto;
    background-color: #9FDFE0;
    max-width: 800px;
    min-width: 100px;
    padding: 30px;
    /* width: 95vw; */
  }
  
  main .content .safe .info-box img{
    width: 100%;
  }

  main .content .safe .info-box .info-text {
 
  }

  
  main .content .safe .info-box .if2 {
    top: 10px;
  }
    
  main .content .safe .info-box .if3 {
    top: -10px;
  }
  
  main .content .safe .maru-box {
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  main .content .safe .maru-box div {
    width: 30%;
  }

  main .content .safe .maru-box div img {
    width: 100%;
  }
  




  main .content .safe div.bene {
    margin: 20px auto 60px auto;
    text-align: center;
  }
  
  main .content .safe div.bene h2 {
    margin: 0 0 20px 0;
    text-align: center;
    /* background: blue; */
  }
  main .content .safe div.bene ul.bene {
    margin: 0 0 0 280px;
    text-align: left;
    /* background: blue; */
  }
  
  
  main .content .safe ul.bene li {
    line-height: 1.6;
    font-size: 0.8rem;
    text-align: center;
  }
  
  
  main .content .safe h3 {
    text-align: center;
    font-size: 1.5rem;
    margin: 20px 0;
    color: #3FA0A2;
  }
  
  
  main .content .safe h5 {
    text-align: center;
    font-size: 1.4em;
    margin: 20px 0;
    padding: 20px 10px;
    color: white;
    background-color: #1B9B74;
    font-weight: bold;
  }
  
  main .content .safe h5 span {
    font-size: 0.6em;
    display: inline-block;
    text-align: right;
  }
  
  main .content .safe p.subtitle {
    text-align: center;
    font-size: 1.2em;
    margin: 20px 0;
  }
  
  main .content .safe .newdriver {
    margin-bottom: 40px;
  }
  
  main .content .safe .newdriver img {
    width: 100%;
  }
  
  main .content .safe .ev-box {
    margin-bottom: 30px;
    display: block;
  }

    
  main .content .safe .ev-box img  {
    width: 100%;
  }
  
  main .content .safe .ev-box >div>p {
    font-size: 1.4em;
    margin: 10px 0;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  main .content .safe .ev-box-box {
    display:flex ;
    flex-wrap: wrap;
    gap: 10px 10px;
  }
  
  main .content .safe .ev-box-box h6 {
    width: 130px;
    background-color: #C4E6DC;
    color: #1D9B75;
    text-align: center;
    padding: 10px;
    height: 40px;
  }


  
  main .content .safe .ev-box-box p {
    width: 100%;
    text-align: left;
    padding: 0 0px;
    line-height: 2em;
  }
  
  main .content .safe .ev-box-box p.list {
    padding-left:1em;
	text-indent:-1em;
  
  }
  

  main .content .safe .plus {
    text-align: center;
  }
  
  
  main .content .safe .ev-box-outline {
    gap: 0;
  }

  .form-title {
    font-size: 1.5rem !important;
  }
  
  main .content .safe .ev-box-outline .outline-title {
    width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  main .content .safe .ev-box-outline .outline-title img {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  
  
  
  main .content .safe .ev-box-outline .ev-box-box {
    width: 100%;
    text-align: center;
    gap: 5px;
    padding: 10px;
  }
  
  main .content .safe .ev-box-outline .ev-box-box h6 {
    width: 30%;
    text-align: center;
  }
  
  main .content .safe .ev-box-outline .ev-box-box p {
    text-align: left;
    font-size: 1.2em;
  }
  
  
  main .content .safe .ev-box-outline .kaisai {
    text-align: left;
    font-size: 1.4em;
    margin: 20px 20px;
    width: 100%;
  }
  
  .gbn {
    background-color: #1A8CEF;
    color: white;
    text-align: center;
    font-size: 1.4em;
    padding: 20px;
    width: 90%;
    margin: 20px auto;
    font-weight: bold;
  }
  .gbn span {
    font-size: 0.6em;
  }
  
  
  .sanka {
    font-size: 1.4em;

  }
  .sanka span {
    font-size: 0.6em;
  }
  
  
  
.talk1 {
  background-color: white;
  margin: 0 5px;
  padding: 20px 0px;
}

.talk1 section {
  display: flex;
  align-items: flex-start;
  gap: 25px; 
  padding: 0px 10px;
  margin: 20px 0;
}

.talk1 section.left {
  justify-content: flex-start;
}
.talk1 section.right {
  justify-content: flex-end;
}

.talk1 section div {
  width: 70%;
}
.talk1 section p img {
  width: 70px;
}

.hukidasi-a {
  color: black;
  font-size: 0.8rem;
  line-height: 1.1rem;
}

.hukidasi-b {
  color: black;
  font-size: 0.8rem;
  line-height: 1rem;
}

.hukidasi-info {
  display: block;
  width: 100%;
  margin: 10px 0;
  line-height: 1.3rem;
  font-size: 1rem;
  text-align: left;
}

.hukidasi-right{
  position:relative;
  background:#FFFFFF;
  padding:10px;
  text-align:left;
  border:3px solid #9B9B9B;
  width: 100%;
}
.hukidasi-right:after,.hukidasi-right:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  right:100%;
  top:50%;
}
.hukidasi-right:after{
  border-color: rgba(255, 255, 255, 0);
  border-top-width:10px;
  border-bottom-width:10px;
  border-left-width:20px;
  border-right-width:20px;
  margin-top: -10px;
  border-right-color:#FFFFFF;
}
.hukidasi-right:before{
  border-color: rgba(155, 155, 155, 0);
  border-top-width:12px;
  border-bottom-width:12px;
  border-left-width:24px;
  border-right-width:24px;
  margin-top: -12px;
  margin-right: 2px;
  border-right-color:#9B9B9B;
}

.hukidasi-left{
  position:relative;
  background:#FFFFFF;
  padding:10px;
  text-align:left;
  border:3px solid #9B9B9B;
}
.hukidasi-left:after,.hukidasi-left:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  left:100%;
  top:50%;
}
.hukidasi-left:after{
  border-color: rgba(255, 255, 255, 0);
  border-top-width:10px;
  border-bottom-width:10px;
  border-left-width:20px;
  border-right-width:20px;
  margin-top: -10px;
  border-left-color:#FFFFFF;
}
.hukidasi-left:before{
  border-color: rgba(155, 155, 155, 0);
  border-top-width:12px;
  border-bottom-width:12px;
  border-left-width:24px;
  border-right-width:24px;
  margin-top: -12px;
  margin-left: 2px;
  border-left-color:#9B9B9B;
}
  



}


@media screen and (max-width: 529px) {
  main {
    width: auto;
  }
  main .top-slider-wrap {
    margin-top: 120px;
  }
  main .top-slider-wrap .pcbaner {
    display: none;
  }
  main .top-slider-wrap .spbaner {
    display: block;
    width: 100%;
  }
  main .content .reasonlist {
    width: auto;
    padding: 0 10px;
  }
  main .content .reasonlist .reasonlist-wrap {
  }
  main .content .reasonlist .reasonlist-wrap .reasonlist-icons .flex-item img.graph {
    width: 100%;
  }
  main .box-content img {
    margin: 0 auto;
    text-align: center;
    width: 80vw;
    
  }

  main .content .safe .info-box{
    text-align: center;
    margin: 0 auto 30px auto;
    background-color: #9FDFE0;
    width: 100%;
    padding: 30px 0 30px 0;
    /* width: 95vw; */
  }
  main .content .safe .info-box img{
    width: 90vw;
  }

  main .content .safe .info-box .info-text {
    
  }

  
  main .content .safe .info-box .if2 {
    top: -10px;
  }
    
  main .content .safe .info-box .if3 {
    top: -10px;
  }

  .pc-img {
    display: none !important;
  }
  .sp-img {
    display: block;
    padding: 15px;
  }

  main .top-slider-wrap h1 br.respo-nav {
    display: block;
  }

  main .content .safe div.bene {
    margin: 20px auto 40px auto;
    text-align: center;
  }
  
  main .content .safe div.bene h2 {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.4rem;
    /* background: blue; */
  }
  main .content .safe div.bene ul.bene {
    margin: 0 0 0 0px;
    text-align: left;
    /* background: blue; */
  }
  
  
  main .content .safe ul.bene li {
    line-height: 1.6;
    text-align: left;
    
  }

  main .content .safe .ev-box {
    margin-bottom: 30px;
    display: block;
  }

  main .content .safe .ev-box-outline .kaisai {
    width: 50%;
  }
 
  main .content .safe .ev-box-box {
    display:block ;
    gap: 0px;
    width: 100%;
  }
  main .content .safe .ev-box-box p {
    width: 100% !important;
    font-size: 1rem !important;
  }
  main .content .safe .ev-box-box ul {
    width: 100% !important;
    margin: 10px 0;
  }
  main .content .safe .ev-box-outline {
    display:block;
  }

  .newdriver {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
  }
  
  h4.newdrivertitle {
    color: white;
    margin: 0 auto 60px auto;
    text-align: center;
    background-color: #02AB4E;
    padding: 10px 20px;
    width: 300px;
    font-size: 1.2rem;
  }
  
  .newdriver > div {
    display: flex;
    width: 100%;
    margin: 0 auto;
    gap: 10px;
  }
  
  .newdriver > div:nth-child(odd){
    /* flex-direction: row-reverse; */
  }
  
  .newdriver .face {
    width: 100%;
  }
  
  
  .newdriver .hukidasi {
    display: flex;
    align-items: center;
    position: relative;
    max-width: auto;
    margin-left: 15px;
    padding: 1.6em 1.6em;
    border: 3px solid gray;
    color: #333333;
    line-height: 1.5rem;
  }
  
  .newdriver .hukidasi:after {
    background: gray;
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: -3px;
    bottom: 100%;
    padding: 5px 10px 5px 10px;
    content: "Before";
    letter-spacing: 0.1em;
  }
  
  .newdriver .hukidasi::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0px;
    margin: auto;
    box-sizing: border-box;
    width: 0px;
    height: 0px;
    border: 0px solid transparent;
    border-left: 0px solid gray;
  }
  
  .newdriver .hukidasi-af {
    display: flex;
    align-items: center;
    position: relative;
    max-width: auto;
    margin-left: 15px;
    padding: 1.6em 1.6em;
    border: 3px solid #5AC7D0;
    color: #5AC7D0;
    line-height: 1.5rem;
  }
  
  .newdriver .hukidasi-af:after {
    background: #5AC7D0;
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: -3px;
    bottom: 100%;
    padding: 5px 10px 5px 10px;
    content: "After";
    letter-spacing: 0.1em;
  }
  
  main .toptitle {
    margin-top: 60px !important;
    width: auto;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
    color: #00622D;
    background-color: #EAF5ED;
    font-size: 1.2rem;
  }

  main .content .safe .ev-box {
    padding: 0 5px;
  }


  main .content .safe h2.toptext {
    text-align: center;
    font-size: 1.4em;
    margin: 40px 0 0px 0;
    font-weight: bold;
    color: #3FA0A2;
  }
  main .content .safe h2 {
    text-align: center;
    font-size: 1.4em;
    margin: 30px 0 20px 0;
    font-weight: bold;
    line-height: 2rem;
  }

  main .content .safe h3 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0px 0;
    color: #3FA0A2;
  }

  .mousikomi-div {
    margin: 20px 0;
    text-align: center;
  }
  
  .mousikomi-info {
    width: 330px;
    text-align: left;
    margin: 0 auto;
  }
  main .toptitle img {
    position: relative;
    top: 15px;
    margin-top: -15px;
    height: 50px;
  }

  .kohyo {
    font-size: 1.2rem;
    text-align: center;
    padding: 25px 0;
    margin: 0px 0 0 0;
    font-weight: bold;
  }
  
  
  .sanka {
    background-color: #40ACAD;
    color: white;
    text-align: center;
    font-size: 1.2em;
    padding: 25px 0;
    width: 100%;
    margin: 0px auto 0px auto;
    font-weight: bold;
  }

  .ev-box-box li.new::before {
    content: url(../img/new-mini.png);
    margin-left: -30px;
    position: relative;
    top:10px;
    left: 10px;
    
  
  }

  .sanka {
  background-color: #40ACAD;
  color: white;
  text-align: center;
  font-size: 1.6em;
  padding: 10px 10px;
  width: 100%;
  margin: 0px auto 20px auto;
  font-weight: bold;
}

.sinai {
  background-color: #E0003C;
}
.nanbu {
  background-color: #0092E0;
}
.hokubu {
  background-color: #31B564;
}

.sanka span {
  display: block;
  line-height: 1.5rem;
}

.sanka span.t {
  font-size: 1rem;
}
.sanka span.i {
  font-size: 1rem;
}
.sanka span.d {
  font-size: 0.8rem;
}
.sanka span.dd {
  font-size: 0.8rem;
}

main .content .safe h2.toptext-b {
  text-align: center;
  font-size: 2em;
  margin: 30px 0 0px 0;
  font-family: "UD Shin Go Regular";
  font-weight: bold;
  color: #3FA0A2;
}

h2.kk {
  margin: 30px 0 30px 0 !important;
  font-size: 1.3rem !important;
}

.kouka-sub {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 20px 0;
}

div.kouka-box {
  background-color: #9FDFE0;
  width: 100vw;
  box-sizing:border-box;
  margin: 20px calc(50% - 50vw);
	padding: 30px calc(50vw - 50% + 8px);
  background-image: none;
  background-repeat: no-repeat;
}

h2.event {
  margin: 50px 0 40px 0 !important;
  font-size: 1.6rem !important;
}

br.pc {
  display: none;
}

p.ev-info {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem !important;
  font-weight: bold !important;
}

main .content .safe h3 {
  text-align: center;
  font-size: 1.4rem;
  margin: 40px 0 0 0;
  color: white;
  background-color: #1B9B74;
  font-family: "UD Shin Go Regular";
  padding: 20px 0;
  margin: 0 0 30px 0;
  font-weight: bold;
}

.ev-text {
  text-align: center;
  font-size: 1rem;
  margin: 20px 0;
}

main .content .safe .ev-box-outline .kaisai {
  width: 120px;
  text-align: left;
  font-size: 1rem;
}

main .content .safe .ev-box-outline {
  display:block ;
  flex-wrap: wrap;
  background-color: #F0FEFF;
  border: 3px solid gray;
  color: #044A04;
  padding: 30px 0px 30px 0px;
}


section.ev-out-sec {
  display: block;
  margin: 10px 0;
}

main .content .safe .ev-box-outline .kaisai {
  width: 200px;
  text-align: center;
  font-size: 1.4rem;
  margin: 0 auto;
}

br.pc {
  display: none;
}
br.sp {
  display: block;
}
.topinfo-sub {
  text-align: left;
  color: #9925AD;
}
.topinfo-prog img {
  width: 100%;
}

.topinfo-prog {
  text-align: center;
margin-bottom: 20px;
}
.bkwhite {
  background-color: white;
}
.bene-fl {
  display: block;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.kouka-ti {
  background-color: #48A8AA !important;
  color: white !important;
  width: 100vw;
  box-sizing:border-box;
  margin: 0px calc(50% - 50vw) !important;
	padding: 30px calc(50vw - 50% + 8px);

}
.mt10 {
  margin-top: 20px !important;
}
.info-box .fl {
  display: block;
  justify-content: center;
  align-items: center;

}
.info-text {
  margin: 10px;
}
.info-box .fl .tq1 {
  max-width: 550px;
}
.info-box .fl .ta1 {
  max-width: 380px;
}


}


/* ============================================================ */
/*  2606 additions — Safe Driving College (3-area version)       */
/* ============================================================ */

/* -- Top info block -- */
main .content .safe .topinfo-badge img { width: 240px; max-width: 100%; }
main .content .safe .topinfo-sub .topinfotitle { color: #34B44A; }
main .content .safe .topinfo-sub .topinfotitle span { color: #34B44A; }
main .content .safe .topinfo-note { color: #333; font-size: 0.95rem; line-height: 1.7; margin-top: 6px; }
main .content .safe .kohyo { color: #34B44A; font-size: 2rem; line-height: 1.4; margin-top: 20px; }

.top-desc {
  text-align: center;
  font-size: 1.1rem;
  line-height: 2;
  margin: 20px auto 50px auto;
  max-width: 1100px;
  padding: 0 20px;
}

/* -- Customer's Voices -- */
.voices-title {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: #E0003C !important;
  font-size: 3rem !important;
  text-align: center;
  margin: 40px 0 30px 0 !important;
  font-weight: 400;
}
.voices-box {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 50px auto;
  max-width: 1100px;
  padding: 0 20px;
}
.voice-item {
  flex: 1 1 300px;
  max-width: 340px;
  text-align: center;
}
.voice-icon img { width: 130px; height: auto; margin: 0 auto; }
.voice-text {
  background-color: #FFF4DC;
  border: 2px solid #F4B23E;
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
  color: #333;
  font-weight: 500;
}

/* -- Sanka button group (3 areas side-by-side) -- */
.sanka-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px auto 30px auto;
  padding: 0 20px;
}
.sanka-group .sanka {
  flex: 1 1 320px;
  max-width: 390px;
  width: auto;
  margin: 0;
  padding: 22px 10px;
}
.sanka-group .sanka a {
  display: block;
  color: white;
  text-decoration: none;
}
.sanka-group .sanka .i {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 6px 0 2px 0;
}
.sanka-group .sanka .d {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: normal;
}
.sanka-group .sanka .dd {
  font-size: 0.9rem;
  font-weight: normal;
  opacity: 0.95;
  margin-top: 4px;
}

/* -- Dialog (speech bubble images) -- */
.dialog-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #FCC13F;
  padding: 40px 30px;
  margin: 40px 0 0 0;
}
.dialog-box section {
  display: flex;
  align-items: center;
  gap: 24px;
}
.dialog-box .dialog-left { justify-content: flex-start; }
.dialog-box .dialog-right { justify-content: flex-end; }
.dialog-box .dialog-chara {
  flex: 0 0 auto;
  text-align: center;
}
.dialog-box .dialog-chara img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.dialog-box .dialog-chara .chara-name {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  background-color: white;
  border-radius: 20px;
  padding: 4px 18px;
  margin-top: 6px;
}
.dialog-bubble {
  flex: 1 1 auto;
  max-width: 680px;
  padding: 24px 28px;
  background: #fff;
  border: 3px solid #333;
  border-radius: 30px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
}
.dialog-bubble.bubble-left::before,
.dialog-bubble.bubble-left::after,
.dialog-bubble.bubble-right::before,
.dialog-bubble.bubble-right::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  top: 50%;
}
.dialog-bubble.bubble-left::before {
  left: -22px;
  border-style: solid;
  border-width: 14px 22px 14px 0;
  border-color: transparent #333 transparent transparent;
  transform: translateY(-50%);
}
.dialog-bubble.bubble-left::after {
  left: -17px;
  border-style: solid;
  border-width: 12px 20px 12px 0;
  border-color: transparent #fff transparent transparent;
  transform: translateY(-50%);
}
.dialog-bubble.bubble-right::before {
  right: -22px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #333;
  transform: translateY(-50%);
}
.dialog-bubble.bubble-right::after {
  right: -17px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  transform: translateY(-50%);
}

/* -- Main headline -- */
.headline-main {
  text-align: center;
  background-color: #1B9B74;
  color: white;
  font-size: 2rem !important;
  padding: 24px 10px;
  margin: 30px 0 !important;
  line-height: 1.5;
}

/* -- Digest movie -- */
.digest-movie {
  text-align: center;
  margin: 30px auto 40px auto;
  max-width: 900px;
  padding: 0 20px;
}
.digest-movie img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}
.digest-caption {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 14px;
  color: #333;
}

/* -- Two benefits -- */
.two-benefits {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto 30px auto;
  padding: 0 20px;
}
.benefit-card {
  flex: 1 1 420px;
  max-width: 560px;
  padding: 26px 30px;
  border-radius: 16px;
  border-width: 3px;
  border-style: solid;
}
.benefit-red {
  background-color: #FFF2F4;
  border-color: #E0003C;
}
.benefit-red .benefit-title { color: #E0003C; }
.benefit-orange {
  background-color: #FFF7E8;
  border-color: #F08300;
}
.benefit-orange .benefit-title { color: #F08300; }
.benefit-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.benefit-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.benefit-memory-text {
  max-width: 1100px;
  margin: 30px auto 40px auto;
  padding: 0 20px;
  line-height: 2;
  text-align: left;
  font-size: 1rem;
}

/* -- Kouka-box override for 2606 (2 categories only) -- */
main .content .safe .kouka-box h4.newdrivertitle {
  background-color: #1B9B74;
}
main .content .safe .kouka-box .newdriver {
  margin-bottom: 40px;
}

/* -- Event section h3 (colored band with multiple spans) -- */
main .content .safe h3 span {
  display: block;
  font-size: 65%;
  margin-top: 6px;
  font-weight: normal;
}

/* -- Section notes -- */
.ev-note {
  text-align: center;
  font-size: 1rem;
  margin: -10px 0 30px 0;
  color: #333;
}

/* -- Q&A orange box -- */
.qa-box {
  background-color: #F4B23E !important;
  padding: 30px !important;
  margin: 30px 0 !important;
}
.qa-box .qa-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.qa-box .qa-face {
  flex: 0 0 auto;
}
.qa-box .qa-face img {
  width: 110px !important;
  height: auto;
  margin: 0 !important;
}
.qa-box .qa-q {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  line-height: 1.5;
  text-align: left;
  width: auto;
  max-width: 700px;
  margin: 0;
  padding: 0;
}
.qa-box .qa-a {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  background-color: #1B9B74;
  padding: 14px 20px;
  border-radius: 8px;
  margin: 16px auto;
  max-width: 900px;
  line-height: 1.5;
  width: auto;
}
.qa-box .info-text {
  color: #333;
  background-color: #fff;
  padding: 20px 24px;
  border-radius: 8px;
  line-height: 2;
  text-align: left;
  margin: 10px auto 0 auto;
  width: auto !important;
  max-width: 1000px;
  font-size: 1rem;
}

/* -- Tokubetsu tenji -- */
.tokubetsu-tenji {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #FFF4DC;
  border: 2px solid #F4B23E;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto 40px auto;
  max-width: 900px;
  color: #333;
  line-height: 1.7;
}

/* -- Event Outline title image -- */
.outline-title {
  text-align: center;
  margin: 50px auto 30px auto;
}
.outline-title img {
  max-width: 500px;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* -- Outline boxes per area -- */
main .content .safe .ev-box-outline {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px;
  margin: 20px auto;
  max-width: 1200px;
  border-width: 4px;
  border-style: solid;
  background-color: #F5FFFA;
}
main .content .safe .ev-box-outline .ev-box-box {
  flex: 1 1 auto;
  padding: 0;
  margin: 0;
  width: auto;
}
main .content .safe .ev-box-outline .outline-area-title {
  flex: 0 0 180px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 20px 10px;
  border-radius: 10px;
  color: white;
  line-height: 1.5;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outline-sinai {
  border-color: #E0003C;
}
.outline-sinai .outline-area-title { background-color: #E0003C; }
.outline-hokubu {
  border-color: #31B564;
}
.outline-hokubu .outline-area-title { background-color: #31B564; }
.outline-nanbu {
  border-color: #0092E0;
}
.outline-nanbu .outline-area-title { background-color: #0092E0; }

main .content .safe .ev-box-outline .ev-box-box h6 {
  width: 100px;
  background-color: #C4E6DC;
  color: #1D9B75;
  text-align: center;
  padding: 8px;
  height: auto;
  display: block;
  margin: 6px 0;
  border-radius: 4px;
  font-weight: bold;
}
main .content .safe .ev-box-outline .ev-box-box p {
  width: auto;
  text-align: left;
  padding: 0 10px;
  line-height: 1.9;
  margin: 0 0 14px 0;
}

/* -- Chirashi download group -- */
.chirashi-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px auto 20px auto;
  padding: 0 20px;
  max-width: 1280px;
}
.chirashi-group .sanka {
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0;
  padding: 18px 10px;
}
.chirashi-group .sanka .t { font-size: 1.15rem; }
.chirashi-group .sanka .d { font-size: 0.95rem; font-weight: normal; }

/* -- Ev-box layout (image left, content right) -- */
main .content .safe .ev-box > div:first-child {
  flex: 0 0 480px;
}
main .content .safe .ev-box > div:first-child img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
main .content .safe .ev-box > div:last-child {
  flex: 1 1 auto;
}

/* -- h2.kk override -- */
h2.kk { color: #E0003C; }

/* ============================================================ */
/*  Responsive — tablet (<=1024px)                               */
/* ============================================================ */
@media screen and (max-width: 1024px) {
  .top-desc {
    font-size: 1rem;
    line-height: 1.9;
    margin: 20px 10px 30px 10px;
  }
  .voices-title { font-size: 2.2rem !important; margin: 30px 0 20px 0 !important; }
  .voices-box { gap: 14px; }
  .voice-item { flex-basis: 220px; }
  .voice-icon img { width: 100px; }
  .voice-text { font-size: 0.9rem; padding: 12px 10px; }

  .sanka-group { gap: 12px; padding: 0 10px; }
  .sanka-group .sanka { flex-basis: 280px; padding: 18px 8px; }
  .sanka-group .sanka .i { font-size: 1.2rem; }
  .sanka-group .sanka .d { font-size: 0.85rem; }
  .sanka-group .sanka .dd { font-size: 0.75rem; }

  .dialog-box { padding: 24px 16px; }
  .dialog-box .dialog-chara img { width: 100px; }
  .dialog-bubble { font-size: 0.95rem; padding: 18px 20px; }

  .headline-main { font-size: 1.3rem !important; padding: 18px 10px; }

  .two-benefits { gap: 16px; padding: 0 10px; }
  .benefit-card { flex-basis: 340px; padding: 20px; }
  .benefit-title { font-size: 1.15rem; }
  .benefit-text { font-size: 0.95rem; line-height: 1.8; }
  .benefit-memory-text { margin: 20px 10px 30px 10px; font-size: 0.95rem; line-height: 1.8; }

  .qa-box { padding: 20px !important; }
  .qa-box .qa-face img { width: 80px !important; }
  .qa-box .qa-q { font-size: 1.05rem; }
  .qa-box .qa-a { font-size: 1.05rem; }
  .qa-box .info-text { font-size: 0.95rem; padding: 14px 16px; line-height: 1.9; }

  .tokubetsu-tenji { margin: 20px 10px 30px 10px; font-size: 1rem; padding: 16px; }

  .outline-title img { max-width: 340px; }

  main .content .safe .ev-box-outline {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin: 20px 10px;
  }
  main .content .safe .ev-box-outline .outline-area-title {
    flex: 0 0 auto;
    width: 100%;
    padding: 14px 10px;
    font-size: 1.2rem;
  }
  main .content .safe .ev-box-outline .ev-box-box h6 {
    width: 110px;
    flex: 0 0 110px;
  }

  main .content .safe .ev-box > div:first-child {
    flex: 1 1 auto;
  }
  main .content .safe .ev-box > div:first-child img { width: 100%; }

  .chirashi-group { padding: 0 10px; }
  .chirashi-group .sanka { flex-basis: 300px; padding: 14px 8px; }
  .chirashi-group .sanka .t { font-size: 1rem; }
}

/* ============================================================ */
/*  Responsive — mobile (<=529px)                                */
/* ============================================================ */
@media screen and (max-width: 529px) {
  main .content .safe .topinfo-badge img { width: 150px; }
  main .content .safe .kohyo { font-size: 1.2rem; }

  .top-desc { font-size: 0.9rem; line-height: 1.8; padding: 0 12px; margin: 10px auto 24px auto; }

  .voices-title { font-size: 1.8rem !important; }
  .voices-box { gap: 10px; padding: 0 10px; }
  .voice-item { flex-basis: 100%; max-width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; }
  .voice-icon { flex: 0 0 80px; }
  .voice-icon img { width: 80px; }
  .voice-text { flex: 1 1 auto; margin-top: 0; font-size: 0.88rem; padding: 10px 12px; }

  .sanka-group { flex-direction: column; gap: 10px; }
  .sanka-group .sanka { flex-basis: auto; max-width: 100%; width: 100%; padding: 14px 10px; }

  .dialog-box { padding: 16px 10px; gap: 16px; }
  .dialog-box section { flex-direction: column !important; gap: 12px; align-items: center; }
  .dialog-box .dialog-right { flex-direction: column-reverse !important; }
  .dialog-box .dialog-chara img { width: 90px; }
  .dialog-bubble { font-size: 0.9rem; padding: 14px 16px; max-width: 100%; }
  .dialog-bubble.bubble-left::before, .dialog-bubble.bubble-left::after,
  .dialog-bubble.bubble-right::before, .dialog-bubble.bubble-right::after {
    top: auto; bottom: -18px; left: 50%; right: auto;
    border-width: 14px 12px 0 12px;
    border-color: #333 transparent transparent transparent;
    transform: translateX(-50%);
  }
  .dialog-bubble.bubble-left::after, .dialog-bubble.bubble-right::after {
    bottom: -12px;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
  }

  .headline-main { font-size: 1.1rem !important; padding: 14px 8px; line-height: 1.5; }

  .digest-movie { padding: 0 10px; margin: 20px auto 28px auto; }
  .digest-caption { font-size: 1rem; }

  .two-benefits { flex-direction: column; gap: 14px; padding: 0 10px; }
  .benefit-card { flex-basis: auto; padding: 16px 14px; }
  .benefit-title { font-size: 1.05rem; margin-bottom: 8px; }
  .benefit-text { font-size: 0.88rem; line-height: 1.7; }
  .benefit-memory-text { padding: 0 12px; font-size: 0.88rem; line-height: 1.8; margin: 14px auto 24px auto; }

  main .content .safe .ev-box > div:first-child { flex: 1 1 auto; }

  .qa-box .qa-row { flex-direction: column; gap: 10px; }
  .qa-box .qa-face img { width: 70px !important; }
  .qa-box .qa-q { font-size: 0.95rem; text-align: center; }
  .qa-box .qa-a { font-size: 0.95rem; padding: 10px 14px; }
  .qa-box .info-text { font-size: 0.85rem; padding: 12px 14px; line-height: 1.8; }

  .tokubetsu-tenji { font-size: 0.9rem; padding: 14px; margin: 14px 10px 24px 10px; }

  .outline-title img { max-width: 260px; }

  main .content .safe .ev-box-outline { padding: 14px; margin: 14px 8px; }
  main .content .safe .ev-box-outline .outline-area-title { font-size: 1rem; padding: 10px; }
  main .content .safe .ev-box-outline .ev-box-box { padding: 0; }
  main .content .safe .ev-box-outline .ev-box-box h6 {
    width: 90px; flex: 0 0 90px; font-size: 0.88rem; padding: 6px;
  }
  main .content .safe .ev-box-outline .ev-box-box p { font-size: 0.85rem !important; padding: 0 6px; line-height: 1.7; }

  .chirashi-group { flex-direction: column; gap: 10px; }
  .chirashi-group .sanka { flex-basis: auto; max-width: 100%; width: 100%; }
  .chirashi-group .sanka .t { font-size: 0.95rem; }
  .chirashi-group .sanka .d { font-size: 0.8rem; }

  main .content .safe h3 span { font-size: 60%; }
  main .content .safe h3 { font-size: 1.2rem; padding: 16px 8px; }

  main .content .safe .topinfo-note { font-size: 0.75rem; line-height: 1.5; }
}

/* ============================================================ */
/*  XD reference alignment — v2 overrides                        */
/* ============================================================ */

/* Sanka buttons: full-width stacked (one per row) */
.sanka-group {
  flex-direction: column !important;
  align-items: center;
  gap: 18px !important;
  max-width: 1000px;
  margin: 30px auto 40px auto !important;
}
.sanka-group .sanka {
  flex: 0 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 22px 20px !important;
  text-align: center;
  border-radius: 4px;
}
.sanka-group .sanka .t {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}
.sanka-group .sanka .i {
  display: block;
  font-size: 1.6rem !important;
  font-weight: bold;
  margin: 2px 0 8px 0 !important;
}
.sanka-group .sanka .d {
  display: block;
  font-size: 1.05rem !important;
  margin-top: 4px;
}
.sanka-group .sanka .dd {
  display: block;
  font-size: 0.95rem !important;
  margin-top: 4px !important;
  opacity: 1 !important;
}

/* Area-color styles (3 areas). Keep card colors: sinai=red, hokubu=green, nanbu=blue */
.sanka-group .sanka.sinai { background-color: #E0003C; }
.sanka-group .sanka.hokubu { background-color: #31B564; }
.sanka-group .sanka.nanbu { background-color: #0092E0; }
.chirashi-group .sanka.sinai { background-color: #E0003C; }
.chirashi-group .sanka.hokubu { background-color: #31B564; }
.chirashi-group .sanka.nanbu { background-color: #0092E0; }
.chirashi-group {
  flex-direction: column !important;
  align-items: center;
  max-width: 1000px;
  margin: 30px auto 20px auto;
}
.chirashi-group .sanka {
  flex: 0 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 16px 10px !important;
  border-radius: 4px;
  text-align: center;
}
.chirashi-group .sanka .t { font-size: 1.3rem !important; color: #fff; }
.chirashi-group .sanka .d { font-size: 1rem !important; color: #fff; }

/* Headline "実車＋座学教習" - plain centered (not green bar) */
main .content .safe .headline-main {
  background: none !important;
  color: #333 !important;
  font-size: 2rem !important;
  padding: 20px 10px !important;
  margin: 30px 0 20px 0 !important;
  line-height: 1.4;
}

/* Top-right nav: swap "資料ダウンロード" label is header context (leave html). */

/* Benefit cards: yellow like XD */
.benefit-card {
  border-radius: 14px !important;
  border-width: 2px !important;
}
.benefit-red,
.benefit-orange {
  background-color: #FFF799 !important;
  border-color: #E3C700 !important;
}
main .content .safe .benefit-card h3.benefit-title,
.benefit-red .benefit-title,
.benefit-orange .benefit-title {
  color: #333 !important;
  background: none !important;
  font-size: 1.3rem !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  font-family: inherit;
  text-align: left !important;
  line-height: 1.5;
}
.benefit-text { color: #333; }

/* "2大メリット" title color */
h2.kk {
  color: #E0003C !important;
  font-size: 2rem !important;
  margin: 40px 0 20px 0 !important;
}

/* Kouka band - teal header strip */
main .content .safe h3.kouka-ti {
  background-color: #B7E4E4 !important;
  color: #1D9B75 !important;
  text-align: center;
  padding: 18px 10px !important;
  margin: 40px 0 0 0 !important;
  font-size: 1.6rem !important;
  line-height: 1.5;
}
div.kouka-box {
  background-color: #B7E4E4 !important;
  padding: 30px 20px !important;
  margin: 0 0 40px 0 !important;
}

/* newdrivertitle: pill/badge style */
h4.newdrivertitle,
main .content .safe .kouka-box h4.newdrivertitle {
  display: inline-block !important;
  background-color: #1B9B74 !important;
  color: #fff !important;
  padding: 10px 40px !important;
  border-radius: 6px !important;
  font-size: 1.3rem !important;
  margin: 10px auto 20px auto !important;
  width: auto !important;
  min-width: 280px;
  text-align: center !important;
}
.kouka-box .newdriver {
  margin-bottom: 10px !important;
}
/* wrap newdriver-title in a centering block */
.kouka-box {
  text-align: center;
}
.kouka-box .newdriver > div {
  text-align: left;
}

/* Carets (before/after) smaller and cleaner */
.newdriver .hukidasi,
.newdriver .hukidasi-af {
  background-color: #fff;
}

/* Q&A boxes: Two different color variants (ride-teal and lecture-tan) */
main .content .safe .info-box.qa-box {
  background-color: #B7E4E4 !important;
  padding: 30px !important;
}
main .content .safe .info-box.qa-box.qa-tan,
main .content .safe .info-box.qa-box.qa-beige {
  background-color: #D9CE9B !important;
}
.qa-box .qa-q {
  background-color: #fff;
  color: #1D9B75 !important;
  padding: 14px 22px !important;
  border-radius: 18px;
  border: 2px solid #1D9B75;
  font-size: 1.15rem !important;
  max-width: 520px !important;
  position: relative;
  line-height: 1.5;
  text-align: left !important;
}
.qa-box.qa-tan .qa-q,
.qa-box.qa-beige .qa-q {
  color: #6A5A1A !important;
  border-color: #6A5A1A;
}
.qa-box .qa-a {
  background-color: #1D9B75 !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  padding: 14px 22px !important;
  max-width: 900px;
}
.qa-box.qa-tan .qa-a,
.qa-box.qa-beige .qa-a {
  background-color: #6A5A1A !important;
}
.qa-box .info-text {
  background-color: transparent !important;
  color: #333 !important;
  padding: 10px 20px !important;
  font-size: 0.95rem !important;
  line-height: 1.9;
  border-radius: 0;
}

/* h3 for 座学講習 - olive color; h3 for 特別展示 - teal */
main .content .safe h3.h3-zagaku {
  background-color: #A59753 !important;
}
main .content .safe h3.h3-tenji {
  background-color: #2E8B95 !important;
}

/* Event outline: grid layout (title left, data right) */
main .content .safe .ev-box-outline {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  column-gap: 30px;
  padding: 30px !important;
  margin: 20px auto !important;
  max-width: 1000px;
  background-color: #F5FFFA;
  border-width: 3px !important;
  border-style: solid;
  align-items: start;
}
main .content .safe .ev-box-outline .outline-area-title {
  background-color: #2E8B95 !important;
  color: #fff !important;
  padding: 16px 10px !important;
  border-radius: 6px !important;
  font-size: 1.15rem !important;
  text-align: center;
  align-self: start !important;
  width: auto !important;
  line-height: 1.5;
}
.outline-sinai { border-color: #2E8B95 !important; }
.outline-hokubu { border-color: #2E8B95 !important; }
.outline-nanbu { border-color: #2E8B95 !important; }

main .content .safe .ev-box-outline .ev-box-box {
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  column-gap: 16px;
  row-gap: 10px;
  width: auto !important;
  padding: 0 !important;
  text-align: left !important;
}
main .content .safe .ev-box-outline .ev-box-box h6 {
  width: 100px !important;
  padding: 6px 8px !important;
  margin: 0 !important;
  font-size: 0.9rem;
  background-color: #C4E6DC !important;
  color: #1D9B75 !important;
  border-radius: 4px;
  align-self: start;
  text-align: center;
  font-weight: bold;
  display: block !important;
  height: auto !important;
}
main .content .safe .ev-box-outline .ev-box-box p {
  width: auto !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  line-height: 1.8;
  text-align: left !important;
}

/* "カレッジ内容のご紹介" title green */
h2.event {
  color: #1B9B74 !important;
}

/* "Customer's Voices" title font */
.voices-title { font-weight: bold; }

/* Tweaks for digest movie caption */
.digest-caption { font-size: 1.05rem; }

/* h3 for 実車教習, 座学講習, 特別展示 - smaller */
main .content .safe h3 {
  font-size: 1.6rem;
  padding: 20px 10px;
}

/* Kohyo text */
main .content .safe .kohyo.hira.bold {
  font-size: 1.6rem !important;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 10px 0 20px 0;
}

/* Top info layout */
main .content .safe .topinfo {
  max-width: 900px;
  margin: 30px auto 10px auto;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
}

/* Top descr spacing */
.top-desc {
  max-width: 1000px;
  margin: 10px auto 10px auto;
  padding: 0 20px;
  line-height: 1.9;
}



@media screen and (max-width: 529px) {
  .sanka-group .sanka .t { font-size: 1.2rem; }
  .sanka-group .sanka .i { font-size: 1.2rem !important; }
  .sanka-group .sanka .d { font-size: 0.9rem !important; }
  .sanka-group .sanka .dd { font-size: 0.8rem !important; }
  main .content .safe .headline-main { font-size: 1.3rem !important; }
  h2.kk { font-size: 1.4rem !important; }
  main .content .safe h3.kouka-ti { font-size: 1.1rem !important; }
  h4.newdrivertitle,
  main .content .safe .kouka-box h4.newdrivertitle {
    font-size: 1.05rem !important;
    padding: 8px 20px !important;
    min-width: 200px;
  }
  main .content .safe .ev-box-outline {
    grid-template-columns: 1fr !important;
    row-gap: 14px;
  }
  main .content .safe .ev-box-outline .ev-box-box {
    grid-template-columns: 90px 1fr !important;
  }
  .qa-box .qa-q { font-size: 0.95rem !important; }
  .qa-box .qa-a { font-size: 0.95rem !important; }
}

/* ============================================================ */
/*  XD text color corrections — final pass                       */
/* ============================================================ */

/* toptitle: this red-on-white override was for a different (older) LP's
   headline text and does not apply to the 2611 "大好評!" banner, whose
   source PDF clearly shows dark green text (#2C6802) on pale mint
   (#EAF5ED) — i.e. the original base .toptitle colors, restored here
   since the rule above would otherwise win via source order. */
main .toptitle {
  color: #2C6802 !important;
  background-color: #EAF5ED !important;
}

/* Customer's Voices - smaller title + white voice bubbles */
.voices-title {
  font-size: 2rem !important;
}
.voice-text {
  background-color: #ffffff !important;
}
@media screen and (max-width: 1024px) {
  .voices-title { font-size: 1.6rem !important; }
}
@media screen and (max-width: 529px) {
  .voices-title { font-size: 1.3rem !important; }
}

/* Dialog bubbles: shrink to fit text (was flex: 1 1 auto — stretched full width) */
.dialog-box .dialog-bubble {
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: 680px;
}

/* Tighten the gap above "参加にはこんな2大メリットが！..." (was 40px top) */
main .content .safe h2.kk {
  margin-top: 16px !important;
}

/* "① 実車教習" h3 - area parenthetical inline with title (same size), 90分 on next line */
main .content .safe h3.h3-jissya span.h3-area {
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  margin-left: 6px;
}

/* topinfotitle "効果実感度 94% !!※" - pink/magenta per XD rgb(255,3,81) / rgb(255,0,49) */
main .content .safe .topinfo-sub .topinfotitle { color: #FF0351 !important; }
main .content .safe .topinfo-sub .topinfotitle span { color: #FF0031 !important; }

/* top-desc "クルマのプロTOYOTAと..." - teal per XD rgb(63,160,162) */
.top-desc { color: #3FA0A2; }

/* kohyo "大好評御礼。..." - black per XD rgb(0,0,0) */
main .content .safe .kohyo.hira.bold { color: #000 !important; }

/* Customer's Voices - black per XD rgb(0,0,0) */
.voices-title { color: #000 !important; }

/* Headline "実車＋座学教習..." - black per XD rgb(0,0,0) */
main .content .safe .headline-main { color: #000 !important; }

/* dialog bubble left (経営者Aさん) - dark plum per XD rgb(85,41,80) */
.dialog-bubble.bubble-left { color: #552950; }

/* hukidasi-af (After text for 社用車ドライバー / 管理者) - teal per XD rgb(34,155,165) */
.newdriver .hukidasi-af { color: #229BA5; }

/* kouka-ti band "「知識」と「運転技術」..." - white text per XD rgb(255,255,255) */
main .content .safe h3.kouka-ti {
  background-color: #2E8B95 !important;
  color: #fff !important;
}

/* 座学講習A/B の h6 (講習概要 / ポイント) - mustard per XD rgb(155,140,29) */
h3.h3-zagaku + .ev-box .ev-box-box h6 {
  color: #9B8C1D !important;
  background-color: #EFEAC9 !important;
}

/* Event Outline area titles "市内近郊エリア 開催概要" etc.
   - dark green text per XD rgb(4,74,4), no colored background */
main .content .safe .ev-box-outline .outline-area-title,
.outline-sinai .outline-area-title,
.outline-hokubu .outline-area-title,
.outline-nanbu .outline-area-title {
  background-color: transparent !important;
  color: #044A04 !important;
  text-align: left !important;
  font-size: 1.3rem !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Event Outline per-area border - use teal (matches XD outline tone) */
.outline-sinai,
.outline-hokubu,
.outline-nanbu {
  border-color: #2E8B95 !important;
}

/* "大好評御礼。2026年夏も、府内全域3会場での開催決定！" - standalone full-width line
   (moved out of .topinfo-sub so it no longer wraps next to the 94% badge) */
main .content .safe .kohyo.hira.bold {
  display: block;
  clear: both;
  text-align: center;
  max-width: 1100px;
  margin: 24px auto 10px auto !important;
  padding: 0 20px;
  font-size: 1.8rem !important;
  line-height: 1.5;
}

/* top-desc: slightly larger per request */
.top-desc {
  font-size: 1.25rem !important;
  line-height: 2;
}
@media screen and (max-width: 1024px) {
  .top-desc { font-size: 1.1rem !important; line-height: 1.9; }
  main .content .safe .kohyo.hira.bold { font-size: 1.5rem !important; }
}
@media screen and (max-width: 529px) {
  .top-desc { font-size: 1rem !important; }
  main .content .safe .kohyo.hira.bold { font-size: 1.2rem !important; }
}

/* Dialog box background: mint/teal per XD (was orange #FCC13F) */
.dialog-box {
  background-color: #9FDFE0 !important;
}

/* "参加にはこんな2大メリットが！..." - black per XD rgb(0,0,0), was red */
main .content .safe h2.kk {
  color: #000 !important;
}

/* "① 実車教習と② 座学講習とを組み合わせた 140分の集中学習です。"
   larger to match XD size */
main .content .safe p.ev-info {
  font-size: 2.4rem !important;
  line-height: 1.5;
  margin: 20px 0 30px 0 !important;
}
@media screen and (max-width: 1024px) {
  main .content .safe p.ev-info { font-size: 1.8rem !important; }
}
@media screen and (max-width: 529px) {
  main .content .safe p.ev-info { font-size: 1.35rem !important; }
}

/* 座学講習A / 座学講習B h3 - keep on one line, 50分 on the right */
main .content .safe h3.h3-zagaku {
  position: relative;
  white-space: nowrap;
  text-align: left;
  padding-left: 30px !important;
  padding-right: 80px !important;
}
main .content .safe h3.h3-zagaku span {
  display: inline !important;
  font-weight: normal !important;
  margin: 0 0 0 8px !important;
}
/* First span (エリア名) inherits the title size */
main .content .safe h3.h3-zagaku span:first-of-type {
  font-size: inherit !important;
  font-weight: inherit !important;
}
/* Last span (50分) stays smaller and is pinned to the right */
main .content .safe h3.h3-zagaku span:last-child {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  font-size: 75% !important;
}
@media screen and (max-width: 768px) {
  main .content .safe h3.h3-zagaku {
    font-size: 1.1rem !important;
    padding-left: 14px !important;
    padding-right: 64px !important;
  }
  main .content .safe h3.h3-zagaku span:last-child { font-size: 70% !important; }
}
@media screen and (max-width: 529px) {
  main .content .safe h3.h3-zagaku {
    font-size: 0.95rem !important;
    padding-right: 54px !important;
  }
  main .content .safe h3.h3-zagaku span:last-child { font-size: 65% !important; }
}

/* ============================================================ */
/*  Section-specific fixes — 2nd review pass                     */
/* ============================================================ */

/* 2大メリット: woman character on left + cards on right */
.two-benefits {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 30px !important;
  max-width: 1200px;
  margin: 20px auto 30px auto !important;
  padding: 0 20px !important;
}
.benefit-chara {
  flex: 0 0 220px;
  text-align: center;
}
.benefit-chara img {
  width: 100%;
  max-width: 220px;
  height: auto;
}
.benefit-cards {
  flex: 1 1 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.benefit-cards .benefit-card {
  flex: 1 1 300px;
}
/* Benefit text pure black (XD rgb 0,0,0) */
main .content .safe .benefit-card h3.benefit-title,
.benefit-red .benefit-title,
.benefit-orange .benefit-title,
.benefit-text {
  color: #000 !important;
}
@media screen and (max-width: 768px) {
  .two-benefits { flex-wrap: wrap !important; }
  .benefit-chara { flex: 1 1 100%; max-width: 180px; margin: 0 auto; }
  .benefit-chara img { max-width: 180px; }
}

/* Kouka-ti: larger title + extra space to prevent overlap with next h4 pill */
main .content .safe h3.kouka-ti {
  font-size: 2rem !important;
  padding: 22px 10px !important;
}
/* Space for Before/After badges that are absolutely positioned at bottom: 100%
   (sit above the bubble). Without top padding they overlap the pill label. */
.kouka-box .newdriver {
  padding-top: 36px;
  margin-bottom: 50px !important;
}
.kouka-box .newdriver:last-of-type {
  margin-bottom: 10px !important;
}
.kouka-box h4.newdrivertitle {
  margin-bottom: 10px !important;
}
/* Keep bubble spacing consistent */
.newdriver .hukidasi-af {
  margin-bottom: 10px;
}

/* Q&A: car speech-bubble answer (instead of green bar) */
main .content .safe .info-box.qa-box {
  background-color: #B7E4E4 !important;
  padding: 30px !important;
}
main .content .safe .info-box.qa-box.qa-tan {
  background-color: #D9CE9B !important;
}
.qa-box .qa-row { margin-bottom: 14px; }
.qa-box .qa-row-q {
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.qa-box .qa-row-a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 6px;
  margin-bottom: 16px;
}
.qa-box .qa-car {
  flex: 0 0 auto;
  margin: 0;
}
main .content .safe .qa-box .qa-car img {
  width: 80px !important;
  max-width: 80px !important;
  height: auto !important;
  margin: 0 !important;
}
.qa-box .qa-q,
.qa-box .qa-a,
.qa-box.qa-tan .qa-q,
.qa-box.qa-tan .qa-a,
.qa-box.qa-beige .qa-q,
.qa-box.qa-beige .qa-a {
  background-color: #fff !important;
  color: #000 !important;
  border-radius: 20px;
  border: 2px solid #229BA5 !important;
  font-size: 1.05rem !important;
  font-weight: bold;
  padding: 16px 24px !important;
  max-width: 560px !important;
  line-height: 1.6;
  margin: 0 !important;
  position: relative;
  width: auto !important;
  text-align: left !important;
}
.qa-box.qa-tan .qa-q,
.qa-box.qa-tan .qa-a,
.qa-box.qa-beige .qa-q,
.qa-box.qa-beige .qa-a {
  border-color: #A59753 !important;
}
/* Speech bubble tails */
.qa-box .qa-q::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: #fff;
  z-index: 2;
}
.qa-box .qa-q::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-right-color: #229BA5;
  z-index: 1;
}
.qa-box.qa-tan .qa-q::before { border-right-color: #A59753; }
.qa-box .qa-a::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left-color: #fff;
  z-index: 2;
}
.qa-box .qa-a::before {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left-color: #229BA5;
  z-index: 1;
}
.qa-box.qa-tan .qa-a::before { border-left-color: #A59753; }
/* info-text below becomes plain (no white box) */
.qa-box .info-text {
  background-color: transparent !important;
  color: #000 !important;
  padding: 10px 4px !important;
  border-radius: 0 !important;
  line-height: 2;
  font-size: 0.95rem !important;
  margin: 20px 0 0 0 !important;
}
@media screen and (max-width: 768px) {
  .qa-box .qa-row-a { flex-direction: row-reverse; justify-content: flex-start; }
  .qa-box .qa-q::before, .qa-box .qa-q::after,
  .qa-box .qa-a::before, .qa-box .qa-a::after { display: none; }
  main .content .safe .qa-box .qa-car img { width: 70px !important; max-width: 70px !important; }
}

/* 特別展示 text: plain centered, no bg/border */
.tokubetsu-tenji {
  background-color: transparent !important;
  border: none !important;
  font-size: 1.3rem !important;
  font-weight: bold;
  text-align: center;
  padding: 4px 10px !important;
  margin: 2px auto 10px auto !important;
  color: #000 !important;
}

/* ============================================================ */
/*  Responsive line-break helpers
    Usage in HTML:
      <br class="pc">  PC(>529px)でのみ改行、SP(≤529px)では改行しない
      <br class="sp">  SP(≤529px)でのみ改行、PCでは改行しない
      <br class="tb">  タブレット・SP(≤1024px)で改行、広いPCでは改行しない
      <br class="pc-only">  PCだけで改行、タブレット以下で改行なし
      <br>             常に改行（従来通り）
/* ============================================================ */
br.pc,
br.pc-only {
  display: inline !important;
}
br.sp,
br.tb {
  display: none !important;
}
@media screen and (max-width: 1024px) {
  br.pc-only { display: none !important; }
  br.tb { display: inline !important; }
}
@media screen and (max-width: 529px) {
  br.pc { display: none !important; }
  br.sp { display: inline !important; }
}

/* 実車教習: 2枚の写真を縦に並べる(運転中+講習車) */
main .content .safe .ev-box .ev-box-imgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 480px;
}
main .content .safe .ev-box .ev-box-imgs p {
  margin: 0;
}
main .content .safe .ev-box .ev-box-imgs img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
@media screen and (max-width: 1024px) {
  main .content .safe .ev-box .ev-box-imgs {
    flex: 1 1 auto;
  }
}

/* ============================================================ */
/*  SP-only display adjustments (≤529px)                         */
/*  PC版には影響しないよう @media (max-width: 529px) に限定        */
/* ============================================================ */
@media screen and (max-width: 529px) {
  /* (1) 効果実感度: バッジと文字を横並びにすると「90%以上」の幅が
         足りず不自然な位置で折り返してしまうため、バッジを上・文字を
         下に積む1カラム構成にして、セクション全体を中央揃えにする。 */
  /* Plain block flow + text-align:center, not flex: a column flexbox
     with align-items:center here was shrinking .topinfo-sub (and its
     h3/p children) to a mysteriously narrow content width instead of
     the full 355px available, which is what forced "90%以上!!※" to
     wrap after one or two characters. Block layout has no such
     shrink-to-fit ambiguity — width:100% always means 100%. */
  main .content .safe .topinfo {
    display: block !important;
    text-align: center;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }
  /* NOTE: a pre-existing rule "main .content .safe .topinfo > div"
     (≤1024px, width:34%) is MORE specific than a plain ".topinfo-badge"
     / ".topinfo-sub" class selector (extra "div" in the selector), so
     it was winning and squashing both to ~110px regardless of what
     was set here. Adding the "> " combinator + class matches its
     specificity exactly and, being later in the file, wins the tie. */
  main .content .safe .topinfo > .topinfo-badge {
    display: block;
    width: auto !important;
    margin: 0 auto 12px auto;
  }
  main .content .safe .topinfo-badge img {
    width: 160px !important;
    max-width: 60%;
  }
  main .content .safe .topinfo > .topinfo-sub {
    display: block;
    width: 100% !important;
  }
  main .content .safe .topinfo-sub .topinfotitle {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 !important;
    line-height: 1.3;
  }
  main .content .safe .topinfo-note {
    font-size: 0.7rem !important;
    line-height: 1.5;
    padding: 0;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    margin: 8px 0 0 0;
  }

  /* (4) ビジネスマナー吹き出し: SPでは上にキャラ・下に吹き出し
         → 吹き出しの矢印を「下向き」から「上向き」に修正 */
  .dialog-bubble.bubble-left::before,
  .dialog-bubble.bubble-right::before,
  .dialog-bubble.bubble-left::after,
  .dialog-bubble.bubble-right::after {
    top: -16px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  .dialog-bubble.bubble-left::before,
  .dialog-bubble.bubble-right::before {
    border-width: 0 14px 18px 14px !important;
    border-color: transparent transparent #333 transparent !important;
  }
  .dialog-bubble.bubble-left::after,
  .dialog-bubble.bubble-right::after {
    top: -11px !important;
    border-width: 0 12px 16px 12px !important;
    border-color: transparent transparent #fff transparent !important;
  }

  /* (6) 2大メリット カードタイトルを1行に収める */
  .benefit-title {
    font-size: 0.92rem !important;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  /* (7) kouka-ti「『知識』と『運転技術』...」2行に収める */
  main .content .safe h3.kouka-ti {
    font-size: 0.95rem !important;
    padding: 14px 6px !important;
    line-height: 1.5;
  }

  /* (8) ev-info 「140分の集中学習です。」行の文字サイズ調整 */
  main .content .safe p.ev-info {
    font-size: 1.15rem !important;
    line-height: 1.55;
  }

  /* (4) 「クルマの『動かし方』と『限界』を体験！」を1行に収める
         — 前回0.95remだったが文字が小さすぎたため少し大きく */
  main .content .safe .ev-box > div > p {
    font-size: 1.05rem !important;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  /* (3) 実車教習 h3 — タイトル縮小、括弧内さらに小さく */
  main .content .safe h3.h3-jissya {
    font-size: 1.05rem !important;
    line-height: 1.45;
    padding: 14px 8px !important;
  }
  main .content .safe h3.h3-jissya span.h3-area {
    font-size: 78% !important;
  }

  /* (5) チラシPDFバナー: 「チラシ」後でSP改行したので、行間を調整 */
  .chirashi-group .sanka .t {
    line-height: 1.35;
  }

  /* 大好評御礼: SP改行後のline-heightを整える */
  main .content .safe .kohyo.hira.bold {
    line-height: 1.5;
  }
}

/* ============================================================ */
/*  PC/tablet review - additional fixes                           */
/* ============================================================ */

/* (2) Customer's Voices: PC/tablet でのみ3アイコン・3吹き出しの縦位置揃え
       画像は幅固定・高さ自動でアスペクト比を維持
       SP(≤529px)は既存の横並びレイアウトを崩さないようスコープ外 */
@media screen and (min-width: 530px) {
  .voices-box {
    align-items: flex-start;
  }
  .voice-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .voice-icon {
    min-height: 130px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
  }
  .voice-icon img {
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain;
  }
  .voice-text {
    width: 100%;
    box-sizing: border-box;
  }
}
@media screen and (min-width: 530px) and (max-width: 1024px) {
  .voice-icon { min-height: 100px; }
  .voice-icon img {
    width: 100px !important;
    max-width: 100px !important;
  }
}

/* (3) hukidasi-af(After): 2行に収まるよう font-size/padding 調整(PC/tablet) */
@media screen and (min-width: 530px) {
  .kouka-box .newdriver .hukidasi,
  .kouka-box .newdriver .hukidasi-af {
    font-size: 0.88rem;
    line-height: 1.8;
    padding: 1.2em 1.3em;
  }
  .kouka-box .newdriver .face {
    width: 32%;
  }
}

/* (4) 実車教習: 2枚目の画像(kyoshu-car)を小さく
       最大限の特異度 + !important で他ルールを上書き */
main .content .safe .ev-box .ev-box-imgs p.kyoshu-car-wrap {
  text-align: center;
  width: 100%;
}
main .content .safe .ev-box .ev-box-imgs > p.kyoshu-car-wrap > img.kyoshu-car-img,
html body main .content .safe .ev-box .ev-box-imgs img.kyoshu-car-img {
  width: 50% !important;
  max-width: 50% !important;
  margin: 0 auto !important;
  display: block !important;
}
@media screen and (max-width: 529px) {
  main .content .safe .ev-box .ev-box-imgs > p.kyoshu-car-wrap > img.kyoshu-car-img,
  html body main .content .safe .ev-box .ev-box-imgs img.kyoshu-car-img {
    width: 60% !important;
    max-width: 60% !important;
  }
}

/* (5) 座学講習A/B h3: タイトル中央、「50分」は右寄せ(position:absolute)のまま */
main .content .safe h3.h3-zagaku {
  text-align: center !important;
}

/* 座学講習B (2つ目の h3-zagaku) の上に余白を空ける */
main .content .safe .ev-box + h3.h3-zagaku {
  margin-top: 50px !important;
}
@media screen and (max-width: 529px) {
  main .content .safe .ev-box + h3.h3-zagaku {
    margin-top: 30px !important;
  }
}

/* メールリンク: 青色+下線でリンクと分かりやすく */
main .content a[href^="mailto:"] {
  color: #0066CC !important;
  text-decoration: underline !important;
}
main .content a[href^="mailto:"]:hover {
  color: #004A99 !important;
}

/* 横スクロール(左右スワイプ)防止
   - .kouka-box / .kouka-ti などが width:100vw + 負マージンで
     フルブリード演出をしているため、モバイルで 1px 程度のはみ出しが
     発生することがある。overflow-x: hidden で吸収する */
html, body {
  overflow-x: hidden;
}

/* (6-8) A班/B班/C班/D班 の縦揃え
   親の ev-box-box は h6(100px) / p(1fr) の2列grid。
   class-times は右列(2)のみに配置して、以降のh6/pが列ずれしないようにする。
   内部はさらに2列grid(A/B が上段、C/D が下段)にして B/D の縦位置を揃える。 */
main .content .safe .ev-box-outline .ev-box-box .class-times {
  grid-column: 2;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 18px;
  row-gap: 4px;
  margin: 4px 0 14px 0;
  line-height: 1.8;
  width: auto !important;
  padding: 0 10px !important;
}
main .content .safe .ev-box-outline .ev-box-box .class-times span {
  white-space: nowrap;
  display: inline-block;
}
@media screen and (max-width: 529px) {
  main .content .safe .ev-box-outline .ev-box-box .class-times {
    grid-template-columns: 1fr;
    row-gap: 2px;
    font-size: 0.85rem;
  }
}

/* (9) お申込み完了後ブロック: 上の sanka-group と左端を揃える
       .mousikomi-div は .reasonlist 内にあるため .reasonlist 経由で指定 */
html body main .content .reasonlist .mousikomi-div {
  max-width: 1000px !important;
  margin: 30px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box;
  text-align: left !important;
}

/* 注釈リスト(ul/li)先頭は黒丸 • (disc)、左寄せ、
   フォントサイズ小さめ・行間狭め */
html body main .content .reasonlist .mousikomi-div .mousikomi-notes,
html body main .content .reasonlist ul.mousikomi-notes {
  list-style: disc !important;
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding: 0 0 0 1.2em !important;
  margin: 0 0 18px 0 !important;
  text-align: left !important;
  font-size: 0.85rem !important;
}
html body main .content .reasonlist .mousikomi-notes li,
html body main .content .reasonlist ul.mousikomi-notes li {
  line-height: 1.55 !important;
  padding-left: 0.2em !important;
  text-indent: 0 !important;
  margin: 0 0 2px 0 !important;
  text-align: left !important;
  display: list-item !important;
  list-style-type: disc !important;
  font-size: 0.85rem !important;
}
html body main .content .reasonlist .mousikomi-notes li::before {
  content: none !important;
}
html body main .content .reasonlist .mousikomi-notes li::marker {
  color: #000;
  font-size: 1em;
}

/* お問い合わせ先ブロック: 左寄せ、上に少し余白 */
html body main .content .reasonlist .mousikomi-div .contact-info {
  text-align: left !important;
  line-height: 1.6 !important;
  margin: 18px 0 0 0 !important;
  padding: 0 !important;
  font-size: 0.85rem !important;
}
@media screen and (max-width: 529px) {
  html body main .content .reasonlist .mousikomi-div {
    padding: 0 16px !important;
  }
  html body main .content .reasonlist .mousikomi-notes,
  html body main .content .reasonlist ul.mousikomi-notes {
    font-size: 0.8rem !important;
  }
  html body main .content .reasonlist .mousikomi-notes li {
    line-height: 1.5 !important;
    margin-bottom: 2px !important;
    font-size: 0.8rem !important;
  }
  html body main .content .reasonlist .mousikomi-div .contact-info {
    line-height: 1.55 !important;
    margin-top: 14px !important;
    font-size: 0.8rem !important;
  }
}

/* 効果実感度の注釈: 行間を広げる(PC/SP共通) */
main .content .safe .topinfo-note {
  line-height: 2 !important;
}

/* SP専用: top-desc を左寄せ・箱組み(幅を固定して左端を揃える) */
@media screen and (max-width: 529px) {
  main .content .safe .top-desc {
    text-align: left !important;
    max-width: 96%;
    width: 96%;
    margin: 10px auto 24px auto !important;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1.85;
  }
  /* SP時 topinfo-note の行間もしっかり空ける */
  main .content .safe .topinfo-note {
    line-height: 1.9 !important;
  }
  /* SP時 mousikomi-info の行間 */
  main .content .safe .mousikomi-info {
    line-height: 2 !important;
  }
}

/* Event Outline: widen h6 label so "お申込み期限" fits on one line */
main .content .safe .ev-box-outline .ev-box-box {
  grid-template-columns: 140px 1fr !important;
}
main .content .safe .ev-box-outline .ev-box-box h6 {
  width: 130px !important;
  padding: 6px 6px !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
  letter-spacing: 0;
}
@media screen and (max-width: 529px) {
  main .content .safe .ev-box-outline .ev-box-box {
    grid-template-columns: 120px 1fr !important;
  }
  main .content .safe .ev-box-outline .ev-box-box h6 {
    width: 110px !important;
    flex: 0 0 110px;
    font-size: 0.8rem !important;
  }
  .info-20260511 {
  font-size: 70%;margin: 0 auto;text-align: center;
}
}

/* ============================================================ */
/*  2611 additions — Safe Driving College (single-venue version) */
/* ============================================================ */

/* -- Plain section heading (black, bracketed) -- */
main .content .safe h2.section-heading-plain {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
  margin: 10px 0 30px 0;
}

/* -- Program select buttons ("選べる4つのプログラム") -- */
.program-lead {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #E0003C;
  margin: 40px 0 20px 0;
}
.program-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}
.program-btns a {
  display: block;
  background-color: #E0003C;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 18px 10px;
  border-radius: 10px;
  transition: opacity .2s;
}
.program-btns a:hover { opacity: .85; }

/* -- Single CTA apply box -- */
.cta-apply {
  max-width: 760px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}
.cta-apply a {
  display: block;
  background-color: #E0003C;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 26px 20px;
  border-radius: 14px;
}
.cta-apply .t { font-size: 1.5rem; font-weight: bold; display: block; }
.cta-apply .d { font-size: 1.1rem; display: block; margin-top: 10px; }
.cta-apply .dd { font-size: 0.95rem; display: block; margin-top: 4px; opacity: .95; }

/* -- Flyer download box (single) -- */
.cta-flyer {
  max-width: 760px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}
.cta-flyer a {
  display: block;
  background-color: #E0003C;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 20px;
  border-radius: 14px;
}
.cta-flyer .t { font-size: 1.25rem; font-weight: bold; display: block; }
.cta-flyer .d { font-size: 0.95rem; display: block; margin-top: 6px; font-weight: normal; }

/* -- Fix: ev-box-box lecture/ride content lists have a fixed 500px width with no
   percentage fallback for the ul (only a stray unused `p` selector exists), so at
   tablet widths the leftover row space after label+list is just enough to pull the
   NEXT h6 label onto the same row. Letting the list grow to fill the row prevents
   any label from ever sharing a row with another label. -- */
main .content .safe .ev-box-box > ul {
  flex-grow: 1;
}

/* -- Circle badges (dashed, 3 across) -- */
.circle-badges {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1000px;
}
.circle-badges .circle-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px dashed #60AEAF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #222;
  line-height: 1.5;
}

/* -- Benefit bullet list -- */
.benefit-list-box {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}
.benefit-list-box .benefit-list-icon { flex: 0 0 auto; }
.benefit-list-box .benefit-list-icon img { width: 200px; height: auto; }
.benefit-list-box ul {
  flex: 1 1 auto;
  line-height: 2;
  font-size: 1.05rem;
  color: #333;
}
.benefit-yellow-heading {
  display: inline-block;
  background: linear-gradient(transparent 60%, #FFD800 60%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #E0003C;
  margin: 10px auto 20px auto;
  text-align: center;
  display: block;
  width: fit-content;
}
.benefit-heading-wrap { text-align: center; }

/* -- Level (driver-level) teal banner + blocks -- */
main .content .safe h2.level-banner {
  text-align: center;
  background-color: #48A8AA;
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 20px 10px;
  margin: 40px 0 0 0;
  line-height: 1.5;
}
.level-section {
  background-color: #9FDFE0;
  padding: 40px 20px 10px 20px;
}
.level-block { margin-bottom: 50px; }
main .content .safe h3.level-title {
  color: white;
  background-color: #02AB4E;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 6px;
  max-width: 400px;
  margin: 0 auto 24px auto;
}
.level-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.level-row .level-avatar {
  flex: 0 0 auto;
  width: 110px;
}
.level-row .level-avatar img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.level-row .level-text {
  flex: 1 1 340px;
  max-width: 420px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.level-row .level-text .tag {
  display: inline-block;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 16px;
}
.level-row .level-before .tag { background-color: #A8A8A8; }
.level-row .level-after .tag { background-color: #5AC7D0; }
.level-row .level-text p {
  padding: 12px 16px 16px 16px;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #000;
}
.level-row .level-after p { color: #229BA5; font-weight: bold; }
.level-row .level-arrow {
  flex: 0 0 auto;
  font-size: 1.8rem;
  color: #888;
}

/* -- Voice grid (8 testimonials) -- */
.voice-grid {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.voice-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.voice-row .voice-avatars {
  flex: 0 0 auto;
  display: flex;
  gap: 28px;
}
.voice-row .voice-avatars img {
  /* Fixed HEIGHT (not width): these crops aren't all the same aspect
     ratio (a pointing hand needs more width than a plain bust), so
     sizing by width made some characters render smaller/more distant
     than others. Sizing by height keeps every face/shoulder at the
     same visual scale; width just follows each image's own ratio. */
  /* The avatar PNGs are now uniform 237x211 canvases with ~10px of
     white margin baked in, so a slightly larger box keeps the faces
     at the previous visual size. */
  height: 100px;
  width: auto;
  display: block;
}
.voice-bubble {
  flex: 1 1 320px;
  max-width: 400px;
  background: #fff;
  border: 2px solid #999;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
}

/* -- Combo banner with arrow -- */
.combo-arrow {
  text-align: center;
  font-size: 2rem;
  color: #888;
  margin: 20px 0;
}
.combo-banner {
  text-align: center;
  background-color: #1B9B74;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 22px 14px;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

/* -- Event outline box (single venue) -- */
.event-outline-box {
  max-width: 900px;
  margin: 20px auto 30px auto;
  padding: 30px;
  border: 3px solid #1B9B74;
  border-radius: 14px;
  background-color: #F5FFFA;
}
.event-outline-box h6 {
  display: inline-block;
  background-color: #C4E6DC;
  color: #1D9B75;
  text-align: center;
  padding: 6px 18px;
  border-radius: 4px;
  font-weight: bold;
  margin: 10px 0 6px 0;
}
.event-outline-box p {
  line-height: 1.9;
  margin: 0 0 16px 0;
  padding: 0 4px;
}
.class-times span { margin-right: 16px; display: inline-block; }

@media screen and (max-width: 1024px) {
  .program-btns a { font-size: 1.1rem; padding: 16px 10px; }
  .circle-badges .circle-badge { width: 180px; height: 180px; font-size: 1.15rem; }
  .voice-row { flex-wrap: wrap; }
  .voice-bubble { flex-basis: 260px; }
  /* Stack Before/After cards at tablet width too — a single row (avatar+card+arrow+card+avatar)
     needs ~1000px and wraps mid-row on tablets, splitting each pair across two ragged lines. */
  .level-row { flex-direction: column; gap: 10px; }
  .level-row .level-avatar { width: 90px; }
  .level-row .level-arrow { transform: rotate(90deg); }
  /* Reset the 340px flex-basis: once flex-direction flips to column,
     that basis is read as a MINIMUM HEIGHT (not width), forcing every
     Before/After box to be 340px tall and leaving empty space below
     short text. */
  .level-row .level-text { flex-basis: auto; max-width: 90%; }
}

@media screen and (max-width: 529px) {
  .section-heading-plain { font-size: 1.2rem; }
  .program-lead { font-size: 1.1rem; }
  .cta-apply .t { font-size: 1.2rem; }
  .cta-apply .d { font-size: 1rem; }
  .circle-badges { gap: 16px; }
  .circle-badges .circle-badge { width: 140px; height: 140px; font-size: 0.95rem; }
  /* Mobile: pair each avatar directly with ITS OWN bubble (avatar on
     top, its bubble right below), instead of stacking [bubble1] then
     [both avatars] then [bubble2] — which left it unclear who was
     saying which line. .voice-avatars is unwrapped with
     display:contents so img1/img2 become direct flex items that can
     be reordered next to their own bubble. Also drops the desktop
     flex-basis:320px on .voice-bubble, which — once the row becomes
     flex-direction:column — was read as a *height* basis and forced
     every bubble box to be 320px tall regardless of its text. */
  .voice-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .voice-row .voice-avatars { display: contents; }
  .voice-row .voice-avatars img {
    order: 1;
    height: 70px;
    width: auto;
    margin-bottom: 4px;
  }
  .voice-row .voice-avatars img:last-child { order: 3; }
  .voice-row > .voice-bubble:first-of-type { order: 2; margin-bottom: 18px; }
  .voice-row > .voice-bubble:last-of-type { order: 4; }
  .voice-bubble { flex: 0 0 auto; max-width: 100%; width: 100%; box-sizing: border-box; }
  .benefit-list-box { flex-direction: column; gap: 14px; padding: 0 20px; }
  .benefit-list-box .benefit-list-icon img { width: 130px; }
  .benefit-yellow-heading { font-size: 1.2rem; }
  .level-banner { font-size: 1.2rem; }
  .level-title { font-size: 1.05rem; max-width: 90%; }
  .combo-banner { font-size: 1.05rem; }
  .event-outline-box { padding: 18px; }
  .class-times span { display: block; margin: 4px 0; }
}

/* ============================================================ */
/*  2611 detail pass — color / spacing corrections               */
/* ============================================================ */

/* -- Date line: several older .kohyo rules fight over color with
   !important; force the brand green from the source design (sampled
   #2C6802, same green already used for .topinfotitle). -- */
main .content .safe .kohyo.hira.bold {
  color: #2C6802 !important;
}

/* -- "初めての方も、繰り返し受講いただいている方にも。" lead line.
   This reused the old .top-desc class, which still carries a teal
   color and margin meant for a different (now-removed) paragraph.
   Give it its own rule with the source design's purple (#9925AD)
   and clean, consistent spacing instead of patching .top-desc. -- */
.repeat-lead {
  display: block;
  text-align: center;
  max-width: 1100px;
  margin: 24px auto 10px auto;
  padding: 0 20px;
  font-size: 1.25rem;
  line-height: 2;
  color: #9925AD;
}
@media screen and (max-width: 1024px) {
  .repeat-lead { font-size: 1.1rem; margin-top: 20px; }
}
@media screen and (max-width: 529px) {
  .repeat-lead { font-size: 1rem; line-height: 1.85; text-align: left; margin: 20px auto 10px auto; }
}

/* -- Dialog bubbles: an old rule tinted 経営者Aさん's bubble text a
   muted purple (#552950); the source design uses plain black for
   both bubbles, matching bubble-right. -- */
.dialog-bubble.bubble-left {
  color: #333;
}

/* -- Section-rhythm spacing: the voices heading sat only 10px below
   the dialog box (its own margin-top), reading as cramped next to
   the 30-50px rhythm used between every other section on this page. -- */
main .content .safe h2.section-heading-plain {
  margin-top: 40px;
}

/* ============================================================ */
/*  2611 — mobile-only line-break tuning (no effect on PC/tablet) */
/* ============================================================ */
@media screen and (max-width: 529px) {
  /* qa-q bubble text is narrow enough (~247px) that a 15-character
     clause (matched to a manual <br class="sp"> break point) just
     barely overflows at the inherited 1.05rem, re-wrapping mid-word.
     Drop it slightly so the manual break points land cleanly.
     (Prefixed to out-specificity the .qa-box.qa-tan .qa-q branch of
     an existing grouped selector, which otherwise still wins on the
     tan-colored box regardless of source order.) */
  main .content .safe .qa-box .qa-q { font-size: 0.9rem !important; }
}

/* ============================================================ */
/*  2611 — second correction pass after re-checking the source PDF/XD.
      Several colors below were inherited from an OLDER LP iteration's
      leftover CSS and do not match this year's design at all. -- */

/* h3-zagaku (座学講習) must be the same teal-green as h3-jissya
   (実車教習), not the olive/mustard used by a previous year's design. */
main .content .safe h3.h3-zagaku {
  background-color: #1B9B74 !important;
}
h3.h3-zagaku + .ev-box .ev-box-box h6 {
  color: #1D9B75 !important;
  background-color: #C4E6DC !important;
}

/* Q&A boxes: the source PDF shows a single vivid orange box style for
   BOTH the 座学講習 and 実車教習 Q&A sections (no teal/tan split), with
   plain white question/answer bubbles and black text. */
main .content .safe .info-box.qa-box,
main .content .safe .info-box.qa-box.qa-tan {
  background-color: #F4B23E !important;
}
.qa-box .qa-q,
.qa-box.qa-tan .qa-q,
.qa-box .qa-a,
.qa-box.qa-tan .qa-a {
  background-color: #fff !important;
  color: #222 !important;
  border-color: #333 !important;
}

/* Benefit heading: bigger, per source PDF */
.benefit-yellow-heading {
  font-size: 1.9rem !important;
}
@media screen and (max-width: 529px) {
  .benefit-yellow-heading { font-size: 1.3rem !important; }
}

/* Space between the 座学講習 photo and the illustration below it */
main .content .safe .ev-box > div:first-child p + p {
  margin-top: 16px;
}

/* ============================================================ */
/*  2611 — top info block rebuild (date + 90% badge + purple lead)
    The source PDF shows this as ONE left-aligned block: a large date
    line, then a row of [circle badge] [effect-rate title / note /
    purple lead line, all stacked and left-aligned in that column] —
    not a centered date line followed by a separate full-width purple
    paragraph below the row, which is what this page had before. -- */

/* Date line: simple centering (both the line and its text). */
main .content .safe .kohyo.hira.bold {
  text-align: center !important;
  font-size: 2.4rem !important;
  margin: 24px auto 20px auto !important;
  max-width: 1100px !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}

/* 効果実感度 block: instead of guessing a fixed max-width (which can
   look off-center if it doesn't exactly match the content's natural
   width, and is fragile across browsers/zoom levels), let the box
   shrink-to-fit its own content (badge + text column) with
   width:fit-content, then center that box with margin:auto. This
   guarantees the block's left/right margins are always equal,
   regardless of viewport width — no pixel value to get wrong. */
/* Scoped to >529px only: below that, a dedicated grid layout (see the
   529px media query) already places badge/title/note/lead precisely,
   and this flex+fit-content rule must not override it (display:flex
   would replace that grid and make everything wrap awkwardly). */
@media screen and (min-width: 530px) {
  main .content .safe .topinfo {
    display: flex !important;
    justify-content: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 30px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
  }
}

/* 効果実感度: a bit bigger, per feedback */
main .content .safe .topinfotitle {
  font-size: 1.65em !important;
}
main .content .safe .topinfotitle span {
  font-size: 2.3em !important;
}

/* Footnote: much smaller than the surrounding text */
main .content .safe .topinfo-note {
  font-size: 0.75rem !important;
  line-height: 1.6 !important;
}

/* Purple lead line: a bit bigger */
main .content .safe .topinfo-sub .repeat-lead {
  display: block;
  text-align: left !important;
  max-width: 560px;
  margin: 14px 0 0 0 !important;
  padding: 0 !important;
  font-size: 1.3rem !important;
}

@media screen and (max-width: 1024px) {
  main .content .safe .kohyo.hira.bold { font-size: 1.8rem !important; }
  main .content .safe .topinfo-sub .repeat-lead { font-size: 1.1rem !important; max-width: none; }
}
@media screen and (max-width: 529px) {
  main .content .safe .kohyo.hira.bold { text-align: center !important; font-size: 1.3rem !important; padding: 0 15px !important; }
  main .content .safe .topinfotitle { font-size: 1.3em !important; }
  main .content .safe .topinfotitle span { font-size: 1.5em !important; }
  main .content .safe .topinfo-note { font-size: 0.7rem !important; }
  main .content .safe .topinfo-sub .repeat-lead {
    text-align: center !important;
    font-size: 1rem !important;
    max-width: 100% !important;
    margin: 12px auto 0 auto !important;
  }
}

/* "イベント内容のご紹介" — plain black per source PDF, not the green
   used by an older LP's version of this same heading class. */
h2.event {
  color: #222 !important;
}

/* combo-arrow (▼ before the "①+②140分" banner) should read at the
   same visual weight as the "+" plus mark above the ②実車教習 header. */
.combo-arrow {
  font-size: 56px !important;
  line-height: 1 !important;
}


/* ============================================================ */
/*  2026-09-29 修正指示 (data/修正/ の画像5枚)                    */
/* ============================================================ */

/* (1) 日付行「2026年11月10日(火)／デルタ自動車教習所」を太字に。
   .kohyo には元々 font-weight:bold が付いているが、Mac の Chrome では
   font-family:"Hiragino Sans" に bold(700) を指定しても太字にならない
   既知の問題があり(依頼者の PC スクリーンショットで実際に細字のまま)、
   600 を指定すると W6 で正しく太字描画される。他OSでは 600 も bold に
   マッピングされるので見た目は変わらない。同じ問題を抱える
   .hira.bold の見出し類にもまとめて適用する。 */
.hira.bold,
main .content .safe .kohyo.hira.bold {
  font-weight: 600 !important;
}

/* (2) ①座学講習のイラスト(2000x1901 のほぼ正方形)が写真と同じ幅で
   大きすぎるので、PC/SP とも幅を絞って中央に置く。
   ※ SP の `main .content .safe .ev-box img {width:100%}` より詳細度が高い。 */
main .content .safe .ev-box > div:first-child p + p img {
  width: 46%;   /* 62% でも大きいとの追加指摘で 46% (480px列で約220px) に */
  display: block;
  margin: 0 auto;
}
@media screen and (max-width: 529px) {
  main .content .safe .ev-box > div:first-child p + p img {
    width: 58%;
  }
}

/* (3) SP: 紫のリード文「初めての方も、…」の行間をもっと空ける。
   古いルール `main .content .safe .topinfo p {line-height:1em}` (≤1024px)
   が .repeat-lead の指定に詳細度で勝っていたのが原因。計測したところ
   タブレット幅(834px)でも同じく 1.0 になっていたので ≤1024px に適用。 */
@media screen and (max-width: 1024px) {
  main .content .safe .topinfo-sub .repeat-lead {
    line-height: 2 !important;
  }
}

/* (4) プログラムボタン直下の「参加お申込みフォーム」ボタンのみ、
   指示画像の「詳しくはこちら」と同じ青(実測: 上 #59A8EB / 中 #067FE3 /
   下 #005DA3、内側に白い縁取り、外側に細い濃青の縁)。
   他2箇所の .cta-apply は赤のまま。 */
.cta-apply.cta-apply-blue a {
  background: linear-gradient(to bottom, #59A8EB 0%, #1A8AE6 30%, #067FE3 60%, #005DA3 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #0A5AA8, 0 3px 6px rgba(0, 0, 0, .28);
}
.cta-apply.cta-apply-blue a:hover {
  opacity: .9;
}

/* (2b) タブレット幅ではコンテナが全幅(約794px)になるので、PC と同じ 62% だと
   まだ大きい。≤1024px は 48% に。 */
@media screen and (max-width: 1024px) and (min-width: 530px) {
  main .content .safe .ev-box > div:first-child p + p img {
    width: 48%;
  }
}

/* (5) 今回の検証で見つけた既存不具合: タブレット幅(834px / 1024px)で
   ①座学講習の「テーマ／講習概要／ポイント」の見出し(h6)が右側に流れる。
   .ev-box-box は flex-wrap で h6(130px) と ul(500px) を交互に並べており、
   コンテナが 640+140px より広いと 1 行目に「h6 + ul + 次の h6」が入って
   しまう。以前の ul {flex-grow:1} は行分割が決まった後にしか効かないので
   この幅帯では無力。h6/ul の交互構造なので 2 カラムのグリッドにすれば
   幅に関係なく必ず [見出し][本文] の行になる。PC(1440px) では ul の幅が
   従来と同じ 530px になり見た目は変わらない。≤529px は従来どおり block。 */
@media screen and (min-width: 530px) {
  main .content .safe .ev-box-box {
    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
  }
  main .content .safe .ev-box-box > h6 {
    width: auto;
  }
  main .content .safe .ev-box-box > ul {
    width: auto !important;
    min-width: 0;
  }
}

/* (6) 太字が Mac でまだ効かない場合の保険。font-weight:600 に加えて、
   macOS に実在する太字ファミリー名 "Hiragino Sans W6" を先頭に指定する
   (Chrome/Safari とも PostScript 名で解決できる)。Mac 以外では従来どおり
   後続の fallback に落ちる。 */
.hira.bold,
main .content .safe .kohyo.hira.bold {
  font-family: "Hiragino Sans W6", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif !important;
  font-weight: 600 !important;
}

/* (7) 赤いボタン(選べる4つのプログラム / 残り2つの参加お申込みフォーム)にも、
   青ボタンと同じ装飾(上明→下暗のグラデーション、白い内枠、細い外縁、影)を
   付ける。ベース色 #E0003C はそのまま。 */
.program-btns a,
.cta-apply a,
.cta-flyer a {
  background: linear-gradient(to bottom, #F2607F 0%, #E8204F 30%, #E0003C 60%, #B4002F 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #A0002A, 0 3px 6px rgba(0, 0, 0, .28);
}
/* 青は青のまま(上のルールより後に書いて上書き) */
.cta-apply.cta-apply-blue a {
  background: linear-gradient(to bottom, #59A8EB 0%, #1A8AE6 30%, #067FE3 60%, #005DA3 100%);
  box-shadow: 0 0 0 1px #0A5AA8, 0 3px 6px rgba(0, 0, 0, .28);
}

/* (8) 赤ボタン: グラデーションで全体がピンク寄りに見えたため、本体は
   元の #E0003C のベタのまま、上端の細いハイライトと下端の暗い縁だけにする。 */
.program-btns a,
.cta-apply a,
.cta-flyer a {
  background: linear-gradient(to bottom, #EA2A56 0%, #E0003C 14%, #E0003C 72%, #BE0033 100%);
}
.cta-apply.cta-apply-blue a {
  background: linear-gradient(to bottom, #59A8EB 0%, #1A8AE6 30%, #067FE3 60%, #005DA3 100%);
}

/* (9) 日付行はさらに太く: macOS の最太クラス "Hiragino Sans W8" を先頭に、
   weight 800。他OSでは 800 も bold にマッピングされる。 */
main .content .safe .kohyo.hira.bold {
  font-family: "Hiragino Sans W8", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif !important;
  font-weight: 800 !important;
}

/* (10) 追加指示: 「選べる4つのプログラム」はボタンではないので立体装飾を
   外して元のベタ赤に戻す。参加お申込みフォームは3箇所とも青に統一。 */
.program-btns a {
  background: #E0003C;
  border: 0;
  box-shadow: none;
}
.cta-apply a {
  background: linear-gradient(to bottom, #59A8EB 0%, #1A8AE6 30%, #067FE3 60%, #005DA3 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #0A5AA8, 0 3px 6px rgba(0, 0, 0, .28);
}
