@charset "utf-8";
/*
Theme Name: theme218green
Theme URI: http://theme.o2gp.com/
Description: theme218
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/
@import "custom.css";

*{margin:0;padding:0;}

html{background:#fff;}

body{
font:14px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
background:#ffffff url(images/header.jpg) repeat-x;
}

a{color:#777777;}
a:hover{color:#919191;text-decoration:none;}
a:active, a:focus {outline:0;}
img{border:0;}
.clear{clear:both;}
p{padding-bottom:10px;}
.center{text-align:center;}
.right{text-align:right;}

#mainnav .top-menu {display:none;}
#header .top-menu {display:none;}
/*******************************
全体幅
*******************************/
#header, #container, #wrapper, .inner{
margin:0 auto;
width:960px;
}

/*******************************
/* ヘッダー
*******************************/
#header{
position:relative;
height:120px;
}

#header h1,#header h2, #header h3, #header ul, #header .banners {
position:absolute;
top:2px;
color:#000;
font-size:12px;
line-height:30px;
}

#header h2{right:0;}

/* ロゴの位置 */
#header h3{top:45px;}

/******************
/* ヘッダー　バナー
******************/
#header .banners{
right:-10px;
top:64px;
}

#header .banners img{margin-right:10px;}


/******************
/* ヘッダーナビゲーション
******************/
#header ul{
top:42px;
right:0;
width:305px;
height:15px;
background:url(images/topnav.png) no-repeat 0 0;
line-height:15px;
}

#header ul li{float:left;list-style:none;}

#header ul a{
text-decoration:none;
display:block;
height:15px;
background:url(images/topnav.png) no-repeat;
}

#header ul a#contact{background-position:0 0;width:110px;}
#header ul a#sitemap{background-position:-110px 0;width:104px;}
#header ul a#access{background-position:-214px 0;width:91px;}

#header ul a#contact:hover, #header ul li.active a#contact{background-position:0 -15px;}
#header ul a#sitemap:hover, #header ul li.active a#sitemap{background-position:-110px -15px;}
#header ul a#access:hover, #header ul li.active a#access{background-position:-214px -15px;}

#header .search {
margin: 78px 0 0 0;
float:right;
}

/************************************
/* メインナビゲーション
************************************/
/*
ul#mainnav{
margin:0 auto;
width:960px;
height:45px;
background:url(images/mainnav.png) no-repeat 0 0;
}

ul#mainnav li{float:left;list-style:none;width:192px;}

ul#mainnav a{
text-decoration:none;
display:block;
width:192px;
height:45px;
background:url(images/mainnav.png) no-repeat 0 0;
}

ul#mainnav a#home{background-position:0 0;}
ul#mainnav a#menu1{background-position:-192px 0;}
ul#mainnav a#menu2{background-position:-384px 0;}
ul#mainnav a#menu3{background-position:-576px 0;}
ul#mainnav a#menu4{background-position:-768px 0;}

ul#mainnav a#home:hover, ul#mainnav li.active a#home{background-position:0 -45px;}
ul#mainnav a#menu1:hover, ul#mainnav li.active a#menu1{background-position:-192px -45px;}
ul#mainnav a#menu2:hover, ul#mainnav li.active a#menu2{background-position:-384px -45px;}
ul#mainnav a#menu3:hover, ul#mainnav li.active a#menu3{background-position:-576px -45px;}
ul#mainnav a#menu4:hover, ul#mainnav li.active a#menu4{background-position:-768px -45px;}
*/

#mainnavi {
margin: 0 auto 20px;
width: 960px;
height: 45px;
}
* html #mainnavi { zoom:100%; }/*IE6*/
*+html #mainnavi { zoom:100%; }/*IE7*/
#mainnavi .mainnaviBtn { float: left; height: 45px; }
#mainnavi .mainnaviBtn img { height: 45px; }

/*******************************
メイン画像
*******************************/
#mainImage{
margin:15px 0 0;
}

/* トップページ　メインカラムの写真 */
.photoB{margin-bottom:5px;}
/*******************************
コンテンツ位置
*******************************/

/* メイン+ サイドバー右 */
#container{
width:960px;
margin:0 auto 30px;
}

#container1{
width:960px;
}

#main{
float:left;
width:675px;
padding:20px 0 0;
}
#main h2 { border-left: #6C6C6C 5px solid; padding-left: 8px; }
	
#main1{
width:730px;
padding:20px 0 20px 15px;
}

#main2{
width:730px;
padding:20px 0 20px 15px;
}
#main3{
width:730px;
padding:20px 0 20px 100px;
text-align:center;
}

#sidebarR{
float:right;
width:265px;
padding:20px 0 0;
margin:0 0 0px;
}

/*#sidebarR p { padding:0 0 15px; }*/
#sidebarR p { margin-bottom: 20px; padding-bottom: 0; }

.boxM{
width:200px;
margin:0px 0 15px;
padding:0 0 10px;
font-size:13px;
background:url(images/sidebarBox.png) 0 100%;
float:right;
}
.boxM h3{
padding: 0 5px 0 24px;
margin-bottom:7px;
line-height: 38px;
font-size:13px;
color:#555555;
background:url(images/sidebarH3.png) no-repeat 0 0;
}

#wrapper .boxM ul{margin-left:9px;}
.boxM p{margin:0 6px;}


/* サイドバー左 */
#sidebarL{
float:left;
width:200px;
padding:20px 0 0;
margin:0 0 30px;
}

#sidebarL p{
padding:0 0 15px;
}

/* トップページのサイドバーの上部スペースの調節 */
body.toppage #sidebarR,body.toppage #sidebarL{padding-top:20px;}

#date {
text-align: right;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 10px;
font-weight:bold;
color:#858585;
}

#next {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

.box_img_border{
   border: 1px solid #cccccc;
   padding: 1px;
  margin: 1px;
}


/*************************
/* ボックスの囲み
/* .boxContainer
/* 背景画像でボックスの高さを調整
/* 
/* 各ボックス
/* .box1 1番目の2つのbox
/* .box2 2番目の3つのbox（画像）
/* .box3 3番目の2つのbox
/* .boxS サイドバーのbox
*************************/
.boxContainer{
width:675px;
margin:0 auto 15px;
background:url(images/box1.png) 0 100%;
}

.box1, .box3 {
float:left;
width:231px;
margin:0 20px 0 0;
padding:15px 12px;
}

/* 追加 */
.box11 {
float:left;
width:230px;
margin:0 25px 0 0;
padding:15px 10px;
}
.box11{ background:url(images/boxTop.png) 0 0 no-repeat; }
.box12 {
float:left;
width:380px;
margin:0 20px 0 0;
padding:15px 10px;
}
.box12{ background:url(images/boxTop.png) -275px 0 no-repeat; }
.box13 { border-right: #C1C1C1 1px solid; border-bottom: #C1C1C1 1px solid; border-left: #C1C1C1 1px solid; padding: 10px 15px; }
.box13Wrap h4 { background: url(images/box13h4Bg.jpg) no-repeat; height: 30px; padding: 7px 0 0 16px; }
.box13Wrap h4 a { color: #333; text-decoration: none; }

.box2{
float:left;
width:160px;
margin:0 17px 5px 4px;
}

.box3{
margin:0 0 15px 0;
padding:0 0 10px;
width:530px;
border:0;
background:url(images/box.png) 0 100%;
}

.boxS{
width:200px;
margin:0px 0 15px;
padding:0 0 10px;
font-size:13px;
background:url(images/sidebarBox.png) 0 100%;
}

/* 最後のbox */
.last{margin-right:0;}


/* 画像を中央表示 */
.box1 .center{padding-bottom:10px;}

/* 画像を左に回りこみ */
.box3 img{
float:left;
margin:0 10px 10px 11px;
}

.box3 h4 img{float:none;margin:0 0 10px;}

.box3 p{padding:0 12px 10px;}


/*************
/* 見出し
*************/
.box3 h4{margin-bottom:10px;}

#main h3{
margin:0 1px 10px 0;
padding:2px 0 5px 12px;
color:#777777;
border-top: 2px solid #777777;
background:url(images/h3.gif) repeat-x 0 100%;
}

#main .boxT p{
padding:0 10px 25px 10px;
}

#wrapper h2{
padding:5px 5px 0 15px;
margin-bottom:15px;
line-height:37px;
font-size:20px;
color:#555555;
background:url(images/h2Bg.png) no-repeat 0 100%;
}

#wrapper .box3 h3{
padding:7px 5px;
}

.boxS h3{
padding: 0 5px 0 24px;
margin-bottom:7px;
line-height: 38px;
font-size:13px;
color:#555555;
background:url(images/sidebarH3.png) no-repeat 0 0;
}


/*************
/* リスト
*************/
#wrapper ul{margin:0 6px;}

#wrapper ul li, #footerUpper ul li{
list-style:none;
margin-bottom:8px;
padding:0 5px 0 17px;
background:url(images/bullet.gif) no-repeat 0 5px;
}

#footerUpper ul li{background-position: 0 3px;}

#wrapper .box3 ul{padding:0 5px;}

#wrapper .boxS ul{margin-left:9px;}
.boxS p{margin:0 6px;}


/*******************************
/* バナー
*******************************/
#banners{
clear:both;
padding: 20px 0 20px;
text-align:center;
background:#e8e8e8;
border-bottom:1px solid #7a7a7a;
}

#banners img{margin-right:20px;}
#banners img.last{margin:0;}


/*******************************
/* フッター
*******************************/
#footerUpper{
clear:both;
padding:20px 0;
border-top:1px solid #e8e8e8;
border-bottom:1px solid #606060;
overflow:hidden;
background:#27815d;
}

/*
#footerUpper .inner{
background:url(images/footerBorder.gif) repeat-y;
}
*/

#footerUpper .inner .box{
float:left;
width:210px;
padding-left:10px;
margin:0 20px 10px 0;
line-height:1.2;
}

#footerUpper .inner .last{
width:230px;
margin-right:0;
}

#footerUpper a{color:#ffffff;}
#footerUpper a:hover{color:#e6e6e6;text-decoration:none;}


#footerLower{
clear:both;
padding:7px;
text-align:center;
border-top:1px solid #959595;
background:#082d16;
}

address{
font-style:normal;
font-size:13px;
color:#ffffff;
}

#footerUpper ul.foot li { float: left; margin-right: 30px; }

/*************
/* 追加分
*************/
.sideBnr { border: #aaddd6 3px solid; }
.topCmtL { margin-right: 15px; line-height: 20px; }
.clear { clear: both; }
.mrgT20 { margin-top: 20px; }
.mrgB10 { margin-bottom: 10px; }
.mrgB20 { margin-bottom: 20px; }
.mrgR15 { margin-right: 15px; }
.mrgR20 { margin-right: 20px; }

/*************
/* SP追加分
*************/
.only_sp{ display: none; }
#mainnavi_sp {
  background: #27815d;
}

#mainnavi_sp.action {
    right: 0;
}


/* Media Queries ================================================== */
/*896*/
@media screen and (max-width: 896px) {

  .only_pc{ display: none !important; }
  .only_sp{ display: block !important; }



  body{
    background: #FFF;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }


  body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
  }

    img{
      max-width: 100%;
      height: auto;
      image-rendering: -webkit-optimize-contrast;
    }


    img[src$=".svg"] {
        width: 100%;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
    }

    #header, #container, #wrapper, .inner {
      margin: 0 auto;
      width: auto;
    }


    #wrapper {
      width: 100%;
      padding: 0;
    }


    #header_sp {
      background: #fff;
      position: fixed;
      top: 0;
      height: 40px;
      width: 96%;
      padding: 10px;
      z-index: 9999;
      border-bottom: 1px solid #27815d;
    }

    #header_sp_inner{
      display: flex;
      justify-content: space-between;
      align-items: center;    
    }    

    .companyName{
        font-size: 1.6rem;
        color:#fff;
    }

    .logo_sp img{
        max-height: 40px;
    }


    .spMenuBtn {
      position: relative;
      width: 40px;
      height: 40px;
      background: none;
      z-index: 10000;
      right: 10px;
      top: 0;
      border: none;
    }

    .spMenuBtn span {
      position: absolute;
      left: 10px;
      width: 22px;
      height: 2px;
      background-color: #27815d;
      border-radius: 2px;
      margin-top: 11px;
      right: 9px;
    }

    .spMenuBtn span:nth-of-type(1) {
      top: 0px;
    }

    .spMenuBtn span:nth-of-type(2) {
      top: 8px;
    }

    .spMenuBtn span:nth-of-type(3) {
      top: 16px;
    }

    .spMenuBtn.action span:nth-of-type(1) {
        -webkit-transform: translateY(6px) rotate(-45deg);
        transform: translateY(6px) rotate(-45deg);
    }

    .spMenuBtn.action span:nth-of-type(2) {
      opacity: 0;
    }

    .spMenuBtn.action span:nth-of-type(3) {
        -webkit-transform: translateY(-9px) rotate(45deg);
        transform: translateY(-9px) rotate(45deg);
    }





    #container{
        margin-top: 60px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    #container.on_main{
        margin-top: 0;
    }


    #mainnavi_sp ul{
        padding: 2%;
    }

    #mainnavi_sp li{
        list-style: none;
    }

    #mainnavi_sp li a {
      color: #fff;
      display: block;
      border-bottom: 1px solid #fff;
      position: relative;
      height: 50px;
      line-height: 50px;
      padding-left: 10px;
      text-decoration: none;
    } 


    #mainnavi_sp li a::after {
      content: "";
      position: absolute;
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: auto;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg);
      right: 10px;
      top: 18px;
    }


    #globalTel{
        width: 96%;
        padding: 2%;
    }



    #main {
      float: none;
      width: 96%;
      padding: 2%;
      display: block;
    }

    #main td {
      display: block;
      width: auto;
      margin: 0 auto 10px;
    }

    #main td img{
        margin:0 auto;
        display: block;
    }    


    .box {
      width: 80%;
      float: none;
      margin: 20px auto 10px;
    }

    .box img{
        text-align: center;
        margin:0 auto;
        display: block;
     }   


    #sidebar,#sidebarR {
      float: none;
      width: 96%;
      padding: 20px 2% 0;
      clear: both;
      border-top: 1px solid #cccccc;
      margin-bottom: 20px;
    }

    #sidebar p,#sidebarR p{
     text-align: center;
    }
    .sideBnr {
        border: none;
    } 


    .sideBnr a{
        display: block;
    }

    .sideBnr a img{
        display: block;
        border: #DFECFC 3px solid;
        margin: 0 auto;
    }

/*--------footer------------*/

    #footer {
      padding: 20px 20px 10px;
    }

    #footerUpper{
      clear: both;
      padding: 20px;      
    }



    #globalTel{
        display: block;
        line-height: 45px;
        height: 45px;
        color: #27815d!important;
        font-size: 1.6rem;
        font-weight: bold;
        text-align: center;
        border-radius: 10px;
        background-color:#fff;
        margin:0 auto 20px;
        text-decoration: none; 
    }


    #footer ul {
      margin-left: 0;
    }

    #footer ul.foot li,
    #footerUpper ul.foot li {
        display: block;
        float: none;
        margin:0;
        background-image: none;
    }

    .foot li a {
      color: #fff;
      display: block;
      margin-bottom: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid #fff;
      position: relative;
      text-decoration: none;
    }  


    .foot li a::after {
      content: "";
      position: absolute;
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: auto;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg);
      right: 10px;
      top: 6px;
    }

/*--------main------------*/

  #mainImage{
      margin-top: 60px;
  }


  #main h2 {
    line-height: 1.5;
    background: none;
    border-left: 5px solid #27815d;
    padding: 2px 10px;
  }

  #main h3 {
    padding: 10px 0;
    margin-bottom: 10px;
    line-height: 1.5;
  }



  .boxContainer {
    width: 100%;
    margin: 0 auto 15px;
    background: none;
  }

  .box11,.box12 {
    background: none;
    border:1px solid #ccc;
    float: none;
    width: auto;
    margin: 0 auto 20px;
    padding: 10px;  
  }

  .box11 img,.box12 img{
    display: block;
    margin:0 auto 10px;
  }  


.box13Wrap h4 {
  background-image: none;
  background-color:#EAECEB; 
  height: auto;
  border-top:1px solid #ccc;
  border-bottom:3px solid #000; 
  padding: 10px;
}



/*--------contactForm------------*/

    #contactForm {
      border-top: none;
      border-left: none;
      box-sizing: border-box;
      display: block;
      width: 96vw;
    }

    #contactForm th {
      display: block;
      padding: 2vw;
      width: 92vw;
    }

    #contactForm td {
      border: none;
      display: block;
      background: none;
      padding: 2vw;
      width: 92vw;
      margin: 0;
    }

    #contactForm td div:not(.formErrorArrow,.line1,.line2,.line3,.line4,.line5,.line6,.line7,.line8,.line9,.line10):nth-of-type(2n){
        margin-bottom: 20px;
    }    

    #contactForm td input,#contactForm td select{
        height: 30px;
        list-style: 30px;
        max-width: 100%;
        font-size:16px;
    }    

    #contactForm textarea{
        width: 100%;
        font-size:16px;
    }

    button[type="submit"]{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
        display: block;
        border-radius: 10px;
        width: 300px;
        background-color:#27815d;
        height: 45px;
        line-height: : 45px;
        color: #fff;
        position: relative; 
        margin-bottom: 10px;
    }    

    button[type="submit"]::after {
      content: "";
      position: absolute;
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: auto;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg);
      right: 10px;
      top: 0;
      bottom: 0;
    }

    button[type="submit"].submit_back::after {
        right: auto;
        left: 10px;
        border-top:none;
        border-right:none;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);        
    }    

/*--------profile------------*/
    #profile01 th {
      width: 20%;
      display: block;
      border-bottom: none;
    }       

    #profile01 td {
      width: auto;
      min-width: 140px;
    }
    .phAlt {
      text-align: center;
    }
/*--------business------------*/
    #business01 .photoWrap {
      width: auto;
    }


    #business01 .twoColumnPhotoL,
    #business01 .twoColumnPhotoR {
      text-align: center;
      max-width: 300px;
      margin:0 auto 10px;
      overflow: hidden;
      float: none;
    }

    #business01 .comment {
      width: auto;
      margin-bottom: 30px;
    }

    #business01 .comment table {
      width: 100%;
    }


    #business01 .comment th{
        width: 100% !important;
        border-right:none;
        border-bottom:4px solid #999;
        display: block;
    }
    #business01 .comment td{
        width: auto;
        display: block;
        margin-bottom: 20px;
    }


}
