.wrap {
  counter-reset: number 0;
}

.balloon2 {
  position: relative;
  display: inline-block;
  margin: 3em 0 2.5em;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  background: #ed4b5e;
  box-sizing: border-box;
  border-radius: 50px;
}

.balloon2:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border-top: 12px solid #ed4b5e;
  z-index: 2;
}

.balloon2:after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #ed4b5e;
  z-index: 1;
}

.balloon2 p {
  margin: 0;
  padding: 0 3em;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.bgwhite {
  background: #fff;
}

.contact-box {
  background: #fff;
  position: relative;
}

.contact-box::before {
  content: "";
  position: absolute;
  height: 80px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background-color: #fff;
  left: 0;
  bottom: -92px;
}

.contact-box p.fs62 {
  font-size: 62px;
  font-weight: bold;
  letter-spacing: -2px;
}

.contact-box p.fs62 span {
  color: #ed4b5e;
  font-weight: bold;
}

.contact-box p.fs36 {
  font-size: 36px;
  margin-top: 1em;
}

.contact-box p.fs20 {
  font-size: 20px;
  color: #ed4b5e;
  font-weight: bold;
}

h4.heading-24 {
  position: relative;
  padding-top: 1.5em;
  font-size: 20px;
  padding-left: 2em;
  padding-bottom: 1em;
  text-shadow: 3px 2px 1px #fafafa;
}

h4.heading-24:before {
  position: absolute;
  bottom: 0;
  left: 10px;
  z-index: -1;
  color: #d9f4ff;
  font-size: 70px;
  line-height: 1;
  content: attr(data-number);
  pointer-events: none;
  font-weight: bold;
  letter-spacing: -5px;
}

.row-parent {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 48px;
}

.row-parent .row-child {
  position: relative;
  display: flex;
  flex-flow: column;
  max-width: 48%;
  flex-basis: 48%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  margin-bottom: 20px 10px;
}

.row-parent .row-child p:last-child {
  margin-bottom: 0;
}

.unit ul {
  padding-left: 1em;
}

.entry {
  overflow: hidden;
  background: #f5f3ef;
  width: 100%;
  padding: 3em 2em;
}

.pt7em {
  padding-top: 7em;
}

.wrapcontent {
  max-width: 1214px;
  margin: 0 auto;
}

.entry h3 {
  width: 790px;
  max-width: 80%;
  text-align: center;
  font-family: "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
    游ゴシック体, "Yu Gothic", YuGothic, メイリオ, Meiryo, sans-serif;
  font-size: 2em;
  font-weight: 600;
  line-height: 1.6em;
  letter-spacing: 1px;
  color: #000000;
  margin: 0 auto 0.5em;
}

.entrybnr {
  margin: 0.5em;
  padding: 0.5em 18px 0.2em 0;
  text-align: center;
  flex: 1;
  color: #333;
}

.entrybnr p.red {
  line-height: 1.2em;
  color: #ed4b5e;
  margin-bottom: 5px;
}

.entrybnr > span {
  font-size: 60px;
  margin-bottom: 5px;
}

.entrybnr .phone-number {
  font-size: min(2.5vw, 40px);
  font-weight: bold;
  letter-spacing: -0.07em;
}

.entrybnr .time {
  margin-top: -10px;
  font-size: min(2.5vw, 14px);
  font-weight: bold;
}

.entrybnr .mailbtn a {
  color: #fff;
  background: #0500ff;
  min-width: 160px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  padding: 10px 30px;
  display: inline-block;
  min-width: 234px;
}

.entrybnr .mailbtn a div {
  display: flex;
  justify-content: end;
}

.entrybnr .mailbtn a div p.mailtext {
  line-height: 1;
  margin-bottom: 0;
  font-weight: bold;
}

.entrybnr .mailbtn a div p.mailicon {
  margin-bottom: 0;
  margin-left: 10px;
}

.entrybnr .mailbtn a div p.mailicon span {
  vertical-align: middle;
  font-size: 22px;
  font-weight: 500;
}

.entrybnr .linebtn a {
  color: #fff;
  background: #16bf16;
  min-width: 160px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  padding: 10px 30px;
  display: inline-block;
  min-width: 234px;
}

.entrybnr .linebtn a div {
  display: flex;
}

.entrybnr .linebtn a div p.linetext {
  line-height: 1;
  margin-bottom: 0;
  font-weight: bold;
}

.entrybnr .linebtn a div p.lineicon {
  margin-bottom: 0;
  margin-left: 10px;
}

.entrybnr .linebtn a div p.lineicon span {
  vertical-align: middle;
  font-size: 22px;
  font-weight: 500;
}

.entrybnr:last-child {
  padding: 0.2em 18px 0.2em 0;
}

.entry .attention {
  font-size: 16px;
  text-align: center;
}

#nayami {
  background: #79a7d9;
  padding-bottom: 3em;
  position: relative;
}

#nayami h3.nayamih3-01 {
  font-size: 40px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  letter-spacing: -1px;
  padding: 2em 1em 1em;
  line-height: 1.3;
}

#nayami .nayamiimg-01 {
  text-align: center;
  margin: 0;
}

#nayami .nayamiimg-01 img {
  width: 630px;
  height: 215px;
}

#nayami div.nayamilist {
  background: #fff;
  border-radius: 10px;
  padding: 2em 7em;
  margin-bottom: 4em;
}

#nayami div.nayamilist span {
  font-size: 34px;
  vertical-align: sub;
}

#nayami div.nayamilist p {
  font-size: 30px;
  color: #0171b7;
  font-weight: bold;
}

#nayami div.nayamilist p:last-child {
  margin-bottom: 0;
}

#nayami div.nayamilist hr {
  border-top: #0171b7 1px solid;
}

#nayami .ohayame {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: center;
  flex-wrap: wrap;
}

#nayami .nayamiimg-02 img {
  width: 274px;
  height: 200px;
  object-fit: contain;
}

#nayami .nayamih3-02 p {
  font-size: 43px;
  background: #274ea0;
  color: #fff;
  font-weight: bold;
  display: inline;
  line-height: 1.4;
}

#nayami .ohayame .ohayame-text {
  font-size: 24px;
  color: #1e3f6d;
  font-weight: bold;
  display: inline;
  line-height: 1.7;
}

#nayami::after {
  content: "";
  position: absolute;
  height: 80px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background-color: #79a7d9;
  left: 0;
  bottom: -79px;
  z-index: 1;
}

#dosen {
  padding: 9em 0 3em;
  position: relative;
  background-color: #ffffff;
}

#dosen h3 {
  text-align: center;
  font-family: "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
    游ゴシック体, "Yu Gothic", YuGothic, メイリオ, Meiryo, sans-serif;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.6em;
  color: #264575;
}

#dosen p {
  text-align: center;
  font-size: 20px;
  line-height: 40px;
}

#dosen p > span {
  font-size: 17px;
}

#dosen .comment {
  padding: 0 2em;
}

#dosen .dosenlinks {
  margin: 2em auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  counter-reset: num;
  max-width: 1100px;
}

#dosen .dosenlink {
  margin: 15px 10px;
  width: 235px;
  height: 60px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  background-color: #79a7d9;
  color: white;
  text-decoration: none;
  font-size: 23px;
  font-weight: bold;
  padding: 8px 30px;
  border-radius: 999px;
  position: relative;
  gap: 8px;
  transition: background-color 0.3s ease;
}

#dosen .dosenlink:hover {
  background-color: #5d94cb;
  /* ホバー時に少し濃く */
}

#dosen .dosenlink span {
  color: #1e3f6d;
}

#dosen .dosenlink::after {
  content: url("https://bengoshi-ichinomiya.com/rikon/img/link.png");
  /* 外部リンクアイコン */
  font-size: 14px;
  display: inline-block;
}

#reason {
  padding: 2em 2em 3em;
  background: #fbefe8;
  position: relative;
}

#reason h3 {
  text-align: center;
  font-family: "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
    游ゴシック体, "Yu Gothic", YuGothic, メイリオ, Meiryo, sans-serif;
  font-size: min(11vw, 32px);
  font-weight: bold;
  line-height: 1.6em;
  color: #264575;
}

#reason > div {
  margin: 2em auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  counter-reset: num;
  max-width: 1214px;
}

#reason > div > div {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #ed4b5e;
  padding: 2em 1em;
  text-align: center;
  width: 28%;
  height: auto;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  counter-increment: mycounter;
  margin-right: 2em;
}

#reason > div > div::before {
  position: absolute;
  left: 10%;
  top: 0;
  content: counter(mycounter, decimal-leading-zero);
  height: 30px;
  margin-left: -16px;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  color: #fff;
  width: 50px;
  background: #ed4b5e;
  font-size: 22px;
}

#reason > div > div > p.reason-attention {
  font-size: 14px;
  color: red;
  margin-bottom: 0;
}

#reason h4 {
  color: #ed4b5e;
  font-size: min(9vw, 33px);
  font-weight: bold;
  letter-spacing: -1px;
  margin-top: 15px;
}

#reason > div > div:nth-child(n + 4) {
  margin-top: 40px;
}

#reason > div > div > span {
  font-size: 50px;
  font-weight: bold;
}

#reason > div > div > p {
  font-size: 22px;
  margin-top: 15px;
}

#reason::after {
  content: "";
  position: absolute;
  height: 80px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background-color: #fbefe8;
  left: 0;
  bottom: -79px;
}

#jirei {
  padding: 6em 2em 1em;
}

#jirei h3 {
  text-align: center;
  font-family: "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
    游ゴシック体, "Yu Gothic", YuGothic, メイリオ, Meiryo, sans-serif;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.6em;
  color: #264575;
  margin-bottom: 1em;
}

#jirei p.case {
  background: #004490;
  color: #fff;
  font-weight: bold;
  padding: 15px 1em;
  font-size: 24px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

#jirei h4 {
  margin-top: 1.5em;
  font-size: 20px;
  font-weight: bold;
  color: #004490;
}

#jirei .wrap > div.unit {
  margin-left: 0;
  padding: 0 2em 2em;
  border: 1px solid #ededed;
  border-radius: 0 0 10px 10px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}

#jirei h5 {
  border-left: none;
  padding-left: 0;
  margin: 1em 0;
}

#jirei h5 img {
  width: calc(100% / 3);
  height: calc(100% / 3);
}

.cardbox {
  display: flex;
  justify-content: flex-start;
  padding: 12px;
  background: #e8eaee;
  margin-bottom: 1em;
  border-radius: 15px;
  margin-top: 2em;
}

.cardbox > div {
  background: #fafafa;
  padding: 1em;
  border-radius: 15px;
  margin-right: 1em;
}

.cardbox .kekka {
  width: 36%;
}

.cardtitle {
  border-bottom: 1px #bcbcbc solid;
  font-weight: bold;
  color: #333;
}

.kekka .coral {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0;
}

.subbox {
  width: 14%;
  text-align: center;
}

.subbox:last-child {
  margin-right: 0;
  width: 20%;
}

.subbox p:last-child {
  margin-bottom: 0;
}

.accordion-jirei {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.accordion-jirei label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* + とタイトルを両端配置 */
  padding: 15px 1em;
  background-color: #004490;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 24px;
}

.accordion-jirei label::after {
  content: "+";
  font-size: 25px;
  transition: transform 0.3s ease;
}

.accordion-jirei-content {
  max-height: 30px;
  /* 一部のみ表示 */
  overflow: hidden;
  padding: 30px 15px;
  transition: max-height 0.3s ease-out;
}

.accordion-jirei-content h4 {
  margin-top: -12px !important;
}

.accordion-jirei input[type="checkbox"] {
  display: none;
}

.accordion-jirei input[type="checkbox"]:checked + label::after {
  content: "−";
}

.accordion-jirei
  input[type="checkbox"]:checked
  + label
  + .accordion-jirei-content {
  max-height: 590px;
  /* 開いた時の高さ */
}

.accordion-jirei-content::after {
  content: "...続きを読む";
  display: block;
  color: #0078ff;
  text-align: right;
  margin-top: -25px;
  /* 下に被せる */
}

.accordion-jirei
  input[type="checkbox"]:checked
  + label
  + .accordion-jirei-content::after {
  content: "";
}

#koe {
  background: #e6eff2;
  padding: 3em 0;
}

#koe h3 {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.6em;
  color: #264575;
  margin-bottom: 1em;
}

#koe h4 {
  color: #ff5c00;
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 1.5em;
}

#koe .wrapcontent img {
  width: calc(360px / 2);
  height: calc(200px / 2);
  display: inline-block;
  margin: 2em 0px;
}

#koe .wrapcontent > div {
  display: flex;
  justify-content: center;
}

#koe .wrapcontent > div p {
  color: #1e3f70;
  font-size: 20px;
  background-color: #e6eff2;
  background-image: linear-gradient(
      90deg,
      transparent 50%,
      transparent 10%,
      #e6eff2 0%
    ),
    linear-gradient(180deg, #1e3f70 0px, transparent 1px);
  background-size: 5px 100%, 100% 2.5em;
  line-height: 2.5em;
  padding-bottom: 1px;
  background-position: 0 0, 0 2em;
  margin: 0 3em;
}

#mikata {
  background: #b3cdb8;
  padding: 3em 0;
}

#mikata h3 {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  line-height: 1.3em;
  color: #fff;
}

#mikata h4 {
  color: #2e6639;
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  margin: 1.5em 5em;
  background-color: white;
  padding: 10px 60px;
  border-radius: 16px;
  box-shadow: 0px 0px 10px 10px white;
  /* ぼかし効果 */
  white-space: nowrap;
  display: inline-block;
}

#mikata .wrapcontent {
  text-align: center;
}

#mikata .wrapcontent img {
  width: calc(360px / 2);
  height: calc(200px / 2);
  display: inline-block;
  margin: 2em 0px;
}

#mikata .wrapcontent > div {
  display: flex;
  justify-content: center;
}

#mikata .wrapcontent > div p {
  color: #696969;
  font-size: 23px;
  line-height: 1.5em;
  padding-bottom: 1px;
  background-position: 0 0, 0 2em;
  margin: 0 4em;
  text-align: center;
  font-weight: bold;
}

#mikata .wrapcontent > div ul li {
  color: #696969;
  font-size: 23px;
  line-height: 1.5em;
  padding-bottom: 1px;
  background-position: 0 0, 0 2em;
  margin: 0 4em;
  text-align: left;
  font-weight: bold;
  margin-left: 16%;
}

#flow {
  padding: 2em 0;
  background: repeating-linear-gradient(
    135deg,
    #f6f6f6,
    #f6f6f6 5px,
    #fafafa 5px,
    #fafafa 10px
  );
}

#flow h3 {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.6em;
  color: #264575;
  margin-bottom: 1em;
}

.flow-balloon {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 2em 3em;
  width: 100%;
  color: #555;
  font-size: 16px;
  background: #fff;
  border: solid 2px #84c0da;
  box-sizing: border-box;
  border-radius: 10px;
}

.flow-balloon::before {
  content: "";
  position: absolute;
  bottom: -78px;
  left: 50%;
  margin-left: -50px;
  border: 50px solid transparent;
  border-top: 30px solid #fff;
  z-index: 2;
}

.flow-balloon::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  margin-left: -50px;
  border: 50px solid transparent;
  border-top: 30px solid #84c0da;
  z-index: 1;
}

.flow-balloon .column-between p {
  margin-bottom: 0;
  width: 35%;
}

.flow-balloon img {
  width: 280px;
  height: 150px;
  object-fit: contain;
}

#flow h4 {
  background-color: #e6eff2;
  color: #1e3f6d;
  border-radius: 10px;
  padding: 12px 1em;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: left;
}

#flow h4 span {
  color: #84c0da;
  display: inline-block;
  margin-right: 1em;
  font-weight: bold;
  font-size: 16px;
  margin-top: 3px;
}

.flow-text {
  width: 60% !important;
  font-size: 20px;
  line-height: 1.5;
  margin-top: 30px;
}

.wrap > .flow-balloon:last-child::before,
.wrap > .flow-balloon:last-child::after {
  content: none;
}

.qa-1,
.reason-1 {
  max-width: 100%;
  margin-bottom: 7px;
  border: 1px solid #d6dde3;
  border-radius: 5px;
}

.qa-1 summary {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 4em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
}

.qa-1 summary::before,
.qa-1 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-1 summary::before {
  color: #75bbff;
  content: "Q";
}

.qa-1 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: "";
  transition: transform 0.5s;
  right: 1em;
  position: absolute;
}

.qa-1[open] summary::after {
  transform: rotate(225deg);
}

.qa-1[open] p {
  transform: none;
  opacity: 1;
}

.qa-1 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.3em 3em 1.5em;
  color: #333;
  transition: transform 0.5s, opacity 0.5s;
}

.qa-1 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

.qa-1 summary::-webkit-details-marker {
  /* iPhone Safari の三角アイコンを無効化 */
  display: none;
}

.bluebox {
  background-color: #e6eff2;
  padding: 2em;
  text-align: center;
}

.bluebox h4 {
  color: #1e3f6d;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.bluebox .fs20 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}

.dotbox {
  border: 1px dotted #333;
  padding: 1em;
}

/* .dotbox>p:first-child {
      width: 60%;
    } */

.dotbox p {
  font-size: 15px;
  margin-bottom: 0;
}

.dotbox p span {
  font-size: 19px;
}

.dotbox-link {
  border: 1px dotted #333;
  padding: 1em;
}

.dotbox-link > p:first-child {
  width: 60%;
}

.dotbox-link p {
  font-size: 15px;
  margin-bottom: 0;
}

.dotbox-link > p:last-child {
  margin-top: 12px;
}

.dotbox-link p span {
  font-size: 19px;
}

.mapbtn a {
  color: #fff;
  padding: 1em;
  background: #729ebc;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  display: inline-block;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.mapbtn a span {
  font-size: 21px;
}

#jirei_kaisetu {
  border: 3px solid #e3e3e3;
  padding: 1em;
  margin: 2em auto;
}

#jirei_kaisetu img {
  height: 150px;
}

#jirei_kaisetu .wrapcontent {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

#jirei_kaisetu div.text {
  padding: 0 1.5em;
  padding-top: 1.5em;
}

#jirei_kaisetu h3 {
  font-size: 1.5em;
  margin-bottom: 0;
  text-align: left;
}

#jirei_kaisetu p a {
  color: #0027ff;
  font-size: 0.9em;
}

.jirei-card-list {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.jirei-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px;
  width: calc(33.333% - 20px);
  text-decoration: none;
  color: #333;
  display: block;
  transition: 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.jirei-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border-color: #c8c8c8;
}

.jirei-tag {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #4a90e2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 3px 8px;
  letter-spacing: 0.02em;
}

.jirei-card .link-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 20px;
  color: #888;
  transition: 0.2s;
}

.jirei-card:hover .link-icon {
  color: #333;
  transform: translate(3px, -3px);
}

.jirei-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  padding: 15px 15px 0;
}

@media screen and (max-width: 767px) {
  .contact-box {
    padding: 0 1em;
  }

  .balloon2 p {
    font-size: 4.1vw;
  }

  .contact-box p.fs62 {
    font-size: 10vw;
  }

  .contact-box p.fs36 {
    font-size: 6vw;
  }

  .row-parent {
    padding: 0 5px;
    margin-bottom: 40px;
  }

  .row-parent .row-child {
    max-width: 98%;
    flex-basis: 98%;
    margin-bottom: 20px;
  }

  .entry {
    padding: 6em 1em 2em;
  }

  .entrybnr p.red {
    font-size: 6vw;
    margin-bottom: 0;
  }

  .entrybnr .phone-number {
    font-size: 11.9vw;
    white-space: nowrap;
    margin-bottom: 0;
  }

  .entry .entrybnr {
    border: none;
    padding-right: 0;
    width: 90%;
    margin: 0 auto;
  }

  .entry .entrybnr:nth-child(n + 2) {
    padding-bottom: 2em;
  }

  .entry .entrybnr > span {
    font-size: 15vw;
  }

  #nayami > div.wrap {
    margin: 0 2em;
  }

  #nayami h3.nayamih3-01 {
    font-size: 9vw;
  }

  #nayami .nayamiimg-01 {
    padding: 0 2em;
  }

  #nayami .nayamiimg-01 img {
    width: 100%;
    height: 100%;
  }

  #nayami div.nayamilist {
    padding: 2em;
  }

  #nayami div.nayamilist p {
    padding-left: 2em;
    text-indent: -0.75em;
    font-size: 5vw;
  }

  #nayami div.nayamilist span {
    font-size: 6vw;
  }

  #nayami .nayamih3-02 {
    margin-left: 0 !important;
    margin-bottom: 1em;
  }

  #nayami .nayamih3-02 p {
    font-size: 8vw;
    line-height: 1.7;
  }

  #nayami .ohayame .ohayame-text {
    display: block;
    background: none;
    color: #fff;
  }

  #nayami::after,
  #reason::after {
    visibility: visible;
  }

  #reason > div {
    display: block;
  }

  #reason > div > div {
    width: 100%;
    margin-bottom: 2em;
  }

  #jirei h4 {
    font-size: min(6vw, 32px);
  }

  #dosen .dosenlinks {
    width: 100%;
    margin: 0 auto;
  }

  #dosen .dosenlink {
    margin: 15px 6px;
    padding-right: 10px;
    width: calc(88% / 2);
    height: auto;
    font-size: min(5vw, 18px);
  }

  .cardbox {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .kekka {
    width: 100% !important;
    text-align: center;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }

  .cardbox {
    padding: 12px 12px 0;
  }

  .cardbox > div {
    width: calc(90% / 2);
    margin-bottom: 10px;
    margin-right: 0;
    padding: 0.5em;
  }

  .subbox {
    margin-right: 10px;
    padding: 10px;
  }

  .subbox:last-child {
    margin-right: 0;
  }

  .subbox p {
    font-size: 3vw;
  }

  .subbox:last-child {
    width: calc(100% / 2);
  }

  #jirei {
    padding: 6em 1em 1em;
  }

  #jirei h5 img {
    width: 100%;
    height: 100%;
  }

  .accordion-jirei-content {
    padding: 30px 15px 87px;
  }

  .accordion-jirei
    input[type="checkbox"]:checked
    + label
    + .accordion-jirei-content {
    max-height: 200vh;
  }

  .readmore {
    position: relative;
    margin: 1em auto 2em;
    padding: 0 0 20px;
  }

  .readmore label {
    position: absolute;
    display: table;
    left: 50%;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    background-color: coral;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1;
    font-weight: bold;
  }

  .readmore label::before {
    content: "さらにつづきを読む";
  }

  .readmore input[type="checkbox"]:checked ~ label::before {
    content: "元に戻す";
  }

  .readmore input[type="checkbox"] {
    display: none;
  }

  .readmore-content {
    position: relative;
    height: 50px;
    overflow: hidden;
    margin-bottom: 1em;
  }

  .readmore input[type="checkbox"]:checked ~ .readmore-content {
    height: auto;
  }

  .readmore-content::before {
    position: absolute;
    display: block;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      #fff 100%
    );
  }

  .readmore input[type="checkbox"]:checked ~ .readmore-content::before {
    display: none;
  }

  #koe {
    padding: 3em 2em;
  }

  #koe .wrapcontent > div {
    display: block;
  }

  #koe .wrapcontent img {
    width: calc(100% / 2);
    height: calc(100% / 2);
    display: block;
    margin: 1em auto;
  }

  #koe .wrapcontent > div p {
    margin: 0;
  }

  #mikata {
    padding: 3em 2em;
  }

  #mikata .wrapcontent > div {
    display: block;
  }

  #mikata .wrapcontent img {
    width: calc(100% / 2);
    height: calc(100% / 2);
    display: block;
    margin: 1em auto;
  }

  #mikata .wrapcontent > div p {
    margin: 0;
  }

  #mikata h3 {
    font-size: 2em;
  }

  #mikata h4 {
    margin: 1.5em 0;
    padding: 1em;
  }

  #flow {
    padding: 2em 1em;
  }

  #flow h3 {
    margin-bottom: 0;
  }

  .flow-balloon {
    padding: 2em 1em;
  }

  .flow-text {
    width: 100%;
  }

  .flow-balloon .column-between p {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .flow-balloon .column-between p.flow-text {
    text-align: left;
    width: 100% !important;
  }

  .dotbox > p:first-child {
    width: 100%;
  }

  .dotbox-link > p:first-child {
    width: 100%;
  }

  .mapbtn {
    text-align: center;
  }

  .qa-1 summary {
    font-size: 4.5vw;
  }

  #jirei_kaisetu img {
    height: unset;
    width: 100%;
  }

  #jirei_kaisetu .wrapcontent {
    flex-direction: column;
  }

  #jirei_kaisetu .jirei-card-list {
    flex-direction: column;
  }

  #jirei_kaisetu .jirei-card {
    width: calc(100% - 20px);
    padding-top: 0;
  }

  #jirei_kaisetu div {
    padding: 0;
    padding-top: 1.5em;
  }
}
