.ide-kv {
  position: relative;
  overflow: hidden;
}

@media print, (min-width: 768px) {
  .ide-kv {
    height: 402px;
  }
}

.ide-kv__bg::before,
.ide-kv__bg::after {
  content: '';
  display: block;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.ide-kv__bg::before {
  background-image: url(/madori/common/images/bg_ide_kv01.webp);
}

@media print, (min-width: 768px) {
  .ide-kv__bg::before {
    left: -141.5px;
    top: -177.5px;
    width: 374.5px;
    height: 374.5px;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__bg::before {
    left: -85px;
    top: -92.5px;
    width: 208px;
    height: 208px;
  }
}

.ide-kv__bg::after {
  background-image: url(/madori/common/images/bg_ide_kv02.webp);
}

@media print, (min-width: 768px) {
  .ide-kv__bg::after {
    right: -169px;
    bottom: -203px;
    width: 414px;
    height: 414px;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__bg::after {
    right: -96px;
    bottom: -136px;
    width: 227px;
    height: 227px;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__bg.is-pc {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-kv__bg.is-sp {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-kv__tw {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    pointer-events: none;
  }
}

@media print, (min-width: 768px) {
  .ide-kv__tw__in {
    position: relative;
    width: calc(50% - 122px);
    height: 100%;
    pointer-events: auto;
  }
}

@media print, (min-width: 768px) {
  .ide-kv__hd {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__hd {
    position: relative;
    padding: 35px 0 30px;
    overflow: hidden;
  }
}

.ide-kv__hd__tt {
  position: relative;
}

@media print, (min-width: 768px) {
  .ide-kv__hd__tt {
    width: 100%;
    padding-bottom: 20px;
  }
}

.ide-kv__hd__tt__s {
  display: block;
  position: relative;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

@media print, (min-width: 768px) {
  .ide-kv__hd__tt__s {
    margin-bottom: 30px;
    padding-bottom: 33px;
    font-size: 20px;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__hd__tt__s {
    margin-bottom: 15px;
    padding-bottom: 13px;
    font-size: 15px;
    letter-spacing: 1px;
  }
}

.ide-kv__hd__tt__s::before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 1.5px;
  background: #156082;
  transform: translateX(-50%);
}

.ide-kv__hd__tt__t {
  display: block;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

@media print, (min-width: 768px) {
  .ide-kv__hd__tt__t {
    padding-left: 8px;
    font-size: 42px;
    letter-spacing: 8px;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__hd__tt__t {
    padding-left: 4px;
    font-size: 28px;
    letter-spacing: 3px;
  }
}

.ide-kv__n {
  line-height: 1.5;
}

@media print, (min-width: 768px) {
  .ide-kv__n {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    font-size: clamp(11px, calc(11px + 1 * (100vw - 1155px) / 225), 12px);
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__n {
    padding: 15px 0 20px;
    font-size: 11px;
    text-align: center;
  }
}

.ide-kv__p {
  overflow: hidden;
}

@media print, (min-width: 768px) {
  .ide-kv__p {
    position: absolute;
    right: 0;
    top: 0;
    width: calc(50% + 122px);
    height: 100%;
  }
}

@media screen and (max-width: 767px) {
  .ide-kv__p {
    position: relative;
    aspect-ratio: 750 / 420;
  }
}

.ide-kv__p img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .ide-kv__p.is-pc {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-kv__p.is-sp {
    display: none;
  }
}

.ide-toc {
  position: relative;
  background: #f3f3f3;
}

.ide-toc__ul {
  display: flex;
  flex-wrap: wrap;
}

@media print, (min-width: 768px) {
  .ide-toc__ul {
    gap: 10px;
    max-width: 1232px;
    margin: 0 auto;
    padding: 32px clamp(20px, calc(20px + 40 * (100vw - 1155px) / 225), 60px);
  }
}

@media screen and (max-width: 767px) {
  .ide-toc__ul {
    gap: 5px;
    margin: 0 25px;
    padding: 20px 0;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    transform: translateY(-50%);
    transition: background-color 350ms cubic-bezier(.215, .61, .355, 1);
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #156082;
    border-radius: 50%;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar > span {
    position: absolute;
    left: 0;
    top: -16.5px;
    width: 100%;
    height: 40px;
  }
}

.ide-toc__ul__ar > span::before,
.ide-toc__ul__ar > span::after {
  content: '';
  display: block;
  position: absolute;
  background: #156082;
  mask: url(/common/images/icon_arrow01.svg) no-repeat 0 0/contain;
  transform: rotate(90deg);
  transition: background-color 350ms cubic-bezier(.215, .61, .355, 1);
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar > span::before,
  .ide-toc__ul__ar > span::after {
    left: 50%;
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar > span::before {
    top: 0;
  }
}

@media screen and (max-width: 767px) {
  .ide-toc__ul__ar > span::before {
    right: 8px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul__ar > span::after {
    top: 25px;
  }
}

@media screen and (max-width: 767px) {
  .ide-toc__ul__ar > span::after {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul > li {
    width: calc((100% - 30px) / 4);
  }
}

@media screen and (max-width: 767px) {
  .ide-toc__ul > li {
    width: calc((100% - 5px) / 2);
  }
}

.ide-toc__ul > li a {
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
  color: inherit;
  line-height: 1.4;
  text-decoration: none;
}

@media print, (min-width: 768px) {
  .ide-toc__ul > li a {
    justify-content: center;
    height: 64px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 767px) {
  .ide-toc__ul > li a {
    height: 54px;
    padding-left: 12px;
    font-size: 13px;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul > li a:hover .ide-toc__ul__ar,
  .ide-toc__ul > li a:active .ide-toc__ul__ar {
    background: #156082;
  }
  .ide-toc__ul > li a:hover .ide-toc__ul__ar > span::before,
  .ide-toc__ul > li a:hover .ide-toc__ul__ar > span::after,
  .ide-toc__ul > li a:active .ide-toc__ul__ar > span::before,
  .ide-toc__ul > li a:active .ide-toc__ul__ar > span::after {
    background: #fff;
  }
}

@media print, (min-width: 768px) {
  .ide-toc__ul > li a.is-enterStart .ide-toc__ul__ar > span {
    animation: arrow_trans_y25_2 450ms cubic-bezier(.215, .61, .355, 1);
  }
  .ide-toc__ul > li a.is-enterStart:hover .ide-toc__ul__ar > span,
  .ide-toc__ul > li a.is-enterStart:active .ide-toc__ul__ar > span {
    animation: arrow_trans_y25_1 450ms cubic-bezier(.215, .61, .355, 1);
  }
}

.ide-body__h2 {
  border-top: 1px solid #9cbcc8;
  border-bottom: 1px solid #9cbcc8;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

@media print, (min-width: 768px) {
  .ide-body__h2 {
    max-width: 1128px;
    margin: 0 auto 64px;
    padding: 19px 0;
    font-size: 28px;
    letter-spacing: 3px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__h2 {
    margin: 0 25px 30px;
    padding: 10px 0;
    font-size: 20px;
    letter-spacing: .5px;
  }
}

.ide-body__h3 {
  position: relative;
  color: #156082;
  font-weight: 500;
  line-height: 1.5;
}

@media print, (min-width: 768px) {
  .ide-body__h3 {
    margin-bottom: 25px;
    padding-left: 36px;
    font-size: 26px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__h3 {
    margin-bottom: 20px;
    padding-left: 28px;
    font-size: 17px;
  }
}

.ide-body__h3::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  height: 1px;
  background: #156082;
}

@media print, (min-width: 768px) {
  .ide-body__h3::before {
    top: 20.5px;
    width: 20px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__h3::before {
    top: 13.5px;
    width: 16px;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm {
    display: flex;
    align-items: center;
    max-width: 1128px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sm {
    margin: 0 25px;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__c:nth-child(1) {
    flex: 52.48227;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__c:nth-child(2) {
    flex: 47.51773;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__tw {
    padding: 0 clamp(40px, calc(40px + 32 * (100vw - 1155px) / 225), 72px) 0 40px;
  }
}

.ide-body__sm__p {
  position: relative;
  overflow: hidden;
}

@media print, (min-width: 768px) {
  .ide-body__sm__p {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .1);
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sm__p {
    box-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, .1);
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__p {
    aspect-ratio: 1072 / 698;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sm__p {
    aspect-ratio: 650 / 422;
  }
}

.ide-body__sm__p img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .ide-body__sm__p.is-pc {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__p.is-sp {
    display: none;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sm__t {
    font-size: 17px;
    line-height: 2.2;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sm__t {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }
}

.ide-body__ft {
  position: relative;
  background-position: 50%;
  background-size: 66.5px 66.5px;
}

@media print, (min-width: 768px) {
  .ide-body__ft {
    margin-top: 48px;
    padding: 56px 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft {
    margin-top: 40px;
    padding: 60px 0 30px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft::before {
    content: '';
    display: block;
    position: absolute;
    right: 25px;
    top: 30px;
    width: 40px;
    height: 10px;
    background: #9c9c9c;
    mask: url(/madori/common/images/icon_ide_body_ft01.svg) no-repeat 0 0/contain;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft__uw {
    overflow-x: auto;
  }
}

.ide-body__ft__ul {
  display: flex;
}

@media print, (min-width: 768px) {
  .ide-body__ft__ul {
    gap: 48px;
    padding: 0 71px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft__ul {
    gap: 20px;
    float: left;
    padding: 0 25px 15px;
  }
}

.ide-body__ft__ul__p img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ide-body__ft__ul__t {
  font-size: 15px;
}

@media print, (min-width: 768px) {
  .ide-body__ft__ul__t {
    margin-top: 24px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft__ul__t {
    margin-top: 20px;
    line-height: 1.7;
  }
}

@media print, (min-width: 768px) {
  .ide-body__ft__ul > li {
    flex: 1;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft__ul > li {
    width: calc(100vw - 60px);
  }
}

.ide-body__ft__n {
  color: #828282;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

@media print, (min-width: 768px) {
  .ide-body__ft__n {
    margin-top: 26px;
    padding: 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__ft__n {
    margin-top: 15px;
    padding: 0 25px;
  }
}

.ide-body__it {
  display: flex;
}

@media print, (min-width: 768px) {
  .ide-body__it {
    flex-wrap: wrap;
    gap: 80px 48px;
    padding: 0 71px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__it {
    flex-direction: column;
    gap: 35px;
    margin: 0 25px;
  }
}

.ide-body__it__p img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ide-body__it__t {
  font-size: 15px;
}

@media print, (min-width: 768px) {
  .ide-body__it__t {
    margin-top: 24px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__it__t {
    margin-top: 20px;
    line-height: 1.7;
  }
}

@media print, (min-width: 768px) {
  .ide-body__it > li {
    width: calc((100% - 96px) / 3);
  }
}

.ide-body__sc {
  position: relative;
}

.ide-body__sc__a {
  position: absolute;
  left: 0;
}

@media print, (min-width: 768px) {
  .ide-body__sc__a {
    top: 104px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sc__a {
    top: 30px;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sc__in {
    max-width: 1240px;
    margin: 0 auto;
    padding: 144px clamp(20px, calc(20px + 40 * (100vw - 1155px) / 225), 60px);
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sc__in {
    padding: 50px 0;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sc:first-child .ide-body__sc__a {
    top: 48px;
  }
}

@media print, (min-width: 768px) {
  .ide-body__sc:first-child .ide-body__sc__in {
    padding-top: 88px;
  }
}

.ide-body__sc:nth-child(2n+1) .ide-body__ft {
  background-image: url(/madori/common/images/bg_ide_body_ft01.webp);
}

.ide-body__sc:nth-child(2n+2) {
  background: #f1f0ee;
}

.ide-body__sc:nth-child(2n+2) .ide-body__ft {
  background-image: url(/madori/common/images/bg_ide_body_ft02.webp);
}

@media print, (min-width: 768px) {
  .ide-body__sc2:nth-child(n+2) {
    margin-top: 104px;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__sc2:nth-child(n+2) {
    margin-top: 50px;
  }
}

@media print, (min-width: 768px) {
  .ide-body__bn {
    max-width: 800px;
    margin: 64px auto 0;
  }
}

@media screen and (max-width: 767px) {
  .ide-body__bn {
    margin: 30px 30px 0;
  }
}

.ide-body__bn a {
  display: block;
  overflow: hidden;
}

.ide-body__bn a img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(.215, .61, .355, 1);
}

@media print, (min-width: 768px) {
  .ide-body__bn a:hover img,
  .ide-body__bn a:active img {
    transform: scale(1.1);
  }
}

@media print, (min-width: 768px) {
  .ide-circ {
    padding-top: 95px;
  }
}

@media screen and (max-width: 767px) {
  .ide-circ {
    padding-top: 80px;
  }
}

@media print, (min-width: 768px) {
  .ide-cta {
    margin-top: 60px;
    padding-bottom: 120px;
  }
}

@media screen and (max-width: 767px) {
  .ide-cta {
    margin-top: 50px;
    padding-bottom: 80px;
  }
}
