.train-sec_01 {
  padding: 6rem 3rem 0;
}

/*500px以下*/
@media screen and (max-width:500px) {
.train-sec_01 {
  padding-top: 13rem;
}
}
.train-sec_01 .sec-title{
  margin-bottom: 2.4rem;
}

.media {
  width: calc(100% - 4.8rem);
  margin: 5rem auto;
  max-width: 380px;
}
.rail-panel {
  display: none;
}
.rail-panel.is-active {
  position: relative;
  top: -1px;
  display: block;
  background: var(--white);
  /*border-right: var(--border-tmp);
  border-left: var(--border-tmp);
  border-bottom: var(--border-tmp);*/
  border: var(--border-tmp);
  border-radius: 0 0 12px 12px;
  padding: 3rem 2rem;
}
.rail-tabs {
  display: flex;
  justify-content: space-between;
  position: relative;
    z-index: 2;
}
.rail-tabs button {
  padding: 8px 0;
  line-height: 1;
  background: var(--green);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 6px 6px 0 0;
  border: var(--border-tmp);
  width: 32%;
}
.rail-tabs button.is-active {
  background: var(--white);
  color: var(--black);
  border-bottom: none;
}
.area-ul {
  background: #F8F8F8;
  display: flex;
  flex-wrap: wrap;
  padding: 12px;
  gap: 8px;
  margin-bottom: 4rem;
}
.area-ul li {
  display: flex;
}
.area-ul li a {
  font-size: 1.6rem;
  color: var(--black);
  font-weight: 500;
  width: fit-content;
  display: block;
}
.area-ul li a:hover {
  color: var(--pink);
}
.area-ul li a::after {
  content: "|";
  color: var(--pink);
  padding-left: 8px;
}
.area-midashi {
  position: relative;
  left: -2rem;
  padding: 5rem 0 0;
}
.area-midashi p {
  font-size: 2.0rem;
  color: var(--white);
  font-weight: 600;
  background: var(--pink);
  padding: 6px 12px 8px;
  line-height: 1;
  width: fit-content;
}
.area-midashi_first {
  padding-top: 0;
}
.ekitan {
  max-width: 300px;
  margin: 0 auto 3rem;
  padding-top: 5rem;
}
.ekitan-title {
  font-size: 1.9rem;
  color: var(--black);
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  border-bottom: var(--border-dsd);
  padding: 0 0 10px;
}
.ekitan-main {
  max-width: 280px;
  margin: auto;
}
.ekitan-matome {
  margin: 12px auto 16px;
}
.ekitan-sub {
  margin-top: 16px;
}
.ekitanttr {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.ekitanttr:last-of-type {
  margin-bottom: 0;
}
.ekitantth {
  font-size: 1.2rem;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 2px;
  width: 60px;
  padding: 3px 0;
  font-weight: 400;
  height: fit-content;
  line-height: 1;
}
.ekitanttd {
  position: relative;
  top: -2px;
  font-size: 1.4rem;
  color: var(--black);
  font-weight: 400;
  line-height: 1.6;
  width: calc(100% - 72px);
}
.ekitan .button-02 a{
  font-size: 1.6rem;
}
.ekitan .button-02 img{
  width: 1.6rem;
}

/*バナー*/
.media-sec_03 {
    padding: 0 0 6rem;
}
