@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/***** PC共通パーツ *****/
:root {
    /* 色指定 */
    --basic_color: #707070;
    --basic_color_light: #707070;
    --primary_color: #001B60;
    --accent_color: #FE0000;
    --dark_color: #242429;
    --light_color: #E2E6E8;

    /* ボックスシャドウ指定 */
    --box_shadow: 0px 0px 20px 0px rgb(0 0 0 / 8%);

    /* spのコンテンツ幅調整指定 */
    --sp_inner: calc( 100% - 40px );
    --sp_inner2: calc( 100% - 60px );
}


body {
    background: #fff;
    color: var(--basic_color);
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", 'Times New Roman';
    line-height: 1.7;
    letter-spacing: 1.6;
    font-size: clamp(12px, 14px, 25px);
}

img { width: 100%; }

a {
    text-decoration: none;
    color: var(--basic_color);
    display: block;
    transition : all 0.3s ease 0s;
}
a:hover { opacity: 0.6;}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

.isAnimate {
  opacity: 1;
  animation: fadeIn 2.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

#wrapper {
    height: 100%;
    min-height: 100vh;
}

.btn-primary {
    width: 220px;
    margin: 50px auto;
    background: var(--primary_color);
    box-shadow: var(--box_shadow);
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/***************header************/
header {
    width: 100%;
    height: 60px;
    margin: auto;
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 1000;
}
.header-logo {
    width: 65px;
    position: absolute;
    left: 20px;
    top: 8px;
}
.header-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    place-items: center;
}
.header-toggle {
  position: relative;
  width: 78px;
  height: 30px;
  margin-right: 84px;
  user-select: none;
  cursor: pointer;
}
.header-toggle input[type=checkbox] {
  display: none;
}
.header-toggle span {
  position: absolute;
  top: 50%;
  transform: translate(50%,-50%);
  right: -40px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  box-shadow: var(--box_shadow);
}
.header-toggle:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  display: block;
  background: #e9e9eb;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  box-shadow:0px 0px 5px 1px #ccc inset;
}
.header-toggle:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.header-toggle.checked span {
  color: #72AECC;
  right: -25px;
}
.header-toggle.checked:before {
  background: #72AECC;
  box-shadow:0px 0px 5px 1px #5b90a8 inset;
}
.header-toggle.checked:after {
  left: 50px;
  box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
}
.header-contact a {
    background: var(--primary_color);
    color: #fff;
    padding: 10px 10px;
    margin-right: 20px;
}
#head-lang-select {
    font-size: 14px;
    padding: 11px 10px;
    margin-right: 20px;
    border: none;
    background: rgba( 255, 255, 255, 0.5 );
    border-radius: 7px;
}
/***************footer************/
footer {
    width: 100%;
}
.footer-nav {
    color: #555;
    display: flex;
    background: var(--light_color);
    text-align: center;
}
.footer-nav li {
    display: grid;
    align-items: center;
    width: 33.3%;
    position: relative;
}
.footer-nav li::before {
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    height: 100px;
    background-color: #aaa;
}
.footer-nav li:nth-child(3)::before{
    content: none;
}
.footer-nav a {
    display: inline-block;
    padding: 50px 0;
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
}
.footer-nav li span {
    font-size: 12px;
}
.footer-bottom {
    display: flex;
}
.footer-left {
    width: 64%;
}
.footer-right {
    width: 36%;
}
.footer-about {
    display: flex;
    background: #222;
    padding: 50px;
}
.footer-about-left p {
    margin-bottom: 15px;
}
.footer-about-left img {
    width: 100px;
}
.footer-about-left {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    width: 50%;
}
.footer-about-right li {
    margin-bottom: 8px;
}
.footer-about-right i {
    margin-right: 10px;
    vertical-align: bottom;
}
.footer-copy {
    background-color: #111;
    padding: 20px 50px;
}
.footer-right {
    display: flex;
    text-align: center;
}
.footer-right .title {
    font-size: 1rem;
    margin-bottom: 10px;
}
.footer-right i {
    font-size: 40px;
    margin-bottom: 10px;
}
.footer-contact,.footer-pagetop {
    width: 50%;
    display: grid;
    align-items: center;
}
.footer-contact {
    background: var(--primary_color);
    color: #fff;
}
.footer-pagetop {
    background: #555;
    color: #9C9C9C;
}

/***************fv************/
.fv {
    width: 100%;
    height: 100vh;
    background: center / cover no-repeat url("../img/fv_bg.png");
    text-align: center;
    color: #fff;
    display: grid;
    align-items: center;
    animation: fadeIn 1.5s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;
}
.fv-contents {
    width: 100%;
    height: 80vh;
    background: #E2E6E8;
    display: flex;
    overflow: hidden;
}
.fv-contents-left {
    width: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}
.fv-contents-left-main {
    width: 80%;
    margin: auto;
}
.fv-contents-right img {
    object-fit: cover;
    mix-blend-mode: multiply;
}
.contents-about {
    margin: 100px auto;
}
.contents-about h3 {
    text-align: center;
    margin-bottom: 80px;
}
.contents-about-inner {
    margin: auto;
}
.table-company {
    text-align: left;
    margin: auto;
}
.table-company th {
    width: 30%;
    font-weight: bold;
    border-right: #E2E6E8 solid 1px;
    padding: 30px;
}
.table-company td {
    padding-left: 40px;
}
.table-company iframe {
    margin: 20px auto 30px;
}
.form .table-company {
    margin: auto;
    width: 70%;
}
.form .table-company th {
    border-right: none;
    position: relative;
    width: 30%;
}
.form .table-company th::before {
    content: "必須";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary_color);
    color: #fff;
    font-weight: normal;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 20px;
}
.form .table-company input,.form .table-company textarea {
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 10;
    outline: 0;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100%;
}
.table-company textarea {
    margin: 20px auto;
}
.form .table-company input:focus {
    border: 1px solid #72AECC;
    box-shadow: 0 0 5px 0 rgba(114,174,204,1);
}
.form .btn_area {
    text-align: center;
}
.form .btn-primary {
    background: #72AECC;
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.7rem;
    transition : all 0.3s ease 0s;
}
.form .btn-primary:hover {
    opacity: 0.5;
}

/* faq */
.accordion {
    margin: 3em auto 100px;
    max-width: 70vw;
}
.toggle {
    display: none;
}
.option {
    position: relative;
    margin-bottom: 1em;
}
.title-fq,.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.5s;
}
.title-fq {
    border-bottom: solid 1px #ccc;
    padding: 1.5em 1em;
    display: block;
    font-weight: bold;
    box-sizing: border-box;
}
.title-fq::after,.title-fq::before {
    content: "";
    position: absolute;
    right: 1.25em;
    top: 50%;
    width: 2px;
    height: 0.75em;
    background-color: #999;
    transition: all 0.5s;
}
.title-fq::after {
    transform: rotate(90deg);
}
.content {
    max-height: 0;
    overflow: hidden;
}
.content p {
    margin: 0;
    padding: 0.5em 1em 1em;
    font-size: 0.9em;
    line-height: 2;
}
.toggle:checked + .title-fq + .content {
    max-height: 500px;
    transition: all 2.5s;
}
.toggle:checked + .title-fq::before {
    transform: rotate(90deg) !important;
}

h1 {
    font-size: 4rem;
    font-family: 'Times New Roman';
    animation: slideIn 2.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
h2 {
    font-size: clamp(2rem, 2.5rem, 3rem);
    line-height: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}
h2 span {
    font-size: 18px;
}

/****** top ******/
.top-contents1,.top-contents2,.top-contents3,.top-contents4 {
    position: relative;
    width: 100%;
    height: 100vh;
}
h3 {
    font-family: 'Times New Roman';
    font-size: clamp(2rem, 2.3rem, 3rem);
    font-weight: bold;
    margin: 80px auto 60px;
    position: relative;
    color: #555;
    text-align: center;
}
h3::before {
    content: "";
    width: 60px;
    height: 5px;
    background: #ccc;
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 5px;
}
.top-contents1 h3 {
    margin: 50px auto 60px;
}
.top-contents1 h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: solid 1px #ccc;
    padding-bottom: 5px;
}
.top-contents1 li {
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}
.top-contents1 li::before {
    position: absolute;
    left: 0px;
    top: -30px;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.7rem;
    color: #ccc;
    font-family: 'Times New Roman';
}
.top-contents1 li:nth-child(3) { margin-bottom: 0; }
.top-contents1 li:nth-child(1)::before{ content: "1"; }
.top-contents1 li:nth-child(2)::before{ content: "2";}
.top-contents1 li:nth-child(3)::before{ content: "3"; }
.top-contents1 {
    background: center / cover no-repeat url("../img/top-contents1.png");
}
.top-contents2 {
    background: center / cover no-repeat url("../img/top-contents2.png");
}
.top-contents3 {
    background: center / cover no-repeat url("../img/top-contents3.png");
}

.top-contents4 h3 {
    margin: 50px auto 60px;
}
.top-contents4 h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: solid 1px #ccc;
    padding-bottom: 5px;
}
.top-contents4 li {
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
    padding-right: 20px;
    width: calc( 100% / 3 );
}
.top-contents4 li::before {
    position: absolute;
    left: 0px;
    top: -15px;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.7rem;
    color: #ccc;
    font-family: 'Times New Roman';
}
.top-contents4 .flow-title {
    width: 100%;
    height: 60px;
    font-size: 1rem;
    font-weight: bold;
    border-bottom: solid 1px #ccc;
}
.top-contents4 .flow-priod {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.top-contents4 .flow-memo {
    padding: 10px;
    border: solid 1px #ccc;
}

li.flow-no-1:nth-child(1)::before { content: "1"; }
li.flow-no-1:nth-child(2)::before { content: "2"; }
li.flow-no-1:nth-child(3)::before { content: "3"; }

li.flow-no-2:nth-child(1)::before { content: "4"; }
li.flow-no-2:nth-child(2)::before { content: "5"; }
li.flow-no-2:nth-child(3)::before { content: "6"; }

li.flow-no-3:nth-child(1)::before { content: "7"; }
li.flow-no-3:nth-child(2)::before { content: "8"; }
li.flow-no-3:nth-child(3)::before { content: "9"; }

.top-contents4 {
    background: center / cover no-repeat url("../img/top-contents2.png");
}
.top-contents4-main ul {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.top-contents1-main,.top-contents2-main,.top-contents3-main,.top-contents4-main {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background:rgba(255,255,255,0.8);
    padding: 50px;
    width: 36vw;
    box-shadow: var(--box_shadow);
    height: 60vh;
    opacity: 0;
    overflow-y: scroll;
}
.top-contents1-main,.top-contents2-main,.top-contents3-main p {
    text-align: left;
}
.top-contents1-main {
    background:rgba(255,255,255,1);
    width: 70vw;
    right: 50%;
    transform: translate(50%,-50%);
}
.top-contents2-main {
    right: 7vw;
}
.top-contents3-main {
    left: 7vw;
}
.top-contents4-main {
    background: rgba(255, 255, 255, 1);
    width: 70vw;
    right: 50%;
    transform: translate(50%, -50%);
}

.txt-hide {
    display: none;
    margin-top: 30px;
}
.more {
    width: 120px;
    margin: 30px auto 0;
    display: block;
    background-color: var(--primary_color);
    color: #fff;
    padding:10px 15px;
    border: none;
    outline: 0;
    transition: .5s;
    -erbkit-transition: .5s;
}
.more::after {
    content: "READ MORE";
    transition: .2s;
    -erbkit-transition: .2s;
}

.more.on-click::after{
    content: "CLOSE";
}

.top_news {
    height: auto;
    width: 100%;
    display: flex;
    margin: 80px auto;
}
.news_title {
    width: 60%;
    background: #455E96;
    display: grid;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
.news_title span {
    font-size: 12px;
}
.news_about {
    padding: 0 80px 0;
}
.news_about li a {
    display: flex;
    border-bottom: solid 1px #ededed;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.news_about li:last-child a {
    border-bottom: none;
}
.news_about_left {
    margin-right: 20px;
}
.news_about_left .day {
    color: #bbb;
    margin-bottom: 10px;
}
.news_about_left .tag {
    color: #fff;
    background: #555;
    font-size: 12px;
    text-align: center;
    padding: 5px 0;
}
.news_about_title {
    margin-bottom: 5px;
    line-height: 1.7;
    font-weight: bold;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news_about_text {
    color: #bbb;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.sp {
    display: none;
}

/******************** sp ********************/
@media screen and (max-width: 960px) {
    body {
        font-size: clamp(12px, 14px, 25px);
    }
    #wrapper {
        height: 100%;
        min-height: 100vh;
        position: relative;
        box-sizing: border-box;
    }
    header {
        height: 50px;
    }
    .header-logo {
        width: 40px;
        left: 10px;
    }
    .header-toggle {
        margin-right: 70px;
        position: relative;
        width: 58px;
        height: 28px;
    }
    .header-toggle:after {
        width: 22px;
        height: 22px;
    }
    .header-toggle.checked:after {
        left: 32px;
    }
    .header-toggle span {
        font-size: 12px;
        right: -33px;
    }
    .header-contact a {
        font-size: 12px;
        margin-right: 8px;
        padding: 10px 15px;
    }
    .herder-logo {
        width: 55px;
        left: 10px;
    }
    .footer-about {
        padding: 30px;
    }
    .footer-about-left {
        width: 40%;
        display: grid;
        align-items: center;
    }
    .footer-about-left p {
        font-size: 14px;
        line-height: 20px;
    }
    .footer-about-left img {
        width: 70px;
    }
    .footer-about-right i {
        font-size: 20px;
    }
    .footer-contact, .footer-pagetop {
        padding: 15px 0;
    }
    .footer-right .title {
        font-size: 0.8rem;
    }
    .footer-copy {
        text-align: center;
        padding: 20px;
    }
    .top-contents1-main, .top-contents2-main {
        width: 76%;
        right: 50%;
        transform: translate(50%,-50%);
    }
    .top-contents3-main {
        width: 70%;
        left: 50%;
        transform: translate(-50%,-50%);
    }


    .top-contents4-main ul {
        width: 100%;
        display: block;
        justify-content: center;
        padding: 0;
        list-style: none;
    }

    .top-contents4 li {
        width: 80%;
    }

    .news_title {
        width: 100%;
    }
    .contents-about-inner {
        width: 100%;
    }
    .fv-contents {
        width: auto;
        height: 30vh;
        padding: 80px 30px 50px;
        background: center / cover no-repeat url("../img/fv_bg2.jpg") #f5f8f9;
        background-blend-mode:multiply;
        color: #555;
        line-height: 2;
        display: grid;
        align-items: center;
        text-align: center;
    }
    .fv-contents-left {
        display: inline;
        padding: 0;
    }
    .fv-contents-right {
        display: none;
    }
    .fv-contents-left-main {
        width: 100%;
    }

}

@media screen and (max-width: 520px) {
    .pc { display: none !important;}
    .sp { display: block !important;}
    h2 {
        font-size: clamp(1rem, 2rem, 3rem);
    }

    h3 {
        margin: 0 auto 60px !important;
        font-size: 1.5rem;
    }
    .top-contents1 h3 {
        margin: 0 auto 60px;
    }
    .footer-nav li::before {
        height: 50px;
    }
    .footer-nav li span {
        font-weight: normal;
    }
    .footer-nav a {
        font-size: 18px;
        padding: 20px 0;
        line-height: 24px;
    }
    .footer-bottom {
        display: block;
    }
    .footer-left {
        width: 100%;
    }
    .footer-right {
        width: 100%;
    }
    .footer-about-right li {
        font-size: 12px;
    }
    .footer-right i {
        font-size: 30px;
    }
    .top-contents2,.top-contents3 {
        background-position: 0;
    }
    .top-contents1-main, .top-contents2-main,.top-contents3-main {
        height: auto;
        padding: 50px 30px;
    }
    .top-contents1-main {
        height: 70vh;
    }
    .top-contents1 li {
        padding-left: 0;
    }
    .top-contents1 li::before {
        font-size: 3rem;
        top: -35px;
    }
    .top-contents1 h4 {
        font-size: 1rem;
        padding-left: 35px;
    }
    .btn-primary {
        margin-bottom: 0
    }
    .top_news {
        height: auto;
        display: block;
    }
    .news_title {
        width: 100%;
        padding: 20px 0;
        margin: 30px auto;
    }
    .news_about {
        padding: 0 15px 0;
    }
    .news_about_left {
        margin-right: 10px;
    }
    .news_about li a {
        padding-bottom: 15px;
    }
    .top_news .btn-primary {
        margin-top: 0;
    }
    .contents-about {
        margin: 60px auto 80px;
    }
    .contents-about-inner {
        width: 100%;
    }
    .contents-about-inner p {
        padding: 0 30px;
    }
    .form .table-company td,.form .table-company th {
        width: 100%;
        padding: 0;
        display: block;
    }
    .form .table-company th {
        margin-bottom: 5px;
    }
    .form .table-company td {
        margin-bottom: 25px;
    }
    .form .table-company tr:last-child th {
        margin-bottom: -10px;
    }
    .form .table-company tr:last-child {
        margin-bottom: 0;
    }
    .form .table-company input, .form .table-company textarea {
        padding: 15px;
        width: 100%;
    }
    .form .table-company {
        width: 80vw;
    }
    .form .btn-primary {
        margin-top: 0;
    }

    .table-company th {
        padding: 20px;
    }
    .table-company td {
        padding-left: 20px;
    }
    .table-company iframe {
        width: 90%;
        height: 200px;
    }
    .accordion {
        max-width: 90vw;
    }
    .title-fq {
        padding-right: 35px
    }
}

@media screen and (max-width: 375px) {
    .top-contents1-main, .top-contents2-main,.top-contents3-main {
        line-height: 1.5;
    }
    .top-contents1-main {
        padding: 30px 20px;
        width: 80vw;
    }
    .top-contents1 h3 {
        margin: 0 auto 40px;
    }
    .top-contents1 h3::before {
        bottom: -15px;
    }
}
