@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Shippori+Mincho&display=swap");
@keyframes arrow_hover {
  0% {
    background-position: right 3rem top;
  }
  30% {
    background-position: right top;
  }
  100% {
    background-position: right top;
  }
}
@media screen and (min-width: 768px) {
  main {
    padding-top: 100vh;
  }
  main .fixed_bg {
    background-image: url(../img/top/kv.jpg);
  }
  main #kv {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 76.6rem;
    padding-top: 12.1rem;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  main #kv.hide {
    opacity: 0;
    pointer-events: none;
  }
  main #kv .kv_title {
    font-family: "Shippori Mincho", serif;
    display: block;
    width: 47.1rem;
    white-space: nowrap;
    padding-bottom: 1.6rem;
    position: relative;
    font-size: 7.8rem;
    line-height: 10rem;
    font-weight: 500;
    text-shadow: 0 0 6rem rgb(65, 71, 93);
  }
  main #kv .kv_title small {
    font-size: 0.85em;
  }
  main #kv .kv_title:after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5rem;
    background-color: #4078dd;
    position: absolute;
    left: 0;
    bottom: 0;
    border-right: #fff 30.3rem solid;
    box-sizing: border-box;
  }
  main #kv .text {
    font-size: 1.8rem;
    line-height: 3.2rem;
    margin-top: 8.3rem;
  }
  main #policy {
    padding: 100vh 0 10.6rem;
    color: #fff;
    background: url("../img/bgn.png") calc(50% + 34rem) calc(100vh + 9rem)/82.6rem auto no-repeat;
  }
  main #policy .section_title .jp:after {
    border-width: 9.2rem;
    border-color: #fff;
  }
  main #policy .text {
    margin: 6.9rem 0 0;
  }
  main #policy .text strong {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-size: 2.7rem;
    line-height: 3;
  }
  main #policy .images {
    margin-top: 9.2rem;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 10rem;
  }
  main #policy .images .col {
    width: 45rem;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
  }
  main #policy .images .col img {
    display: block;
    width: 38.7rem;
  }
  main #policy .images .col .profile {
    font-family: "Shippori Mincho", serif;
    font-size: 2rem;
    line-height: 3.6rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    width: 3.6rem;
  }
  main #policy .images .col .profile .name {
    font-size: 3.6rem;
    font-weight: 500;
    margin-top: 2rem;
    letter-spacing: 0.1em;
  }
  main #policy .link_btn {
    margin: 6rem 0 0 100%;
    transform: translateX(-100%);
  }
  main #service {
    background: #fff;
    padding-top: 7.7rem;
  }
  main #service .inner_wrap {
    width: 100%;
  }
  main #service .section_title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  main #service .section_title .en, main #service .section_title .jp {
    margin-left: auto;
    margin-right: auto;
  }
  main #service .services {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2px;
    margin-top: 5rem;
  }
  main #service .services .col {
    width: calc(33.3333333333% - 1.3333333333px);
    background-color: #0e1831;
    color: #fff;
    position: relative;
    padding-bottom: 4.6rem;
    overflow: hidden;
  }
  main #service .services .col .col_inner {
    display: block;
    padding: 19.8rem 2.5rem 0;
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    position: relative;
  }
  main #service .services .col .col_inner:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    transform-origin: center;
    transition: transform 0.4s ease;
    transform: scale(1);
  }
  main #service .services .col .col_inner .copy {
    font-size: 1.8rem;
    line-height: 3.2rem;
    margin-bottom: 1.5rem;
  }
  main #service .services .col .col_inner .col_title {
    border-bottom: #c0c0c0 2px solid;
  }
  main #service .services .col .col_inner .col_title .en, main #service .services .col .col_inner .col_title .jp {
    display: block;
    line-height: 1;
  }
  main #service .services .col .col_inner .col_title .en {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Shippori Mincho", serif;
  }
  main #service .services .col .col_inner .col_title .jp {
    font-size: 3rem;
    letter-spacing: 0.1em;
    padding-bottom: 1.7rem;
    border-bottom: #4078dd 2px solid;
    width: fit-content;
    margin-bottom: -2px;
  }
  main #service .services .col .col_inner .col_title:after {
    content: "";
    display: block;
    width: 11.2rem;
    height: 0.6rem;
    position: absolute;
    right: 0;
    bottom: 2.7rem;
    background: url(../img/arrow.svg) right top/auto 100% no-repeat;
    filter: invert(1) brightness(3);
  }
  main #service .services .col .col_inner:hover {
    opacity: 1;
  }
  main #service .services .col .col_inner:hover .col_title:after {
    animation: arrow_hover 1.2s ease-out infinite;
  }
  main #service .services .col .col_inner:hover:before {
    transform: scale(1.05);
  }
  main #service .services .col .service_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0 2.5rem;
  }
  main #service .services .col .service_list li {
    display: block;
    width: calc(50% - 0.4rem);
  }
  main #service .services .col .service_list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2.7rem;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    background: #466bae;
  }
  main #service .services .col .service_list li:nth-child(n+3) {
    margin-top: 1rem;
  }
  main #service .services .col .service_list li.wide {
    width: 100%;
  }
  main #service .services .col:nth-child(1) .col_inner:before {
    background-image: url(../img/top/service1.jpg);
  }
  main #service .services .col:nth-child(2) .col_inner:before {
    background-image: url(../img/top/service2.jpg);
  }
  main #service .services .col:nth-child(3) .col_inner:before {
    background-image: url(../img/top/service3.jpg);
  }
  main #news {
    background: #fff;
    padding-top: 9.9rem;
    padding-bottom: 9.9rem;
  }
  main #news .inner_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  main #news .col:has(.section_title) {
    width: 36.6666666667%;
  }
  main #news .section_title {
    width: 23.4rem;
    margin: 0 auto;
  }
  main #news .link_btn {
    margin: 5.6rem auto 0;
    width: 23.4rem;
    height: 5.2rem;
    font-size: 1.6rem;
    padding-right: 5.4rem;
  }
  main #news .news_list {
    width: 63.3333333333%;
    border-top: #a4a4b8 1px solid;
  }
  main #news .news_list li {
    border-bottom: #a4a4b8 1px solid;
    display: block;
  }
  main #news .news_list li a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    min-height: 9rem;
    padding: 1.2rem 0;
    box-sizing: border-box;
  }
  main #news .news_list li a .date {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    color: #10335e;
    width: 11.1rem;
    min-width: 11.1rem;
  }
  main #news .news_list li a .category_list {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 2rem;
  }
  main #news .news_list li a .category_list .category {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-width: 8.6rem;
    background: #10335e;
    color: #fff;
    line-height: 1;
    font-size: 1.3rem;
    height: 2.6rem;
    border-radius: 5px;
    padding: 0 0.5em;
  }
  main #news .news_list li a .category_list .category + .category {
    margin-left: 0.4rem;
  }
  main #news .news_list li a .news_text {
    font-size: 1.6rem;
    line-height: 2.8rem;
    font-weight: normal;
  }
  main #recruitment {
    padding: 10rem 0 17rem;
    background: rgba(126, 179, 202, 0.6);
    color: #fff;
  }
  main #recruitment .recruitment-banner {
    display: block;
    width: 100%;
    margin: 5.6rem auto 0;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(1);
  }
  main #recruitment .recruitment-banner img {
    width: 100%;
  }
  main #recruitment .recruitment-banner:hover {
    transform: scale(1.01);
    opacity: 0.8;
  }
  main #recruitment .text {
    display: block;
    width: 64rem;
    margin: 6rem 0 0 auto;
  }
}
@media screen and (max-width: 767px) {
  main {
    padding-top: 100vh;
  }
  main .fixed_bg {
    background-image: url(../img/top/kv-sp.jpg);
  }
  main #kv {
    width: 100%;
    height: 100vh;
    position: relative;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  main #kv.hide {
    opacity: 0;
    pointer-events: none;
  }
  main #kv .inner_wrap {
    padding-bottom: 58px;
  }
  main #kv .kv_title {
    font-family: "Shippori Mincho", serif;
    display: block;
    width: 243px;
    white-space: nowrap;
    padding-bottom: 10px;
    position: relative;
    font-size: 39px;
    line-height: 44px;
    font-weight: 500;
    text-shadow: 0 0 15px rgb(65, 71, 93), 0 0 30px rgb(65, 71, 93);
    letter-spacing: 0;
  }
  main #kv .kv_title small {
    font-size: 0.85em;
  }
  main #kv .kv_title:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #4078dd;
    position: absolute;
    left: 0;
    bottom: 0;
    border-right: #fff 150px solid;
    box-sizing: border-box;
  }
  main #kv .text {
    margin-top: 41px;
    text-shadow: 0 0 15px rgb(65, 71, 93), 0 0 30px rgb(65, 71, 93);
  }
  main #policy {
    padding: 100vh 0 75px;
    color: #fff;
    background: url("../img/bgn.png") center 58px 92px/324px auto no-repeat;
  }
  main #policy .section_title {
    margin-bottom: 31px;
  }
  main #policy .section_title .jp:after {
    border-width: 86px;
    border-color: #fff;
  }
  main #policy .text strong {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 3;
  }
  main #policy .images {
    margin: 40px auto 0;
    width: 100%;
    max-width: 325px;
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  main #policy .images .col {
    width: 47.6923076923%;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 10px;
  }
  main #policy .images .col img {
    display: block;
    width: calc(100% - 22px);
  }
  main #policy .images .col .profile {
    font-family: "Shippori Mincho", serif;
    font-size: 9px;
    line-height: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
  }
  main #policy .images .col .profile .wm {
    white-space: pre;
    writing-mode: vertical-rl;
    display: inline-block;
  }
  main #policy .images .col .profile .name {
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
  }
  main #policy .link_btn {
    margin: 45px auto 0;
  }
  main #service {
    background: #fff;
    padding-top: 42px;
  }
  main #service .inner_wrap {
    width: 100%;
  }
  main #service .section_title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  main #service .section_title .en, main #service .section_title .jp {
    margin-left: auto;
    margin-right: auto;
  }
  main #service .services {
    width: 100%;
    margin-top: 30px;
  }
  main #service .services .col {
    width: 100%;
    background-color: #0e1831;
    color: #fff;
    position: relative;
    padding-bottom: 26px;
    overflow: hidden;
  }
  main #service .services .col .col_inner {
    display: block;
    padding: 43.4666666667% 6.6666666667% 0;
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    position: relative;
  }
  main #service .services .col .col_inner:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    transform-origin: center;
  }
  main #service .services .col .col_inner .copy {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 13px;
  }
  main #service .services .col .col_inner .col_title {
    border-bottom: #c0c0c0 2px solid;
  }
  main #service .services .col .col_inner .col_title .en, main #service .services .col .col_inner .col_title .jp {
    display: block;
    line-height: 1;
  }
  main #service .services .col .col_inner .col_title .en {
    font-size: 12px;
    margin-bottom: 8px;
    font-family: "Shippori Mincho", serif;
  }
  main #service .services .col .col_inner .col_title .jp {
    font-size: 25px;
    letter-spacing: 0.1em;
    padding-bottom: 16px;
    border-bottom: #4078dd 2px solid;
    width: fit-content;
    margin-bottom: -2px;
  }
  main #service .services .col .col_inner .col_title:after {
    content: "";
    display: block;
    width: 91px;
    height: 6px;
    position: absolute;
    right: 0;
    bottom: 22px;
    background: url(../img/arrow.svg) right top/auto 100% no-repeat;
    filter: invert(1) brightness(3);
  }
  main #service .services .col .service_list {
    width: 100%;
    box-sizing: border-box;
    padding: 0 6.6666666667%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
  }
  main #service .services .col .service_list li {
    display: block;
    width: calc(50% - 3.5px);
  }
  main #service .services .col .service_list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 23px;
    color: #fff;
    font-size: 10px;
    border-radius: 2.5px;
    background: #466bae;
  }
  main #service .services .col .service_list li.wide {
    width: 100%;
  }
  main #service .services .col:nth-child(1) .col_inner:before {
    background-image: url(../img/top/service1_sp.jpg);
  }
  main #service .services .col:nth-child(2) .col_inner:before {
    background-image: url(../img/top/service2_sp.jpg);
  }
  main #service .services .col:nth-child(3) .col_inner:before {
    background-image: url(../img/top/service3_sp.jpg);
  }
  main #news {
    background: #fff;
    padding-top: 42px;
    padding-bottom: 50px;
  }
  main #news .inner_wrap {
    padding-bottom: 80px;
  }
  main #news .col {
    position: static;
  }
  main #news .section_title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
  main #news .section_title .en, main #news .section_title .jp {
    margin-left: auto;
    margin-right: auto;
  }
  main #news .link_btn {
    position: absolute;
    font-size: 13px;
    padding-right: 14px;
    bottom: 0;
  }
  main #news .news_list {
    width: 100%;
    border-top: #9c9cb1 1px solid;
  }
  main #news .news_list li {
    border-bottom: #9c9cb1 1px solid;
    display: block;
    width: 100%;
  }
  main #news .news_list li a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    padding: 19px 0;
    box-sizing: border-box;
  }
  main #news .news_list li a .date {
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #10335e;
    width: 65px;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    left: 0;
    margin-top: 4.5px;
  }
  main #news .news_list li a .category_list {
    width: 65px;
  }
  main #news .news_list li a .category_list .category {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: #10335e;
    color: #fff;
    line-height: 1;
    font-size: 10px;
    height: 18px;
    border-radius: 2px;
    padding: 0;
    margin-top: 22px;
  }
  main #news .news_list li a .category_list .category + .category {
    margin-top: 2px;
  }
  main #news .news_list li a .news_text {
    font-size: 12px;
    line-height: 21px;
    font-weight: normal;
    width: calc(100% - 79px);
  }
  main #recruitment {
    padding: 60px 0 70px;
    background: rgba(126, 179, 202, 0.6);
    color: #fff;
  }
  main #recruitment .section_title .jp:after {
    border-color: #fff;
  }
  main #recruitment .recruitment-banner {
    display: block;
    width: 100%;
    margin-top: 28px;
  }
  main #recruitment .recruitment-banner img {
    width: 100%;
  }
  main #recruitment .text {
    margin-top: 32px;
  }
}