html {
  font-size: 62.5%;
}

a {
  cursor: pointer;
}

@media screen and (min-width: 960px) {
  body header {
    width: 100%;
    height: 90px;
    background: #fff;
  }
  body header .header_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  body header .header_wrap h1 {
    margin-left: 2%;
  }
  body header .header_wrap h1 a img {
    width: 200px;
  }
  body header .header_wrap h1:hover {
    opacity: 0.7;
  }
  body header .header_wrap p {
    margin-left: 2%;
  }
  body header .header_wrap p a img {
    width: 200px;
  }
  body header .header_wrap p:hover {
    opacity: 0.7;
  }
  body header .header_wrap .hamburger {
    display: none;
  }
  body header .header_wrap .globalMenuSp {
    display: none;
  }
  body header .header_wrap .size_pc-sp {
    width: 100%;
  }
  body header .header_wrap .size_pc-sp ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  body header .header_wrap .size_pc-sp ul li {
    text-align: center;
    list-style: none;
    font-family: "Cambo", serif;
    margin-right: 5%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  body header .header_wrap .size_pc-sp ul li a {
    text-decoration: none;
    font-size: 2rem;
    color: #000;
  }
  body header .header_wrap .size_pc-sp ul li a:hover {
    opacity: 0.5;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) {
    width: 150px;
    height: 90px;
    color: #fff;
    background: #00053A;
    -webkit-transition: ease-in-out 0.2s;
    -o-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;
    margin: 0;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4):hover {
    background: #707070;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) a {
    display: inline-block;
    width: 150px;
    height: 90px;
    line-height: 90px;
    color: #fff;
    opacity: 1;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) a .contact-logo {
    margin-right: 6%;
  }
  body .firstView_wrap {
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: url(../img/pho-contactFirstiew.png) no-repeat;
    background-position: center center;
    background-size: cover;
  }
  body .page_name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 5% 0;
  }
  body .page_name h1 {
    font-family: "Lora", serif;
    font-size: 9rem;
    color: #000;
    letter-spacing: 5px;
  }
  body .page_name h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
    color: #000;
  }
  body .message {
    width: 100%;
  }
  body .message_wrap p {
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
    color: #000;
    line-height: 24px;
    text-align: center;
    margin-top: 50px;
  }
  body form dl dt {
    position: relative;
  }
  body form dl dt::after {
    content: "*";
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: #B71111;
  }
  .company_elm::after,
  .inquiry_type_elm::after,
  .gender_elm::after,
  .region_elm::after,
  .file_elm::after {
    content: '';
  }
  body form dl #red_wrap {
    display: inline-block;
  }
  body form dl #red_wrap:nth-of-type(1) {
    width: 47px;
  }
  body form dl #red_wrap:nth-of-type(3) {
    width: 80px;
  }
  body form dl #red_wrap:nth-of-type(4) {
    width: 125px;
  }
  body form dl #red_wrap:nth-of-type(5) {
    width: 130px;
  }
  body form #privacypolicy_buttom {
    font-family: "Noto Serif JP", serif;
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    margin: 2% 0 3% 0;
  }
  body form #privacypolicy_buttom a {
    color: #000;
  }
  body form #privacypolicy_buttom a:hover {
    color: #AAAAAA;
  }
  body footer {
    width: 100%;
    background: #00053A;
    padding: 3% 0 2%;
  }
  body footer .footer_wrap {
    width: 90%;
    margin: 0 auto;
  }
  body footer .footer_wrap .footer_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-line-pack: center;
        align-content: center;
    height: 90px;
  }
  body footer .footer_wrap .footer_box p {
    margin-top: 1%;
  }
  body footer .footer_wrap .footer_box p a img {
    width: 200px;
  }
  body footer .footer_wrap .footer_box p:hover {
    opacity: 0.7;
  }
  body footer .footer_wrap .footer_box nav {
    width: 30%;
  }
  body footer .footer_wrap .footer_box nav ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body footer .footer_wrap .footer_box nav ul li {
    margin-left: 5%;
    display: inline-block;
    font-family: "Cambo", serif;
    font-size: 1.6rem;
    font-weight: 100;
    list-style: none;
    line-height: 50px;
    text-align: left;
  }
  body footer .footer_wrap .footer_box nav ul li:last-child {
    margin-top: 20px;
    font-size: 1.2rem;
  }
  body footer .footer_wrap .footer_box nav ul li a {
    display: inline-block;
    width: 100%;
    color: #fff;
    text-decoration: none;
  }
  body footer .footer_wrap .footer_box nav ul li a:hover {
    opacity: 0.6;
  }
  body footer .footer_wrap small {
    font-family: "Cambo", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
  }
}

@media screen and (min-width: 520px) and (max-width: 959px) {
  body header {
    width: 100%;
    height: 90px;
    background: #fff;
  }
  body header .header_wrap {
    width: 100%;
    height: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  body header .header_wrap h1 {
    margin-left: 5%;
  }
  body header .header_wrap h1 a img {
    width: 150px;
  }
  body header .header_wrap h1:hover {
    opacity: 0.7;
  }
  body header .header_wrap p {
    margin-left: 5%;
  }
  body header .header_wrap p a img {
    width: 150px;
  }
  body header .header_wrap p:hover {
    opacity: 0.7;
  }
  body header .header_wrap .hamburger {
    display: none;
  }
  body header .header_wrap .globalMenuSp {
    display: none;
  }
  body header .header_wrap .size_pc-sp {
    width: 100%;
  }
  body header .header_wrap .size_pc-sp ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  body header .header_wrap .size_pc-sp ul li {
    text-align: center;
    list-style: none;
    font-family: "Cambo", serif;
    margin-right: 6%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  body header .header_wrap .size_pc-sp ul li a {
    text-decoration: none;
    font-size: 2rem;
    color: #000;
  }
  body header .header_wrap .size_pc-sp ul li a:hover {
    opacity: 0.5;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) {
    width: 150px;
    height: 90px;
    color: #fff;
    background: #00053A;
    -webkit-transition: ease-in-out 0.2s;
    -o-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;
    margin: 0;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4):hover {
    background: #707070;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) a {
    display: inline-block;
    width: 150px;
    height: 90px;
    line-height: 90px;
    color: #fff;
    opacity: 1;
  }
  body header .header_wrap .size_pc-sp ul li:nth-of-type(4) a .contact-logo {
    margin-right: 6%;
  }
  body .firstView_wrap {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: url(../img/pho-contactFirstiew.png) no-repeat;
    background-position: center center;
    background-size: cover;
  }
  body .page_name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 5% 0;
  }
  body .page_name h1 {
    font-family: "Lora", serif;
    font-size: 7rem;
    color: #000;
    letter-spacing: 5px;
  }
  body .page_name h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
    color: #000;
  }
  body .message {
    width: 100%;
  }
  body .message_wrap p {
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    color: #000;
    line-height: 32px;
    text-align: center;
    margin-top: 50px;
  }
  body form dl dt {
    position: relative;
    display: inline-block;
  }
  body form dl dt:nth-of-type(2)::after {
    content: '';
  }
  body form dl dt::after {
    content: "*";
    display: block;
    position: absolute;
    z-index: 1;
    top: 60%;
    right: 0%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: #B71111;
  }
  .company_elm::after,
  .inquiry_type_elm::after,
  .gender_elm::after,
  .region_elm::after,
  .file_elm::after {
    content: '';
  }
  body form dl #red_wrap {
    display: inline-block;
  }
  body form dl #red_wrap:nth-of-type(1) {
    width: 47px;
  }
  body form dl #red_wrap:nth-of-type(3) {
    width: 80px;
  }
  body form dl #red_wrap:nth-of-type(4) {
    width: 125px;
  }
  body form dl #red_wrap:nth-of-type(5) {
    width: 130px;
  }

  body form dl #red_wrap:nth-of-type(9) {
    width: 160px;
  }

  body form #privacypolicy_buttom {
    font-family: "Noto Serif JP", serif;
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    margin: 2% 0 3% 0;
  }
  body form #privacypolicy_buttom a {
    color: #000;
  }
  body form #privacypolicy_buttom a:hover {
    color: #AAAAAA;
  }
  body footer {
    width: 100%;
    background: #00053A;
    padding: 2% 0;
  }
  body footer .footer_wrap {
    width: 90%;
    margin: 0 auto;
  }
  body footer .footer_wrap .footer_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-line-pack: center;
        align-content: center;
    height: 80px;
  }
  body footer .footer_wrap .footer_box p {
    margin-top: 1%;
  }
  body footer .footer_wrap .footer_box p a img {
    width: 120px;
  }
  body footer .footer_wrap .footer_box p:hover {
    opacity: 0.7;
  }
  body footer .footer_wrap .footer_box nav {
    width: 40%;
  }
  body footer .footer_wrap .footer_box nav ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body footer .footer_wrap .footer_box nav ul li {
    margin-left: 5%;
    display: inline-block;
    font-family: "Cambo", serif;
    font-size: 1.2rem;
    font-weight: 100;
    list-style: none;
    line-height: 50px;
    text-align: left;
  }
  body footer .footer_wrap .footer_box nav ul li:nth-last-child(1) {
    margin-top: 10px;
    font-size: 1.1rem;
  }
  body footer .footer_wrap .footer_box nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  body footer .footer_wrap .footer_box nav ul li a:hover {
    opacity: 0.6;
  }
  body footer .footer_wrap small {
    font-family: "Cambo", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
  }
}

@media screen and (max-width: 519px) {
  body header {
    width: 100%;
    height: 80px;
    background: #fff;
    position: fixed;
    z-index: 9999;
  }
  body header .header_wrap {
    width: 100%;
    height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  body header .header_wrap h1 {
    line-height: 80px;
    margin-left: 2%;
  }
  body header .header_wrap h1 a img {
    width: 120px;
  }
  body header .header_wrap h1:hover {
    opacity: 0.7;
  }
  body header .header_wrap p {
    line-height: 80px;
    margin-left: 2%;
  }
  body header .header_wrap p a img {
    width: 120px;
  }
  body header .header_wrap p:hover {
    opacity: 0.7;
  }
  body header .header_wrap .size_pc-sp {
    display: none;
  }
  body header .header_wrap .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    background: #fff;
  }
  body header .header_wrap .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #555;
    -webkit-transition: 0.1s ease-in-out;
    -o-transition: 0.1s ease-in-out;
    transition: 0.1s ease-in-out;
  }
  body header .header_wrap .hamburger span:nth-child(1) {
    top: 10px;
  }
  body header .header_wrap .hamburger span:nth-child(2) {
    top: 20px;
  }
  body header .header_wrap .hamburger span:nth-child(3) {
    top: 30px;
  }
  body header .header_wrap .globalMenuSp {
    display: none;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    text-align: center;
    width: 100%;
  }
  body header .header_wrap .globalMenuSp ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin: 10% auto;
    padding: 0;
    width: 100%;
  }
  body header .header_wrap .globalMenuSp ul li {
    width: 100%;
    height: 50px;
    line-height: 50px;
    list-style-type: none;
    -webkit-transition: .4s all;
    -o-transition: .4s all;
    transition: .4s all;
    margin: 1% 0;
  }
  body header .header_wrap .globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  body header .header_wrap .globalMenuSp ul li a {
    display: block;
    font-family: "Cambo", serif;
    font-size: 2rem;
    color: #000;
    text-decoration: none;
  }
  body header .header_wrap .active {
    display: block;
  }
  body header .header_wrap .active span:nth-child(1) {
    top: 20px;
    left: 6px;
    background: #555;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
  }
  body header .header_wrap .active span:nth-child(2) {
    top: 20px;
    background: #555;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
  }
  body header .header_wrap .active span:nth-child(3) {
    top: 20px;
    background: #555;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
  }
  body .firstView_wrap {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: url(../img/pho-contactFirstiew.png) no-repeat;
    background-position: center center;
    background-size: cover;
  }
  body .page_name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 5% 0;
  }
  body .page_name h1 {
    font-family: "Lora", serif;
    font-size: 4rem;
    color: #000;
    letter-spacing: 5px;
  }
  body .page_name h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.2rem;
    color: #000;
  }
  body .message {
    width: 100%;
  }
  body .message_wrap {
    width: 75%;
    margin: 0 auto;
    text-align: center;
  }
  body .message_wrap p {
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    color: #000;
    line-height: 24px;
    margin-top: 50px;
  }
  body form dl dt {
    position: relative;
  }
  body form dl dt::after {
    content: "*";
    display: block;
    position: absolute;
    z-index: 1;
    top: 65%;
    right: 0;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: #B71111;
  }
  .company_elm::after,
  .inquiry_type_elm::after,
  .gender_elm::after,
  .region_elm::after,
  .file_elm::after {
    content: '';
  }

  
  body form dl #red_wrap {
    display: inline-block;
  }
  body form dl #red_wrap:nth-of-type(1) {
    width: 47px;
  }
  body form dl #red_wrap:nth-of-type(3) {
    width: 80px;
  }
  body form dl #red_wrap:nth-of-type(4) {
    width: 125px;
  }
  body form dl #red_wrap:nth-of-type(5) {
    width: 130px;
  }
  body form #privacypolicy_buttom {
    width: 75%;
    font-family: "Noto Serif JP", serif;
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    margin: 2% auto 3% auto;
  }
  body form #privacypolicy_buttom a {
    color: #000;
  }
  body form #privacypolicy_buttom a:hover {
    color: #AAAAAA;
  }
  body footer {
    width: 100%;
    background: #00053A;
    padding: 2% 0;
  }
  body footer .footer_wrap {
    width: 90%;
    margin: 0 auto;
  }
  body footer .footer_wrap .footer_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: top;
        -ms-flex-align: top;
            align-items: top;
    margin-bottom: 3%;
  }
  body footer .footer_wrap .footer_box p {
    margin-top: 3%;
  }
  body footer .footer_wrap .footer_box p a img {
    width: 120px;
  }
  body footer .footer_wrap .footer_box p:hover {
    opacity: 0.7;
  }
  body footer .footer_wrap .footer_box nav {
    width: 100%;
    margin-top: 3%;
  }
  body footer .footer_wrap .footer_box nav ul {
    width: 80%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body footer .footer_wrap .footer_box nav ul li {
    height: 50px;
    margin-left: 5%;
    display: inline-block;
    font-family: "Cambo", serif;
    font-size: 1.2rem;
    font-weight: 100;
    list-style: none;
    line-height: 50px;
    text-align: left;
  }
  body footer .footer_wrap .footer_box nav ul li:nth-child(1) {
    margin: 0;
  }
  body footer .footer_wrap .footer_box nav ul li:nth-last-child(1) {
    width: 110px;
    margin: 0;
  }
  body footer .footer_wrap .footer_box nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  body footer .footer_wrap .footer_box nav ul li a:hover {
    opacity: 0.6;
  }
  body footer .footer_wrap small {
    font-family: "Cambo", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
  }
}

/* タブ機能デザイン */
/*タブ切り替え全体のスタイル*/
.tabs {
  padding-bottom: 40px;
  background-color: #fff;
  max-width: 1040px;
  margin: 50px auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 50px;
  border-bottom: 3px solid #000000;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #000000;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
  background-color: #000000;
  color: #ffffff;
}

/* 問い合わせフォームのレイアウト崩れが発生するため要素を配置・非表示で対処 */
.display-none {
  display: none;
}

@media screen and (max-width: 960px) {
  .tabs {
    width: 100%;
  }

  .tab_item {
    font-size: 12px;
  }

  .tab_content {
    padding: 0 0 0;
    clear: both;
    overflow: hidden;
  }
}

.display_individual {
  display: none;
}
