/*
Theme Name: GRACE BODY REPAIR
Description: GRACE BODY REPAIR のテーマ
Version: 1.0
Author:	株式会社GRACE
License: GPL
License URI: https://www.gnu.org/copyleft/gpl.html
*/


@charset "utf-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
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,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

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

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
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;
}

/* 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;
}

/* Reset+ */

ol li,
ul li {
  list-style: none;
  list-style-position: inside;
}

img {
  border: none;
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --main-color: #b51212;
  --sub-color: #b13333;
  --grad-color-01: #edd2d2;
  --grad-color-02: #383131;
  --grad-color-03: #e3a6a6;
  --grad-color-04: #c87979;
}

.mt05 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt15 {
  margin-top: 15px;
}

.mt20 {
  margin-top: 20px;
}

.mt25 {
  margin-top: 25px;
}

.mt30 {
  margin-top: 30px;
}

.mt35 {
  margin-top: 35px;
}

.mt40 {
  margin-top: 40px;
}

.mt45 {
  margin-top: 45px;
}

.mt50 {
  margin-top: 50px;
}

.mt55 {
  margin-top: 55px;
}

.mt60 {
  margin-top: 60px;
}

.mt65 {
  margin-top: 65px;
}

.mt70 {
  margin-top: 70px;
}

.mt75 {
  margin-top: 75px;
}

.mt80 {
  margin-top: 80px;
}

.mt85 {
  margin-top: 85px;
}

.mt90 {
  margin-top: 90px;
}

.mt95 {
  margin-top: 95px;
}

.mt100 {
  margin-top: 100px;
}

.mb05 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb25 {
  margin-bottom: 25px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb35 {
  margin-bottom: 35px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb45 {
  margin-bottom: 45px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb55 {
  margin-bottom: 55px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb65 {
  margin-bottom: 65px;
}

.mb70 {
  margin-bottom: 70px;
}

.mb75 {
  margin-bottom: 75px;
}

.mb80 {
  margin-bottom: 80px;
}

.mb85 {
  margin-bottom: 85px;
}

.mb90 {
  margin-bottom: 90px;
}

.mb95 {
  margin-bottom: 95px;
}

.mb100 {
  margin-bottom: 100px;
}

.mr05 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr15 {
  margin-right: 15px;
}

.mr20 {
  margin-right: 20px;
}

.mr25 {
  margin-right: 25px;
}

.mr30 {
  margin-right: 30px;
}

.mr35 {
  margin-right: 35px;
}

.mr40 {
  margin-right: 40px;
}

.mr45 {
  margin-right: 45px;
}

.mr50 {
  margin-right: 50px;
}

.mr55 {
  margin-right: 55px;
}

.mr60 {
  margin-right: 60px;
}

.mr65 {
  margin-right: 65px;
}

.mr70 {
  margin-right: 70px;
}

.mr75 {
  margin-right: 75px;
}

.mr80 {
  margin-right: 80px;
}

.mr85 {
  margin-right: 85px;
}

.mr90 {
  margin-right: 90px;
}

.mr95 {
  margin-right: 95px;
}

.mr100 {
  margin-right: 100px;
}

.ml05 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml15 {
  margin-left: 15px;
}

.ml20 {
  margin-left: 20px;
}

.ml25 {
  margin-left: 25px;
}

.ml30 {
  margin-left: 30px;
}

.ml35 {
  margin-left: 35px;
}

.ml40 {
  margin-left: 40px;
}

.ml45 {
  margin-left: 45px;
}

.ml50 {
  margin-left: 50px;
}

.ml55 {
  margin-left: 55px;
}

.ml60 {
  margin-left: 60px;
}

.ml65 {
  margin-left: 65px;
}

.ml70 {
  margin-left: 70px;
}

.ml75 {
  margin-left: 75px;
}

.ml80 {
  margin-left: 80px;
}

.ml85 {
  margin-left: 85px;
}

.ml90 {
  margin-left: 90px;
}

.ml95 {
  margin-left: 95px;
}

.ml100 {
  margin-left: 100px;
}

.m_a {
  margin-right: auto;
  margin-left: auto;
}

.pt05 {
  padding-top: 5px;
}

.pt10 {
  padding-top: 10px;
}

.pt15 {
  padding-top: 15px;
}

.pt20 {
  padding-top: 20px;
}

.pt25 {
  padding-top: 25px;
}

.pt30 {
  padding-top: 30px;
}

.pt35 {
  padding-top: 35px;
}

.pt40 {
  padding-top: 40px;
}

.pt45 {
  padding-top: 45px;
}

.pt50 {
  padding-top: 50px;
}

.pt55 {
  padding-top: 55px;
}

.pt60 {
  padding-top: 60px;
}

.pt65 {
  padding-top: 65px;
}

.pt70 {
  padding-top: 70px;
}

.pt75 {
  padding-top: 75px;
}

.pt80 {
  padding-top: 80px;
}

.pt85 {
  padding-top: 85px;
}

.pt90 {
  padding-top: 90px;
}

.pt95 {
  padding-top: 95px;
}

.pt100 {
  padding-top: 100px;
}

.pb05 {
  padding-bottom: 5px;
}

.pb10 {
  padding-bottom: 10px;
}

.pb15 {
  padding-bottom: 15px;
}

.pb20 {
  padding-bottom: 20px;
}

.pb25 {
  padding-bottom: 25px;
}

.pb30 {
  padding-bottom: 30px;
}

.pb35 {
  padding-bottom: 35px;
}

.pb40 {
  padding-bottom: 40px;
}

.pb45 {
  padding-bottom: 45px;
}

.pb50 {
  padding-bottom: 50px;
}

.pb55 {
  padding-bottom: 55px;
}

.pb60 {
  padding-bottom: 60px;
}

.pb65 {
  padding-bottom: 65px;
}

.pb70 {
  padding-bottom: 70px;
}

.pb75 {
  padding-bottom: 75px;
}

.pb80 {
  padding-bottom: 80px;
}

.pb85 {
  padding-bottom: 85px;
}

.pb90 {
  padding-bottom: 90px;
}

.pb95 {
  padding-bottom: 95px;
}

.pb100 {
  padding-bottom: 100px;
}

.pr05 {
  padding-right: 5px;
}

.pr10 {
  padding-right: 10px;
}

.pr15 {
  padding-right: 15px;
}

.pr20 {
  padding-right: 20px;
}

.pr25 {
  padding-right: 25px;
}

.pr30 {
  padding-right: 30px;
}

.pr35 {
  padding-right: 35px;
}

.pr40 {
  padding-right: 40px;
}

.pr45 {
  padding-right: 45px;
}

.pr50 {
  padding-right: 50px;
}

.pr55 {
  padding-right: 55px;
}

.pr60 {
  padding-right: 60px;
}

.pr65 {
  padding-right: 65px;
}

.pr70 {
  padding-right: 70px;
}

.pr75 {
  padding-right: 75px;
}

.pr80 {
  padding-right: 80px;
}

.pr85 {
  padding-right: 85px;
}

.pr90 {
  padding-right: 90px;
}

.pr95 {
  padding-right: 95px;
}

.pr100 {
  padding-right: 100px;
}

.pl05 {
  padding-left: 5px;
}

.pl10 {
  padding-left: 10px;
}

.pl15 {
  padding-left: 15px;
}

.pl20 {
  padding-left: 20px;
}

.pl25 {
  padding-left: 25px;
}

.pl30 {
  padding-left: 30px;
}

.pl35 {
  padding-left: 35px;
}

.pl40 {
  padding-left: 40px;
}

.pl45 {
  padding-left: 45px;
}

.pl50 {
  padding-left: 50px;
}

.pl55 {
  padding-left: 55px;
}

.pl60 {
  padding-left: 60px;
}

.pl65 {
  padding-left: 65px;
}

.pl70 {
  padding-left: 70px;
}

.pl75 {
  padding-left: 75px;
}

.pl80 {
  padding-left: 80px;
}

.pl85 {
  padding-left: 85px;
}

.pl90 {
  padding-left: 90px;
}

.pl95 {
  padding-left: 95px;
}

.pl100 {
  padding-left: 100px;
}

.fl_r {
  float: right;
}

.fl_l {
  float: left;
}

.fw_b {
  font-weight: bold;
}

.txt_c {
  text-align: center;
}

.txt_r {
  text-align: right;
}

.txt_l {
  text-align: lrft;
}

.w95per {
  width: 95%;
}

.w90per {
  width: 90%;
}

.w85per {
  width: 85%;
}

.w80per {
  width: 80%;
}

.w75per {
  width: 75%;
}

.w70per {
  width: 70%;
}

.w65per {
  width: 65%;
}

.w60per {
  width: 60%;
}

.w55per {
  width: 55%;
}

.w50per {
  width: 50%;
}

/* Common */

body {
  font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "メイリオ", Meiryo, "Meiryo UI", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #222222;
}

/*
body {
	font-family: "source-han-serif-japanese" , "Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	font-size: 16px;
}
*/

.serif {
  font-family: 'Noto Serif JP', "Roboto Slab", Garamond, "Times New Roman", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 16px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #333;
  opacity: 0.6;
  -webkit-transition: all .5s;
  transition: all .5s;
}

/*
a:hover img {
	opacity: 0.8;
	-webkit-transition: all .5s;
	transition: all .5s;
}*/

.red {
  color: red;
}

/*クリアフィックス*/
.cf:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.inner {
  width: 1020px;
  margin-right: auto;
  margin-left: auto;
}

/* ヘッダー */



/*================================
==================================
グロナビ改修
==================================
================================*/
.header__gnav {
  height: 80px;
  border-top: 1px solid #f0f0ff;
  border-bottom: 3px solid #B8B8CC;
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #e2e2e2 100%);
  background: -webkit-linear-gradient(top, #ffffff 0%, #e2e2e2 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e2e2e2', GradientType=0);
}

.header__gnav__content {
  display: flex;
  height: 100%;
}

.header__gnav__link {
  display: block;
  text-align: center;
  border-left: 1px solid #B8B8CC;
  font-weight: bold;
  font-size: 16px;
  align-content: center;
  width: calc(100% / 7);
  line-height: 1.2;
}


.header__gnav__link:hover {
  color: #fff;
  background-color: var(--main-color);
}

.header__gnav__link.current {
  border-bottom: 3px solid #ffdc00;
  color: #fff;
  background-color: var(--main-color);
  margin-bottom: -3px;
}

.header__gnav__link:hover {
  opacity: 1;

}

.header__gnav__link.current::before,
.header__gnav__link:hover::before {
  background-color: #fff;
}

.header__gnav__link:last-child {
  border-right: 1px solid #B8B8CC;
}

.header__gnav__link::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin-right: auto;
  margin-left: auto;
  mask: no-repeat center/contain;
  background: #000;

  transition: all .5s;
}


.header__gnav__contact-link {
  color: #000;
  border-right: 1px solid #f7d995;
  background-color: #fba52a;
  background: #ffec0a;
  background: -moz-linear-gradient(top, #ffec0a 0%, 、#ffcf41 100%);
  background: -webkit-linear-gradient(top, #ffec0a 0%, 、#ffcf41 100%);
  background: linear-gradient(to bottom, #ffec0a 0%, 、#ffcf41 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffaf4b', endColorstr='#ff920a', GradientType=0);
  position: relative;
}

.header__gnav__contact-link:hover {
  color: #fff;
}

.header__gnav__contact-link::before {
  background: #000;
}

.header__gnav__contact-link:hover::before {
  background: #fff;
}

.header__gnav__home-link::before {
  mask-image: url(images/gnav_icon01.png);
}

.header__gnav__customer-link::before {
  mask-image: url(images/gnav_icon02.png);
}

.header__gnav__bodyworks-link::before {
  mask-image: url(images/gnav_icon03.png);
}

.header__gnav__insurance-link::before {
  mask-image: url(images/gnav_icon04.png);
}

.header__gnav__hvbattery-link {
  font-size: 14px;
}

.header__gnav__hvbattery-link::before {
  mask-image: url(images/gnav_icon_battery.png);
}

.header__gnav__case-link::before {
  mask-image: url(images/gnav_icon05.png);
}

.header__gnav__company-link::before {
  mask-image: url(images/gnav_icon06.png);
}

.header__gnav__contact-link::before {
  mask-image: url(images/gnav_icon07.png);
}


#header .upper {
  background: var(--main-color);
  color: #fff;
  font-size: 14px;
  padding: 5px 0;
}

#header .lower {
  padding: 10px 0 15px;
}


#header .lower .inner.cf {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 768px) {
  #header .lower .inner.cf {
    display: block;
  }
}

#header .lower img {
  max-width: 160px;
  height: auto;
}

#header .lower .logo img {
  max-width: 240px;
}

#header .lower .logo,
#header .lower .makerlogo,
#header .lower .results,
#header .lower .credit,
#header .lower .telarea {
  display: inline-block;
  vertical-align: middle;
}

#header .lower .logo img,
#header .lower .makerlogo img {
  vertical-align: middle;
}

#header .lower .results {
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

#header .lower .results span {
  font-weight: bold;
  color: #ff0000;
  font-size: 18px;
  letter-spacing: -2px;
  padding-right: 2px;
}

#header .lower .credit {
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

#header .lower .credit span {
  font-weight: bold;
  color: #ff0000;
  font-size: 18px;
}

#header .lower .telarea {
  text-align: center;
  position: relative;
  padding-left: 50px;
}

#header .lower .telarea::before {
  content: "";
  width: 43px;
  height: 42px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -21px;
  background-image: url(images/header_icon_tel.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#header .lower .telarea .tel {
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  color: #111111;
}

#header .lower .telarea .tel a,
#header .lower .telarea .tel a:hover {
  text-decoration: none;
  color: #111111;
}

#header .lower .telarea .txt {
  font-size: 12px;
  line-height: 1.2;
}

#header .lower .telarea .txt span {
  font-weight: bold;
  background-image: linear-gradient(transparent 60%, #ffdc00 40%);
  display: inline;
  padding: 0 3px;
}


/* セクション共通 */

section {
  padding: 40px 0;
}

.h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}

.h3 {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 15px;
}

.horizontal-line {
  overflow: hidden;
  text-align: center;
}

.horizontal-line span {
  display: inline-block;
  padding: 0 0.5em;
  position: relative;
  font-weight: bold;
}

.horizontal-line span:before,
.horizontal-line span:after {
  border-top: 1px solid;
  content: "";
  position: absolute;
  top: 50%;
  width: 99em;
}

.horizontal-line span:before {
  right: 100%;
}

.horizontal-line span:after {
  left: 100%;
}

.grayline {
  background: var(--main-color);
  color: #fff;
  margin-bottom: 0;
  position: relative;
  line-height: 1.2;
  letter-spacing: 2px;
  font-size: 36px;
  padding: 25px 10px 20px;
  position: relative;
}

.grayline::before {
  position: absolute;
  content: "";
  display: block;
  width: 140px;
  height: 6px;
  background: ;
  top: 0;
  left: 50%;
  margin-left: -70px;
}

.tablebox {
  display: table;
  width: 100%;
}

.tablebox .left,
.tablebox .right {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

.tablebox .left img,
.tablebox .right img {
  vertical-align: top;
}

.flex {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.btncommon {
  background-color: #fba52a;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffaf4b+0,ff920a+100;Orange+3D+%231 */
  background: #ffec0a;
  /* Old browsers */
  background: -moz-linear-gradient(top, #ffec0a 0%, #ffcf41 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ffec0a 0%, #ffcf41 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ffec0a 0%, #ffcf41 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffaf4b', endColorstr='#ff920a', GradientType=0);
  /* IE6-9 */
  color: #000;
  font-weight: bold;
  padding: 5px 30px 5px 10px;
  display: inline-block;
  position: relative;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  border: 2px solid #ffec0a;
}

.btncommon::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 15px;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.btncommon:hover {
  background: #fff;
  opacity: 1;
  border: 2px solid #ffec0a;
  color: #222222;
}

.btncommon:hover::after {
  border-top: 2px solid #222222;
  border-right: 2px solid #222222;
}

.img {
  text-align: center;
}

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

/* メインビジュアル */

#mv {
  padding: 0;
}

#mv .bx-wrapper {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  background: none;
}

#mv .bx-wrapper .bx-viewport img {
  width: 100%;
  height: auto;
}

#mv .bx-wrapper .bx-viewport img.sp {
  display: none;
}

#mv .bx-wrapper {
  margin-bottom: 0;
}

.bx-wrapper .bx-controls-direction a:hover {
  -webkit-transition: all 0s;
  transition: all 0s;
}

.bx-wrapper .bx-controls-direction a:hover img {
  -webkit-transition: all 0s;
  transition: all 0s;
}

#mv .bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -18px;
  outline: 0;
  width: 80px;
  height: 36px;
  text-indent: -9999px;
  z-index: 80;
}

#mv .bx-wrapper .bx-prev {
  left: 30px;
  background: url('images/control_prev.png') no-repeat 0 0;
}

#mv .bx-wrapper .bx-prev:hover,
#mv .bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}

#mv .bx-wrapper .bx-next {
  right: 30px;
  background: url('images/control_next.png') no-repeat 0 0;
}

#mv .bx-wrapper .bx-next:hover,
#mv .bx-wrapper .bx-next:focus {
  background-position: 0 0;
}

#mv .bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  bottom: 50px;
}

#mv .bx-wrapper .bx-pager.bx-default-pager a {
  background: #fff;
}

#mv .bx-wrapper .bx-pager.bx-default-pager a:hover,
#mv .bx-wrapper .bx-pager.bx-default-pager a.active,
#mv .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #00004d;
}

#mv .bx-wrapper .bx-pager.bx-default-pager a {
  width: 50px;
  height: 5px;
}

/* グローバルナビ */



/* トップページコンテンツ */

#toppage #sec01 {
  padding: 0;
}

#toppage #sec01 .tablebox .left,
#toppage #sec01 .tablebox .right {
  vertical-align: middle;
  text-align: center;
}

#toppage #sec01 .tablebox .left {
  width: 45%;
  text-align: left;
}

#toppage #sec01 .tablebox .right {
  width: 55%;
}

#toppage #sec01 .tablebox .left p,
#toppage #sec01 .tablebox .left p span {
  font-weight: bold;
}

#toppage #sec01 .tablebox .left p .fs_s {
  font-size: 80%;
  display: inline-block;
  line-height: 1.4;
}

#toppage #sec01 .tablebox .left p .fs_b {
  font-size: 110%;
}

#toppage #sec01 h2+.img {
  text-align: center;
}

#toppage #sec01 .upper {
  border-top: 10px solid var(--main-color);
  padding: 40px 0;
  margin-top: 10px;
  position: relative;
}

#toppage #sec01 .upper::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  position: absolute;
  left: 0;
  top: -20px;
}

#toppage #sec01 .lower {
  padding: 0 0 40px;
  background-image: url(images/toppage_sec01_bg01.png);
}

#toppage #sec01 .lower .fiture {
  margin-bottom: 40px;
}

#toppage #sec01 .lower .fiture h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #FFDC00;
  font-size: 3.0rem;
  font-weight: bold;
  font-style: italic;
  background: var(--main-color);
  line-height: 1;
  padding: 15px 0;
}

#toppage #sec01 .lower .fiture .fc_whi {
  color: #fff;
}

#toppage #sec01 .lower .fiture h2 span {
  display: block;
}

#toppage #sec01 .lower .fiture ul {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

#toppage #sec01 .lower .fiture ul li {
  width: 300px;
  background: #fff;
}

#toppage #sec01 .lower .fiture ul li h4 {
  font-size: 90%;
  font-weight: bold;
  text-align: center;
  background: var(--main-color);
  padding: 5px;
  color: #fff;
}

#toppage #sec01 .lower .fiture ul li .txt {
  font-size: 85%;
  padding: 10px;
}

#toppage #sec01 .lower .greeting h3 {
  max-width: 512px;
  margin: auto;
}

#toppage #sec01 .lower .greeting h4 {
  color: var(--main-color);
}

#toppage #sec01 .lower .greeting h4 span {
  font-weight: bold;
  background-image: linear-gradient(transparent 70%, #ffdc00 30%);
  display: inline;
  line-height: 1.4;
}

#toppage #sec01 .lower .greeting ul {
  margin-top: 40px;
  justify-content: center;
  gap: 5px;
}

#toppage #sec01 .lower .greeting ul li {
  width: 16%;
  text-align: center;
}

#toppage #reason {
  background: var(--main-color);
  color: #fff;
}

#toppage #reason h2 {
  padding: 0 10px;
}

#toppage #reason h2 span {
  display: inline-block;
}

#toppage #reason h2.horizontal-line span::before,
#toppage #reason h2.horizontal-line span::after {
  border-top: 1px solid;
}

#toppage #reason ul {
  margin-bottom: 30px;
}

#toppage #reason ul li {
  width: 33%;
  padding: 0 5px;
  text-align: center;
}

#toppage #reason .btn {
  margin-top: 40px;
  text-align: center;
}


#toppage #reason .btn .btncommon {
  width: 400px;
  display: block;
  margin: 0 auto;
  text-align: center;
}


#toppage #plan {
  padding: 0;
}

#toppage #plan h2 {
  text-align: center;
  color: #000;
  font-size: 3.0rem;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 30px;
  background: #ffec0a;
  line-height: 1;
  padding: 15px 0;
}

#toppage #plan h2 span {
  display: block;
}

#toppage #plan .upper {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

#toppage #plan .upper .img {
  width: 15%;
}

#toppage #plan .upper .txt {
  width: 83%;
  font-weight: bold;
}

#toppage #plan .upper .txt span {
  font-weight: bold;
  font-size: 22px;
  color: var(--main-color);
}

#toppage #plan .lower {
  margin-bottom: 100px;
  position: relative;
}

#toppage #plan .lower::after {
  position: absolute;
  content: "";
  width: 178px;
  height: 36px;
  background-image: url(images/toppage_plan_arrow01.png);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: contain;
  background-size: contain;
  bottom: -60px;
  left: 50%;
  margin-left: -89px;
}

#toppage #plan .plan {
  padding: 40px 0;
}

#toppage #plan .plan01 {
  background: #fae3ad;
}

#toppage #plan .plan h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
}

#toppage #plan .plan h3 span {
  font-size: 28px;
  font-weight: bold;
}

#toppage #plan .plan h3 span.red {
  font-size: 40px;
  background-image: linear-gradient(transparent 60%, #ffdc00 40%);
  display: inline;
  padding: 0 3px;
}

#toppage #plan .plan .flex {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#toppage #plan .plan .flex .txtarea {
  width: 65%;
}

#toppage #plan .plan .flex .img {
  width: 32%;
}

#toppage #plan .plan h4 {
  font-weight: bold;
  /* border-left: 5px solid #999999; */
  font-size: 33px;
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
  position: relative;
}

#toppage #plan .plan h4::before {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, var(--grad-color-01), var(--grad-color-02) 50%, var(--grad-color-03) 50%, var(--grad-color-04));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edd2d2', endColorstr='#c87979', GradientType=0);
}

#toppage #plan .plan h4 span {
  display: block;
  font-weight: bold;
  font-size: 15px;
}

#toppage #plan .plan h5 {
  line-height: 1;
  margin-bottom: 20px;
}

#toppage #plan .plan h5 span {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background: var(--main-color);
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  padding: 12px 10px 12px 40px;
  position: relative;
}

#toppage #plan .plan h5 span::before {
  position: absolute;
  content: "";
  display: block;
  width: 19px;
  height: 28px;
  top: 50%;
  left: 15px;
  margin-top: -14px;
  background-image: url(images/toppage_plan_icon01.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: contain;
  background-size: contain;
}

#toppage #plan .plan ul {
  padding-left: 15px;
  font-size: 90%;
}

#toppage #plan .plan ul li {
  list-style-position: outside;
  list-style-type: disc;
}

#toppage #plan .plan ul li span {
  background-image: linear-gradient(transparent 60%, #ffdc00 40%);
  display: inline;
  font-weight: bold;
}

#toppage #allpaint {
  padding-top: 0;
}

#toppage #allpaint h2 {
  color: #fff;
  background: var(--main-color);
  padding: 10px;
  margin-bottom: 0;
}

#toppage #allpaint .titleblock {
  background-image: url(images/toppage_allpaint_bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 40px 0;
  margin-bottom: 40px;
}

#toppage #allpaint .titleblock .textblock {
  display: inline-block;
  background: rgba(0, 80, 163, 0.7);
  padding: 20px;
  color: #fff;
}

#toppage #allpaint .titleblock .textblock h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

#toppage #allpaint h3 {
  font-size: 28px;
}

#toppage #allpaint .flex {
  margin-bottom: 40px;
}

#toppage #allpaint .flex .left {
  width: 39%;
}

#toppage #allpaint .flex .right {
  width: 58%;
  font-size: 16px;
  line-height: 1.6;
}

#toppage #allpaint .flex .right h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 10px solid var(--main-color);
}

#toppage #allpaint .flex .right ul {
  margin-bottom: 10px;
  padding-left: 30px;
}

#toppage #allpaint .flex .right ul li {
  list-style-type: disc;
  list-style-position: outside;
  margin-bottom: 10px;
}

#toppage #allpaint .bnr {
  margin-bottom: 40px;
}

#toppage #allpaint .btn {
  text-align: center;
}

#toppage #allpaint .btn a {
  width: 400px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.contact_orange {
  background: #f77e18;
  padding: 0;
}

.contact_orange .inner {
  background-image: url(images/contact_orange_bg01.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  align-items: center;
  padding: 40px 0;
}

.contact_orange .inner .left {
  width: 73%;
  text-align: right;
}

.contact_orange .inner .right {
  width: 24%;
}

.contact_orange .inner .left p {
  display: inline-block;
}

.contact_orange .inner .left .sp {
  display: none;
}

.contact_orange .inner .left .tel,
.contact_orange .inner .left .time {
  margin-right: 50px;
  line-height: 1.4;
}

.contact_orange .inner .left .tel span {
  font-size: 48px;
  font-weight: bold;
  color: var(--main-color);
  text-shadow: 2px 2px 0 #FFF, -2px -2px 0 #FFF,
    -2px 2px 0 #FFF, 2px -2px 0 #FFF,
    0px 2px 0 #FFF, 0-2px 0 #FFF,
    -2px 0 0 #FFF, 2px 0 0 #FFF;
  position: relative;
  padding-left: 50px;
}

.contact_orange .inner .left .tel span::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background-image: url(images/contact_orange_tel.png);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: contain;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -24px;
}

.contact_orange .inner .left .time {
  color: #fff;
  background: var(--main-color);
  width: 370px;
  padding: 10px;
  text-align: center;
}

#toppage #sec02 {
  background: url(images/bg_metal.gif);
}

#toppage #sec02 .sec02_ttl {
  position: relative;
  color: #fff;
  padding: .5em 0;
  width: 90%;
  max-width: 1020px;
  margin: auto;
  z-index: 1;
  line-height: 1;
  font-size: clamp(20px, 5vw, 32px);
}

#toppage #sec02 .sec02_ttl::before {
  content: "";
  position: absolute;
  background: var(--sub-color);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  transform: skew(-25deg);
  z-index: -1;
}

#toppage #sec02 .servicebloc {
  margin-top: 100px;
  background: var(--main-color);
  padding: 30px;
  position: relative;
}

#toppage #sec02 .servicebloc .box {
  margin-bottom: 30px;
}

#toppage #sec02 .servicebloc .box .imgitem {
  width: 50%;
}

#toppage #sec02 .servicebloc .box .txtitem {
  width: 38%;
}

#toppage #sec02 .servicebloc.bloc1 .box .imgitem .img {
  position: absolute;
  z-index: 1;
  top: -50px;
  left: -50px;
}

#toppage #sec02 .servicebloc.bloc2 .box .imgitem .img {
  position: absolute;
  z-index: 1;
  top: -50px;
  right: -50px;
}

#toppage #sec02 .servicebloc .box .txtitem .txt01 {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
  color: #fff;
}

#toppage #sec02 .servicebloc .box .txtitem .txt02 {
  color: #fff;
}

#toppage #sec02 .servicebloc .btn {
  text-align: center;
}

#toppage #sec02 .servicebloc .btn a {
  padding: 10px 80px 10px 80px;
}

#toppage #sec02 .servicebloc .btn a:hover {
  border: 2px solid #fff;
}

#toppage #case_maker {
  background-image: url(images/case_maker_bg01.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#toppage #case_maker h2 {
  color: var(--main-color);
}

#toppage #case_maker h2.horizontal-line span::before,
#toppage #case_maker h2.horizontal-line span::after {
  border-top: 1px solid var(--main-color);
}

#case_maker table {
  width: 100%;
  margin-bottom: 35px;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  table-layout: fixed;
}

#case_maker table tr {
  display: flex;
  flex-wrap: wrap;
}

#case_maker table td {
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  background: #fff;
  text-align: center;
  vertical-align: middle;
  padding: 10px 5px 5px 5px;
  width: 11.1%;
  display: inline-block;
}

#case_maker table.jpn td {
  width: 10%;
}

#case_maker table td a,
#case_maker table td a span {
  display: block;
}

#case_maker table td a span {
  font-size: 10px;
}

#toppage #case_maker .btnmore {
  text-align: center;
  margin-top: 30px;
}

#toppage #case_maker .btnmore a {
  font-size: 24px;
  display: block;
  letter-spacing: 2px;
  width: 50%;
  padding: 10px 20px 10px 10px;
  margin: 0 auto;
}

#toppage #case_list {
  background: var(--main-color);
}

#toppage #case_list h2 span {
  display: inline-block;
  color: #fff;
}


#toppage #case_list h2 span img {
  max-width: 413px;
}

#toppage #case_list h2 span::before,
#toppage #case_list h2 span::after {
  border-top: 1px solid #ffec0a;
}

#toppage #case_list h2+.img {
  margin: 20px 10px 30px;
}

#toppage #case_list .bx-wrapper {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  background: none;
  margin: 30px auto;
  padding: 10px;
  background: #fff;
}

#toppage #case_list .bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  outline: 0;
  width: 70px;
  height: 60px;
  text-indent: -9999px;
  z-index: 80;
}

#toppage #case_list .bx-wrapper .bx-prev {
  left: 10px;
  background: url('images/control_prev.png') no-repeat 0 0;
}

#toppage #case_list .bx-wrapper .bx-prev:hover,
#toppage #case_list .bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}

#toppage #case_list .bx-wrapper .bx-next {
  right: 10px;
  background: url('images/control_next.png') no-repeat 0 0;
}

#toppage #case_list .bx-wrapper .bx-next:hover,
#toppage #case_list .bx-wrapper .bx-next:focus {
  background-position: 0 0;
}

#toppage #case_list li {
  background: #fff;
}

#toppage #case_list li p {
  font-size: 90%;
}

#toppage #case_list li .cate {
  background: #e5e4e4;
  padding: 5px;
  line-height: 1;
  text-align: center;
}

#toppage #case_list li .cate span {
  background: var(--main-color);
  color: #fff;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  font-size: 12px;
  padding: 5px 7px;
  margin-right: 5px;
  vertical-align: text-top;
  display: inline-block;
  margin-bottom: 2px;
}

#toppage #case_list li .maker {
  padding: 5px 5px 0 5px;
}

#toppage #case_list li .title {
  margin-bottom: 0;
  padding: 5px;
}

#toppage #case_list .btnmore {
  text-align: center;
  margin-top: 30px;
}

#toppage #case_list .btnmore a {
  font-size: 24px;
  display: block;
  width: 50%;
  padding: 10px 30px 10px 10px;
  margin: 0 auto;
}

/* ボトム共通コンテンツ */

#bottom_common #servicemenu {
  background-image: url(images/toppage_sec01_bg01.png);
  color: #fff;
}

#bottom_common #servicemenu img {
  max-width: 100%;
  height: auto;
}


.servicemenu__ttl::before {
  content: "";
  display: block;
  width: clamp(20px, 4vw, 32px);
  height: clamp(20px, 4vw, 32px);
  border-radius: 20px;
  background: var(--sub-color);
  margin: 20px auto;
}

.servicemenu__ttl {
  color: var(--sub-color);
  text-align: center;
}

.servicemenu__ttl--part {
  display: block;
  width: auto;
  line-height: 1.2;
  font-weight: 700;
}

.servicemenu__ttl--jp {
  color: var(--sub-color);
  font-size: clamp(20px, 5vw, 80px);
}


#bottom_common #servicemenu .inner {
  background: var(--main-color);
  -webkit-border-top-left-radius: 30px;
  -webkit-border-top-right-radius: 30px;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-topright: 30px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 20px 20px 5px 20px;
}

#bottom_common #servicemenu h3 {
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px;
}

#bottom_common #servicemenu .service li {
  float: left;
  width: 25%;
  padding: 5px;
  margin-bottom: 15px;
}

#bottom_common #servicemenu .service li .img {
  margin-bottom: 10px;
}

#bottom_common #servicemenu .service li .title {
  font-weight: bold;
  text-align: center;
  font-size: 90%;
  color: #002a6f;
}

#bottom_common #servicemenu .service li .txt {
  font-size: 85%;
}

#bottom_common #bottom_contact {
  padding: 0;
}

#bottom_common #bottom_contact {
  padding: 0;
}

#bottom_common #bottom_contact {
  background-image: url(images/bottom_contact_bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

#bottom_common #bottom_contact .tablebox {
  margin-bottom: 20px;
}

#bottom_common #bottom_contact h3 {
  line-height: 1.3;
}

#bottom_common #bottom_contact h4 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: bold;
}

#bottom_common #bottom_contact .tel {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.3;
}

#bottom_common #bottom_contact .tel a,
#bottom_common #bottom_contact .tel a:hover {
  color: #fff;
  text-decoration: none;
}

#bottom_common #bottom_contact .time span {
  font-size: 80%;
}


#bottom_common #bottom_contact .mail {
  margin-top: 10px;
}

#bottom_common #bottom_contact .area {
  font-size: 24px;
  font-weight: bold;
}

/* 下層ページ共通 */

#pagemv {
  background-position: center center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 0;
  border-bottom: 10px solid #fff;
}

#pagemv .breadcrumbs {
  font-size: 14px;
  color: #fff;
}

#pagemv .breadcrumbs a,
#pagemv .breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

#pagemv .mv_wrapper {
  display: table;
  width: 100%;
  height: 200px;
}

#pagemv .mv_wrapper h2 {
  color: #fff;
  display: table-cell;
  vertical-align: middle;
  padding: 0 10px;
}

/* 初めての方へ */

#firstbloc {
  border-top: 10px solid var(--main-color);
}

#firstbloc .imagebloc {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

#firstbloc .imagebloc li {
  padding: 0 3px;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  width: 100%;
}

#firstbloc .imagebloc li img {
  margin-bottom: 5px;
  border: 2px solid var(--main-color);
}

#firstbloc h3+p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

#firstbloc .flex .left {
  width: 40%;
}

#firstbloc .flex .right {
  width: 60%;
  padding-left: 20px;
}

#firstbloc .flex .left .img {
  margin-left: -200px;
}

#firstbloc .flex .right p {
  line-height: 1.5;
}

#firstbloc .flex .right p:first-child {
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--main-color);
}

#customer #firstbloc h3 {
  font-size: 24px;
}

#customer #flow {
  padding: 0;
}

#customer #flow h3 {
  margin-bottom: 40px;
}

#customer #flow h3 span {
  font-weight: bold;
}

#customer #flow .box {
  position: relative;
  margin-bottom: 80px;
}

#customer #flow .box::after {
  content: "";
  display: block;
  width: 189px;
  height: 34px;
  background-image: url(images/arrow_blue.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  position: absolute;
  bottom: -60px;
  left: 50%;
  margin-left: -94px;

  /*
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 30px 0 30px;
  border-color: #002a6f transparent transparent;
  position: absolute;
  bottom: -45px;
  left: 50%;
  margin-left: -30px;
*/
}

#customer #flow .box .inner {
  background: var(--main-color);
  padding: 20px;
  color: #fff;
}

#customer #flow .box:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

#customer #flow .box:last-child::after {
  content: none;
}

#customer #flow .box .tablebox .left {
  width: 35%;
}

#customer #flow .box .tablebox .right {
  width: 65%;
  padding-left: 20px;
}

#customer #flow .box .tablebox .right h4 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffec0a;
}

#customer #flow .box .tablebox .right h4 span {
  font-weight: bold;
  font-size: 18px;
  color: #000;
  background: #ffec0a;
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 10px;
}

#customer #flow .box .contactbox {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  color: #222222;
  padding: 10px;
  margin-top: 20px;
}

#customer #flow .box .contactbox .txt {
  font-weight: bold;
}

#customer #flow .box .contactbox .telarea {
  text-align: center;
  line-height: 1.2;
}

#customer #flow .box .contactbox .telarea .tel span {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 3px;
}

#customer #flow .box .contactbox .telarea .tel span a,
#customer #flow .box .contactbox .telarea .tel span a:hover {
  text-decoration: none;
  color: #222222;
}

#customer #flow .box .contactbox .telarea .time {
  font-size: 14px;
  font-weight: bold;
}

#customer #flow .box .servicetitle,
#customer #flow .box .credittitle {
  background: #ffec0a;
  padding: 5px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  color: #222222;
}

#customer #flow .box .servicelink {
  display: flex;
  justify-content: space-around;
  padding: 15px 10px;
  background: #fff;
}

#customer #flow .box .servicelink .btncommon {
  padding: 5px 30px 5px 20px;
}

#customer #flow .box .creditimg {
  text-align: center;
  padding: 5px;
}

#customer #flow .box.payment .tablebox,
#customer #flow .box.payment .tablebox .left,
#customer #flow .box.payment .tablebox .right {
  display: block;
}

#customer #flow .box.payment .tablebox .left {
  float: left;
}

#customer #flow .box.payment .tablebox .right {
  float: right;
  width: 62%;
}

#customer #insurance h3 {
  line-height: 1.3;
}

#customer #insurance h3 span.inner {
  display: block;
  font-weight: bold;
}

#customer #insurance h3 span.small {
  font-weight: bold;
  font-size: 80%;
}

#customer #insurance .bgimg {
  background-image: url(images/customer_insurance_bg01.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 40px 0;
}

#customer #insurance h4 {
  margin-bottom: 0;
}

#customer #insurance h4+p {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  margin: 10px 0 20px;
}

#customer #insurance .tablebox .left ul li {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 36px;
}

#customer #insurance .tablebox .left ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-image: url(images/customer_insurance_icon01.png);
  background-size: contain;
}

#customer #insurance .tablebox .right {
  background: #f0f0f0;
  padding: 20px;
}

#customer #insurance .contact {
  padding: 20px 0;
  background: #f6f6f6;
}

#customer #insurance .contact .img {
  float: left;
  width: 240px;
}

#customer #insurance .contact .right {
  float: right;
  width: 730px;
}

#customer #insurance .contact .right .contactbox .telarea .icon,
#customer #insurance .contact .right .contactbox .telarea .number {
  display: inline-block;
  vertical-align: middle;
}

#customer #insurance .contact .right .contactbox {
  text-align: center;
}

#customer #insurance .contact .right .contactbox .telarea,
#customer #insurance .contact .right .contactbox .mail {
  float: left;
  width: 50%;
  padding: 5px;
}

#customer #insurance .contact .right .contactbox .telarea .number {
  position: relative;
  padding-left: 45px;
}

#customer #insurance .contact .right .contactbox .telarea .number::before {
  content: "";
  display: block;
  width: 39px;
  height: 38px;
  background-image: url(images/customer_icon_tel.png);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -20px;
}

#customer #insurance .contact .right .contactbox .telarea .number .tel {
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

#customer #insurance .contact .right .contactbox .telarea .number .txt {
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
}

/* 鈑金・塗装 */

#bodyworks #firstbloc h3 span {
  font-weight: bold;
  font-size: 18px;
}

#bodyworks #firstbloc .txtbloc {
  margin-bottom: 30px;
}

#firstbloc .point ul {
  display: flex;
  justify-content: space-around;
}

#firstbloc .point li {
  width: 230px;
  background: var(--main-color);
  padding: 10px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

#bodyworks #allpaint {
  padding: 0;
}

#bodyworks #allpaint h3 span {
  font-weight: bold;
  font-size: 22px;
}

#bodyworks #allpaint .gray {
  background: #434343;
  color: #fff;
  text-align: center;
  padding: 40px 0 100px;
}

#bodyworks #allpaint .gray h4 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

#bodyworks #allpaint .gray ul {
  margin-top: 20px;
}

#bodyworks #allpaint .gray ul li {
  width: 31%;
}

#bodyworks #allpaint .title {
  background: #fcad14;
}

#bodyworks #allpaint .title h4 {
  color: #fff;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 3px;
}

#bodyworks #allpaint .title .inner {
  padding: 50px 10px;
  position: relative;
}

#bodyworks #allpaint .title .inner::after {
  content: "";
  background-image: url(images/bodyworks_allpaint_title_bg01.png);
  -moz-background-size: contain;
  background-size: contain;
  display: block;
  width: 233px;
  height: 277px;
  position: absolute;
  bottom: 0;
  right: 0;
}

#bodyworks #allpaint .main {
  background-image: url(images/bodyworks_allpaint_lower_bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 30px 0;
}

#bodyworks #allpaint .main .inner {
  padding: 30px;
  background: #000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#bodyworks #allpaint .main .bnr {
  background: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 30px;
}

#bodyworks #allpaint .main .middle {
  background: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 30px;
}

#bodyworks #allpaint .main .middle h5 {
  text-align: center;
  color: #ffec0a;
  font-size: 22px;
  font-weight: bold;
  padding: 20px 10px;
  border-top: 2px solid #ffec0a;
  border-bottom: 2px solid #ffec0a;
  margin-bottom: 20px;
}

#bodyworks #allpaint .main .middle .img {
  margin-top: 20px;
}

#bodyworks #allpaint .main .lower {
  color: #fff;
}

#bodyworks #allpaint .main .lower h5 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

#bodyworks #allpaint .main .lower .box {
  margin-top: 30px;
  align-items: center;
}

#bodyworks #allpaint .main .lower .box .img {
  width: 30%;
}

#bodyworks #allpaint .main .lower .box .textblock {
  width: 68%;
}

#bodyworks #allpaint .main .lower .box h6 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

#trouble {
  padding-top: 0;
}

#bodyworks #trouble h3 {
  margin-bottom: 30px;
}

#bodyworks #trouble h3 span {
  font-weight: bold;
  font-size: 22px;
}

#bodyworks #trouble .other {
  margin-bottom: 0;
}

#trouble .alert {
  line-height: 1.2;
  font-size: 24px;
}

#trouble .alert span {
  border-bottom: 5px solid var(--main-color);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 5px;
}

#trouble .pickupbloc {
  margin: 60px 0 20px;
}

#trouble .pickupbloc ul {
  display: flex;
  justify-content: space-around;
}

#trouble .pickupbloc ul li {
  width: 450px;
  padding: 15px 10px;
  background: #d2effe;
  text-align: center;
}

#trouble .pickupbloc ul li h4 {
  margin-top: -30px;
  margin-bottom: 10px;
}

#trouble .pickupbloc ul li h4 span {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  padding: 5px 20px;
  letter-spacing: 3px;
  color: #fff;
}

#trouble .pickupbloc ul li p {
  font-weight: bold;
}

#trouble .pickupbloc ul li p span {
  color: #ff0000;
  font-weight: bold;
}

#trouble .other {
  margin-bottom: 40px;
}

#trouble .other h4 span {
  font-weight: bold;
}

#trouble .other h4 span::before,
#trouble .other h4 span::after {
  content: "●";
  color: var(--main-color);
  font-size: 42px;
}

#trouble .other .box {
  float: left;
  width: 31%;
  margin-right: 3.5%;
  border: 1px solid var(--main-color);
  background: #fff;
}

#trouble .other .box:last-child {
  margin-right: 0;
}

#trouble .other .box h5 {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 10px;
  position: relative;
}

#trouble .other .box h5::after {
  content: "";
  display: block;
  width: 250px;
  border-bottom: 1px solid var(--main-color);
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -125px;
}

#trouble .other .box ul {
  padding: 10px;
}

#trouble .other .box ul li {
  position: relative;
  padding-left: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-size: 15px;
}

#trouble .other .box ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "・";
  display: block;
  width: 20px;
  height: 20px;
}

#trouble .other .box .img {
  text-align: center;
  border-top: 1px solid var(--main-color);
}

#trouble .other .box .img img {
  width: 100%;
  height: auto;
}

.pickup-point {
  margin-top: 40px;
}

.pickup-point .item {
  width: 48%;
}

.pickup-point h5,
.pickup-point h6 {
  margin-bottom: 10px;
}

.pickup-point h6 {
  font-weight: bold;
}

#bodyworks #dealer h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 20px;
}

#bodyworks #dealer h3 span.inner {
  display: block;
  font-weight: bold;
}

#bodyworks #dealer {
  padding-top: 0;
}

#bodyworks #dealer .tablebox .left {
  text-align: center;
}

#bodyworks #dealer .tablebox .left h4 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 20px;
}

#bodyworks #dealer .tablebox .left h4 span {
  font-size: 150%;
  font-weight: bold;
  color: red;
}

#bodyworks #dealer .tablebox .right {
  padding-left: 20px;
}

#facility {
  color: #fff;
  padding: 30px 0 40px;
}

#facility h3 {
  line-height: 1.2;
  font-size: 24px;
}

/* 保険修理 */

#insurance #firstbloc .txtbloc {
  margin-bottom: 30px;
}

#insurance #firstbloc .point {
  margin-bottom: 30px;
}

#insurance #firstbloc .point ul {
  display: flex;
  justify-content: space-around;
}

#insurance #firstbloc .point li {
  width: 230px;
  background: var(--main-color);
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

#insurance #firstbloc .btmtxt {
  text-align: center;
}

#insurance #repair {
  padding: 0;
}

#insurance #repair .bgimg {
  background-image: url(images/insurance_repair_bg01.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 40px 0;
  color: #fff;
}

#insurance #repair h3 {
  font-size: 24px;
}

#insurance #repair h3 span {
  font-weight: bold;
}

#insurance #repair .topimg {
  text-align: center;
  margin-bottom: 20px;
}

#insurance #repair .topimg+.txt {
  margin-bottom: 20px;
}

#insurance #repair .box {
  flex-direction: row-reverse;
}

#insurance #step h3 span {
  font-weight: bold;
  border-bottom: 5px solid var(--main-color);
  padding: 0 20px 5px 20px;
}

#insurance #step h3 {
  margin-bottom: 40px;
}

#insurance #step .box {
  margin-bottom: 30px;
}

#insurance #step .box .img {
  width: 39%;
  text-align: center;
}

#insurance #step .box .img img {
  max-width: 100%;
  height: auto;
}

#insurance #step .box .txtarea {
  width: 59%;
}

#insurance #step .box .txtarea h4,
#insurance #step .box .txtarea h4 span {
  font-weight: bold;
  font-size: 24px;
}

#insurance #step .box .txtarea h4 span {
  font-weight: bold;
  display: inline-block;
  margin-right: 20px;
}

#insurance #step .box .txtarea h4 {
  margin-bottom: 15px;
  padding: 0 10px 10px;
  border-bottom: 2px solid #ffec0a;
  line-height: 1;
  color: var(--main-color);
}

#insurance #message {
  background-image: url(images/insurance_message_bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#insurance #message .txtarea {
  background: rgba(0, 80, 163, 0.8);
  padding: 20px;
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#insurance #message .txtarea span {
  font-weight: bold;
  color: #ffdc00;
}

#insurance #message h3 {
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}


/* 会社概要 */

#company #firstbloc .flex {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#company #firstbloc .flex .left {
  width: 43%;
}

#company #firstbloc .flex .left .img {
  margin-left: 0;
}

#company #firstbloc .flex .right {
  width: 55%;
}

#firstbloc .flex .right p:first-child {
  font-weight: normal;
  margin-bottom: 0;
  text-align: left;
  color: #222;
}

#company #firstbloc img {
  max-width: 100%;
  height: auto;
}

#company #sec02 {
  padding: 0;
}

#company .profile {
  width: 80%;
  margin: 30px auto;

}

#company .profile tr:nth-child(odd) {
  background: #d2effe;
}

#company .profile,
#company .profile th,
#company .profile td {
  border: 1px solid #ccc;
}

#company .profile th,
#company .profile td {
  padding: 10px;
}

#company .profile th {
  width: 25%;
  font-weight: bold;
}

#company #sec02 .txt {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 22px;
}

#company #sec02 .img {
  margin-bottom: 20px;
}

#company #sec02 .lower {
  background-image: url(images/company_sec02_img02.png);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  height: 435px;
}

#company #access h3 {
  line-height: 1.3;
  margin-bottom: 20px;
}

#company #access h3 span.inner {
  display: block;
  font-weight: bold;
}

#company #access .flex {
  justify-content: space-between;
  margin-bottom: 30px;
}

#company #access .flex .txtbloc {
  width: 55%;
}

#company #access .flex .imgbloc {
  width: 43%;
}

#company #access .flex h4 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

#company #access .bottom_txt {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

#company #access .mapinner {
  width: 80%;
  margin: 20px auto 30px;
}

#company #access #map_canvas {
  position: relative;
  padding: 0 0 31.2%;
  height: 0;
  overflow: hidden;
}

#company #access #map_canvas iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* 施工事例一覧 */

#pagemv.case_mv {
  border-bottom: 10px solid #141414;
}

#case #casetop {
  position: relative;
  z-index: -3;
  padding: 60px 0 100px;
  border-top: 10px solid var(--main-color);
  color: #fff;
}

#case #casetop::before {
  content: "";
  display: block;
  width: 100%;
  height: 90%;
  background: #141414;
  z-index: -2;
  position: absolute;
  top: 0;
  left: 0;
}

#case #casetop::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  background-image: url(images/casetop_bg01.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#case #casetop .inner {
  width: 45%;
  margin-left: 15%;
}

#case #casetop h2 {
  text-align: left;
}

#case #casetop h3 {
  font-size: 24px;
  color: #ffec0a;
  text-align: left;
  font-weight: bold;
  margin-bottom: 10px;
}

#case #case_maker {
  background-image: url(images/case_maker_bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#case #case_maker .btnmore {
  text-align: center;
}

#case #case_maker .btnmore a {
  font-size: 24px;
  display: block;
  letter-spacing: 2px;
  width: 50%;
  padding: 10px 20px 10px 10px;
  margin: 0 auto;
}

#case_maker td>a>img {
  max-width: 40px;
  max-height: 40px;
}

#case_cate {
  padding: 40px 0 60px;
}

#case_cate ul li {
  float: left;
  width: 25%;
}

#case_cate ul li a {
  display: block;
  text-align: center;
  margin: 0 10px;
  font-size: 24px;
  padding: 10px 30px 10px 10px;
}

#case #case_list {
  padding-top: 0;
  background: url(images/bg_metal.gif);
}

#case #case_list h2 {
  margin-bottom: 25px;
}

#case #case_list li {
  float: left;
  width: 23.8%;
  margin: 0 5px 10px;
  background: #fff;
}

#case #case_list li p {
  font-size: 90%;
  margin-bottom: 8px;
}

#case #case_list li .img {
  margin-bottom: 0;
}

#case #case_list li .img img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

#case #case_list li .cate {
  background: #e5e4e4;
  padding: 5px;
  line-height: 1;
  text-align: center;
}

#case #case_list li .cate span {
  display: inline-block;
  background: var(--main-color);
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  font-size: 12px;
  padding: 5px 7px;
  margin-right: 5px;
  vertical-align: text-top;
  display: inline-block;
  margin-bottom: 2px;
  color: #fff;
}

#case #case_list li .title {
  margin-bottom: 0;
}

#case #case_list li .maker {
  padding: 5px 5px 0 5px;
}

#case #case_list li .title {
  margin-bottom: 0;
  padding: 5px;
}

/* 施工事例詳細 */

#case-detail section .img {
  text-align: center;
}

#case-detail section img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

#case-detail #case-detail_top {
  background: #141414;
  color: #fff;
  border-top: 10px solid var(--main-color);
}

#case-detail #case-detail_top h2 {
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
}

#case-detail #case-detail_top .cate {
  margin-bottom: 10px;
  text-align: center;
  margin-bottom: 30px;
}

#case-detail #case-detail_top .cate span {
  display: inline-block;
  background: var(--main-color);
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  font-size: 14px;
  padding: 5px 10px;
  margin-right: 5px;
  vertical-align: text-top;
  color: #fff;
}

#case-detail #case-detail_top .container {
  display: flex;
  justify-content: space-around;
  flex-direction: row-reverse;
}

#case-detail #case-detail_top .container .item {
  width: 48%;
}

#case-detail #case-detail_top .container .item .maker .fw_b,
#case-detail #case-detail_top .container .item .type .fw_b,
#case-detail #case-detail_top .container .item .year .fw_b {
  display: inline-block;
  width: 7em;
  position: relative;
  margin-right: 20px;
}

#case-detail #case-detail_top .container .item .maker .fw_b::after,
#case-detail #case-detail_top .container .item .type .fw_b::after,
#case-detail #case-detail_top .container .item .year .fw_b::after {
  content: " | ";
  position: absolute;
  top: 0;
  right: 0;
}

#case-detail #case-detail_top .container .item .repair {
  font-size: 90%;
}


#case-detail #case-detail_content .inner {
  border: #f0f0f0 10px solid;
  padding: 20px;
}

#case-detail #case-detail_flow {
  padding: 0;
}

#case-detail #case-detail_flow .bgcolor {
  background: #dcf3fc;
  padding: 40px 0;
}

#case-detail #case-detail_flow .tablebox {
  margin-bottom: 50px;
  background: #fff;
  padding: 10px;
  position: relative;
}

#case-detail #case-detail_flow .tablebox::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 40px 0 40px;
  border-color: #ffffff transparent transparent;
  position: absolute;
  bottom: -29px;
  left: 50%;
  margin-left: -40px;
}

#case-detail #case-detail_flow .tablebox:last-child {
  margin-bottom: 0;
}

#case-detail #case-detail_flow .tablebox:last-child::after {
  content: none;
}


#case-detail #case-detail_flow .tablebox .right {
  padding-left: 20px;
}

#case-detail #case-detail_flow .tablebox .right h4 {
  font-weight: bold;
  color: #fff;
  padding: 5px 10px;
  background: #ffec0a;
  display: inline-block;
  line-height: 1;
  margin-bottom: 10px;
}

#case-detail #case-detail_flow .tablebox .right .title {
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 8px;
  color: #ffec0a;
}

#case-detail #case-detail_flow .tablebox .right .content {
  font-size: 90%;
}

#case-detail #case-detail_contact .contactbox {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#case-detail #case-detail_contact .contactbox .txt {
  font-weight: bold;
}

#case-detail #case-detail_contact .contactbox .telarea {
  text-align: center;
  line-height: 1.2;
}

#case-detail #case-detail_contact .contactbox .telarea .tel span {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 3px;
}

#case-detail #case-detail_contact .contactbox .telarea .tel span a,
#case-detail #case-detail_contact .contactbox .telarea .tel span a:hover {
  text-decoration: none;
}

#case-detail #case-detail_contact .contactbox .telarea .time {
  font-size: 14px;
  font-weight: bold;
}


/* 新着情報一覧 */

#news #news_cate h2 {
  margin-bottom: 40px;
}

#news #news_cate ul li {
  float: left;
  width: 33%;
}

#news #news_cate ul li a {
  display: block;
  text-align: center;
  margin: 0 10px;
  font-size: 24px;
  padding: 10px 30px 10px 10px;
}

#news #news_list ul li {
  padding: 15px;
  margin-bottom: 15px;
  background: #eaeef1;
}

#news #news_list ul li .fl_l {
  width: 20%;
}

#news #news_list ul li .fl_r {
  width: 79%;
  padding: 0 10px 10px 10px;
}

#news #news_list ul li .fl_r .date,
#news #news_list ul li .fl_r .cate {
  display: inline-block;
}

#news #news_list ul li .fl_r .date span {
  margin-right: 5px;
}

#news #news_list ul li .fl_r .cate span {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  padding: 3px 5px;
  margin-right: 5px;
  vertical-align: text-bottom;
}

#news #news_list ul li .fl_r .cate .news {
  background: #ff0000;
}

#news #news_list ul li .fl_r .cate .blog {
  background: #ff8c00;
}

#news #news_list ul li .fl_r .title {
  font-weight: bold;
}

#news #news_list ul li .fl_r .btn {
  text-align: right;
}

#news #news_list ul li .fl_r .btn span {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-weight: bold;
  background: var(--main-color);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 3px 10px;
}

#monthly_archive h3 {
  font-size: 24px;
  line-height: 2;
  border-bottom: 1px solid #00004d;
  margin-bottom: 20px;
}

#monthly_archive ul li {
  font-size: 18px;
  line-height: 2;
}

/* 新着情報詳細 */

#news-detail {
  padding-top: 30px;
}

#news-detail img {
  max-width: 100%;
  height: auto;
}

#news-detail section {
  padding: 0;
}

#news-detail #news-detail_top .inner {
  padding-bottom: 0;
}

#news-detail #news-detail_top {
  padding-bottom: 30px;
}

#news-detail #news-detail_top .img {
  text-align: center;
}

#news-detail #news-detail_top .img img {
  max-width: 80%;
}

#news-detail #news-detail_top .date,
#news-detail #news-detail_top .cate {
  display: inline-block;
}

#news-detail #news-detail_top .date {
  margin-right: 10px;
}

#news-detail #news-detail_top .cate span {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  padding: 3px 5px;
  margin-right: 5px;
  vertical-align: text-bottom;
}

#news-detail #news-detail_top .cate .news {
  background: #ff0000;
}

#news-detail #news-detail_top .cate .blog {
  background: #ff8c00;
}

#news-detail #news-detail_top h2 {
  text-align: left;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}

/* ビジュアルエディタ装飾 */

.freeeditor h1 {
  text-align: left;
  font-size: 140%;
  font-weight: bold;
  border-bottom: 3px solid #e8e7e3;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.freeeditor h2 {
  text-align: left;
  border: none;
  font-size: 130%;
  font-weight: bold;
  border-bottom: 2px solid #e8e7e3;
  padding-left: 0;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.freeeditor h3 {
  text-align: left;
  font-size: 120%;
  font-weight: bold;
  border-bottom: 1px solid #e8e7e3;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.freeeditor h4 {
  text-align: left;
  font-size: 110%;
  font-weight: bold;
  margin-bottom: 10px;
}

.freeeditor h5 {
  text-align: left;
  font-weight: bold;
  margin-bottom: 10px;
}

.freeeditor strong {
  font-weight: bold;
}

.freeeditor img.alignright {
  display: block;
  margin: 0 0 0 auto;
}

/* 配置位置 右 */
.freeeditor img.alignleft {
  display: block;
  margin: 0 auto 0 0;
}

/* 配置位置 左 */
.freeeditor img.aligncenter {
  display: block;
  margin: 0 auto;
}

/* 配置位置 中央 */

#case-detail .freeeditor img {
  width: auto;
  max-width: 100%;
}

/* フッター */

#footer {
  color: #fff;
  background: var(--main-color);
}

#footer #upper {
  background: #fff;
  color: #333;
  border-top: 10px solid var(--main-color);
}

#footer #upper h2 {
  color: var(--main-color);
  position: relative;
  padding-top: 70px;
}

#footer #upper h2::before {
  content: "";
  display: block;
  width: 59px;
  height: 56px;
  mask: url(images/footer_icon_star.png)no-repeat center/contain;
  background: var(--main-color);
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -29px;
}

#footer #upper h2 span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

#footer #upper .horizontal-line span::before,
#footer #upper .horizontal-line span::after {
  border-top: 5px solid var(--main-color);
}

#footer #upper .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer #upper .inner #news,
#footer #upper .inner #access {
  width: 100%;
  margin: 0 auto;
  background: none;
  color: var(--main-color);
}

#footer #upper .inner #access .map-wrap {
  display: flex;
  justify-content: space-around;
}

#footer #news .btn {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

#footer #news .btn a {
  display: block;
  width: 80%;
  margin: 0 auto;
}

#footer #news .btn a:hover {
  color: #000;
}

#footer #news .newslist {
  height: 450px;
  padding: 10px;
  overflow-y: scroll;
  border: 1px solid var(--main-color);
  background: #fff;
  color: #333;
}

#footer #news .newslist li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

#footer #news .newslist .date,
#footer #news .newslist .cate {
  display: inline-block;
}

#footer #news .newslist .date span {
  margin-right: 5px;
}

#footer #news .newslist .cate span {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  padding: 3px 5px;
  margin-right: 5px;
  vertical-align: text-bottom;
}

#footer #news .newslist .cate .news {
  background: #ff0000;
}

#footer #news .newslist .cate .blog {
  background: #ff8c00;
}

#footer #news .newslist .title {
  font-weight: bold;
}

#footer #access .map iframe {
  border: 1px solid var(--main-color);
  max-width: 100%;
  height: 400px;
  width: 1200px;
}

#footer #access .txt {
  margin-top: 5px;
  font-size: 85%;
}

#footer #middle .makerlist {
  border: 1px solid #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  box-shadow: 0px 0px 6px 3px #d3d3d3 inset;
  padding: 10px;
  font-size: 90%;
  background: #fff;
  color: #333;
}

#footer #middle .makerlist .title {
  font-weight: bold;
}

#footer #lower {
  padding-top: 0;
}

#footer #lower .footer_contact {
  margin-bottom: 40px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}


#footer #lower .footer_contact .logo img {
  max-width: 240px;
}

#footer .footer-sns {
  width: 50px;
  height: 45px;
}

#footer #lower .footer_contact a,
#footer #lower .footer_contact a:hover {
  color: #fff;
}

#footer #lower .footer_contact p {
  padding: 0 10px;
}

#footer #lower .footer_contact .tel {
  font-size: 42px;
  letter-spacing: 2px;
  font-weight: bold;
  position: relative;
  padding-left: 40px;
  line-height: 1.4;
}

#footer #lower .footer_contact .tel::before {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -16px;
  content: "";
  width: 32px;
  height: 32px;
  background-image: url(images/footer_icon_tel.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#footer #lower .footer_contact .tel span {
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  letter-spacing: 1px;
}

#footer #lower .tablebox .left .company,
#footer #lower .tablebox .left .address,
#footer #lower .tablebox .left .time {
  margin-bottom: 5px;
}

#footer #lower .tablebox .left .company {
  font-size: 150%;
  font-weight: bold;
}

#footer #lower .tablebox .left .time,
#footer #lower .tablebox .left .time span {
  font-size: 80%;
  line-height: 1.4;
  display: block;
}

#footer #lower .tablebox .right h3 {
  text-align: left;
  line-height: 1;
  margin-bottom: 5px;
}

#footer #lower .tablebox .right #sitemap ul {
  float: left;
  width: 50%;
  padding: 10px;
}

#footer #lower .tablebox .right #sitemap ul li a,
#footer #lower .tablebox .right #sitemap ul li a:hover {
  color: #fff;
}

#footer .copyright {
  color: #000;
  background: #ffec0a;
  text-align: center;
  padding: 5px;
}

/* メールフォームテンプレート */

#contact {
  background: #d3f1fc;
}

#contact .inner {
  background: #fff;
  padding: 20px;
}

#contact #sec01 .contactbox {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 30px;
}

#contact #sec01 .contactbox .txt {
  font-weight: bold;
}

#contact #sec01 .contactbox .telarea {
  text-align: center;
  line-height: 1.2;
}

#contact #sec01 .contactbox .telarea .tel span {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 3px;
}

#contact #sec01 .contactbox .telarea .tel span a,
#contact #sec01 .contactbox .telarea .tel span a:hover {
  text-decoration: none;
}

#contact #sec01 .contactbox .telarea .time {
  font-size: 14px;
  font-weight: bold;
}

table.inquiry_table {
  border-collapse: separate;
  border-spacing: 10px;
}

table.inquiry_table,
#contact .notice,
.inquiry_complete {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

#contact .notice {
  margin-bottom: 20px;
}

.inquiry_table th,
.inquiry_table td {
  vertical-align: middle;
  padding: 25px 10px 15px;
  border-top: 1px solid #ccc;
}

.inquiry_table th {
  width: 25%;
  text-align: left;
}

.inquiry_table th span {
  font-size: 10px;
  display: inline-block;
  padding: 4px 3px;
  margin: 10px 0 0 10px;
  width: 50px;
  background: #EE4958;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.inquiry_table td {
  padding-left: 10px;
  width: 80%;
}

input[type="checkbox"] {
  margin-right: 5px;
}

textarea,
input[type="text"],
#contact input[type="email"],
#contact input[type="tel"] {
  font-size: 18px;
  width: 100%;
  border: 1px solid #c1bbb3;
  padding: 10px;
  color: #413226;
  background: #fff;
  border-radius: 5px;
  box-shadow: 1px 1px 2px 0 #f0eeee inset;
  /* Webkit */
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 1px 1px 2px 0 #f0eeee inset;
  /* Firefox */
  -moz-border-radius: 5px;
  -moz-box-shadow: 1px 1px 2px 0 #f0eeee inset;
}

.inquiry_table .mwform-tel-field input[type="text"] {
  width: 23%;
}

textarea {
  width: 100%;
}

.mw_wp_form .error {
  margin-top: 7px;
  font-weight: bold;
  color: #ee4958;
}

.policycheck {
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

.policycheck a {
  vertical-align: middle;
}

.btn_form {
  text-align: center;
}

.btn_form input {
  display: inline-block;
  padding: 13px 80px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-top: 1px solid #f0f0ff;
  border-bottom: 3px solid #B8B8CC;
  background-color: var(--main-color);
  box-shadow: 4px 4px 4px -2px #dadada;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
}

.btn_form input:hover {
  text-decoration: none;
  opacity: 0.75;
}

.inquiry_complete h3 {
  font-size: 28px;
  font-weight: bold;
  margin: 20px 0 30px;
}

.inquiry_complete p {
  line-height: 2;
}

/* プライバシーポリシー */

#privacypolicy h3 {
  font-size: 22px;
  margin: 20px 0;
  text-align: left;
  border-left: 8px solid var(--main-color);
  ;
  padding-left: 5px;
  line-height: 1;
}

#privacypolicy ul li {
  padding-left: 20px;
  list-style: disc;
  list-style-position: inside;
}


/* breadcrumbs */

#breadcrumbs {
  padding: 10px 0;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00004d+0,0d89d8+65,0281d3+100 */
  background: #00004d;
  /* Old browsers */
  background: -moz-linear-gradient(left, #00004d 0%, #0d89d8 65%, #0281d3 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #00004d 0%, #0d89d8 65%, #0281d3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #00004d 0%, #0d89d8 65%, #0281d3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00004d', endColorstr='#0281d3', GradientType=1);
  /* IE6-9 */
  color: #fff;
}

#breadcrumbs a {
  text-decoration: underline;
  color: #fff;
}

#breadcrumbs a:hover {
  color: #fff;
}

/* error */

.error {
  margin: 30px auto;
}

.error h2 {
  font-size: 18px;
  margin-bottom: 15px;
}


/* wp-pagenavi */

#case .wp-pagenavi,
#news .wp-pagenavi {
  text-align: center;
  padding: 50px 0;
}

#case .wp-pagenavi span,
#case .wp-pagenavi a,
#news .wp-pagenavi span,
#news .wp-pagenavi a {
  padding: 5px 8px;
  margin-left: 5px;
  border: 1px var(--main-color) solid;
  background: #fff;
  font-size: 14px;
  line-height: 1;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  display: inline-block;
}

#case .wp-pagenavi span.current,
#news .wp-pagenavi span.current {
  background: var(--main-color);
  color: #fff;
}

/* pagenavi */

.pagenavi {
  text-align: center;
  font-size: 16px;
  padding: 40px 0;
}

.pagenavi span.gotolist {
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}


/* gotop */

#top {
  position: relative;
  overflow: hidden;
}

.gotop {
  position: fixed;
  right: 50px;
  bottom: 50px;
  text-align: center;
  z-index: 4;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 15px;
  border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  cursor: pointer;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  border: 1px solid #6c6c6c;
}

.gotop:hover {
  color: #fff;
}




/************************************************
      PC
  ************************************************ */

@media only screen and (min-width: 769px) {

  .sp,
  .mini {
    display: none;
  }

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

    /* 施工事例一覧 */

    #case #casetop {
      padding: 40px 0 70px;
    }

    #case #casetop .inner {
      width: 50%;
      margin-left: 5%;
    }

    #case #casetop h2 {
      font-size: 28px;
      margin-bottom: 15px;
    }

  }


}


/************************************************
        Tablet max-width: 768px
    ************************************************ */


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

  img {
    max-width: 100%;
    height: auto;
  }

  .inner {
    width: 100%;
    padding: 0 10px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .pc,
  .mini {
    display: none;
  }


  /* ドロワー */

  .drawer-hamburger {
    background-color: rgba(255, 255, 255, 0.8);
    padding-top: 12px;
    padding-right: .60rem;
    padding-bottom: 24px;
    padding-left: .60rem;
  }

  .drawer-hamburger:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }

  .drawer-nav {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
    z-index: 10000;
  }

  .drawer-nav ul li {
    width: 100%;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #586e85;
  }

  .drawer-nav ul li a {
    color: #fff;
    display: block;
    padding: 10px;
  }

  .drawer-hamburger-icon,
  .drawer-hamburger-icon::before,
  .drawer-hamburger-icon::after {
    background-color: var(--main-color);
  }

  .drawer-nav .telarea {
    padding: 10px;
  }

  .drawer-nav .telarea .icon,
  .drawer-nav .telarea .number {
    display: inline-block;
    vertical-align: middle;
  }

  .drawer-nav .telarea .icon {
    margin-right: 5px;
  }

  .drawer-nav .telarea .number {
    text-align: center;
  }

  .drawer-nav .telarea .number .tel {
    font-size: 18px;
    font-weight: bold;
  }

  /* ヘッダー */

  #header .lower {
    text-align: center;
  }

  #header .lower .pc {
    display: none;
  }

  #header .lower .logo {
    display: block;
  }

  #header .lower .telarea {
    padding-left: 0;
  }

  #header .lower .telarea::before {
    content: none;
  }

  #header .lower .logo,
  #header .lower .telarea {
    padding-bottom: 10px;
  }

  /* メインビジュアル */

  #mv .bx-wrapper .bx-viewport img.pc {
    display: none;
  }

  #mv .bx-wrapper .bx-viewport img.sp {
    display: block;
  }

  #mv .bx-wrapper .bx-prev,
  #mv .bx-wrapper .bx-next {
    -moz-background-size: 35px 30px;
    background-size: 35px 30px;
  }

  #mv .bx-wrapper .bx-controls-direction a {
    width: 35px;
    height: 30px;
    margin-top: -17.5px;
  }

  #mv .bx-wrapper .bx-pager,
  .bx-wrapper .bx-controls-auto {
    bottom: 10px;
  }


  #mv .bx-wrapper .bx-prev {
    left: 5px;
  }

  #mv .bx-wrapper .bx-next {
    right: 5px;
  }

  /* グローバルナビ */

  #gnav {
    display: none;
  }

  /* セクション共通 */

  section {
    padding: 30px 0;
  }

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

  .h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .tablebox,
  .tablebox .left,
  .tablebox .right {
    display: block;
    width: 100%;
  }

  .grayline {
    font-size: 24px;
    padding: 20px 0 25px;
    margin-bottom: 0;
  }

  .flex {
    flex-wrap: wrap;
  }


  /* トップページコンテンツ */

  #toppage #sec01 .tablebox .left,
  #toppage #sec01 .tablebox .right {
    width: 100%;
  }

  #toppage #sec01 .tablebox .left {
    margin-bottom: 20px;
    text-align: center;
  }

  #toppage #sec01 .tablebox .left p {
    display: inline-block;
    text-align: left;
  }

  #toppage #sec01 .lower .fiture ul {
    justify-content: space-around;
  }

  #toppage #sec01 .lower .greeting ul li {
    width: 30%;
  }

  #toppage #reason h2 span img {
    width: 250px;
  }

  #toppage #reason ul li {
    padding: 0 1px;
  }

  #toppage #reason .btn {
    margin-top: 20px;
  }

  #toppage #reason .btn .btncommon {
    width: 280px;
    padding: 10px 30px 10px 10px;
  }

  #toppage #plan .plan h3 {
    font-size: 18px;
  }

  #toppage #plan .plan h3 span {
    font-size: 24px;
  }

  #toppage #plan .plan h3 span.red {
    font-size: 30px;
  }

  #toppage #plan .plan h4 {
    font-size: 24px;
    padding-left: 15px;
  }

  #toppage #plan .plan h4 span {
    font-size: 14px;
  }

  #toppage #allpaint .titleblock {
    padding: 20px 0;
    margin-bottom: 20px;
  }

  #toppage #allpaint .titleblock .textblock {
    padding: 10px;
  }

  #toppage #allpaint .titleblock .textblock h3 {
    font-size: 16px;
  }

  #toppage #allpaint h3 {
    font-size: 20px;
  }

  #toppage #allpaint .flex {
    margin-bottom: 20px;
  }

  #toppage #allpaint .flex .item {
    width: 100%;
  }

  #toppage #allpaint .flex .left {
    margin-bottom: 10px;
  }

  #toppage #allpaint .flex .right h4 {
    font-size: 16px;
  }

  #toppage #allpaint .bnr {
    margin-bottom: 20px;
  }

  #toppage #allpaint .btn a {
    width: 300px;
    padding: 10px 30px 10px 10px;
  }

  .contact_orange .inner {
    background: none;
    padding: 20px 10px;
  }

  .contact_orange .inner .item {
    width: 100%;
  }

  .contact_orange .inner .left .pc {
    display: none;
  }

  .contact_orange .inner .left p,
  .contact_orange .inner .left .sp {
    display: block;
    text-align: center;
  }

  .contact_orange .inner .left .tel {
    margin-right: 0;
  }

  .contact_orange .inner .left .tel span a,
  .contact_orange .inner .left .tel span a:hover {
    color: var(--main-color);
  }

  .contact_orange .inner .left .time {
    width: 280px;
    margin: 0 auto;
  }

  #toppage #sec02 .servicebloc {
    padding: 20px 10px;
    margin-top: 20px;
  }

  #toppage #sec02 .servicebloc::before,
  #toppage #sec02 .servicebloc::after {
    content: none;
  }

  #toppage #sec02 .servicebloc .box .imgitem {
    margin-bottom: 20px;
  }

  #toppage #sec02 .servicebloc.bloc1 .box .imgitem .img,
  #toppage #sec02 .servicebloc.bloc2 .box .imgitem .img {
    position: static;
    text-align: center;
  }

  #toppage #sec02 .servicebloc .box .imgitem,
  #toppage #sec02 .servicebloc .box .txtitem {
    width: 100%;
  }

  #toppage #sec02 .servicebloc .box .txtitem h4 {
    text-align: center;
  }

  #toppage #sec02 .servicebloc .box .txtitem .txt01 {
    font-size: 20px;
  }

  #toppage #sec02 .servicebloc.bloc2 .box .txtitem {
    order: 1;
  }

  #toppage #sec02 .servicebloc .btn a {
    display: block;
    width: 95%;
    padding: 10px;
    margin: 0 auto;
  }

  #case_maker table td,
  #case_maker table.jpn td {
    width: 33.333%;
  }

  #toppage #case_maker .btnmore a {
    font-size: 18px;
    width: 80%;
    padding: 10px 20px 10px 10px;
  }

  #toppage #case_list .bx-wrapper,
  #toppage #case_list .bx-wrapper .bx-prev,
  #toppage #case_list .bx-wrapper .bx-next {
    display: none;
  }

  #toppage #case_list h2 img {
    width: 280px;
  }

  #toppage #case_list h2+.img {
    margin: 10px 10px 20px;
  }

  #toppage #case_list ul li {
    float: left;
    width: 49%;
    margin: 0;
    margin-bottom: 15px;
  }

  #toppage #case_list ul li:nth-child(2n) {
    float: right;
  }

  #toppage #case_list li .cate span {
    font-size: 10px;
  }

  #toppage #case_list .btnmore {
    margin-top: 15px;
  }

  #toppage #case_list .btnmore a {
    font-size: 18px;
    width: 80%;
  }

  /* ボトム共通コンテンツ */

  #bottom_common #servicemenu h2 img {
    width: 300px;
    height: auto;
  }

  #bottom_common #servicemenu .inner {
    padding: 20px 10px 5px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  #bottom_common #servicemenu .service li {
    width: 50%;
  }

  #bottom_common #bottom_contact {
    background-image: url(images/bottom_contact_bg01_sp.jpg);
    background-position: center top;
    padding: 30px 0;
  }

  #bottom_common #bottom_contact h4 {
    font-size: 16px;
  }

  #bottom_common #bottom_contact .tel {
    font-size: 28px;
  }

  /* 下層ページ共通　 */

  .page-id-431 #pagemv {
    background-position: 90% center;
  }

  #pagemv .mv_wrapper {
    height: 150px;
  }

  #pagemv .mv_wrapper h2 {
    font-size: 26px;
  }

  #pagemv .mv_wrapper h2 img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  #bottom_common #bottom_contact .area {
    font-size: 14px;
  }

  /* 初めての方へ */

  #firstbloc {
    background-position: 75% top;
  }

  #customer #firstbloc h3 {
    font-size: 20px;
  }

  #firstbloc .flex .left,
  #firstbloc .flex .right {
    width: 100%;
    padding: 0;
  }

  #firstbloc .flex .left .img {
    margin-left: 0;
  }

  #firstbloc .flex .left {
    margin-bottom: 10px;
  }

  #customer #flow h3 {
    margin-bottom: 20px;
  }

  #customer #flow .box {
    margin-bottom: 60px;
  }

  #customer #flow .box::after {
    width: 130px;
    height: 24px;
    bottom: -40px;
    margin-left: -65px;
  }

  #customer #flow .box .inner {
    padding: 20px 10px;
  }

  #customer #flow .box .tablebox .left {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  #customer #flow .box .tablebox .right {
    width: 100%;
    padding-left: 0;
  }

  #customer #flow .box .contactbox {
    flex-direction: column;
    text-align: center;
  }

  #customer #flow .box .contactbox .telarea {
    margin: 10px 0;
  }

  #customer #flow .box .contactbox .telarea .tel span {
    font-size: 30px;
  }

  #customer #flow .box .contactbox .telarea .time {
    font-size: 12px;
  }

  #customer #flow .box .servicelink {
    display: block;
  }

  #customer #flow .box .servicelink li {
    text-align: center;
    margin-bottom: 10px;
  }

  #customer #flow .box .servicelink li:last-child {
    margin-bottom: 0;
  }

  #customer #flow .box .servicelink li .btncommon {
    width: 90%;
  }

  #customer #flow .box.payment .tablebox .left,
  #customer #flow .box.payment .tablebox .right {
    float: none;
  }

  #customer #flow .box.payment .tablebox .right {
    width: 100%;
  }

  #customer #flow .box.payment .tablebox .left {
    margin-bottom: 0;
    margin-top: 10px;
  }

  #customer #insurance h4 {
    font-size: 20px;
  }

  #customer #insurance h4+p {
    font-size: 100%;
  }

  #customer #insurance .bgimg {
    background-image: url(images/customer_insurance_bg01_sp.jpg);
  }

  #customer #insurance .tablebox .left {
    margin-bottom: 20px;
  }

  #customer #insurance .tablebox .left ul {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  #customer #insurance .tablebox .left ul li {
    font-size: 16px;
    padding-left: 28px;
  }

  #customer #insurance .tablebox .left ul li::before {
    width: 24px;
    height: 24px;
  }

  #customer #insurance .contact .img,
  #customer #insurance .contact .right {
    float: none;
    width: 100%;
  }

  #customer #insurance .contact .img {
    text-align: center;
    margin-bottom: 10px;
  }

  #customer #insurance .contact .right .contactbox .telarea,
  #customer #insurance .contact .right .contactbox .mail {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  #customer #insurance .contact .right .contactbox .telarea .number .tel {
    font-size: 36px;
  }

  /* 鈑金・塗装 */

  #bodyworks #firstbloc {
    padding: 30px 0;
    background-position: 30% top;
  }

  #bodyworks #firstbloc h3 span {
    font-size: 14px;
  }

  #bodyworks #firstbloc .point ul {
    flex-wrap: wrap;
  }

  #bodyworks #firstbloc .point li {
    margin-right: 10px;
    margin: 0 10px 10px 0;
  }

  #bodyworks #allpaint .gray {
    padding-bottom: 40px;
  }

  #bodyworks #allpaint h3 span,
  #bodyworks #allpaint .gray h4 {
    font-size: 18px;
  }

  #bodyworks #allpaint .title .inner::after {
    display: none;
  }

  #bodyworks #allpaint .title {
    background-image: url(images/bodyworks_allpaint_title_bg01.png);
    background-position: right top;
    background-repeat: no-repeat;
  }

  #bodyworks #allpaint .title .inner {
    padding: 30px 10px;
  }

  #bodyworks #allpaint .title h4 {
    font-size: 20px;
  }

  #bodyworks #allpaint .main {
    background: #000;
    padding: 20px 0;
  }

  #bodyworks #allpaint .main .inner {
    padding: 0 10px;
    border-radius: 0;
  }

  #bodyworks #allpaint .main .bnr {
    margin-bottom: 20px;
  }

  #bodyworks #allpaint .main .middle {
    padding: 20px;
    margin-bottom: 20px;
  }

  #bodyworks #allpaint .main .middle h5 {
    font-size: 18px;
    padding: 10px;
  }

  #bodyworks #allpaint .main .lower h5 {
    font-size: 22px;
  }

  #bodyworks #trouble .bgimg {
    padding: 20px 10px;
  }

  #bodyworks #allpaint .main .lower .box {
    margin-top: 20px;
  }

  #bodyworks #allpaint .main .lower .box .img {
    width: 20%;
  }

  #bodyworks #allpaint .main .lower .box .textblock {
    width: 78%;
  }

  #bodyworks #allpaint .main .lower .box h6 {
    font-size: 16px;
  }

  #bodyworks #allpaint .main .lower .box p {
    font-size: 14px;
  }

  #trouble .alert {
    font-size: 18px;
  }

  #trouble .alert span {
    padding-bottom: 5px;
  }

  #trouble .pickupbloc {
    margin: 0 0 20px;
  }

  #trouble .pickupbloc ul {
    flex-direction: column;
  }

  #trouble .pickupbloc ul li {
    width: 90%;
    margin: 30px auto 0;
  }

  #trouble .other h4 {
    line-height: 1.2;
  }

  #trouble .other h4 span::before,
  #trouble .other h4 span::after {
    font-size: 24px;
  }

  #trouble .other .box {
    float: none;
    width: 60%;
    margin: 0 auto 10px;
  }

  #trouble .other .box:last-child {
    margin: 0 auto;
  }

  #trouble .other .box ul li {
    font-size: 14px;
  }

  .pickup-point {
    margin-top: 30px;
  }

  .pickup-point .item {
    width: 100%;
  }

  .pickup-point .img {
    order: 1;
    margin-top: 10px;
  }

  #bodyworks #dealer .tablebox .left {
    margin-bottom: 10px;
  }

  #bodyworks #dealer .tablebox .right {
    padding-left: 0;
  }

  #facility h3 {
    font-size: 18px;
  }

  #facility .photobloc li img {
    height: 200px;
    width: auto;
  }

  /* 保険修理 */

  #insurance #firstbloc .point ul {
    flex-wrap: wrap;
  }

  #insurance #firstbloc .point li {
    margin-right: 10px;
    margin: 0 10px 10px 0;
  }

  #insurance #repair h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  #insurance #repair .box {
    flex-direction: row;
  }

  #insurance #step h3 {
    margin-bottom: 20px;
  }

  #insurance #step h3 span {
    display: block;
    padding: 0 0 5px 0;
  }

  #insurance #step .box .fl_l,
  #insurance #step .box .fl_r {
    float: none;
    width: 100%;
  }

  #insurance #step .box .img {
    margin-bottom: 15px;
  }

  #insurance #step .box .txtarea h4 {
    font-size: 15px;
  }

  #insurance #step .box .txtarea h4 span {
    font-size: 14px;
  }

  #insurance #step .bgimg {
    padding: 20px 0;
  }

  #insurance #step .bgimg .message {
    padding: 10px;
  }

  #insurance #step .bgimg .message h4 {
    font-size: 18px;
  }

  #insurance #message {
    background-position: 85% center;
  }

  #insurance #message h3 {
    font-size: 22px;
  }

  #insurance #message h3 span br {
    display: none;
  }


  /* 会社概要 */

  #company #firstbloc .flex .left,
  #company #firstbloc .flex .right {
    width: 100%;
  }

  #company #firstbloc .flex .left {
    margin-bottom: 10px;
  }

  #company .profile {
    width: 100%;
  }

  #company #sec02 .txt {
    font-size: 18px;
  }

  #company #sec02 .lower {
    background-position: 75% center;
    height: 300px;
  }

  #company #access .flex .item {
    width: 100%;
  }

  #company #access .flex .imgbloc {
    order: 1;
    margin-top: 10px;
  }

  #company #access .flex h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  #company #access .bottom_txt {
    font-size: 18px;
  }

  #company #access .mapinner {
    width: 100%;
  }

  #company #access #map_canvas {
    padding: 0 0 56%;
  }

  /* 施工事例一覧 */

  #case #casetop {
    background: #141414;
    padding: 30px 0;
  }

  #case #casetop::before,
  #case #casetop::after {
    content: none;
    z-index: 0;
  }

  #case #casetop .inner {
    width: 100%;
    padding: 0 10px;
    margin-left: auto;
  }

  #case #casetop h2 {
    font-size: 22px;
  }

  #case #casetop .ft_Whi0 {
    font-size: 19px;
  }

  #case #casetop h3 {
    font-size: 18px;
  }

  #case #casetop h3.ft_blue0 {
    font-size: 17px;
  }

  #case #case_maker .btnmore a {
    font-size: 18px;
    width: 80%;
  }

  #case_cate ul li {
    width: 50%;
    margin-bottom: 10px;
  }

  #case_cate ul li a {
    font-size: 18px;
  }

  #case #case_list ul li {
    float: left;
    width: 49%;
    margin: 0;
    margin-bottom: 15px;
  }

  #case #case_list ul li:nth-child(2n) {
    float: right;
  }

  #case #case_list .btnmore a {
    font-size: 18px;
    width: 80%;
  }

  /* 施工事例詳細 */

  #case-detail #case-detail_top {
    background-position: 30% top;
  }

  #case-detail #case-detail_top h2 {
    text-align: left;
  }

  #case-detail #case-detail_top .container {
    flex-direction: column;
  }

  #case-detail #case-detail_top .container .item {
    width: 100%;
  }

  #case-detail #case-detail_top .container .item:first-child {
    margin-bottom: 20px;
  }

  #case-detail #case-detail_top .container .item .img {
    text-align: center;
  }

  #case-detail #case-detail_flow .tablebox .left {
    margin-bottom: 10px;
  }

  #case-detail #case-detail_flow .bgcolor {
    padding: 25px 0;
  }

  #case-detail #case-detail_flow h3 {
    margin-bottom: 0;
  }

  #case-detail #case-detail_flow .tablebox .right {
    padding-left: 0;
  }

  #case-detail #case-detail_contact .contactbox {
    flex-direction: column;
    text-align: center;
  }

  #case-detail #case-detail_contact .contactbox .telarea {
    margin: 10px 0;
  }

  #case-detail #case-detail_contact .contactbox .telarea .tel span {
    font-size: 30px;
  }

  #case-detail #case-detail_contact .contactbox .telarea .time {
    font-size: 12px;
  }

  /* 新着情報一覧 */

  #news #news_cate ul li {
    float: none;
    width: 80%;
    margin: 0 auto 10px;
  }

  #news #news_cate ul li a {
    font-size: 18px;
  }

  #news #news_list ul li .fl_l {
    width: 30%;
  }

  #news #news_list ul li .fl_r {
    width: 69%;
  }

  #news #news_list ul li .fl_r .btn span {
    font-size: 80%;
  }

  /* 新着情報詳細 */

  #news-detail {
    padding-top: 0;
  }

  #news-detail .inner {
    padding: 20px 10px;
  }

  #news-detail #news-detail_top {
    padding-bottom: 0;
  }

  #news-detail #news-detail_top .img img {
    max-width: 100%;
  }

  /* gotop */

  .gotop {
    font-size: 28px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }

  /* メールフォームテンプレート */

  #contact {
    background: none;
  }

  #contact .inner {
    background: none;
    padding: 0 10px;
  }

  #contact #sec01 .contactbox {
    flex-direction: column;
    text-align: center;
  }

  #contact #sec01 .contactbox .telarea {
    margin: 10px 0;
  }

  #contact #sec01 .contactbox .telarea .tel span {
    font-size: 30px;
  }

  #contact #sec01 .contactbox .telarea .time {
    font-size: 12px;
  }

  table.inquiry_table,
  #contact .notice,
  .inquiry_complete {
    width: 100%;
  }

  table.inquiry_table {
    border-spacing: 5px;
    font-size: 14px;
  }

  .inquiry_table th,
  .inquiry_table td {
    padding: 15px 0px 5px;
  }

  .inquiry_table th {
    width: 20%;
  }

  textarea,
  input[type="text"],
  #contact .input[type="email"],
  #contact input[type="tel"] {
    width: 100%;
    font-size: 16px;
  }

  .mwform-tel-field input[type="text"] {
    width: 28%;
  }

  .policycheck {
    margin-bottom: 10px;
  }

  /* プライバシーポリシー */

  #privacypolicy h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  /* pagenavi */

  .pagenavi {
    font-size: 14px;
    line-height: 1.6;
  }

  .pagenavi span.prev,
  .pagenavi span.next {
    display: block;
    margin-bottom: 10px;
  }

  .pagenavi span.gotolist {
    display: inline-block;
    margin-bottom: 10px;
  }

  /* フッター */

  #footer #upper .inner {
    flex-direction: column;
    justify-content: space-around;
  }

  #footer #news h3,
  #footer #lower .right h3 {
    font-size: 150%;
  }

  #footer #upper .inner #news {
    width: auto;
    margin-bottom: 30px;
  }

  #footer #news .newslist {
    height: 250px;
  }

  #footer #upper .inner #access .map-wrap {
    flex-direction: column;
  }

  #footer #upper .inner #access .map:first-of-type {
    margin: 0 auto 15px;
  }

  #footer #upper .inner #access .map {
    margin: 0 auto;
  }

  #footer .footer-sns {
    width: 40px;
    height: 42px;
  }

  /*
    #footer #upper .inner #access {
      width: 80%;
    }

    #footer #access .map {
      position: relative;
      padding: 0 0 56%;
      height: 0;
      overflow: hidden;
    }

    #footer #access .map iframe{
      position: absolute;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
    }
*/
  #footer #lower .footer_contact {
    flex-direction: column;
  }

  #footer #lower .footer_contact .logo,
  #footer #lower .footer_contact .tel {
    margin-bottom: 10px;
  }

  #footer #lower .footer_contact .tel {
    font-size: 28px;
    padding-left: 30px;
  }

  #footer #lower .footer_contact .tel::before {
    margin-top: -11px;
    width: 24px;
    height: 24px;
  }

  #footer #lower .left {
    text-align: center;
    margin-bottom: 20px;
  }

  #footer .copyright {
    font-size: 12px;
  }

  nav ul {
    font-size: 15px;
  }
}

/************************************************
          Smartphone max-width: 600px
      ************************************************ */


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

  /* トップページコンテンツ */

  #toppage #sec01 .lower .fiture ul {
    flex-direction: column;
  }

  #toppage #sec01 .lower .fiture h2 {
    font-size: 1.8rem;
  }

  #toppage #sec01 .lower .fiture ul li {
    width: 300px;
    margin: 0 auto 20px;
  }

  #toppage #sec01 .lower .fiture ul li:last-child {
    margin-bottom: 0;
  }

  #toppage #sec01 .lower .fiture ul li .img {
    text-align: center;
  }

  #toppage #sec01 .lower .greeting ul {
    margin-top: 20px;
  }

  #toppage #plan .upper .txt span {
    font-size: 18px;
  }

  #toppage #plan h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  #toppage #plan .lower {
    margin-bottom: 60px;
  }

  #toppage #plan .lower::after {
    width: 100px;
    height: 20px;
    bottom: -40px;
    left: 50%;
    margin-left: -50px;
  }

  #toppage #plan .plan {
    padding: 20px 0;
  }

  #toppage #plan .plan h3 {
    margin-bottom: 20px;
  }

  #toppage #plan .plan .flex .txtarea,
  #toppage #plan .plan .flex .img {
    width: 100%;
  }

  #toppage #plan .plan .flex .txtarea,
  #toppage #plan .plan h4,
  #toppage #plan .plan h5 {
    margin-bottom: 10px;
  }

  /* 鈑金・塗装 */

  #trouble .other .box {
    width: 90%;
  }

  #bodyworks #allpaint .gray {
    padding: 20px 0 10px;
  }

  #bodyworks #allpaint .gray ul li {
    width: 100%;
    margin-bottom: 10px;
  }

  #bodyworks #allpaint .title {
    background-position: 120% top;
  }

  #bodyworks #allpaint .title h4 {
    font-size: 16px;
    padding-right: 35%;
  }

  #bodyworks #allpaint .main .lower .box {
    align-items: stretch;
  }

  /* メールフォームテンプレート */

  table.inquiry_table th,
  table.inquiry_table td {
    display: block;
    width: 100%;
  }

}


/************************************************
            Smartphone max-width: 414px
        ************************************************ */


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

  .mini {
    display: block;
  }

  /* トップページコンテンツ */

  #toppage #sec01 .tablebox .left p {
    font-size: 100%;
  }

  #toppage #reason ul {
    margin-bottom: 10px;
  }

  #toppage #reason ul li {
    width: 100%;
    margin-bottom: 10px;
  }

  #toppage #reason ul li img {
    width: 200px;
  }

  #toppage #allpaint h2 {
    font-size: 18px;
  }

  #toppage #allpaint h3 {
    font-size: 17px;
  }

  #toppage #allpaint h3.serif br {
    display: none;
  }

  .contact_orange .inner .left .tel span {
    font-size: 32px;
    padding-left: 35px;
  }

  .contact_orange .inner .left .tel span::before {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  #bottom_common #bottom_contact h2+p {
    text-align: left;
  }

  /* 下層ページ共通　 */

  #pagemv .mv_wrapper {
    height: 100px;
  }

  /* 初めての方へ */

  #insurance .contact .right .contactbox .telarea .tel {
    font-size: 26px;
  }

  /* 鈑金・塗装 */

  #bodyworks #allpaint .title h4 {
    font-size: 16px;
    letter-spacing: 0;
    padding-right: 50%;
  }

  #bodyworks #allpaint .title {
    background-position: 160% top;
  }

  #bodyworks #allpaint .main .middle {
    padding: 10px;
  }

  #bodyworks #allpaint .main .middle h5 {
    font-size: 16px;
  }

  #bodyworks #allpaint .main .lower h5 {
    font-size: 18px;
  }

  #bodyworks #allpaint .main .lower .box .item {
    width: 100%;
  }

  #bodyworks #allpaint .main .lower .box .img {
    margin-bottom: 10px;
  }

  #bodyworks #allpaint .main .lower .box .img img {
    width: 200px;
    height: auto;
  }


  /* 会社概要 */

  #company .profile,
  #company .profile th,
  #company .profile td {
    display: block;
    width: 100%;
  }

  #company .profile tr:nth-child(2n+1) {
    background: none;
  }

  #company .profile {
    border-top: none;
    border-right: none;
    border-left: none;
  }

  #company .profile th,
  #company .profile td {
    border-bottom: none;
    padding: 5px;
  }

  #company .profile th {
    background: #d2effe;
  }


  /* 施工事例一覧 */

  #case_cate ul li {
    float: none;
    width: 80%;
    margin: 0 auto 10px;
  }

  /* フッター */

  #footer #upper .inner #access {
    width: 95%;
  }

}



/************************************************
              Smartphone max-width: 360px
          ************************************************ */


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

  /* ボトム共通コンテンツ */

  #bottom_common #servicemenu .service li .title {
    font-size: 80%;
  }

  #bottom_common #servicemenu .service li .txt {
    font-size: 75%;
  }

}

.grecaptcha-badge {
  bottom: 150px !important;
  z-index: 100;
}

@media only screen and (max-width: 768px) {
  .grecaptcha-badge {
    bottom: 100px !important;
  }
}