.spview {
  display: none;
}

@media screen and (max-width : 960px) {
  .spview {
    display: block;
  }

  .pcview {
    display: none;
  }

  .page-id-51 * {
    letter-spacing: .025em;
  }
}



/*** top ***/
/* 調整 */
.page-id-51 * {
  letter-spacing: .05em;
  box-sizing: content-box;
}
.page-id-51 #content {
  width: 96%;
  max-width: 1200px;
  padding: 0!important;
}

.page-id-51 #main_content,
.page-id-51 .post_content {
  max-width: 100%;
  padding: 0;
  margin: 0 !important;
}

.page-id-51 .c-pageTitle,
.page-id-51 #breadcrumb {
  display: none !important;
}

.page-id-51 .post_content > p {
  margin: 0;
  line-height: 0;
}
.page-id-51 h2::before {
  display: none !important;
}

@media screen and (max-width : 960px) {
  .page-id-51 #content {
    width: 100%;
  }
}

#main_content h2.home-h2 {
  text-align: center;
  background: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

#main_content h2.home-h2::before {
  display: none !important;
}

#main_content h2.home-h2 span.h2in {
  color: #2F0956;
  font-size: 32px;
  margin-bottom: 32px;
  display: inline-block;
  border-bottom: 4px solid #2573BE;
  line-height: 60px;
  font-weight: bold;
}

#main_content h2.home-h2 span.h2in span.h2big {
  font-size: 38px;
}

@media screen and (max-width: 960px) {
  #main_content h2.home-h2 span.h2in {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 30px;
    border-bottom: 2px solid #2573BE;
  }

  #main_content h2.home-h2 span.h2in span.h2big {
    font-size: 23px;
  }
}

.home-bot {
  padding: 72px 124px 44px;
  margin: 0;
  background: url(/yamikin-gyousha/wp-content/uploads/2025/09/bg.png);
}

.home-bot-wrap {
  background: #fff;
  border: 2px solid #2272BB;
}

#main_content h2.home-bot-h2 {
  text-align: center;
  background: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  line-height: 66px;
  margin-top: -33px!important;
}

#main_content h2.home-bot-h2 span {
  display: inline-block;
  background: #2572C0;
  font-size: 24px;
  padding: 0 42px;
  position: relative;
}

#main_content h2.home-bot-h2 span:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -18px;
  border: 18px solid transparent;
  border-top: 18px solid #2572C0;
}

#main_content h2.home-bot-h2 span b {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid #fff;
  font-weight: 600;
}

.home-bot-in {
  padding: 32px 16px 16px;
  overflow: hidden;
  text-align: center;
}

.home-bot-tel {
  width: 49.5%;
  float: left;
  font-size: 42px;
  font-weight: bold;
}

.home-bot-tel img {
  vertical-align: baseline;
}

.home-bot-mail {
  width: 49.5%;
  float: right;
}

.home-bot-mail a {
  display: inline-block;
  background: #F3A03A;
  box-shadow: 0 5px 0 #CD7F1D;
  width: 385px;
  border-radius: 5px;
  height: 62px;
  line-height: 62px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.075em;
}

.home-bot-mail a:hover {
  box-shadow: 0 2px 0 #CD7F1D;
  margin-top: 3px;
  color: #fff;
}

.home-bot-mail a:before {
  content: "";
}

.home-bot-mail a img {
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 20px;
}

.home-bot-footer {
  padding: 24px;
  overflow: hidden;
  text-align: center;
  border-top: 1px dashed #7f7f7f;
  line-height: 36px;
}

.home-bot-footer1 {
  display: inline-block;
  padding: 0 24px 0 12px;
  background: url(/yamikin-gyousha/wp-content/uploads/2025/09/barrow.png) 100% 0% no-repeat;
  background-size: auto 100%;
  color: white;
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}

.home-bot-footer2 {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  vertical-align: middle;
}

@media screen and (max-width: 960px) {
  .home-bot {
    padding: 51px 18px 18px;
    background: url(/yamikin-gyousha/wp-content/uploads/2025/09/bg.png);
  }

  #main_content h2.home-bot-h2 {
    text-align: center;
    background: none;
    margin: 0 18px;
    padding: 0;
    box-shadow: none;
    line-height: 26px;
  }

  #main_content h2.home-bot-h2 span {
    display: block;
    background: #2572C0;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
  }

  #main_content h2.home-bot-h2 span:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-top: 8px solid #2572C0;
  }

  #main_content h2.home-bot-h2 span b {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    font-weight: 600;
    display: block;
  }

  #main_content h2.home-bot-h2 span b:before {
    content: "― ";
    font-weight: 100;
  }

  #main_content h2.home-bot-h2 span b:after {
    content: " ―";
    font-weight: 100;
  }

  .home-botsp-in {
    padding: 18px 18px 4px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .home-botsp-tel {
    width: 48.5%;
    float: left;
  }

  .home-botsp-tel a {
    display: inline-block;
    background: #FF6805;
    box-shadow: 0 3px 0 #DA5101;
    width: 100%;
    border-radius: 3px;
    height: 55px;
    line-height: 18px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
  }

  .home-botsp-tel a span:nth-child(1) {
    display: block;
    text-align: center;
    margin-top: 11px;
  }

  .home-botsp-tel a span:nth-child(2) {
    display: block;
    text-align: center;
    margin-top: 3px;
    line-height: 18px;
    font-size: 12px;
  }

  .home-botsp-tel a img {
    vertical-align: baseline;
    margin-bottom: 1px;
    margin-right: 5px;
    width: 12px;
  }

  .home-botsp-mail {
    width: 48.5%;
    float: right;
  }

  .home-botsp-mail a {
    display: inline-block;
    background: #F3A03A;
    box-shadow: 0 3px 0 #CD7F1D;
    width: 100%;
    border-radius: 3px;
    height: 55px;
    line-height: 18px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .home-botsp-mail a span:nth-child(1) {
    width: 35%;
    float: left;
    margin-top: 16px;
    text-align: right;
  }

  .home-botsp-mail a span:nth-child(2) {
    width: 65%;
    float: right;
    margin-top: 11px;
    line-height: 18px;
  }

  .home-botsp-mail a img {
    vertical-align: middle;
    margin-bottom: 3px;
    margin-right: 10px;
    width: 24px;
  }

  .home-bot-footer {
    padding: 12px;
    overflow: hidden;
    text-align: center;
    border-top: 1px dashed #7f7f7f;
    line-height: 22px;
  }

  .home-bot-footer1 {
    display: inline-block;
    padding: 0 16px 0 8px;
    background: url(/yamikin-gyousha/wp-content/uploads/2025/09/barrow.png) 100% 0% no-repeat;
    background-size: auto 100%;
    color: white;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
  }

  .home-bot-footer2 {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
  }
}

/*  top nhk  */
.home-nhk {
  max-width: 960px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 0px 44px
}

.home-nhk .home-nhk-img {
  width: 96%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.home-nhk p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 20px;
}

.home-nhk p span {
  white-space: nowrap;
}

@media screen and (max-width: 960px) {
  .home-nhk {
    padding: 20px 0;
  }

  .home-nhk p {
    font-size: 14px;
  }
}

.home-5th {
  padding: 36px 0 48px;
  background: #F1F6F9;
}

.home-5th-in {
  text-align: center;
}

.home-5th-ins {
  display: inline-block;
  width: 172px;
  height: 78px;
  ;
  border: 1px solid #2572C0;
  border-radius: 3px;
  vertical-align: top;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  padding-top: 50px;
  background: #fff url(/yamikin-gyousha/wp-content/uploads/2025/09/check.png) center 8px no-repeat;
  margin: 0 7px;
  letter-spacing: 0.09em;
}

.home-5th-1l {
  line-height: 64px;
}

@media screen and (max-width: 960px) {
  .home-5th {
    padding: 18px 0;
    background: #F1F6F9;
  }

  .home-5th-in {
    text-align: center;
  }

  .home-5th-ins {
    display: inline-block;
    width: 104px;
    height: 75px;
    ;
    border: 1px solid #2572C0;
    border-radius: 3px;
    vertical-align: top;
    font-size: 15.5px;
    line-height: 20px;
    font-weight: 600;
    padding-top: 26px;
    background: #fff url(/yamikin-gyousha/wp-content/uploads/2025/09/check.png) center 3px no-repeat;
    background-size: 24px auto;
    margin: 0 3px;
    box-sizing: border-box;
    margin-bottom: 12px;
  }

  .home-5th-1l {
    line-height: 44px;
  }
}

.home-value {
  padding: 42px 124px;
}

.home-value-in {
  border: 6px solid #e6e6e6;
  padding: 23px 0;
  overflow: hidden;
}

.home-v1 {
  height: 116px;
  line-height: 116px;
  width: 382px;
  float: left;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  border-right: 1px solid #afafaf;
  letter-spacing: 0.09em;
}

.home-v1 img {
  vertical-align: middle;
  margin-right: 20px;
  margin-bottom: 8px;
}

.home-v2 {
  float: right;
  width: 440px;
  margin-right: 60px;
  padding: 13px 0;
}

.home-v2-1 {
  height: 50px;
  line-height: 50px;
  font-size: 36px;
  font-weight: 600;
  color: #f39f39;
  letter-spacing: 0.09em;
}

.home-v2-2 {
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  color: #111;
  letter-spacing: 0.05em;
}

.nhome-value {
  padding: 0px 124px 42px;
  margin-top: 20px;
}

.nhome-value-in {
  border: 6px solid #e6e6e6;
  padding: 23px 0;
  overflow: hidden;
}

.nhome-v1 {
  height: 116px;
  line-height: 116px;
  width: 382px;
  float: left;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  border-right: 1px solid #afafaf;
  letter-spacing: 0.09em;
}

.nhome-v1 img {
  vertical-align: middle;
  margin-right: 20px;
  margin-bottom: 8px;
}

.nhome-v2 {
  float: right;
  width: 440px;
  margin-right: 60px;
  padding: 8px 0;
}

.nhome-v2-1 {
  height: 50px;
  line-height: 50px;
  font-size: 36px;
  font-weight: 600;
  color: #f39f39;
  letter-spacing: 0.09em;
}

.nhome-v2-2 {
  height: 24px;
  line-height: 24px;
  font-size: 20px;
  color: #111;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 960px) {
  .home-value {
    padding: 20px;
  }

  .home-value-in {
    border: 3px solid #e6e6e6;
    padding: 0 20px;
    overflow: hidden;
  }

  .home-v1 {
    height: 54px;
    line-height: 54px;
    width: 100%;
    float: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-right: none;
    border-bottom: 1px solid #afafaf;
  }

  .home-v1 img {
    vertical-align: middle;
    margin-right: 10px;
    width: 32px;
    margin-bottom: 4px;
  }

  .home-v2 {
    float: none;
    width: 100%;
    margin-right: 0;
    padding: 0;
    text-align: center;
  }

  .home-v2-1 {
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: 600;
    color: #f39f39;
  }

  .home-v2-2 {
    height: 13px;
    line-height: 13px;
    font-size: 13px;
    color: #111;
    margin-bottom: 15px;
  }

  .nhome-value {
    padding: 0 18px 18px;
  }

  .nhome-value-in {
    border: 3px solid #e6e6e6;
    padding: 0 20px;
    overflow: hidden;
  }

  .nhome-v1 {
    height: 54px;
    line-height: 54px;
    width: 100%;
    float: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-right: none;
    border-bottom: 1px solid #afafaf;
  }

  .nhome-v1 img {
    vertical-align: middle;
    margin-right: 10px;
    width: 32px;
    margin-bottom: 4px;
  }

  .nhome-v2 {
    float: none;
    width: 100%;
    margin-right: 0;
    padding: 0;
    text-align: center;
  }

  .nhome-v2-1 {
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: 600;
    color: #f39f39;
  }

  .nhome-v2-2 {
    height: auto;
    line-height: 15px;
    font-size: 13px;
    color: #111;
    margin-bottom: 15px;
  }
}

.home-prof {
  padding: 42px 166px;
  background: #f1f6f9;
  overflow: hidden;
}

.home-prof-in {
  margin-top: 20px;
  overflow: hidden;
}

.home-prof-l {
  width: 320px;
  float: left;
}

.home-prof-r {
  width: 480px;
  float: right;
}

.home-prof-name {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.09em;
}

.home-prof-name span {
  font-size: 22px;
  letter-spacing: 0.05em;
}

.home-prof-info {
  font-size: 18px;
  line-height: 30px;
  padding: 20px 0;
}

.home-prof-biography {
  padding: 20px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.home-prof-biography:before {
  content: "";
  display: block;
  border-top: 1px dashed #000;
  margin-top: -21px;
}

.home-prof-biography:after {
  content: "";
  display: block;
  border-bottom: 1px dashed #000;
  margin-bottom: -21px;
}

.home-prof-biography dl {
  overflow: hidden;
  margin: 4px 0;
  font-size: 18px;
  line-height: 28px;
}

.home-prof-biography dt {
  width: 90px;
  float: left;
}

.home-prof-biography dd {
  width: calc(100% - 100px);
  float: right;
  padding-left: 0;
}

a.home-prof-btn {
  display: block;
  background: #2572C0;
  box-shadow: 0 5px 0 #125FA5;
  width: 650px;
  border-radius: 5px;
  height: 62px;
  line-height: 62px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  text-align: center;
  margin: 40px auto;
}

a.home-prof-btn:hover {
  box-shadow: 0 2px 0 #125FA5;
  margin-top: 43px;
  margin-bottom: 37px;
  color: #fff;
}

a.home-prof-btn img {
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 20px;
}

@media screen and (max-width: 960px) {
  .home-prof {
    padding: 18px 28px;
    background: #f1f6f9;
    overflow: hidden;
  }

  .home-prof-in {
    margin-top: 0;
    overflow: hidden;
  }

  .home-prof-l {
    width: 100%;
    float: none;
    text-align: center;
  }

  .home-prof-r {
    width: 100%;
    float: none;
  }

  .home-prof-l img {
    width: 183px;
    margin-bottom: 28px;
  }

  .home-prof-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
  }

  .home-prof-name span {
    font-size: 13px;
  }

  .home-prof-info {
    font-size: 13px;
    line-height: 21px;
    padding: 10px 0;
  }

  .home-prof-biography {
    padding: 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  .home-prof-biography:before {
    content: "";
    display: block;
    border-top: 1px dashed #000;
    margin-top: -1px;
  }

  .home-prof-biography:after {
    content: "";
    display: block;
    border-bottom: 1px dashed #000;
    margin-bottom: -1px;
  }

  .home-prof-biography dl {
    overflow: hidden;
    margin: 4px 0;
    font-size: 13px;
    line-height: 20px;
  }

  .home-prof-biography dl:first-child {
    margin-top: 12px;
  }

  .home-prof-biography dl:last-child {
    margin-bottom: 12px;
  }

  .home-prof-biography dt {
    width: 4.5em;
    float: left;
  }

  .home-prof-biography dd {
    width: calc(100% - 5.5em);
    float: right;
  }

  a.home-prof-btn {
    display: block;
    box-shadow: 0 5px 0 #125FA5;
    width: 90%;
    border-radius: 5px;
    line-height: 20px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    text-align: left;
    margin: 25px auto;
    padding: 11px 12% 9px;
    box-sizing: border-box;
    background: #2572C0 url(/yamikin-gyousha/wp-content/uploads/2025/09/white.png) 88% 53% no-repeat;
    background-size: 14px auto;
  }

  a.home-prof-btn span {
    display: block;
  }

}

.home-flow {
  padding: 64px 166px;
}

.home-flow-step {
  border: 1px solid #2672C0;
  background: #EEF9FB;
  padding: 22px 64px 22px 128px;
}

.home-flow-step-1 {
  background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f1.png) 28px 50% no-repeat;
  background-size: 72px 72px;
}

.home-flow-step-2 {
  background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f2.png) 28px 50% no-repeat;
  background-size: 72px 72px;
}

.home-flow-step-3 {
  background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f3.png) 28px 50% no-repeat;
  background-size: 72px 72px;
}

.home-flow-step-4 {
  background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f4.png) 28px 50% no-repeat;
  background-size: 72px 72px;
}

.home-flow-step-5 {
  background: #FAF9F7 url(/yamikin-gyousha/wp-content/uploads/2025/09/f5.png) 28px 50% no-repeat;
  background-size: 72px 72px;
  border: 1px solid #F3A038;
}

.home-flow-step-in {
  padding-left: 36px;
  border-left: 1px solid #2672C0;
}

.home-flow-step-in1 {
  font-size: 26px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.home-flow-step-in1 span.fnum {
  font-size: 36px;
  color: #2672C0;
  margin-right: 12px;
  line-height: 44px;
}

.home-flow-step-5 .home-flow-step-in {
  border-left: 1px solid #F09F34;
}

.home-flow-step-5 .home-flow-step-in1 span {
  color: #F09F34;
}

.home-flow-step-in2 {
  font-size: 19px;
  line-height: 30px;
}

.home-flow-wrap img {
  display: block;
  width: 128px;
  margin: 12px auto;
}

@media screen and (max-width: 960px) {
  .home-flow {
    padding: 18px 18px 32px;
    overflow: hidden;
  }

  .home-flow-step {
    border: 1px solid #2672C0;
    background: #EEF9FB;
    padding: 12px 18px 12px 94px;
  }

  .home-flow-step-1 {
    background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f1.png) 15px 50% no-repeat;
    background-size: 64px 64px;
  }

  .home-flow-step-2 {
    background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f2.png) 15px 50% no-repeat;
    background-size: 64px 64px;
  }

  .home-flow-step-3 {
    background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f3.png) 15px 50% no-repeat;
    background-size: 64px 64px;
  }

  .home-flow-step-4 {
    background: #EEF9FB url(/yamikin-gyousha/wp-content/uploads/2025/09/f4.png) 15px 50% no-repeat;
    background-size: 64px 64px;
  }

  .home-flow-step-5 {
    background: #FAF9F7 url(/yamikin-gyousha/wp-content/uploads/2025/09/f5.png) 15px 50% no-repeat;
    background-size: 64px 64px;
    border: 1px solid #F3A038;
  }

  .home-flow-step-in {
    padding-left: 18px;
    border-left: 1px solid #2672C0;
  }

  .home-flow-step-in1 {
    font-size: 17px;
    font-weight: 600;
    line-height: 23px;
    padding-top: 8px;
    margin-bottom: 8px;
  }

  .home-flow-step-in1-row1 {
    line-height: 48px;
    margin-bottom: 0;
    padding-top: 2px;
  }

  .home-flow-step-in1 span.fnum {
    font-size: 24px;
    color: #2672C0;
    margin-right: 12px;
    line-height: 44px;
    display: inline-block;
    width: 28px;
    float: left;
  }

  .home-flow-step-in1 span.fbrs {
    display: block;
  }

  .home-flow-step-5 .home-flow-step-in {
    border-left: 1px solid #F09F34;
  }

  .home-flow-step-5 .home-flow-step-in1 span.fnum {
    color: #F09F34;
  }

  .home-flow-step-in2 {
    font-size: 14px;
    line-height: 21px;
  }

  .home-flow-wrap img {
    display: block;
    width: 90px;
    margin: 8px auto;
  }
}

.home-faq {
  padding: 42px 166px;
  background: #f1f6f9;
}

.home-faq-set {
  border: 1px solid #2572C0;
  background: #fff;
  margin-bottom: 30px;
}

/*.home-faq-set:nth-child(even){border:1px solid #2572C0;}*/
.home-faq-set:last-child {
  margin-bottom: 0;
}

.home-faq-q {
  padding: 24px 52px 24px 94px;
  border-bottom: 1px dashed #7F7F7F;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  background: url(/yamikin-gyousha/wp-content/uploads/2025/09/q.png) 32px 22px no-repeat;
  background-size: 40px 40px;
  letter-spacing: 0.05em;
}

.home-faq-a {
  padding: 24px 52px 24px 94px;
  font-size: 19px;
  line-height: 30px;
  background: url(/yamikin-gyousha/wp-content/uploads/2025/09/a.png) 32px 22px no-repeat;
  background-size: 40px 40px;
}

@media screen and (max-width: 960px) {
  .home-faq {
    padding: 18px 28px;
    background: #f1f6f9;
    overflow: hidden;
  }

  .home-faq-set {
    border: 1px solid #2572C0;
    margin-bottom: 19px;
  }

  .home-faq-q {
    padding: 12px 18px 12px 49px;
    border-bottom: 1px dashed #7F7F7F;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    background: url(/yamikin-gyousha/wp-content/uploads/2025/09/q.png) 13px 12px no-repeat;
    background-size: 24px 24px;
  }

  .home-faq-a {
    padding: 12px 18px 12px 49px;
    font-size: 14px;
    line-height: 24px;
    background: url(/yamikin-gyousha/wp-content/uploads/2025/09/a.png) 13px 12px no-repeat;
    background-size: 24px 24px;
  }
}

.home-jirei {
  padding: 64px 166px 16px;
}

.home-jirei-set {
  border: 6px solid #e6e6e6;
  padding: 0 38px;
  margin-bottom: 30px;
}

.home-jirei-set:last-child {
  margin-bottom: 0;
}

.home-jirei-head {
  padding: 18px;
  line-height: 64px;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
}

.home-jirei-head img {
  margin-right: 18px;
}

.home-jirei-set1 {
  background: #EEF9FB;
  border: 1px solid #2672C0;
  margin-bottom: 20px;
  padding: 30px;
  overflow: hidden;
}

.home-jirei-set1 span {
  background: #2572C0;
}

.home-jirei-set1 div {
  font-size: 22px;
  line-height: 36px;
}

.home-jirei-set2 {
  background: #FAF9F7;
  border: 1px solid #F3A038;
  margin-bottom: 38px;
  padding: 30px;
  overflow: hidden;
}

.home-jirei-set2 span {
  background: #F3A03A;
}

.home-jirei-set2 div {
  font-size: 19px;
  line-height: 32px;
}

.home-jirei-set1 span, .home-jirei-set2 span {
  width: 113px;
  height: 35px;
  line-height: 35px;
  float: left;
  text-align: center;
  color: #fff;
  font-size: 20px;
  border-radius: 4px;
  font-weight: 600;
}

.home-jirei-set1 div, .home-jirei-set2 div {
  width: calc(100% - 132px);
  float: right;
}

@media screen and (max-width: 960px) {
  .home-jirei {
    padding: 18px 18px 6px;
    overflow: hidden;
  }

  .home-jirei-set {
    border: 3px solid #e6e6e6;
    padding: 0 22px;
    margin-bottom: 20px;
  }

  .home-jirei-head {
    padding: 18px;
    line-height: 40px;
    font-size: 16.5px;
    font-weight: 600;
    text-align: center;
  }

  .home-jirei-head img {
    margin-right: 16px;
    width: 40px;
  }

  .home-jirei-set1 {
    background: #EEF9FB;
    border: 1px solid #2672C0;
    margin-bottom: 16px;
    padding: 15px 18px;
    overflow: hidden;
  }

  .home-jirei-set2 {
    background: #FAF9F7;
    border: 1px solid #F3A038;
    margin-bottom: 24px;
    padding: 15px 18px;
    overflow: hidden;
  }

  .home-jirei-set1 div {
    font-size: 14px;
    line-height: 21px;
  }

  .home-jirei-set2 div {
    font-size: 14px;
    line-height: 21px;
  }

  .home-jirei-set1 span, .home-jirei-set2 span {
    width: 5.5em;
    height: 30px;
    line-height: 30px;
    float: none;
    text-align: center;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
  }

  .home-jirei-set1 div, .home-jirei-set2 div {
    width: 100%;
    float: none;
  }
}

.home-office {
  padding: 64px 130px 64px 166px;
  margin: 0;
  background: #f1f6f9;
}

.home-office-wrap {
  overflow: hidden;
}

.home-office-l {
  width: 320px;
  float: left;
}

.home-office-r {
  width: 540px;
  float: right;
}

.home-office-list {
  margin: 0;
}

.home-office-list dt {
  display: block;
  width: 128px;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  background: #2572C0;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.home-office-list dd {
  font-size: 19px;
  line-height: 28px;
  padding-left: 0;
  margin-bottom: 24px;
}

@media screen and (max-width: 960px) {
  .home-office {
    padding: 18px 44px;
    background: #f1f6f9;
    overflow: hidden;
  }

  .home-office-l {
    width: 100%;
    float: none;
    text-align: center;
  }

  .home-office-l img {
    width: 183px;
    margin-bottom: 32px;
  }

  .home-office-r {
    width: 100%;
    float: none;
  }

  .home-office-list dt {
    display: block;
    width: 105px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    background: #2572C0;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 6px;
  }

  .home-office-list dd {
    font-size: 15px;
    line-height: 22px;
    padding-left: 0;
    margin-bottom: 12px;
  }

  .home-office-list dd span {
    display: block;
  }
}

.home-list {
  padding: 64px 166px;
}

.home-list-wrap {
  border-top: 1px dashed #7F7F7F;
  margin-top: 20px;
}

.home-list-set {
  padding: 24px 0;
  border-bottom: 1px dashed #7F7F7F;
  overflow: hidden;
}

.home-list-set-l {
  width: 187px;
  float: left;
  text-align: center;
}

.home-list-set-l img {
  max-height: 125px;
  width: auto;
}

.home-list-set-r {
  width: calc(100% - 272px);
  float: right;
  padding: 0 36px;
}

.home-list-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: bold;
}

.home-list-title a {
  text-decoration: none;
  color: #111;
}

.home-list-title a:hover {
  text-decoration: underline;
}

.home-list-pv {
  font-size: 16px;
  line-height: 30px;
  color: #757575;
  margin-top: 12px;
}

@media screen and (max-width: 960px) {
  .home-list {
    padding: 18px 28px 34px;
    overflow: hidden;
  }

  .home-list-wrap {
    margin-top: 10px;
  }

  .home-list-set {
    padding: 12px 0;
    border-bottom: 1px dashed #7F7F7F;
    overflow: hidden;
  }

  .home-list-set-l {
    width: 125px;
    float: left;
  }

  .home-list-set-r {
    width: calc(100% - 150px);
    float: right;
    padding: 0 10px;
  }

  .home-list-title {
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
  }

  .home-list-pv {
    font-size: 12px;
    line-height: 20px;
    color: #757575;
    margin-top: 6px;
  }
}

.home-info {
  padding: 64px 166px;
  margin: 0;
  background: #f1f6f9;
  overflow: hidden;
}

.infoform-text {
  margin: 32px 0;
  font-size: 17px;
  line-height: 30px;
}

dl.infoform-in {
  margin: 24px 0;
  overflow: hidden;
}

dl.infoform-in dt {
  width: 256px;
  float: left;
  padding-left: 18px;
  font-size: 20px;
  font-weight: 600;
  line-height: 44px;
}

dl.infoform-in dt span {
  font-size: 15px;
  background: #F3A03A;
  color: #fff;
  border-radius: 3px;
  padding: 1px 8px;
  margin-left: 15px;
}

dl.infoform-in dd {
  width: calc(100% - 288px);
  float: right;
  padding: 0;
}

dl.infoform-in dd input {
  line-height: 44px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c7d0d6;
  border-radius: 4px;
}

dl.infoform-in dd select {
  line-height: 44px;
  height: 44px;
  width: 228px;
  box-sizing: border-box;
  border: 1px solid #c7d0d6;
  border-radius: 4px;
}

dl.infoform-in dd textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c7d0d6;
  border-radius: 4px;
}

@media screen and (max-width: 960px) {
  .home-info {
    padding: 18px 30px;
    background: #f1f6f9;
    overflow: hidden;
  }

  .infoform-text {
    margin: 4px 0;
    font-size: 13px;
    line-height: 20px;
  }

  dl.infoform-in {
    margin: 12px 0;
    overflow: hidden;
  }

  dl.infoform-in dt {
    width: 100%;
    float: none;
    padding-left: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 4px;
  }

  dl.infoform-in dt span {
    font-size: 10px;
    background: #F3A03A;
    color: #fff;
    border-radius: 3px;
    padding: 2px 8px;
    margin-left: 8px;
  }

  dl.infoform-in dd {
    width: 100%;
    float: none;
    padding: 0;
  }

  dl.infoform-in dd input {
    line-height: 40px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c7d0d6;
    border-radius: 4px;
    max-width: 100%;
  }

  dl.infoform-in dd select {
    line-height: 40px;
    height: 40px;
    width: 195px;
    box-sizing: border-box;
    border: 1px solid #c7d0d6;
    border-radius: 4px;
  }

  dl.infoform-in dd textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c7d0d6;
    border-radius: 4px;
    height: 177px;
  }
}

.page-id-51 .wpcf7-submit {
  display: block;
  background: #F3A03A url(/yamikin-gyousha/wp-content/uploads/2025/09/white.png) 330px 53% no-repeat;
  background-size: 14px auto;
  box-shadow: 0 5px 0 #CD7F1D;
  width: 385px;
  border-radius: 5px;
  height: 62px;
  line-height: 62px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  border: none;
  margin: 40px auto 3px;
}

.page-id-51 .wpcf7-submit:hover {
  box-shadow: 0 2px 0 #CD7F1D;
  margin: 43px auto 0;
  color: #fff;
}

.page-id-51 .wpcf7-submit img {
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 20px;
}

@media screen and (max-width: 960px) {
  .page-id-51 .wpcf7-submit {
    display: block;
    background: #F3A03A url(/yamikin-gyousha/wp-content/uploads/2025/09/white.png) 90% 53% no-repeat;
    background-size: 14px auto;
    box-shadow: 0 5px 0 #CD7F1D;
    width: 92%;
    border-radius: 5px;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    border: none;
    margin: 20px auto 3px;
  }
}



.home-nrdw {
  padding: 42px 124px;
}

#main_content .home-nrdw h2.home-h2 span.h2in {
  margin-bottom: 44px;
}

.home-nrdw-in {
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.home-nrdw-ins {
  display: flex;
  flex-basis: calc(50% - 14px);
  justify-content: flex-start;
  flex-direction: column;
  background: #f0f9fc;
  border: 1px solid #3f71ba;
  box-sizing: border-box;
}

.home-nrdw-ins p {
  margin-bottom: 30px;
}

.home-nrdw-ins p:last-child {
  margin-bottom: 0;
}

.nrdw-h, .nrdw-h2 {
  color: #2F0956;
  font-size: 27px;
  line-height: 40px;
  letter-spacing: .05em;
  font-weight: 600;
  padding: 23px 0 17px;
  height: 80px;
  text-align: center;
  border-bottom: 1px solid #fff;
  position: relative
}

.nrdw-h:after, .nrdw-h2:after {
  content: "";
  border-bottom: 1px dashed #787c7e;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.nrdw-h2 {
  line-height: 80px;
}

.nrdw-b {
  padding: 30px 36px;
  color: #141414;
  font-size: 19px;
  line-height: 30px;
  letter-spacing: .025em;
}

.home-nrdw-ins:nth-child(1),
.home-nrdw-ins:nth-child(2) {
  margin-bottom: 26px;
}

.home-nrdw-ins:nth-child(1),
.home-nrdw-ins:nth-child(3) {
  margin-right: 28px;
}

@media screen and (max-width: 960px) {
  .home-nrdw {
    padding: 20px;
  }

  #main_content .home-nrdw h2.home-h2 span.h2in {
    margin-bottom: 24px;
  }

  .home-nrdw-in {
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .home-nrdw-ins {
    display: flex;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-direction: column;
    background: #f0f9fc;
    border: 1px solid #3f71ba;
    box-sizing: border-box;
  }

  .home-nrdw-ins p {
    margin-bottom: 1em;
  }

  .home-nrdw-ins p:last-child {
    margin-bottom: 0;
  }

  .nrdw-h, .nrdw-h2 {
    color: #2F0956;
    font-size: 18px;
    line-height: 26.5px;
    letter-spacing: .04em;
    font-weight: 600;
    padding: 15px 0 11px;
    height: 53px;
    text-align: center;
    border-bottom: 1px solid #fff;
    position: relative
  }

  .nrdw-h:after, .nrdw-h2:after {
    content: "";
    border-bottom: 1px dashed #787c7e;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
  }

  .nrdw-h2 {
    line-height: 53px;
  }

  .nrdw-b {
    padding: 20px 22px;
    color: #141414;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .025em;
  }

  .home-nrdw-ins:nth-child(1),
  .home-nrdw-ins:nth-child(2),
  .home-nrdw-ins:nth-child(3) {
    margin-bottom: 18px;
  }

  .home-nrdw-ins:nth-child(1),
  .home-nrdw-ins:nth-child(3) {
    margin-right: 0;
  }
}