@charset "UTF-8";
/*!
Theme Name: carry-mind
Description: 東京都のビルメンテナンスは株式会社キャリーマインド | 電気工事 ビルメンテナンス 浅草 上野
Theme URI: https: //www.carry-mind.co.jp
Version: 1.0
License: carry-mind
License URI: https: //www.carry-mind.co.jp
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/****************************************

リセットCSSここから

*****************************************/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  /*1em=10px */
  overflow-y: scroll;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;

}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: top;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}


/****************************************

body設定(主に書式)

*****************************************/
body {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #FFF;
  color: #2F2F2F;
  line-height: 1.7;
  min-width: 1240px;
}

@media screen and (max-width: 767px) {
  body {
    min-width: initial;
  }
}


/****************************************

ページ共通

*****************************************/
#wrapper {
  width: 100%;
  min-height: 100%;
  float: none;
  margin: 0 auto;
  overflow: hidden;
}


/****************************************

フォント指定

*****************************************/
li,
tt,
tr,
dt,
dd,
p,
figcaption {
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

h1 {
  color: #383838;
  font-size: 2.8em;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

h2 {
  color: #383838;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

h3 {
  color: #383838;
  font-size: 2.0rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5;
}



@media screen and (max-width: 767px) {

  li,
  tt,
  tr,
  dt,
  dd,
  p,
  figcaption {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.6rem;
  }
}

/****************************************

リンク指定&オンマウス時のアクション

*****************************************/
a:link,
a:visited {
  color: #3366CC;
  text-decoration: underline;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

a:hover,
a:active {
  color: #264A97;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

a img.img_opacity {
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

a:hover img.img_opacity {
  opacity: 0.7;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

a.tel_link:link,
a.tel_link:visited,
a.tel_link:hover,
a.tel_link:active {
  color: #2F2F2F;
  text-decoration: none;
}


/****************************************

pcヘッダー

*****************************************/
@media print,
screen and (min-width: 768px) {


  #sp_navi,
  #toggle {
    display: none;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }

  header {
    position: relative;
  }

  .header_area {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom,
        rgba(209, 230, 243, 0.80) 0%,
        rgba(209, 230, 243, 0.80) 15%,
        rgba(209, 230, 243, 0.80) 30%,
        rgba(209, 230, 243, 0.79) 45%,
        rgba(209, 230, 243, 0.77) 60%,
        rgba(209, 230, 243, 0.60) 70%,
        rgba(209, 230, 243, 0.40) 80%,
        rgba(209, 230, 243, 0.20) 90%,
        rgba(209, 230, 243, 0.00) 100%);
    height: 220px;
    z-index: 100;
  }


  .header_box {
    width: 100%;
  }

  .header_area .logo {
    text-align: left;
    max-width: 335px;
    height: auto;
    z-index: 1;
    padding-top: 20px;
    padding-left: 20px;
  }

  .header_box {
    display: flex;
    align-items: flex-start;
    width: 100%;
  }

  .header_box .logo {
    width: 100%;
    max-width: 335px;
    flex-shrink: 0;
  }


  .header_info>div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    text-align: right;
  }

  .header_info_coulum {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .header_info {
    flex: 1;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 190px;
    /* CONTACTの幅を確保 */
  }

  .header_info .logo {
    flex-shrink: 0;
  }


  .contact {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 30px;
    aspect-ratio: 1 / 1;
    color: rgb(38, 38, 38);
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    width: 190px;
    height: 150px;
    background: rgb(255, 221, 0);
    flex-shrink: 0;
  }

  .contact a {
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: 0.3s;

  }

  .contact p {
    font-size: 18px;
  }

  .contact:hover {
    opacity: 0.7;
  }

  .contact img {
    max-width: 100px;
    height: auto;
  }

  .header_info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .header_info .tel {
    margin-right: 20px;
  }

  .tel {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
    padding-top: 20px;
  }

  .tel::before {
    content: "";
    width: 17px;
    height: 23px;
    background: url("images/icon_tel.png") no-repeat center;
    display: block;
    flex-shrink: 0;
  }
}

.tel {
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  padding-top: 20px;
}

.tel::before {
  content: "";
  width: 17px;
  height: 23px;
  background: url("images/icon_tel.png") no-repeat center;
  display: block;
  flex-shrink: 0;
}

@media screen and (max-width: 1400px) {
  .header_info {
    margin-right: 160px;
  }

  /* ロゴを少し小さく */
  .header_box .logo {
    max-width: 280px;
  }

  /* CONTACTを少し小さく */
  .contact {
    width: 160px;
    height: 135px;
    padding-top: 20px;
  }

  .contact img {
    max-width: 80px;
  }

  .contact p {
    font-size: 16px;
  }

  /* 電話番号を少し小さく */
  .tel {
    font-size: 24px;
  }

  /* ナビを少し詰める */
  #g_navi .menu {
    gap: 15px;
  }

  #g_navi .menu a {
    font-size: 15px;
    white-space: nowrap;
  }

}


/****************************************

spヘッダー

*****************************************/
@media screen and (max-width: 767px) {
  img {
    width: 100%;
    height: auto;
  }

  #header {
    position: relative;
    width: 100%;
  }

  .contact {
    display: none;
  }

  .header_info {
    display: none;
  }

  .header_box {
    position: relative;
    width: 100%;
  }

  .header_box .logo {
    width: 260px;
    padding: 10px 0 15px 10px;
  }

  #toggle {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    border: 1px solid #383838;
    background: rgb(255, 221, 0);
    cursor: pointer;
    z-index: 9999;
  }

  #toggle div {
    position: relative;
  }

  #toggle span {
    display: block;
    position: absolute;
    right: 12px;
    width: 26px;
    height: 2px;
    background: #383838;
    -webkit-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
  }

  #toggle span:nth-child(1) {
    top: 11px;
  }

  #toggle span:nth-child(2) {
    top: 18px;
  }

  #toggle span:nth-child(3) {
    top: 25px;
  }

  #toggle::after {
    position: absolute;
    content: "メニュー";
    line-height: 1.2;
    font-size: 1.1rem;
    color: #000;
    text-align: center;
    bottom: 5px;
    left: 0;
    width: 100%;
  }

  /*spanの絶対位置指定の親にします*/
  .open_navi #toggle {
    position: fixed;
  }

  .open_navi #toggle span {
    background: #383838;
  }

  .open_navi #toggle span:nth-of-type(1) {
    -webkit-transform: translateY(7px) rotate(-315deg);
    -ms-transform: translateY(7px) rotate(-315deg);
    transform: translateY(7px) rotate(-315deg);
  }

  .open_navi #toggle span:nth-of-type(2) {
    opacity: 0;
  }

  .open_navi #toggle span:nth-of-type(3) {
    -webkit-transform: translateY(-7px) rotate(315deg);
    -ms-transform: translateY(-7px) rotate(315deg);
    transform: translateY(-7px) rotate(315deg);
  }

  #sp_navi {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    overflow-y: scroll;
    text-align: left;
    background: rgb(255, 221, 0, 0.9);
    z-index: 999;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  .open_navi #sp_navi {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  .open_navi #wrapper {
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  #sp_navi .menu {
    padding-top: 80px;
    text-align: center;
  }

  #sp_navi .menu .menu-item {
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    color: #383838;
    margin: 0 auto;
    font-size: 1.4rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #sp_navi .menu-item a,
  #sp_navi .menu-item span {
    display: block;
    padding: 15px 0 14px;
  }

  #sp_navi .menu-item a:link,
  #sp_navi .menu-item a:visited,
  #sp_navi .menu-item a:hover,
  #sp_navi .menu-item a:active {
    color: #383838;
    text-decoration: none;
  }

  #sp_navi .sub-menu {
    width: 100%;
    text-align: center;
    display: none;
  }

  #sp_navi .sub-menu li {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }

  #sp_navi .sub-menu li a {
    display: block;
    padding: 11px 0 10px;
    color: #383838;
    background: rgb(239, 239, 238, 0.9);
  }

  #sp_navi .sub-menu li a:link,
  #sp_navi .sub-menu li a:visited,
  #sp_navi .sub-menu li a:hover,
  #sp_navi .sub-menu li a:active {
    color: #383838;
    text-decoration: none;
  }

  #sp_navi .sub-menu li a:hover {
    color: #383838;
    background: none;
  }

  #sp_navi .menu-item-has-children {
    position: relative;
  }

  #sp_navi .menu-item-has-children::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    position: absolute;
    top: 14px;
    right: 20px;
  }

  #sp_navi .menu-item-has-children.menu_open::before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    top: 22px;
  }
}


/****************************************

pc用 横ナビ

*****************************************/
#g_navi {}

#g_navi .menu {
  *zoom: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
}

#g_navi .menu>li {
  position: relative;
  width: 150px;
  height: 70px;
}

#g_navi .menu>li>a {
  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;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #2F2F2F;
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}


#g_navi .menu>li>a:link,
#g_navi .menu>li>a:visited {
  color: #2F2F2F;
}

#g_navi .menu>li>a:hover,
#g_navi .menu>li>a:active {
  color: #383838;
}



#g_navi .menu li ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  list-style: none;
  width: 100%;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

#g_navi .menu li ul li {
  width: 100%;
}

#g_navi .menu li ul li a {
  display: block;
  width: auto;
  padding: 12px 5px;
  background-color: rgb(4, 34, 149);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  visibility: hidden;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

#g_navi .menu li ul li a:link,
#g_navi .menu li ul li a:visited {
  background-color: rgb(4, 34, 149);
  color: #fff;
}

#g_navi .menu li ul li a:hover,
#g_navi .menu li ul li a:active {
  background-color: rgb(239, 239, 238);
  color: #383838;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

#g_navi .menu li:hover ul {
  visibility: visible;
  opacity: 0.95;
}

#g_navi .menu li:hover ul li a {
  visibility: visible;
  opacity: 1;
}

/* ナビ下線用 */
@media print,
screen and (min-width: 768px) {
  .menu>li>a {
    position: relative;
    display: inline-block;
    -webkit-transition: 0.6s;
    transition: 0.6s;
  }

  .menu>li>a::before,
  .menu>li>a::after {
    position: absolute;
    bottom: 0;
    content: "";
    width: 0;
    height: 3px;
    background-color: rgb(4, 34, 149);
    -webkit-transition: 0.6s;
    transition: 0.6s;
  }

  .menu>li>a::before {
    left: 50%;
  }

  .menu>li>a::after {
    right: 50%;
  }

  .menu>li>a:hover::before,
  .menu>li>a:hover::after {
    width: 50%;
    opacity: 0.9;
    filter: alpha(opacity=90);
  }
}

@media screen and (max-width: 1280px) {

  #g_navi .menu {
    gap: 12px;
  }

  #g_navi .menu li {
    margin: 0;
  }

  #g_navi .menu a {
    font-size: 14px;
    white-space: nowrap;
  }

  #g_navi .menu>li>a {
    font-size: 18px;
  }

  #g_navi .menu li ul li a {
    font-size: 1.3rem;
  }

  #g_navi .menu>li {
    width: 130px;
  }
}



@media screen and (max-width: 767px) {
  #g_navi {
    display: none;
  }
}


/****************************************

メインビジュアル

*****************************************/
#slider {
  width: 100%
}

#slider .metaslider {
  position: relative;
  width: 100% !important;
}

#slider .metaslider img {
  width: 100%;
  min-height: 800px;
  object-fit: cover;
}


@media print,
screen and (min-width: 768px) {
  #slider .metaslider img {}


  #slider .slider_txt {
    position: absolute;
    top: 50%;
    left: 5%;
    z-index: 1;
    text-align: center;
    transform: translate(0, -50%);
    content: "";
    font-size: 60px;
    color: rgb(38, 38, 38);
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.6);
    padding-inline: 50px;
  }


  #mv {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 479px;
  }

  #mv img {}

  @media print,
  screen and (min-width: 768px) {
    #mv {}
  }

  #mv .mv_txt {
    position: absolute;
    top: 60%;
    left: 5%;
    z-index: 1;
    text-align: center;
    transform: translate(0, -60%);
    content: "";
    font-size: 60px;
    color: rgb(38, 38, 38);
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 6px 4.75px 0.25px rgba(119, 118, 117, 0.18);
    font-family: ;
    font-size: 38px;
    padding-block: 10px;
    padding-inline: 80px;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  }
}

@media screen and (max-width: 1180px) {}

.ms-edit-frontend {
  display: none;
}

@media screen and (max-width: 767px) {
  #slider {
    position: relative;
  }

  #slider .metaslider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100% !important;
    margin: 0;
    overflow: hidden;
    height: 250px;
  }

  #slider .metaslider img {
    min-height: 250px;
    object-fit: cover;
    object-position: right;
  }

  #slider .slider_txt {
    position: absolute;
    top: 70%;
    left: 5%;
    z-index: 1;
    text-align: center;
    transform: translate(0, -50%);
    content: "";
    color: rgb(38, 38, 38);
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    padding-inline: 15px;
  }



  #mv {
    height: 180px;
    margin: 0;
    overflow: hidden;
    text-align: center;
    position: relative;
  }

  #mv img {
    height: 180px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  #mv .mv_txt {
    font-size: 24px;
    padding-block: 5px;
    padding-inline: 40px;
    position: absolute;
    top: 60%;
    left: 5%;
    z-index: 1;
    text-align: center;
    transform: translate(0, -60%);
    content: "";

    color: rgb(38, 38, 38);
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 6px 4.75px 0.25px rgba(119, 118, 117, 0.18);
    font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

  }

  .flex-direction-nav {
    display: none !important;
  }
}


/****************************************

content 共通設定

*****************************************/
main#top_main {
  width: 100%;
}

main#page_main {
  width: 1200px;
  margin: 0 auto 80px;
}

main#single_main {
  width: 920px;
  margin: 0 auto 60px;
}

.breadcrumb_area {
  width: 1200px;
  margin: 0 auto 30px;
  padding-top: 20px;
}

.breadcrumb_area .breadcrumb {
  text-align: right;
}

.breadcrumb_area .breadcrumb p {
  font-size: 1.4rem;
}

.breadcrumb_area .breadcrumb p a {
  color: #2F2F2F;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.breadcrumb_area .breadcrumb p a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #2F2F2F;
  -webkit-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.breadcrumb_area .breadcrumb p a:hover::after {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}

@media screen and (max-width:1200px) {

  main#page_main,
  main#single_main {
    width: 100%;
    margin-inline: auto;
    padding-inline: 30px;
  }

}

@media screen and (max-width: 767px) {
  main#top_main {}

  main#page_main,
  main#single_main {
    width: 100%;
    margin-bottom: 50px;
    padding: 0 15px;
  }

  .breadcrumb_area {
    width: 100%;
    margin-bottom: 20px;
  }

  .breadcrumb_area .breadcrumb p {
    font-size: 1.2rem;
  }
}


/****************************************

contentトップ用

*****************************************/
.box01 {
  background: url(images/top_bg01.jpg) no-repeat center bottom;
}

.top_box01 {
  padding: 0 calc((100% - 1140px) / 2) 80px;


}

.top_box01 .txt_box {
  width: 1000px;
  margin-bottom: 40px;
  margin-inline: auto;
  text-align: center;
}

.top_box01>.btn02 {
  margin-inline: auto;
}



.top_box02 {
  padding-top: 40px;
  padding-bottom: 60px;
  text-align: center;
  background: rgb(239, 239, 238);
}

.top_box02_bnr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  height: auto;
  align-items: stretch;
}

.top_box02_bnr>li {
  display: flex;
  flex-direction: column;
  padding-top: 110px;
  padding-bottom: 70px;
  width: 50%;
  height: auto;
  color: #FFF;
  text-align: center;
  padding-inline: 15px;
}

.top_box02_bnr p {
  color: #FFF;
  margin-bottom: 40px;
}

.box02_bnr01 {
  background: url(images/topbox02_bnr1.jpg) no-repeat;
}

.box02_bnr02 {
  background: url(images/topbox02_bnr2.jpg) no-repeat;
}

.top_box03 {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 60px 0;
  padding: 0 50px;
}

.top_box03 .txt_box {
  margin-bottom: 40px;
}

.top_box03_txt {
  flex: 1 1 0;
  min-width: 0;
}

.top_box03>img {
  object-fit: cover;
  min-height: 380px;
  aspect-ratio: 84 / 45;
  flex: 1 1 0;
  min-width: 0;
  max-width: 840px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(26, 64, 26, 0.4);
}

.top_box04 {
  width: 100%;
  height: auto;
  text-align: center;
  background: url(images/result_bg.jpg) no-repeat top /cover;
  padding-bottom: 60px;
  padding-top: 40px;
}

.top_box04_bnr {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.box04_bnr {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.box04_bnr img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  z-index: 1;
  box-shadow: 0px 4px 12px 0px rgba(26, 64, 26, 0.4);
}

.top_box05 {
  padding-block: 50px;
  padding-inline: 15px;
  width: 100%;
  background: rgb(239, 239, 238);
}

.txt_box05 {
  width: 1200px;
  margin-inline: auto;
}

.txt_box05>div {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

@media screen and (max-width: 1200px) {
  .top_box03 {}

  .top_box04 {
    padding-inline: 30px;
    padding-top: 30px;
  }

  .top_box05 {
    padding-inline: 30px;
  }

  .txt_box05 {
    width: auto;
  }

  .txt_box05>div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

  }

  .txt_box05 p {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .box01 {
    padding-top: 20px;
    padding-inline: 15px;
  }

  .top_box01 {
    width: 100%;

    padding-bottom: 50px;
  }


  .top_box01 .txt_box {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .top_box02 {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .top_box02_bnr>li {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    height: auto;
    padding-inline: 15px;
    background-size: cover;
  }

  .top_box03 {
    gap: 0px;
    margin-block: 30px;
    padding-inline: 15px;
    flex-direction: column;
  }

  .top_box03 img {
    width: 100%;
    margin-top: 30px;
  }

  .top_box03_txt,
  .top_box03>img {
    width: 100%;
    height: auto;
    flex-basis: auto;
    min-height: 100px;
    object-fit: contain;
  }

  .top_box03 .txt_box {
    margin-bottom: 20px;
  }

  .top_box04 {
    padding-inline: 15px;
    padding-block: 30px;
  }

  .top_box04_bnr {
    flex-direction: column;
    gap: 20px;
  }

  .txt_box05 {
    width: 100%;
    padding-inline: 15px;
  }

  .top_box05 {
    padding-block: 25px;
  }


  .txt_box05>div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

  }

  .txt_box05 p {
    margin-bottom: 20px;
  }
}


/****************************************

news トップ用

*****************************************/
.news_box {
  position: relative;
  background: #FFF;
  width: 1200px;
  height: 230px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  border-radius: 20px;
  z-index: 2;
  margin-top: -80px;
}

.news_box .news_post {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: flex-end;
  overflow-y: scroll;
  width: 100%;
  gap: 50px;
}

.news_list {
  width: 800px;
  gap: 20px;
}

.news_list>div {
  display: flex;
  border-bottom: #383838 dotted 1px;
  padding: 10px;
}

.news_list .date {
  margin-bottom: 3px;
  color: rgb(4, 34, 149);
  font-size: 1.6rem;
  font-weight: bold;
  margin-right: 40px;
}

.news_list h3 {
  font-size: 1.6rem;
  font-weight: normal;
}

.news_list h3 a {
  color: #2F2F2F;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.news_list h3 a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #2F2F2F;
  -webkit-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.news_list h3 a:hover::after {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}

@media screen and (max-width: 1200px) {
  .news_box {
    width: 90%;
    gap: 30px;
  }

  .news_list {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .news_box {
    width: 100%;
    height: 320px;
    margin: 0 0 0 0px;
    padding: 20px 15px 40px;
    flex-direction: column;
  }

  .news_box .news_post {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
  }

  .news_box .btn01 {
    margin-top: 25px;
  }

  .news_list {
    width: 100%;

  }

  .news_list>div {
    flex-direction: column;
    padding: 5px;
  }

  .news_list .date {
    margin-bottom: 0;
    font-size: 1.3rem;
    margin-right: 20px;
  }

  .news_list h3 {
    font-size: 1.4rem;
  }
}


/****************************************

content下層用

*****************************************/
/* 下層共通 */
.txt1200 {
  margin-bottom: 40px;
}

/* フレックス設定 */
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex_r {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

@media screen and (max-width: 767px) {

  .flex,
  .flex_r {
    gap: 20px;
  }

  .flex figure,
  .flex_r figure {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}


/* 代表挨拶 */
.greeting_box01 {
  background: url(images/greeting_bg.jpg) right top no-repeat;
  padding-top: 20px;
  padding-bottom: 40px;
}

.greeting_box01_txt {
  width: 760px;

}

.greeting_box01_txt .name {
  margin-top: 30px;
  font-size: 1.8rem;
  text-align: right;
}



@media screen and (max-width: 767px) {

  .greeting_box01 {
    width: calc(100% + 30px);
    transform: translateX(-15px);
    background-size: cover;
    background-position: center;
  }


  .greeting_box01_txt {
    width: 100%;
    padding-inline: 15px;
  }

  .greeting_box01_txt .name {
    margin-top: 15px;
    font-size: 1.6rem;
  }

}


/* ビルメンテナンス */

.mt_box01 .btn01 {
  width: 300px;
}

.txt700 {
  width: 700px;
}

.work_list {
  counter-reset: step;
}

.work_list>li {
  counter-increment: step;
  margin-bottom: 40px;
}

.work_list li h3 {
  margin-bottom: 20px;
}

.work_list>li>h3::before {
  padding: 1px 8px;
  content: counter(step);
  color: #FFF;
  background-color: rgb(119, 118, 117);
  margin-right: 10px;
  font-size: 18px;
}

.work_list .clean_list li {
  border: 3px rgb(200, 200, 199) solid;
  border-radius: 10px;
  width: 32%;
  padding: 30px 20px;
  min-width: 320px;
  margin-inline: auto;
}

.work_list .clean_list li h4 {
  position: relative;
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.work_list .clean_list li h4::after {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: rgb(255, 221, 0);
}

@media screen and (max-width: 767px) {
  .work_list li {
    margin-bottom: 0px;
  }

  .work_list .clean_list li {
    width: 100%;
    padding: 20px 15px;
  }

  .clean_list {
    margin-bottom: 30px;
  }
}

/* 労働者派遣業 */
.worker {
  width: 700px;
  list-style: none;
  counter-reset: num;
  padding-left: 0;
}

.worker li {
  counter-increment: num;
  position: relative;
  padding-left: 2.4em;
}

.worker li::before {
  content: "（" counter(num) "）";
  position: absolute;
  left: 0;
  letter-spacing: 0.1em;
}

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

/* 施工事例 */

.example_box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
}

.example_item {
  width: 380px;
  height: auto;
  margin-bottom: 40px;
}

.example_item img {
  width: 380px;
  height: 285px;
}

.example_item>.h2_subhead01 {
  margin-top: 20px;
}

@media screen and (max-width: 1400px) {
  .example_box {
    gap: 4%;
  }

  .example_item {
    width: 30%;

  }

  .example_item img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 767px) {

  .example_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4%;
  }

  .example_item {
    width: 48%;
    height: auto;
    margin-bottom: 20px;
  }

  .example_item img {
    width: 100%;
    height: auto;
  }

  .example_item .h2_subhead02 {
    margin-top: 10px;
  }
}

/* 工事実績 */
.table01 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 40px;
}

.table01 th,
.table01 td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: left;
}

.table01 th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.table01 .col1 {
  width: 15%;
}

.table01 .col2 {
  width: 20%;
}

.table01 .col3 {
  width: 65%;
}

@media screen and (max-width: 767px) {
  .table_box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table_box::before {
    content: "← 横にスクロール →";
    display: inline-block;
    position: sticky;
    top: 0;
    left: 10px;
    margin-bottom: 5px;
    color: #383838;
    font-size: 1.2rem;
  }

  .table01 {
    margin-bottom: 10px;
    min-width: 900px;

  }


}

/* 募集要項 */
.page-link {
  text-align: center;

}

.page-link a {
  font-size: 20px;
  color: #383838;
  text-decoration: none;
}

.page-link a:hover {
  opacity: 0.8;
}


.entry_box {
  text-align: center;
}

.entry_box dt {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.entry_box .contact_info .tel {
  padding-top: 0px;
}

.entry_box .contact_info {
  align-items: center;
}

.entry_box .contact_info .btn01 {
  width: 350px;
}

.recruit_dl {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 70%;
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
}

.recruit_dl dt,
.recruit_dl dd {
  margin: 0;
  padding: 12px 20px;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
}

.recruit_dl dt {
  background: rgb(239, 239, 238);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.recruit_dl dd {
  background: #FFF;
}

@media screen and (max-width: 767px) {
  .entry_box .contact_info .btn01 {
    width: 280px;
  }

  .entry_box p {
    text-align: left;
  }

  .recruit_dl {
    grid-template-columns: 1fr;
    border: none;
  }

  .recruit_dl dt {
    border-bottom: none;
    justify-content: flex-start;
    text-align: left;
  }

  .recruit_dl dd {
    margin-bottom: 10px;
  }

  .recruit_dl dt,
  .recruit_dl dd {
    border-top: 1px solid #404040;
    border-left: 1px solid #404040;
  }
}

/* 会社概要 */
.history {
  width: 100%;
  display: grid;

}

.history_item {
  display: grid;
  grid-template-columns: 15% 85%;
  border-bottom: 1px dashed #5a5a59;
  font-size: 16px;
}

.history_item dt,
.history_item dd {
  margin: 0;
  padding: 12px 20px;
}

@media screen and (max-width: 767px) {

  .history_item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .history_item dt {
    padding: 10px 0px 5px 0px;
  }

  .history_item dd {
    padding: 0px 0px 10px 0px;
  }
}

/* お問い合わせ */
.contact_info {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact_info .fax {
  color: #383838;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  width: 280px;
  padding-top: 20px;
}

@media screen and (max-width: 767px) {

  .contact_info {
    flex-direction: column;
    gap: 15px;

  }

  .contact_info .tel {
    width: auto;
    margin-inline: auto;
  }

  .contact_info .fax {
    padding-top: 0px;
    font-size: 24px;
    width: auto;
    margin-inline: auto;
  }
}

/* 求人情報・お問い合わせ */
.recruit_flow_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

.recruit_flow_list li {
  position: relative;
  width: 290px;
  padding: 25px 0;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

.recruit_flow_list li:first-child {
  background: url(images/recruit_flow_bg01.svg) no-repeat right 15px bottom #FDE459;
}

.recruit_flow_list li:nth-child(2) {
  background: url(images/recruit_flow_bg02.svg) no-repeat right 15px bottom #FDE459;
}

.recruit_flow_list li:last-child {
  background: url(images/recruit_flow_bg03.svg) no-repeat right 15px bottom #FDE459;
}

@media print,
screen and (min-width: 768px) {

  .recruit_flow_list li:first-child::before,
  .recruit_flow_list li:nth-child(2)::before {
    position: absolute;
    content: "";
    top: 50%;
    right: -30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #777;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

.site_policy {
  padding: 30px;
  border-radius: 10px;
  background-color: rgb(239, 239, 238);
  text-align: center;
}

.site_policy dt {
  font-size: 20px;
  margin-bottom: 5px;
}

.site_policy dd {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .recruit_flow_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 35px 0;
  }

  .recruit_flow_list li {
    width: 100%;
    padding: 15px 0;
    font-size: 1.6rem;
  }

  .recruit_flow_list li:first-child,
  .recruit_flow_list li:nth-child(2),
  .recruit_flow_list li:last-child {
    background-size: auto 48px;
  }

  .recruit_flow_list li:first-child::before,
  .recruit_flow_list li:nth-child(2)::before {
    position: absolute;
    content: "";
    bottom: -25px;
    left: 50%;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 15px solid #777;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .site_policy {
    padding: 20px 15px;
  }

  .site_policy dd {
    font-size: 1.3rem;
    text-align: left;
  }
}


/* アクセス */
@media screen and (max-width: 767px) {
  .googlemap iframe {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
  }
}


/* ブログ */
.news_parts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 40px;
}

.news_parts figure {
  width: 440px;
  border-radius: 10px;
}

.news_parts .news_txt {
  width: 700px;
}

.news_parts .news_txt h2 {
  font-size: 2.2rem;
}

.news_parts .news_txt .date {
  display: block;
  margin-bottom: 10px;
  color: #999;
  font-size: 1.5rem;
}

.news_parts .news_txt .btn01 {
  margin: 40px 0 0 auto;
}

@media print,
screen and (min-width: 768px) {}

.blog_parts:not(:last-child) {
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .news_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 40px 4%;
  }

  .news_parts {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .news_parts figure {
    width: 100%;
    margin-bottom: 12px;
  }

  .news_parts .news_txt {
    width: 100%;
  }

  .news_parts .news_txt h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
  }

  .news_parts .news_txt .date {
    margin-bottom: 5px;
    font-size: 1.2rem;
  }

  .news_parts .news_txt p {
    font-size: 1.2rem;
  }

  .news_parts .news_txt .btn02 {
    width: 130px;
    margin: 20px auto 0;
  }

  .news_parts .news_txt .btn02 a::before {
    display: none;
  }

  .news_parts:not(:last-child) {
    margin-bottom: 0;
  }
}


/****************************************

single.php

*****************************************/
.single_box .date {
  display: block;
  margin-bottom: 15px;
  color: #999;
  font-size: 1.5rem;
}

.single_box img {
  max-width: 900px;
  width: auto;
  height: auto;
  margin: 10px 10px 10px 0;
}

.nav-below {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  margin: 70px auto 0;
}

.nav-below .list {
  width: 250px;
  background: rgb(4, 34, 149);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.nav-below .list a {
  display: block;
  padding: 15px 5px;
  color: #FFF;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
}

.nav-below .list:hover {
  background: rgb(4, 34, 149);
  opacity: 0.7;
}

.nav-below>a {
  display: block;
  width: 140px;
  padding: 15px 5px;
  background: rgb(45, 75, 190);
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.nav-below>a span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #FFF;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.nav-below>a:hover {
  opacity: 0.7;
}

.pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

a.page-numbers {
  background: rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 5px 12px;
  margin: 0 3px 5px;
  font-size: 1.4rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

a.page-numbers:link,
a.page-numbers:visited {
  color: #222;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

a.page-numbers:hover,
a.page-numbers:active {
  color: #999;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.pager .current {
  background: rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 5px 12px;
  margin: 0 3px 5px;
  font-size: 1.6rem;
  background: rgb(0, 0, 0);
  border: solid 1px rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

@media screen and (max-width: 767px) {
  .single_box .date {
    font-size: 1.4rem;
  }

  .single_box img {
    max-width: 100%;
    margin: 10px 0;
  }

  .nav-below {
    width: 100%;
    margin-top: 50px;
  }

  .nav-below .list {
    width: 40%;
  }

  .nav-below .list a {
    font-size: 1.3rem;
  }

  .nav-below>a {
    width: 30%;
    font-size: 1.3rem;
  }

  .pager {
    margin-top: 20px;
  }
}


/****************************************

aside

*****************************************/

.bottom_info {
  position: relative;
  padding: 70px calc((100% - 1140px) / 2) 60px;
  background: url(images/contact_bg.jpg) no-repeat top /cover;
}


.bottom_info_txt {
  margin-bottom: 40px;
  color: #FFF;
}

.bottom_info_list {
  gap: 30px;
}

.bottom_info_list li {
  justify-content: center;
}

.bottom_info_list .mail:hover {
  opacity: 0.7;
}

.bottom_info .fax,
.bottom_info .mail,
.bottom_info .tel {
  color: #383838;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  background: #FFF;
  padding-top: 0px;
  border-radius: 5px;
  border: rgb(255, 221, 0) 2px solid;
  height: 60px;
  width: 280px;
}

.mail {
  background-color: rgb(255, 221, 0);
  gap: 15px;
}

.mail a {
  font-size: 24px;
  color: #383838;
  text-decoration: none !important;
}

.tel a {
  color: #383838;
  text-decoration: none !important;
}

.mail::before {
  content: "";
  width: 28px;
  height: 20px;
  background: url("images/icon_mail.png") no-repeat center;
  display: block;
  flex-shrink: 0;
}

.fax::before {
  content: "";
  width: 33px;
  height: 25px;
  background: url("images/icon_fax.png") no-repeat center;
  display: block;
  flex-shrink: 0;
}

@media print,
screen and (min-width: 768px) {
  .bottom_info_txt {
    text-align: center;
  }
}

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


.bottom_bnr li:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
}

@media screen and (max-width: 767px) {
  .bottom_info {
    width: 100%;
    padding: 30px 15px;
  }

  .bottom_info h2 {
    font-size: 2.2rem;
  }

  .bottom_info_txt {
    margin-bottom: 25px;
  }

  .bottom_info_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
  }

  .bottom_info_list .tel {
    margin: 0px;
    padding: 0;
  }

  .bottom_info_list .tel p:first-child {
    font-size: 1.2rem;
    text-align: center;
  }

  .bottom_info_list .tel p:last-child {
    font-size: 2.4rem;
  }

  .bottom_info_list .tel p:last-child span {
    font-size: 1.6rem;
  }


  .bottom_info::before,
  .bottom_info::after {
    height: 30px;
  }

  .bottom_info::before {
    top: -30px;
  }

  .bottom_bnr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px 0;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .bottom_bnr li {
    width: 100%;
    max-width: 370px;
    margin-right: auto;
    margin-left: auto;
  }


}


/****************************************

Description List

*****************************************/

.overview_dl {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 70%;
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
}

.overview_dl dt,
.overview_dl dd {
  margin: 0;
  padding: 12px 20px;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
}

.overview_dl dt {
  background: rgb(239, 239, 238);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overview dd {
  background: #FFF;
}

@media screen and (max-width: 767px) {
  .overview_dl {
    grid-template-columns: 1fr;
    border: none;
  }

  .overview_dl dt {
    border-bottom: none;
    justify-content: flex-start;
    text-align: left;
  }

  .overview_dl dd {
    margin-bottom: 10px;
  }

  .overview_dl dt,
  .overview_dl dd {
    border-top: 1px solid #404040;
    border-left: 1px solid #404040;
  }
}

/****************************************

ボタン

*****************************************/
.btn01 {
  width: 250px;
  height: 60px;
  border-width: 0px;
  border-color: rgb(90, 90, 89);
  border-style: solid;
  border-radius: 5px;
  background-color: rgb(255, 221, 0);
  box-shadow: 0px 2px 6px 0px rgba(26, 64, 26, 0.3);
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

.btn01 a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 13px 0;
  width: 100%;
  color: #383838;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn01 a:before {
  position: absolute;
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: 30px;
  /* 横棒の長さ */
  height: 2px;
  /* 横棒の太さ */
  background: #383838;
}

.btn01:hover {
  background: rgb(239, 239, 238);
}

.btn01:hover a {
  color: inherit;
}

.top_box05 .btn01:hover {
  background: rgb(4, 34, 149);
  color: #FFF;
}

.top_box05 .btn01 a:hover::before {
  background: #fff;
}

.btn02 {
  color: #FFF;
  width: 400px;
  height: 60px;
  border-radius: 5px;
  background-color: rgb(4, 34, 149);
  box-shadow: 0px 2px 6px 0px rgba(26, 64, 26, 0.3);
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

.btn02 a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 13px 0;
  width: 100%;
  color: #FFF;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn02 a:before {
  position: absolute;
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: 30px;
  /* 横棒の長さ */
  height: 2px;
  /* 横棒の太さ */
  background: #FFF;
}

.btn02:hover {
  background: rgb(239, 239, 238);
}

.btn02 a:hover::before {
  background: #383838;
}

.btn02 a:hover {
  color: #383838;
}

.btn03 {
  width: 250px;
  height: 60px;
  border-width: 2px;
  border-color: #FFF;
  border-style: solid;
  border-radius: 5px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  margin-inline: auto;
  margin-top: auto;
}

.btn03 a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 13px 0;
  width: 100%;
  color: #FFF;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn03 a:before {
  position: absolute;
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: 30px;
  /* 横棒の長さ */
  height: 2px;
  /* 横棒の太さ */
  background: #FFF;
}

.btn03:hover {
  background: rgb(239, 239, 238);
}

.btn03:hover a {
  color: #383838;
}

.btn03 a:hover::before {
  background: #383838;
}

@media screen and (min-width: 768px) {
  .sp_btn {
    display: none;
  }
}

@media screen and (max-width: 767px) {

  .btn01,
  .btn02 {
    width: 200px;
    height: 50px;
    margin-inline: auto;
  }

  .btn01 a,
  .btn02 a {
    padding: 10px 0;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
  }

  .btn01 a::before,
  .btn02 a::before {
    right: 0;
    width: 20px;
    height: 2px;
  }

  .pc_btn {
    display: none;
  }

  .sp_btn {
    margin-inline: auto;
  }

}


/****************************************

txt設定

*****************************************/
.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb70 {
  margin-bottom: 70px;
}

.mb80 {
  margin-bottom: 80px;
}

.ml15 {
  margin-left: 15px;
}

.mt30 {
  margin-top: 30px;
}

.txt580 {
  width: 580px;
}

@media screen and (max-width: 767px) {
  .mt30 {
    margin-top: 20px;
  }

  .mb40 {
    margin-bottom: 30px;
  }

  .mb50,
  .mb60,
  .mb70,
  .mb80 {
    margin-bottom: 40px;
  }

  .txt580 {
    width: 100%;
  }
}


/****************************************

P

*****************************************/
/* 改行 */
.line_break {
  padding-top: 20px;
}

@media print,
screen and (min-width: 768px) {
  .br-pc {
    display: block;
  }

  .br-sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }
}

/* 強調 */
.bold {
  font-weight: bold;
}

.big {
  font-size: 1.8rem;
}

.red {
  color: #D80700;
}

.blue {
  color: rgb(4, 34, 149);
}

.green {
  color: #0e8807;
}

@media screen and (max-width: 767px) {
  .big {
    font-size: 1.6rem;
  }
}

/* 位置 */
@media print,
screen and (min-width: 768px) {
  .align_center {
    text-align: center;
  }

  .align_center>.tel {
    width: 280px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 767px) {
  .align_center {
    text-align: left;
  }

  .align_center>.tel {
    width: 200px;
    margin-inline: auto;
  }
}


/****************************************

img

*****************************************/
/* ホバー時にズーム */
figure.img_zoom {
  position: relative;
  overflow: hidden;
}

figure.img_zoom a {
  display: block;
  position: relative;
}

figure.img_zoom a::before {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  content: "詳しく見る";
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #FFF;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  -webkit-transition: 0.4s linear;
  transition: 0.4s linear;
}

figure.img_zoom a::after {
  display: block;
  content: "";
  padding-top: 75%;
}

figure.img_zoom img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 1;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

figure.img_zoom:hover img {
  opacity: 0.5;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

figure.img_zoom:hover a::before,
figure.img_zoom:hover a::after {
  opacity: 1;
}

.img440 {
  width: 440px;
  border-radius: 10px;
}

.img_radius {
  border-radius: 10px;
}

@media screen and (max-width: 767px) {
  .img_zoom::before {
    font-size: 1.4rem;
  }

  .img440 {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
}


/****************************************

トップページタイトル

*****************************************/
.top_headline {
  position: relative;
  margin-bottom: 50px;
  padding-top: 100px;
  text-align: center;
  color: #383838;
  font-size: 40px;
}

.top_headline::after {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: -20px;
  width: 15%;
  height: 4px;
  background: rgb(98, 97, 97);
}


.top_news_tit {
  margin-bottom: 20px;
  color: #383838;
  font-size: 40px;
}

.top_subhead01 {
  color: #383838;
  font-size: 48px;
  margin-bottom: 40px;
}

.top_subhead01::first-letter,
.top_news_tit::first-letter {
  color: rgb(255, 221, 0);
}

.top_subhead01 span,
.top_news_tit span {
  display: block;
  margin-top: 5px;
  color: #383838;
  font-size: 1.6rem;
  line-height: 1;
}

.top_subhead02 {
  position: relative;
  margin-bottom: 40px;
  color: #383838;
  font-size: 38px;
  font-weight: normal;
}

.top_subhead02::after {
  content: "";
  position: absolute;
  background: rgb(98, 97, 97);
  ;
  left: 0;
  bottom: -20px;
  width: 50px;
  height: 4px;
}

.h3_top_subhead01 {
  position: relative;
  text-align: center;
  font-size: 30px;
  margin-bottom: 40px;
  color: #FFF;
}

.h3_top_subhead01::after {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: -20px;
  width: 5%;
  height: 4px;
  background: #FFF;
}

.h3_top_subhead02 {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(-50%, -50%);
  color: #FFF;
  font-size: 30px;
  font-weight: normal;
  z-index: 100;
}

.bottom_tit {
  position: relative;
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  color: #FFF;
}

.bottom_tit::after {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: -20px;
  width: 5%;
  height: 4px;
  background: #FFF;
}

@media screen and (max-width: 767px) {
  .top_headline {
    font-size: 22px;
    margin-bottom: 30px;
    padding-top: 50px;
  }

  .top_subhead01,
  .top_news_tit {
    margin-bottom: 15px;
    font-size: 2.8rem;
  }

  .top_subhead01 span,
  .top_news_tit span {
    margin-top: 2px;
    font-size: 1.4rem;
  }

  .top_subhead02 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .h3_top_subhead01 {
    font-size: 20px;
  }

  .h3_top_subhead02 {
    font-size: 20px;
  }

  .top_subhead02::after {
    left: 0;
    bottom: -20px;
    width: 30px;
    height: 4px;
  }
}


/****************************************

下層ページタイトル

*****************************************/
.headline {
  color: #383838;
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.headline::first-letter {
  color: rgb(255, 221, 0);
}

.headline span {
  display: block;
  margin-top: 15px;
  color: #383838;
  font-size: 1.6rem;
  line-height: 1;
}

.h2_subhead01,
.single_tit {
  text-align: left;
  font-size: 24px;
  border-bottom: rgb(64, 64, 64) 1px solid;
  padding-bottom: 10px;
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.h2_subhead01::before,
.single_tit::before {
  content: "";
  width: 5px;
  height: 24px;
  background: linear-gradient(to bottom, rgb(255, 221, 0) 0%, rgb(255, 221, 0) 50%, rgb(90, 90, 89) 50%, rgb(90, 90, 89) 100%);
  margin-top: 5px;
}

.h3_subhead01 {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px rgb(119, 118, 117) dotted;
}

@media screen and (max-width: 767px) {
  .headline {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .headline span {
    font-size: 1.2rem;
    margin-top: 5px;
  }

  .single_tit {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .h2_subhead01 {
    margin-bottom: 20px;
    padding: 0 0 8px;
    font-size: 18px;
  }

  .h2_subhead01::before {}

  .h3_subhead01 {}
}


/****************************************

sp_footer

*****************************************/
@media screen and (max-width: 767px) {
  #pc_footer {
    display: none;
  }

  #sp_footer {
    position: relative;
  }

  #sp_footer .sp_bnr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
    z-index: 99;
  }

  #sp_footer .sp_bnr .sp_bnr_parts {
    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-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 25%;
    background: rgb(4, 34, 149);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
  }

  #sp_footer .sp_bnr .sp_bnr_parts:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.8);
  }

  #sp_footer .sp_bnr .sp_bnr_parts>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  #sp_footer .sp_bnr .sp_bnr_parts img {
    width: 20px;
    height: 20px;
    margin-bottom: 7px;
  }

  #sp_footer .sp_bnr .sp_bnr_parts p {
    color: #FFF;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
  }

  #sp_footer .sp_footer_box {
    padding: 20px 10px 60px;
  }

  #sp_footer .sp_footer_box .sp_logo {
    width: 150px;
    margin: 0 auto 15px;
  }

  #sp_footer .sp_footer_box .sp_add {
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.3rem;
  }

  #sp_footer .sp_footer_box .sp_copyright {
    display: block;
    font-size: 1.1rem;
    text-align: center;
  }
}


/****************************************

pc_footer

*****************************************/
@media print,
screen and (min-width: 768px) {
  #sp_footer {
    display: none;
  }

  #pc_footer {
    position: relative;
    width: 100%;
  }

  .pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
  }

  .pagetop a {
    width: 60px;
    height: 60px;
    background: rgb(255, 221, 0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .3s;
  }

  .pagetop a:hover {
    background: rgb(239, 239, 238);
    transform: translateY(-3px);
  }

  .pagetop span {
    display: block;
    width: 15px;
    height: 15px;
    border-top: 3px solid #383838;
    border-left: 3px solid #383838;
    transform: rotate(45deg);
    margin-top: 6px;
  }

  .pc_footer_box {
    padding-top: 50px;
    padding-bottom: 20px;
  }

  .pc_footer_box .footer_logo {
    margin-bottom: 25px;
    text-align: center;
  }

  .pc_footer_box .footer_logo img {
    width: 260px;
    height: auto;
  }

  .pc_footer_box .footer_add {
    font-size: 1.8rem;
    text-align: center;
  }


  .pc_copyright {
    display: block;
    padding: 5px 0;
    font-size: 1.3rem;
    text-align: center;
    background: rgb(239, 239, 238);
  }

  .footer-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-nav dl {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .footer-nav dt {
    width: 1px;
    height: 14px;
    background: #999;
    margin: 0 8px;
  }

  .footer-nav dl:first-child dt {
    display: none;
  }

  .footer-nav dd {
    margin: 0;
  }

  .footer-nav dd a {
    display: block;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
  }

  .footer-nav dd a:hover {
    color: #666;
  }
}


/****************************************

Contact Form7

*****************************************/
/* フォームカラー */
.wpcf7 {
  width: 100%;
}

.wpcf7-form textarea {
  width: 100%;
  /*本文*/
  max-width: 100%;
  padding: 3px 5px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.wpcf7-form select {
  width: auto;
  padding: 3px 5px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.wpcf7-form input {
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  /*ラジオボタン、チェックボタン*/
}

/* 送信ボタン */
.tc {
  text-align: center;
}

.wpcf7 .tc input[type=submit] {
  cursor: pointer;
  width: 410px;
  max-width: 100%;
  padding: 18px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px rgb(4, 34, 149) solid;
  border-radius: 8px;
  background-color: rgb(4, 34, 149);
  color: #fff;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 18px;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-top: 30px;
}

.wpcf7 .tc input[type=submit]:disabled {
  cursor: not-allowed;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 1px solid #f8f8f8 !important;
  background-color: #f8f8f8 !important;
  color: #929292 !important;
}

.wpcf7 .tc input[type=submit]:hover {
  -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
  box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
  background-color: #fff;
  color: rgb(4, 34, 149);
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.wpcf7 .tc input[type=submit]:focus {
  outline: 0;
  border: 1px rgb(4, 34, 149) solid;
  -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
  box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
}

.wpcf7-text {
  width: 100%;
}

.form_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  padding: 0 20px 30px 20px;
  border-bottom: 1px dotted #ccc;
  font-size: 1.2rem;
}

.form_row .form_label {
  width: 300px;
}

.form_row .form_label .required {
  display: inline-block;
  color: #fff;
  font-weight: normal;
  font-size: 1.2rem;
  padding: 0 4px;
  background: #cc0000;
  margin-right: 10px;
  border-radius: 3px;
}

.form_row .form_label .any {
  display: inline-block;
  color: #797979;
  font-weight: normal;
  font-size: 1.2rem;
  padding: 0 4px;
  background: #d7d7d7;
  margin-right: 10px;
  border-radius: 3px;
}

.form_row .form_input {
  width: calc(100% - 300px);
}

.form_row .form_input_post {
  width: 180px;
}

.form_row .form_input_post_txt {
  color: #b20000;
  font-weight: normal;
  font-size: 1.3rem;
}

.form_row.last_row {
  padding-bottom: 0;
  border-bottom: none;
}

.wpcf7 .form_input_post input[type=tel],
.wpcf7 .form_input input[type=email],
.wpcf7 .form_input input[type=tel],
.wpcf7 .form_input input[type=text],
.wpcf7 .form_input_post input[type=text],
.wpcf7 .form_input textarea {
  position: relative;
  border-left: 2px solid rgb(4, 34, 149);
}

/* フォームの装飾ここから */
/* チェックボックス */
.wpcf7 .form_input input[type=checkbox] {
  display: none;
}

.wpcf7 .form_input input[type=checkbox]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid rgb(4, 34, 149);
  border-radius: 4px;
  background-color: #fefefe;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input input[type=checkbox]+span:after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.15em;
  left: 0.44em;
  width: 0.4em;
  height: 0.8em;
  border-bottom: 3px solid rgb(4, 34, 149);
  border-right: 3px solid rgb(4, 34, 149);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span {
  color: #002565;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:before {
  opacity: 1;
  border: 1px solid rgb(4, 34, 149);
  -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
  box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
  background-color: rgb(4, 34, 149);
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:after {
  opacity: 1;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

/* ラジオボタン */
.wpcf7 .form_input input[type=radio] {
  display: none;
}

.wpcf7 .form_input input[type=radio]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #666;
  border-radius: 50%;
  background-color: #fefefe;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.wpcf7 .form_input input[type=radio]+span:after {
  content: "";
  display: block;
  opacity: 0;
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]:checked+span:before {
  -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
  box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
}

.wpcf7 .form_input input[type=radio]:checked+span:after {
  opacity: 1;
  top: 50%;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: rgb(4, 34, 149);
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* セレクト */
.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 50%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid rgb(4, 34, 149);
  border-right: 1px solid rgb(4, 34, 149);
  -webkit-transform: rotate(45deg) translateY(-50%);
  -ms-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:focus-within::after {
  border-bottom: 1px solid rgb(4, 34, 149);
  border-right: 1px solid rgb(4, 34, 149);
}

.wpcf7 .form_input select {
  cursor: pointer;
  width: 250px;
  max-width: 100%;
  margin: 0;
  padding: 0.5em 3.5em 0.5em 1em;
  border: 1px solid rgb(4, 34, 149);
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #fefefe;
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(25, 103, 165, 0.7)), to(rgba(25, 103, 165, 0.7)));
  background-image: linear-gradient(90deg, rgba(25, 103, 165, 0.7), rgba(25, 103, 165, 0.7));
  background-position: 100% 0;
  background-size: 2em 3.5em;
  background-repeat: no-repeat;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.2s ease, outline 0.2s ease;
  transition: border-color 0.2s ease, outline 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

.wpcf7 .form_input select:-ms-expand {
  display: none;
}

.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 60%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg) translateY(-50%);
  -ms-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* テキストフィールド フォーカス時 */
.wpcf7 .form_input input[type=text]:focus,
.wpcf7 .form_input input[type=tel]:focus,
.wpcf7 .form_input input[type=email]:focus,
.wpcf7 .form_input input[type=url]:focus,
.wpcf7 .form_input input[type=date]:focus,
.wpcf7 .form_input input[type=number]:focus,
.wpcf7 .form_input_post input[type=text]:focus,
.wpcf7 .form_input textarea:focus,
.wpcf7 .form_input_post input[type=tel]:focus {
  outline: 0;
  border: 1px #002565 solid;
  -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
  box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
}

.wpcf7 .form_input select:focus {
  outline: 0;
  border: 1px #002565 solid;
  -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
  box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
}

.wpcf7-response-output {
  font-size: 1.5em;
}

@media screen and (max-width: 767px) {
  .wpcf7-form textarea {
    width: 100% !important;
    /*本文*/
  }

  .wpcf7-form input {
    max-width: 100% !important;
    /*ラジオボタン、チェックボタン*/
  }

  .wpcf7-submit {
    width: 100%;
  }

  .wpcf7 .tc input[type=submit] {
    font-size: 16px;

  }

  .form_row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 0 30px;
  }

  .form_row .form_label {
    width: 100%;
    margin-bottom: 10px;
  }

  .form_row .form_input {
    width: 100%;
  }

  .wpcf7-radio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .wpcf7-radio .wpcf7-list-item {
    margin-left: 10px;
  }

  .ajax-loader {
    width: auto;
  }

  .wpcf7-response-output {
    font-size: 1.3em;
  }

  .form p {
    text-align: left;
  }
}


/****************************************

clearfix

*****************************************/
.clearfix {
  display: inline-block;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

/* Hides from IE Mac */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End Hack */