html {
  position: relative;
  z-index: 0;
}

.subpage .container {
  padding-top: 0;
}

/*問い合わせフォーム確認・完了画面*/
html#confirm,
html#complete {
  background: none;
  background-color: #f5f5f5;
}

#confirm .contact__container,
#complete .contact__container {
  transform: skewY(0deg);
  background-color: #fff;
  margin-top: 5rem;
}

#confirm .form__label {
  padding-top: 0;
}

#confirm .form__input--confirm .form__selectbox,
#confirm.form__input--confirm .form__textarea,
#confirm.form__input--confirm .form__textbox {
  padding-top: 0;
  margin-top: 0;
}

#confirm .form__selectbox,
#confirm .form__textarea,
#confirm .form__textbox {
  padding-top: 0;
  margin-top: 0;
}

#confirm .form__item {
  border-bottom: 1px solid #d2d2d2;
}

#complete .form__btn {
  width: 40%;
}

/*問い合わせフォーム確認・完了画面ここまで*/

.spOnly {
  display: none;
}

.container .content {
  position: relative;
  z-index: 2;
}

section {
  margin-bottom: 100px;
  text-align: left;
}

.mainVisual {
  position: relative;
  z-index: 1;
}

/*.mainVisual::after {
    content: '';
  position: absolute;
  left:0;
  bottom: 0;
 z-index: 0;
  width:100%;
  height:100%;
  background:#f5f5f5;
}*/

.mainVisual ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .mainVisual ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "item1 item1"
      "item2 item3";
  }
  .mainVisual ul li:nth-child(1) {
    grid-area: item1;
  }
  .mainVisual ul li:nth-child(2) {
    grid-area: item2;
  }
  .mainVisual ul li:nth-child(3) {
    grid-area: item3;
  }
}

.mainVisual ul li {
  flex-grow: 1;
  height: 35rem;
  text-align: center;
  color: #fff;
  font-size: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainVisual ul li.profileLink_wrap {
  background: url(../images/company/pc/profile.png) no-repeat;
  background-size: cover;
  background-position: center;
}
.mainVisual ul li.message_wrap {
  background: url(../images/company/pc/message.png) no-repeat;
  background-size: cover;
  background-position: center;
}
.mainVisual ul li.accessLink_wrap {
  background: url(../images/company/pc/access.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.mainVisual ul li .link {
  width: 100%;
}

/* .mainVisual ul li.profileLink {
    padding-top: 20%;
}

.mainVisual ul li.accessLink {
    padding-top: 25%;
}

.mainVisual ul li.contactLink {
    padding-top: 30%;
} */

.mainVisual ul li a {
  display: inline-block;
  width: 100%;
  max-width: 240px;
  margin: 2rem auto 0;
  color: #fff;
  padding: 1.5rem 3rem;
  font-size: 1.56rem;
  letter-spacing: 3px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mainVisual ul li a:hover {
  background-color: #1e5b9a;
  opacity: 0.8;
  border: none;
}

.mainVisual ul li a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2rem;
  vertical-align: middle;
  border-style: solid;
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent #fff;
}

.mainVisual ul li .smTitle {
  font-size: 1.6rem;
}

/*.triangle1 {
    background-color: #f5f5f5;
    text-indent: 100%;
    white-space: nowrap;
}*/

.section01 .Area {
  padding: 100px 0;
  text-align: center;
  background: url(../images/company/pc/pc_background_top.png) no-repeat;
  background-size: cover;
}

.section01 .content .member {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.section01 .content .member .member_detail {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 480px) {
  .section01 .content .member .member_detail {
    gap: 15px;
  }
}

.section01 .content .member .member_detail .member_detail_l {
  max-width: 271px;
  flex-shrink: 0;
}

@media screen and (max-width: 979px) {
  .section01 .content .member .member_detail .member_detail_l {
    max-width: 180px;
  }
}

@media screen and (max-width: 480px) {
  .section01 .content .member .member_detail .member_detail_l {
    max-width: 120px;
  }
}

.section01 .content .member .member_detail .member_detail_r {
  width: 100%;
}

.section01 .content .member .member_detail_img {
  width: 100%;
}
.section01 .content .member .member_detail_img img {
  width: 100%;
}

.timeline {
  border-top: 1px solid #1e5b9a;
}

.timeline-item {
  border-bottom: 1px solid #1e5b9a;
  padding: 15px 0;
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

@media screen and (max-width: 640px) {
  .timeline-item {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .timeline-item {
    padding: 10px 0;
    gap: 10px;
  }
}

.timeline-item .timeline-item-date {
  flex: 0 0 200px;
  font-weight: bold;
}

@media screen and (max-width: 979px) {
  .timeline-item .timeline-item-date {
    flex: 0 0 170px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .timeline-item .timeline-item-date {
    font-size: 12px;
  }
}

@media screen and (max-width: 640px) {
  .timeline-item .timeline-item-date {
    flex-basis: 0;
  }
}

.timeline-item .timeline-item-content {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

@media screen and (max-width: 979px) {
  .timeline-item .timeline-item-content {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .timeline-item .timeline-item-content {
    font-size: 12px;
  }
}

.section01 .content .member .name_ja {
  font-size: 24px;
  font-weight: 700;
  margin: 15px 0 0;
  color: #1f5b9a;
}
.section01 .content .member .name_en {
  font-size: 14px;
  font-weight: 700;
  margin: 15px 0 0;
  color: #1f5b9a;
}

.section01 .Area .AreaD {
  margin-top: 10%;
  text-align: left;
  line-height: 2;
}

.profile h3 {
  margin-top: 0;
}

/*
.triangle {
    position: relative;
    z-index: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 30rem;
    width: 100%;
    background: #fff;
}

.triangle::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    transform: skewY(-5deg);
    /*四角形を傾けます
    transform-origin: bottom left;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

*/

.access h3 {
  padding-top: 0;
}

h3 {
  text-align: center;
  padding-top: 5rem;
  color: #1e5b9a;
  font-size: 3rem;
  font-weight: normal;
}

h3 span {
  display: block;
  font-size: 1.5rem;
}

h3 hr {
  width: 5rem;
  height: 2px;
  background-color: #1e5b9a;
  border: none;
  margin-bottom: 1rem;
}

/*
h4 {
    margin-bottom: 7rem;
    line-height: 1.7;
}

h4 .smTitle {
    display: block;
    color: #1E5B9A;
    font-size: 2.2rem;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #1E5B9A;
    margin-right: 79%;
}

h4 .goto a {
    display: block;
    color: #0071bc;
    padding-top: 1rem;
}
*/
section .AreaD dl {
  display: flex;
  flex-wrap: wrap;
  padding: 2.6rem 0;
  border-bottom: 1px solid #d2d2d2;
  margin: 0;
  line-height: 2;
}

section .AreaD dl:first-child {
  border-top: 1px solid #d2d2d2;
}

section .AreaD dt {
  flex-basis: 30%;
}

section .AreaD dd {
  flex-basis: 65%;
}

section .AreaD dd a {
  text-decoration: underline;
  color: #3a84df;
}

section .m50 {
  margin: 5% 0;
}

.m50 p {
  max-width: 980px;
  margin: 0 auto;
}

section .map {
  max-width: 980px;
  height: 380px;
  margin: 0 auto;
}

section .map iframe {
  width: 100%;
  height: 100%;
}

.top-message {
  background-image: url("../images/top/bg_topmessage.png");
  background-color: #000;
  background-size: cover;
  background-position: center center;
  height: 100%;
  padding: 155px 50px;
  position: relative;
  margin-bottom: 50px;
}

.top-message__container {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
}

.top-message__ttl {
  text-align: center;
}

.top-message__ttl h2 {
  font-size: 5.2rem;
  letter-spacing: 0.03rem;
  font-weight: 400;
  color: #1e5b9a;
  line-height: 1.25;
  margin-top: 0;
}

.top-message__ttl p {
  margin-top: 9px;
}

.top-message__text {
  width: 100%;
  margin: 62px auto 0;
  color: #010101;
  line-height: 1.875;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
}

.top-message__text p {
  margin-bottom: 28px;
}

.top-message__sign {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.top-message__sign img {
  margin-left: 16px;
}

.top-message__sign--text {
  margin-top: 10px;
}

.top-message__sign--text p {
  margin-bottom: 15px;
}

section.profile {
  margin-bottom: 0;
}

section.access {
  padding-top: 100px;
}

/* Retina対応 */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .top-message {
    background-image: url("../images/top/bg_topmessage@2x.png");
  }
}

/*タブレット*/

@media screen and (max-width: 979px) {
  .top-message {
    padding: 50px 30px;
    margin-bottom: 0;
  }
  section {
    margin-bottom: 50px;
    padding: 0 5%;
  }

  .Area img {
    width: 85%;
  }

  h4 .smTitle {
    margin-right: 70%;
  }

  section .AreaD dd {
    flex-basis: 60%;
  }

  .breadCrumb {
    left: 9rem;
  }

  .mainVisual ul li {
    font-size: 2.6rem;
  }

  .mainVisual ul li a {
    width: 90%;
    padding: 1.5rem 1rem;
  }

  section.profile {
    padding: 0;
  }

  .container .content {
    padding: 0 5%;
  }

  .section01 .content .member {
    gap: 5%;
  }
  .section01 .content .member .name_ja {
    font-size: 18px;
    margin-top: 10px;
  }
  .section01 .content .member .name_en {
    margin-top: 10px;
    font-size: 14px;
  }
}

section.profile {
  margin-bottom: 0px;
}

section.access {
  padding-top: 50px;
}
/*タブレットここまで*/

@media screen and (max-width: 768px) {
  .top-message {
    padding: 50px 30px;
  }
  .top-message__ttl h2 {
    font-size: 3rem;
  }
  .top-message__ttl p {
    font-size: 1.2rem;
  }
  .top-message__text {
    margin-top: 25px;
    font-size: 1.2rem;
    line-height: 1.58;
  }
  .top-message__text p {
    margin-bottom: 23px;
  }
  .top-message__sign {
    display: block;
    margin: 0 0 0 auto;
    max-width: 245px;
    min-width: 260px;
    text-align: right;
  }
  .top-message__sign img {
    width: 100%;
    max-width: 170px;
  }
  .top-message__sign--text {
    margin-top: 33px;
    display: flex;
    justify-content: right;
  }
  .top-message__sign--text p {
    text-align: left;
    font-size: 1.2rem;
    margin: 0 0 6px 33px;
  }
  .top-message {
    background-image: url("../images/top/bg_topmessage-sp.png");
  }
  @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .top-message {
      background-image: url("../images/top/bg_topmessage-sp@2x.png");
    }
  }
}

@media screen and (max-width: 640px) {
  .section01 .Area {
    padding: 60px 0;
  }
}

@media screen and (max-width: 480px) {
  .section01 .Area {
    padding: 50px 0;
  }
}

/*スマホ*/

@media screen and (max-width: 480px) {
  html {
    position: relative;
    z-index: 0;
  }

  .pcOnlySub {
    display: none;
  }

  .breadCrumb {
    display: none;
  }

  .mainVisual ul {
    flex-wrap: wrap;
  }

  .mainVisual > ul {
    position: relative;
  }

  .mainVisual ul li {
    height: 25rem;
    font-size: 2rem;
  }

  .mainVisual ul li a {
    width: 90%;
    letter-spacing: 2px;
    font-size: 1.2rem;
    padding: 1.5rem 1rem 1.5rem 2.5rem;
  }

  .mainVisual ul li a::after {
    margin-left: 11px;
    margin-bottom: 3px;
  }

  .mainVisual ul li.profileLink a::after {
    margin-bottom: 0px;
  }

  /*.mainVisual ul li a {
    padding: 1rem;
    font-size: 1.4rem;
}
*/
  .mainVisual ul li.profileLink {
    width: 100%;
    background: url(../images/company/sp/sp_profilex2.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
  }

  section h3 {
    font-size: 2.6rem;
  }

  section h3 span {
    font-size: 1.5rem;
  }

  section .AreaD dt {
    flex-basis: 100%;
  }

  section .AreaD dd {
    flex-basis: 100%;
    margin-left: 0;
  }

  .triangle {
    height: 9rem;
  }

  .mainVisual ul li a::after {
    margin-left: 5px;
  }

  .section01 .content .member .name_ja {
    font-size: 14px;
    margin-top: 5px;
  }

  .section01 .content .member .name_en {
    margin-top: 5px;
    font-size: 10px;
  }
}

/*スマホここまで*/

/*iphone5サイズ*/

@media screen and (max-width: 320px) {
  .mainVisual li.spOnly {
    top: 23rem;
  }

  .AreaD {
    font-size: 1.5rem;
  }
}

/*iphone5サイズここまで*/

/*フォーム*/

.contact {
  background-color: #dcdcdc;
  padding: 220px 13.5px;
  transform-origin: bottom left;
}

.contact__container {
  background-color: #fff;
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 5rem 11.4rem;
}

.contact__ttl {
  text-align: center;
  margin-bottom: 52px;
}

.contact__ttl-en {
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
}

.contact__ttl-jp {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
}

/*.contact__ttl h3 {
	margin-bottom: 83px;
	color: #1E5B9A;
}
*/
.contact__ttl-border {
  width: 50px;
  margin: 17px auto 20px;
  border-bottom: 2px solid #1e5b9a;
}

.contact__text {
  line-height: 1.5;
}

.form__wrap {
  width: 100%;
  margin: 0 auto;
}

.form {
  margin-bottom: 58px;
}

.form--confirm {
  margin-bottom: 0px;
}

.form__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 22px;
}

.form__item--confirm {
  margin-top: 40px;
}

.form__label {
  flex-grow: 0;
  min-width: 140px;
  line-height: 1.87;
  padding-top: 14px;
}

.form__label--confirm {
  min-width: 181px;
}

.form__required {
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  min-width: 132px;
  padding: 14px 37px 0;
}

.form__required .required {
  width: 85px;
  height: 30px;
  background-color: #1e5b9a;
  color: #fff;
  text-align: center;
  line-height: 1.87;
}

.form__input {
  width: 100%;
}

.form__selectbox,
.form__textarea,
.form__textbox {
  width: 100%;
  height: 60px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.87;
  padding: 0.8rem 1.6rem;
  border: solid 1px #bfbfbf;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0;
  background-color: #fff;
  resize: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.form__textarea {
  height: 180px;
  overflow: auto;
}

.form__input--confirm .form__selectbox,
.form__input--confirm .form__textarea,
.form__input--confirm .form__textbox {
  border: 0px;
  word-break: break-all;
}

.form__input--confirm .form__textarea {
  height: auto;
}

.error-msg {
  color: #1e5b9a;
  margin-top: 8px;
}

.privacy__text {
  text-align: center;
  font-size: 1.4rem;
  line-height: 3;
}

.privacy__text a {
  color: #1e5b9a;
  border-bottom: 1px solid #1e5b9a;
}

.privacy__text a:hover {
  opacity: 0.5;
}

.privacy__check {
  text-align: center;
  font-size: 1.6rem;
  line-height: 2.62;
}

.privacy__check span {
  position: relative;
}

.privacy__check input[type="checkbox"] {
  display: none;
}

.privacy__check span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -36px;
  border: 1px solid #000;
  position: absolute;
  width: 22px;
  height: 22px;
}

.privacy__check input[type="checkbox"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: -29px;
  width: 7px;
  height: 14px;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
  border-bottom: 3px solid #1e5b9a;
  border-right: 3px solid #1e5b9a;
}

.form__btn {
  background-color: #fff;
  margin-top: 6.2rem;
  padding: 0.2rem 12.5rem;
  border: 3px solid #1e5b9a;
  color: #1e5b9a;
  font-size: 1.6rem;
}

.form__btn:hover {
  opacity: 0.8;
}

#complete .form__btn {
  padding: 0.2rem 6rem;
}

.form__btn--back,
.form__btn--send {
  width: 25rem;
  padding: 0;
  margin: 62px 5px 0;
}

.sp-only {
  display: none;
}

/*タブレット用*/
@media screen and (max-width: 979px) {
  .contact {
    padding: 15rem 5%;
  }

  .contact h3 {
    padding-top: 3rem;
  }

  .contact__container {
    padding: 3rem;
  }

  .form__required {
    padding: 14px 20px 0;
  }
}

/*スマホ用*/

@media screen and (max-width: 480px) {
  .contact {
    padding: 8rem 0;
  }

  .contact__container {
    width: 90%;
    padding: 1rem 0 10rem;
  }

  .contact h3 {
    padding-top: 0;
  }

  .contact__ttl {
    margin-bottom: 35px;
  }

  /*.contact__ttl h3 {
		margin-bottom: 34px;
	}
*/
  .contact__ttl-en {
    font-size: 2.6rem;
  }

  .contact__ttl-jp {
    margin-bottom: 15.5px;
    font-size: 1.4rem;
  }

  .contact__text {
    font-size: 1.2rem;
    line-height: 1.87;
  }

  .contact__ttl-border {
    width: 25px;
    margin: 10px auto;
    border-width: 1px;
  }

  .form {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 22px;
  }

  .form__item {
    /*flex-wrap: wrap;*/
    display: block;
  }

  .form__label {
    display: inline-block;
    min-width: auto;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    margin-right: 11px;
  }

  .form__required {
    display: inline-block;
    vertical-align: bottom;
    padding: 0;
    font-size: 1rem;
  }

  .form__required .required {
    width: 42.5px;
    height: 15px;
    display: table-cell;
    vertical-align: middle;
  }

  .form__selectbox,
  .form__textarea,
  .form__textbox {
    height: 45px;
    margin-top: 6px;
    font-size: 1.5rem;
    padding: 0.8rem 1.6rem;
  }

  .form__input--confirm .form__selectbox,
  .form__input--confirm .form__textarea,
  .form__input .form__textbox {
    height: auto;
  }

  .form__textarea {
    height: 130px;
  }

  .privacy__text {
    font-size: 1.2rem;
    line-height: 1.75;
  }

  .privacy__check {
    width: 90%;
    margin: 3px auto 0;
    font-size: 1.2rem;
    line-height: 1.75;
  }

  .privacy__check span {
    padding-left: 24px;
    letter-spacing: normal;
  }

  .privacy__check span::before {
    top: -2px;
    left: 1px;
    width: 19px;
    height: 19px;
  }

  .privacy__check input[type="checkbox"]:checked + span::after {
    top: -3px;
    left: 8px;
    width: 7px;
    height: 11px;
  }

  .error-msg {
    font-size: 1.5rem;
  }

  .inputBtn {
    width: 90%;
    margin: 0 auto;
  }

  .form__btn {
    width: 90%;
    margin-top: 20px;
    padding: 0;
    text-align: center;
    border-width: 1.5px;
    font-size: 1.6rem;
    line-height: 1.31;
  }

  /*問い合わせフォーム確認・完了画面ここから*/

  .form__btn.form__btn--send {
    background-color: #1e5b9a;
    color: #fff;
  }

  #complete .form__btn {
    width: 80%;
  }

  /*問い合わせフォーム確認・完了画面ここまで*/

  .sp-only {
    display: block;
  }
}

@media screen and (max-width: 550px) {
  .br_sp_none {
    display: none;
  }
}
