/*  */
/*
Theme Name : hideru
*/

:root {
  --main_color:#004ba0;
  --background: #79d0f7;
  --sub_color:#ddedf4;
  --sub_color02:#f79da2;
  --text_color:#03014c;
  --btn_color:#004ba0;
  --main-wp:1180px;
}/*-----------------------------------
テーマ用CSS設定　
-----------------------------------*/
/* 全体 */
html,body,h1,h2,h3,h4,ul,table {font-family: 'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','HG丸ｺﾞｼｯｸM-PRO','HGMaruGothicMPRO',sans-serif;font-size: 16px;}
p,dl{font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans','Meiryo UI',sans-serif;font-size: 17px;}
body p { line-height: 1.9;}
img{ max-width:100%;}
a {text-decoration: none;}
a:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";}
a,a:hover,a:visited{ color: inherit;}
#content{ padding-top:20px; padding-bottom:20px;}
#content-wrap{ background-color: white;}
#sidebar{ text-align: center;}

.center {text-align: center; margin-inline: auto;}
.left {text-align: left;}
.right{text-align: right;margin: 0 0 0 auto;}
.clearfix {display: block;}
#main { margin: 0;}
ul, ol {list-style: none;}
section {display: block;}
strong {color: var(--main_color); font-weight: bold;}
img{max-width:100%; }
a {text-decoration: none;}
a:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";}
#content{padding-top:20px; padding-bottom:20px;}
#content-wrap{background-color: white;}
#sidebar{text-align: center;}
.pg12 {padding: 12px;}
.mg20 {margin: 20px;}
.mg30 {margin: 30px;}
.mg40 {margin: 40px;}
.mg50 {margin: 50px;}
.mg60 {margin: 60px;}
.mg-top60 { margin-top: 60px;}
.mg-under60 { margin-bottom: 60px;}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media(max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
/* 色指定 */
.red {color: red;}
.blue {color: blue;}
/* メインのボタン */
.btn,
a.btn,
button.btn {
  display: inline-block;
  position: relative;
  width: 300px;
  height: 65px;
  line-height: 50px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  background-color: var(--btn_color);
  border-radius: 8px;
  margin: 0 auto;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.btn::after {
    display: inline-block;
    position: absolute;
    content: "◢";
    color: #fff;
    right: 10px;
    bottom: -7px;
}
/* 画面指定 */
.widthMax {margin: 0 calc(50% - 50vw);}
/* 背景色 */
.main_bg {background: var(--background);margin: 0 auto;;padding-top: 60px;padding-bottom: 60px;}
.gray-bg {background: #a0a0a0;margin: 0 auto;padding-top: 60px;padding-bottom: 60px;}
.white-bg {background: white;margin: 30px auto;padding-top: 60px;padding-bottom: 60px;border-radius: 20px;}
.white_bg_wp {
  padding: 0;
  width: 70%;
  margin: 30px auto;
  min-width: 350px;
}
/* 蛍光ペン風マーカー加工 */
.keikou {background: linear-gradient(transparent 65%, #ffff66 50%);border-radius:15px;}
/* 見出しｈ１ */
h1.style1a {
  font-size: 2em;
  text-align: center;
  width: 100%;
  margin-bottom: 1.5em;
}
/* 見出しｈ２ */
h2.style2a {
  font-size: 3em;
  text-align: center;
  width: 100%;
  margin-bottom: 1.2em;
  color: var(--main_color);
  font-weight: bold;
}

h2.style2b{
  padding-top: 1em;
  padding-bottom: 2em;
  font-size: 3em;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #383636;
}
h2.style2b span {
display: block;
font-size: .4em;
}

h2.style2c {
  position: relative;
  overflow: hidden;
  color: var(--main_color);
  font-size: 1.5em;
  padding: 1.5rem 2rem 1.5rem 130px;
  border: 2px solid var(--main_color);
  margin: 30px 0;

}

h2.style2c:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: var(--main_color);
}

h2.style2c span {
  font-size: 3rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 10px;
  padding-left: 16px;
  color: #fff;
}
.style2c_text {
  background: var(--background);
  padding: 1em;
  margin-bottom: 3em;
}
/* 見出しｈ３ */
h3.style3a {
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2rem;
  text-align: center;
  margin-block: 2rem 1rem;
  color: var(--main_color);
}
h3.style3b {
  position: relative;
  padding: 1.5rem 2rem;
  border: 3px solid var(--main_color);
  border-radius: 45px;
  background: #fff;
  width: 320px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 60px auto 30px;
}

h3.style3b::before {
  position: absolute;
  bottom: -14px;
  left: 150px;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: var(--main_color) transparent transparent transparent;
}

h3.style3b::after {
  position: absolute;
  bottom: -10px;
  left: 150px;
  width: 0;
  height: 0;
  content: '';
  border-color: #fff transparent transparent transparent;
}
h3.style3c {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 2rem;
  margin-block: 2rem 1rem;
  color: var(--main_color);
  margin-top: 30px;
  border-bottom: 3px solid;
}

/* 見出しｈ4 */
h4.style4a {
  padding: 0.25em 0.8em;/*上下 左右の余白*/
  color: #fff;
  background: #f1908f;
  font-size: 1.2em;
  margin-top: 30px;
  font-weight: bold;
}

/*---------- ヘッダースタイル ----------*/


header #header-inner {
  background: #fff;
  width:  calc(100% - 4rem);
  height: 5rem;
  position: fixed;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  box-shadow: 0 0.4rem 0 rgba(0, 0, 0, 0.34);
  z-index: 66;
  font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans','Meiryo UI',sans-serif;
}
header #header-inner h1.h_logo {
  position: absolute;
  top: 1.2rem;
  left: 2rem;
  font-weight: bold;
  font-size: 2.1em;
}
header #header-nav {
  display: block !important;
  flex-wrap: wrap;
  width: 100%;
}
header #header-nav ul {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 25%;
    width: 74%;
}
header #header-nav ul li a{
  display: block;
  padding-top: 1.75rem;
  padding-bottom: 1.9rem;
}
#menu-btn-check {
  display: none;
}

/* ハンバーガーはPCでは消す */
.menu-btn {
  display: none;
}
/*---------- 共通ページ ----------*/
section { display: block;}
.content_wp {width:100%;max-width: var(--main-wp); margin: 60px auto;padding-left: 5px;padding-right: 5px;}
  /* お問い合わせエリア */
.tel_wrap{
  margin: 2em auto;
  max-width: 760px;
  width: 100%;
}
.tel_point{
  display: flex;
}
.tel_point_item {
  background: var(--sub_color02);
  width: 30%;
  margin-block:1em;
  margin-right: 5%;
}
.tel_point_item:last-child{
  margin-right: 0;
}
.tel_point_item p {
  font-weight: bold;
  color: white;
  font-size: 2.4em;
  text-align: center;
  padding: 10px 5px;
  margin: 0;
}
.tel_point a img {
  margin: 2em auto;
}
.tel_point a:first-child {
  margin-right: 5%;
}
.subheader {
  position:relative;
  width:100%;
  height:250px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.responsive-img {
  width: 100%;
  height: 250px;
  display: block; /* 下部の余白を消す */
}
  .subheader h1 {
	position:absolute;
	top:50%;
	left:5%;
	font-weight:bolder;
  font-size: 3em;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #383636;
}
/*---------- トップページ ----------*/
#fv {
  height: 120vh;
  background-image: url("img/top_contents.jpg");
  background-size: cover;
  color: #fff;
}
#fv-inner {
  width: 100%;
  padding-top: 180px;
  padding-left: 5rem;
}
#fv-inner h1 {
  line-height: 70px;
  margin-bottom: 40px;
  font-size: 4rem;
  font-weight: bold;
  text-shadow : 2px 2px 10px #252529;
}
#fv-inner h1 span{  font-size: 6rem;}
#fv-inner h3 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow : 2px 2px 10px #252529;
}
#fv-inner h3 span{  font-size: 2rem;}
#fv-inner .items {
  background: var(--main_color);
  border-radius: 80px;
  padding: 1rem;
  width: 600px;
}
#fv-inner .items ul {
padding: 0 0 0 3rem;
margin: 0;
}
#fv-inner ul li {
  line-height: 1;
  padding: 0.5em 0;
  list-style-type: none!important;
  position: relative;
  font-size:2rem;
}
#fv-inner ul li::after {
  content: '';
  display: block;
  position: absolute;
  top: .8em;
  left: -1em;
  width: 14px;
  height: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.white-box {
  background: #fff;
  width: 80%;
  max-width: 300px;
  height: 300px;
  border-radius: 15px;
  margin-bottom: 60px;
  text-align: center;
  margin-inline: auto;
  padding: 1rem;
}
.white-box p {
  color: var(--text_color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: .5rem;
}

.strength-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 60px;
}

.strength-item {
  background: #fff;
  border: 2px solid var(--main_color);
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 25px;
  text-align: center;
  transition: 0.3s;
}

.strength-item h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--main_color);
  margin-bottom: 10px;
}

.strength-item p {
  margin: 0;
}

.num {
  display: inline-block;
  background: var(--main_color);
  color: #fff;
  border-radius: 5px;
  padding: 3px 10px;
  margin-right: 8px;
  font-weight: bold;
}

.strength-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight {
  border-color: #ff6600;
}

.highlight h3 {
  color: #ff6600;
}

.highlight .num {
  background: #ff6600;
}

/* レスポンシブ（Bootstrap意識） */
@media (min-width: 768px) {
  .strength-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .strength-item {
    margin-bottom: 0;
  }

  /* 5番だけ目立たせる */
  .highlight {
    grid-column: span 3;
  }
}
.service_box {margin: 10px;}
.service_box img {
  display: block;
  margin:0 auto 1rem;
}
.service_box p {
  width: 80%;
  margin: 10px auto;
  max-width: 450px;
}
.flow-box {
  display: flex;
  background-color: #ddedf4;
  padding: 30px 50px 30px 10px;
  border: 3px solid var(--main_color)f;
  border-radius: 8px;
  align-items: center;
  margin-bottom: 2em;
}

.flow-box .flow-num {
  position: relative;
  left: -45px;
  width: 70px;
  height: 70px;
  line-height: 50px;
  text-align: center;
  background-color: var(--main_color);
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  padding: 10px;
}
.inbox1 {
  width: 20%;
}
.flow-box h3 {
  font-size: 24px;
  color: #2c626f;
  font-weight: 900;
}
.inbox2 {
  width: 26%;
}
.flow-box img {
  height: 160px;
  width: auto;
}
.inbox3 {
  width: 54%;
}
#content05 {
  background-image: url("img/comtetmt05_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0;
}
#content_info {margin: 0;padding: 80px 0;}
#content_info .inner {
  position: relative;
  background-image: url("img/content_info.jpg");
  background-repeat: no-repeat;
  background-position: center;
  padding: 240px 0 80px
}
.contact-box {
  position: absolute;
  width: 550px;
  right: 80px;
  bottom: 25px;
}
.contact-box h2 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.contact-box .blue-box {
  background-color: var(--main_color);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  border-radius: 50px;
  padding: 5px 20px;
  margin-bottom: 8px;
}
.contact-box .items {
  display: flex;
  justify-content: space-between;
}
.contact-box p.l_txt {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: .5rem;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.company_table {
    width: 100%;
    border-collapse: collapse;
}
.company_table th, td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}
.company_table th {
    background: #f4f4f4;
    width: 15%;
    text-align: left;
}
.qa-6 {
    max-width: 700px;
    margin: 5px auto;
    border-bottom: 2px solid #d6dde3;
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-6 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
}

.qa-6 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}
/*---------- フッタースタイル -------------*/
footer {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--main_color);
  color: #fff;
  padding-top: 3em;
}
footer .wp_footer {
  width: var(--main-wp);
  margin: 2em auto;
  padding: 2rem;
}
footer h1 {
  font-size: 1.8em;
  color: white;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 400;
  line-height: 1.8em;
}
footer h1 a, footer p a {
  color: white;
}
footer p {
  line-height: 2;
  padding: 15px 0;
  width: 100%;
}
footer ul {
  list-style-type: none;
}
footer .menu-footer li {
  line-height: 3;
  border-top: 1px solid;
  width: 260px;
}
footer .menu-footer li a {
  color: white;
}
footer #copyright {
  text-align: center;
  background-color: #0d0d0d;
  margin: 0;
}
/*------ モバイル用CSS　width:768px以下 width1045以上-----*/
@media (min-width: 768px) and (max-width: 1228px){
  header #header-inner h1.h_logo {
    font-size: 1.9em;
  }
  header #header-nav ul {
    font-size: .8rem;
  }
  #fv-inner {
    padding-left: 3rem;
  }
  #fv-inner h3 {
    font-size: 2.5rem;
  }
  #fv-inner h1 {
    font-size: 3rem;
  }
  #fv-inner h1 span {
    font-size: 5rem;
  }
  .flow-box {
    padding: 30px 50px 30px 50px;
  }
  .inner {
    width: 100%;
  }
  .contact-box {
    max-width: 100%;
    right: 30px;
  }
}

/*----- モバイル用CSS　width:768px以下 -----*/
@media (max-width:768px) {
  header #header-inner h1.h_logo {
    position: absolute;
    left: 1.5rem;
    top: 1.7rem;
    font-size: 1.4rem;
  }
  header #header-nav ul {
    font-size: 1rem;
  }
  /* ハンバーガー（右固定） */
  .menu-btn {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
  }

  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    position: absolute;
    transition: 0.3s;
  }

  .menu-btn span {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-btn span::before {
    top: -7px;
  }

  .menu-btn span::after {
    top: 7px;
  }

  /* PCメニューを完全に潰す */
  header #header-nav ul {
    display: block;
    margin-left: 0;
    width: 100%;
  }

  /* スライドメニュー化 */
  header #header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    padding-top: 6rem;
    transition: 0.3s;
    z-index: 90;
  }

  /* 開いたとき */
  #menu-btn-check:checked ~ #header-nav {
    right: 0;
  }

  /* 縦並び */
  header #header-nav ul li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  /* ×に変化 */
  #menu-btn-check:checked + .menu-btn span {
    background: transparent;
  }

  #menu-btn-check:checked + .menu-btn span::before {
    transform: rotate(45deg);
    top: 0;
  }

  #menu-btn-check:checked + .menu-btn span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* チェック非表示 */
  #menu-btn-check {
    display: none;
  }
  #fv-inner {
    max-width: 100%;
    padding-left: 0;
    text-align: center;
  }
  #fv-inner h3 {
    font-size: 1.5rem;
  }
  #fv-inner h3 span {
    font-size: 1rem;
  }
  #fv-inner h1 {
    font-size: 2rem;
  }
  #fv-inner h1 span {
    font-size: 3rem;
  }
  #fv-inner .items {
    width: 90%;
    margin: 0 auto;
  }
  #fv-inner ul li {
    padding: 0.5em;
    font-size: 1.5rem;
    text-align: left;
  }
  .flow-box {
    display: block;
    padding: 30px 20px;
  }
  .flow-box .flow-num {
    left: 0;
  }
  .flow-box h3 {
    text-align: center;
  }
  .inbox1 {
    position: relative;
    width: 70%;
    left: 90px;
    top: -40px;
  }
  .inbox2 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  .inbox3 {
    width: 100%;
  }
  h2.style2a, h2.style2b {
    font-size: 2rem;
  }
  h3.style3a {
    font-size: 1.4rem;
  }
  h3.style3b {
    padding: 1rem;
    width: 70%;
    font-size: 1rem;
  }
    h3.style3b::before {
      left: calc(50% - 12px);
    }
  .white-box p {
    font-size: 1.2rem;
  }
  .content_wp {
    width: 96%;
  }
  #content_info .inner {
    background-position: left;
    border: 3px solid var(--main_color);
    border-radius: 20px;
  }
  .contact-box {
    width: 90%;
    right: 20px;
  }
  .contact-box h2 {
    width: 95%;
  }
  .subheader h1 {
    top: 60%;
    font-size: 1.5em;
  }
}

/*----- モバイル用CSS　width:450px以下 -----*/
@media (max-width:450px) {
  #fv-inner ul li {
    font-size: 1rem;
    border-radius: 20px;
  }
  #content_info .inner {
    padding: 330px 0 80px;
  }
  .contact-box .items {
    text-align: center;
    flex-flow: wrap;
    margin-bottom: 19px;
  }
  footer p{font-size: 13px;}
  footer h1 {
    font-size: 1.4rem;
    line-height: 1;
  }
  footer ul {
    font-size: 14px;
  }
  footer .menu-footer li {
    width: 190px;
  }
  .btn, a.btn, button.btn {
    width: 90%;
  }
  .white_bg_wp {
    width: 90%;
    min-width: unset;
  }
}

/***** コンタクトフォーム *****/
.table-contactform7{
  overflow: hidden;
table-layout: fixed;
}

.required-contactform7{
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.table-contactform7 th{
  font-weight:bold;
}


.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}

.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}

.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}

@media screen and (min-width: 900px){
  .table-contactform7 th{
    width:28%;
  }
    }


@media screen and (max-width: 900px){
.table-contactform7{
  display:block;
}

  .table-contactform7 tbody,
  .table-contactform7 tr{
    display: block;
    width: 100%;
  }
  .table-contactform7 th{
  width:100%;
  display:block;
  margin: 0 auto;
  border:none;
}
.table-contactform7 td{
  display: list-item;
  list-style-type:none;
  margin:0;
  padding:0;
  width: 100%;
  border-top: none !important;
}
}
