@media screen and (min-width: 768px) {
  main.top article {
    padding-top: 100vh;
  }
  main.top article section {
    position: relative;
    z-index: 1;
  }
  main.top article section.hero .video {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
  }
  main.top article section.hero .video video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.77777778vh;
    height: 56.25vw;
    min-height: 100%;
    min-width: 100%;
  }
  main.top article section.hero .question {
    padding: 100px 0 12px 0;
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0.8) 0%, rgb(51, 51, 51) 40%, rgb(51, 51, 51) 100%);
    color: #FFFFFF;
  }
  main.top article section.hero .question h2 {
    margin-bottom: 100px;
    text-align: center;
    line-height: 64px;
    font-size: 40px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.hero .question .num dl {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    line-height: 100px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.hero .question .num dl:after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: 28px;
  }
  main.top article section.hero .question .num dl.last {
    margin-bottom: 0;
  }
  main.top article section.hero .question .num dl dt, main.top article section.hero .question .num dl dd {
    height: 100%;
    position: relative;
    z-index: 1;
  }
  main.top article section.hero .question .num dl dt span, main.top article section.hero .question .num dl dd span {
    display: inline-block;
    background: #333333;
  }
  main.top article section.hero .question .num dl dt {
    font-size: 100px;
  }
  main.top article section.hero .question .num dl dt span {
    padding-right: 10px;
  }
  main.top article section.hero .question .num dl dd {
    font-size: 40px;
  }
  main.top article section.hero .question .num dl dd span {
    padding-left: 10px;
  }
  main.top article section.hero .question .num p {
    margin-top: 56px;
    text-align: right;
  }
  main.top article section.hero .question .num p small {
    font-size: 14px;
  }
  main.top article section.about_us .inner, main.top article section.message .inner {
    display: flex;
    gap: 32px;
  }
  main.top article section.about_us .left, main.top article section.about_us .right, main.top article section.message .left, main.top article section.message .right {
    width: 50%;
    position: relative;
  }
  main.top article section.about_us h2, main.top article section.message h2 {
    margin-bottom: 16px;
  }
  main.top article section.about_us h2 small, main.top article section.about_us h2 span, main.top article section.message h2 small, main.top article section.message h2 span {
    display: block;
  }
  main.top article section.about_us h2 small, main.top article section.message h2 small {
    line-height: 32px;
    font-size: 16px;
    font-family: "Jost", sans-serif;
    letter-spacing: calc(400em / 1000);
  }
  main.top article section.about_us h2 span, main.top article section.message h2 span {
    line-height: 96px;
    font-size: 72px;
    font-family: "Noto Serif JP", serif;
    letter-spacing: calc(-20em / 1000);
  }
  main.top article section.about_us p.text, main.top article section.message p.text {
    margin-bottom: 32px;
    padding: 5px 0 9px 0;
    line-height: 32px;
    font-size: 16px;
  }
  main.top article section.about_us p.text strong, main.top article section.message p.text strong {
    font-weight: bold;
  }
  main.top article section.about_us p.btn a, main.top article section.message p.btn a {
    padding-left: 72px;
    height: 96px;
    display: block;
    position: relative;
    line-height: 96px;
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    letter-spacing: calc(40em / 1000);
  }
  main.top article section.about_us p.btn a span.arrow, main.top article section.message p.btn a span.arrow {
    position: absolute;
    left: 0;
    top: calc(50% - 40px);
  }
  main.top article section.about_us {
    padding: 36px 0 380px 0;
    background: #333333;
    color: #FFFFFF;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 380px));
  }
  main.top article section.message {
    margin-top: -381px;
    padding: 380px 0 0 0;
    background: #4D0107;
    color: #FFFFFF;
    clip-path: polygon(0 0, 100% 380px, 100% 100%, 0 100%);
  }
  main.top article section.message .inner {
    margin-top: -100px;
  }
  main.top article section.message .left {
    padding-bottom: 96px;
  }
  main.top article section.message picture.representative {
    position: absolute;
    left: 32px;
    bottom: 0;
    width: 576px;
  }
  main.top article section.service {
    padding: 90px 0 0 0;
    background: #ffffff;
  }
  main.top article section.service h2 {
    margin-bottom: 64px;
    text-align: center;
    line-height: 64px;
    font-size: 50px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.service .row dl dt {
    margin-bottom: 24px;
    padding: 104px 0 0 55px;
    width: 421px;
    height: 208px;
    float: left;
    box-sizing: border-box;
    background: no-repeat center center/contain;
    background-image: url("../image/common/bg_ribbon_service_partners2.png");
    font-family: "Noto Serif JP", serif;
    color: #ffffff;
  }
  main.top article section.service .row dl dt span {
    display: block;
    line-height: 56px;
    font-size: 34px;
  }
  main.top article section.service .row dl dd {
    margin-left: 480px;
    padding: 102px 64px 16px 0;
    line-height: 32px;
    font-size: 16px;
  }
  main.top article section.service .row dl dd small {
    padding-top: 16px;
    display: block;
    font-size: 14px;
    color: #A82F3A;
  }
  main.top article section.service .row dl dd.btn {
    padding: 32px 0 0 0;
  }
  main.top article section.service .row dl dd.btn a {
    padding-left: 72px;
    height: 96px;
    display: block;
    position: relative;
    line-height: 96px;
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    color: #A82F3A;
    letter-spacing: calc(40em / 1000);
  }
  main.top article section.service .row dl dd.btn a span.arrow {
    position: absolute;
    left: 0;
    top: calc(50% - 40px);
  }
  main.top article section.news {
    padding: 89px 0 142px 64px;
    background: #ffffff;
  }
  main.top article section.news h2 {
    float: left;
    line-height: 64px;
    font-size: 50px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.news ul.list {
    margin-bottom: 30px;
    width: 736px;
    float: right;
  }
  main.top article section.news ul.list li {
    border-bottom: 1px solid #666666;
  }
  main.top article section.news ul.list li a {
    padding: 16px 55px 16px 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
  }
  main.top article section.news ul.list li a span {
    display: block;
    line-height: 32px;
  }
  main.top article section.news ul.list li a span.date {
    font-size: 14px;
    font-family: "Playfair Display", serif;
  }
  main.top article section.news ul.list li a span.title {
    font-size: 16px;
  }
  main.top article section.news ul.list li a span.arrow {
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
  }
  main.top article section.news p.more {
    clear: both;
    text-align: right;
  }
  main.top article section.news p.more a {
    padding-right: 48px;
    display: inline-block;
    position: relative;
    line-height: 32px;
    font-size: 14px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.news p.more a span.arrow {
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
  }
}
@media screen and (max-width: 767px) {
  main.top article section {
    position: relative;
    z-index: 1;
  }
  main.top article section.hero .video {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    aspect-ratio: 16/9;
  }
  main.top article section.hero .video video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.01);
    width: 177.77777778vh;
    height: 56.25vw;
    min-height: 100%;
    min-width: 100%;
  }
  main.top article section.hero .question {
    margin-top: -1px;
    padding: 56px 0 53px 0;
    background: #333333;
    color: #FFFFFF;
  }
  main.top article section.hero .question h2 {
    margin-bottom: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 24px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.hero .question .num dl {
    margin-bottom: 24px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    letter-spacing: calc(125em / 1000);
  }
  main.top article section.hero .question .num dl.last {
    margin-bottom: 0;
  }
  main.top article section.hero .question .num dl dt, main.top article section.hero .question .num dl dd {
    position: relative;
    z-index: 1;
  }
  main.top article section.hero .question .num dl.max dt {
    padding: 0;
  }
  main.top article section.hero .question .num dl dt {
    margin-bottom: 12px;
    padding: 0 8px;
    display: inline-block;
    position: relative;
    line-height: 64px;
    font-size: 39px;
  }
  main.top article section.hero .question .num dl dt:after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  main.top article section.hero .question .num dl dd {
    font-size: 26px;
  }
  main.top article section.hero .question .num p {
    margin-top: 22px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    opacity: 0.7;
  }
  main.top article section.hero .question .num p small {
    font-size: 12px;
  }
  main.top article section.about_us h2, main.top article section.message h2 {
    margin-bottom: 35px;
  }
  main.top article section.about_us h2 small, main.top article section.about_us h2 span, main.top article section.message h2 small, main.top article section.message h2 span {
    display: block;
  }
  main.top article section.about_us h2 small, main.top article section.message h2 small {
    line-height: 32px;
    font-size: 14px;
    font-family: "Jost", sans-serif;
    letter-spacing: calc(400em / 1000);
  }
  main.top article section.about_us h2 span, main.top article section.message h2 span {
    line-height: 50px;
    font-size: 42px;
    font-family: "Noto Serif JP", serif;
    letter-spacing: calc(-20em / 1000);
  }
  main.top article section.about_us p.text, main.top article section.message p.text {
    margin-bottom: 25px;
    padding: 5px 0 4px 0;
    line-height: 25px;
    font-size: 16px;
  }
  main.top article section.about_us p.btn a, main.top article section.message p.btn a {
    padding-left: 48px;
    height: 75px;
    display: block;
    position: relative;
    line-height: 75px;
    font-size: 14px;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    letter-spacing: calc(40em / 1000);
  }
  main.top article section.about_us p.btn a span.arrow, main.top article section.message p.btn a span.arrow {
    position: absolute;
    left: 0;
    top: calc(50% - 27.5px);
  }
  main.top article section.about_us {
    padding: 0 0 95px 0;
    background: #333333;
    color: #FFFFFF;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 95px));
  }
  main.top article section.about_us p.btn {
    margin-bottom: 20px;
  }
  main.top article section.message {
    margin-top: -96px;
    padding: 95px 0 0 0;
    background: #4D0107;
    color: #FFFFFF;
    clip-path: polygon(0 0, 100% 95px, 100% 100%, 0 100%);
  }
  main.top article section.message picture.representative {
    margin-top: -15px;
    display: block;
  }
  main.top article section.service {
    padding: 62px 0 0 0;
    background: #ffffff;
  }
  main.top article section.service h2 {
    margin-bottom: 39px;
    line-height: 50px;
    font-size: 34px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.service .row dl {
    margin-top: -14px;
  }
  main.top article section.service .row dl dt {
    margin-bottom: 14px;
    padding: 76px 0 0 25px;
    width: 325px;
    height: 149px;
    box-sizing: border-box;
    background: no-repeat center center/contain;
    background-image: url("../image/common/bg_ribbon_service_partners.png");
    font-family: "Noto Serif JP", serif;
    color: #ffffff;
  }
  main.top article section.service .row dl dt span, main.top article section.service .row dl dt small {
    display: block;
    line-height: 30px;
  }
  main.top article section.service .row dl dt span {
    font-size: 23px;
  }
  main.top article section.service .row dl dt small {
    font-size: 17px;
    font-weight: bold;
  }
  main.top article section.service .row dl dd {
    padding: 5px 0 4px;
    line-height: 25px;
    font-size: 16px;
  }
  main.top article section.service .row dl dd small {
    padding-top: 16px;
    display: block;
    font-size: 14px;
    color: #A82F3A;
  }
  main.top article section.service .row dl dd.btn a {
    padding-left: 48px;
    height: 75px;
    display: block;
    position: relative;
    line-height: 75px;
    font-size: 14px;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    color: #A82F3A;
    letter-spacing: calc(40em / 1000);
  }
  main.top article section.service .row dl dd.btn a span.arrow {
    position: absolute;
    left: 0;
    top: calc(50% - 27.5px);
  }
  main.top article section.news {
    padding: 42px 0 75px 0;
    background: #ffffff;
  }
  main.top article section.news h2 {
    margin-bottom: 39px;
    line-height: 50px;
    font-size: 34px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.news ul.list {
    margin-bottom: 20px;
  }
  main.top article section.news ul.list li {
    border-bottom: 1px solid #666666;
  }
  main.top article section.news ul.list li a {
    padding: 12px 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
  }
  main.top article section.news ul.list li a span {
    display: block;
    line-height: 25px;
  }
  main.top article section.news ul.list li a span.date {
    font-size: 14px;
    font-family: "Playfair Display", serif;
  }
  main.top article section.news ul.list li a span.title {
    font-size: 16px;
  }
  main.top article section.news ul.list li a span.arrow {
    display: none;
  }
  main.top article section.news p.more {
    clear: both;
    text-align: right;
  }
  main.top article section.news p.more a {
    padding-right: 48px;
    display: inline-block;
    position: relative;
    line-height: 25px;
    font-size: 14px;
    font-family: "Noto Serif JP", serif;
  }
  main.top article section.news p.more a span.arrow {
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
  }
}