/*===============================================
●style.css 画面の横幅が897px以上
===============================================*/

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

#container{
    width:100%;
}

/*  Type  ----------------------------------------------- */

a:link, a:visited{
    text-decoration: underline;
    color:#ffffff;
}

a:active {
    /*background:#00afcc;*/
　　text-decoration: underline; 
}

a:hover { text-decoration: none; }

/*  Body  ----------------------------------------------- */

body {
    overflow-x: hidden;
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-position: center center; 
    background-size: cover;
    margin: 0 auto;
    -webkit-text-size-adjust: 100%;
}

#all { margin: 0 auto; }

/*  Header  --------------------------------------------- */

#header {
    padding:3px 0 3px 0; 
    text-align:center;
}
/*  Navigation -------------------------------------------- */

#nav { 
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 180px;
  padding-right: 90px;

z-index:100;
position:rerative;

}
 
nav a {
  white-space: nowrap;

}

.j-nav-level-0{
    width: 100%;
    height:5px;
    padding:0 0 50px 0;
    margin:0 auto;
}

.j-nav-level-0 li{
    z-index:1;
    display:block;
    float:left;
    width:30%;
/*    width:16.2%; */
/*    width:24.6%; */
    padding:0 0 50px 0;

    line-height:30px;
    background:#d02c25;
    position: relative;
    overflow:hidden;
    padding:0 0 0 4px;
    margin: 0 auto;;
    border-left:0.11px solid #ffffff;
    border-right:0.11px solid #ffffff;
    border-top:0.11px solid #ffffff;
    border-bottom:0.11px solid #ffffff;
}
 
.j-nav-level-0 li a{
    font-size:13px;
    color:#ffffff;
    text-decoration:none;
    display:block;
    line-height:30px;
    padding: 0;
    text-align:center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
 
/* 
.j-nav-level-0 li{
    z-index:1;
    display:block;
    float:left;
    width:20%;
    line-height:20px;
    background-color:rgba(255,255,255,0.8);
    color:#ffffff;
    position: relative;
    overflow:hidden;
    padding:0;
    margin:0 auto;
}
 
.j-nav-level-0 li a{
    font-size:14px;
    color:#333333;
    text-decoration:none;
    display:block;
    line-height:20px;
    padding:0;
    text-align:center;
}
*/
.j-nav-level-0 li:hover{
    overflow:visible;
}

.j-nav-level-0 li:current{
    background:#ffffff;
    color: #ffffff;
}
 
.j-nav-level-0 li a:hover{
    color: #c0c0c0;
}

.j-nav-level-1{
    padding:0px;
    margin:0px;
    position:absolute;
    top:30px;
    left:0px;
    background:#333333;
    border-bottom:1px solid #bfbfbf;
}
 
.j-nav-level-1 li{
    display:block;
    width:100%;
    line-height:30px;
    position:relative;
    font-size:14px;
    border:1px solid #bfbfbf;
    border-bottom:1px dotted #bfbfbf;
    text-indent:7px;
}
 
.j-nav-level-1 li a{
    width:144px;
    line-height:30px;
    text-align:left;
    margin: 0 auto;
    text-align:center;
}
 
.j-nav-level-1 li a:hover{
    background:#333333;
    border-bottom:1px dotted #bfbfbf;
    margin: 0 auto;
}

.clearfix {
    zoom:1;
}
.clearfix:before,
.clearfix:after {
    display: table;
    content:"";
    line-height: 0;
}
.clearfix.after {
    clear: both;
}

/* Container --------------------------------------------- */

#container {
    position:relative;
    margin:0 auto;
    background-color:rgba(255,255,255,0.67);
}

/* Content ----------------------------------------------- */

#content {
}

#content h1{
    width: auto;      /* ←最重要 */
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
    background: #0096a5;
    color: #ffffff;
  }
#content h2{
    width: auto;      /* ←最重要 */
    height: 35px;
    padding:3px  0 0 0;
    max-width: 100%;
    box-sizing: border-box;
  }
#content h3 {
    width: auto;      /* ←最重要 */
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
  }


/* Side ---------------------------------------------*/

#side {
}

/* Footer --------------------------------------------*/

#footer {
    clear:both;
    width:100%;
/*    height:100px;*/
    padding: 10px 0 10px 0;
    background: #ffffff;
    font-size:14px;
    color: #333333;
    border-top:1px solid #bfbfbf;
    border-bottom:1px solid #bfbfbf;
    text-align:center;
    margin: 0 auto;
    bottom:0;
}
/* ===========================================
   Jimdo旧クリエイター用・フルワイド画像安定版
   （左右ずれ・拡大縮小問題を防止）
=========================================== */

/* 写真ウィジェット全体を横幅100%にする */
.fullwidth-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  z-index: 2;
}

.fullwidth-section img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===========================
   フルワイド画像の影響をリセット
   （次のブロックを通常の中央寄せに戻す）
=========================== */

/* HTMLウィジェットブロック (.cc-html) の直後の兄弟要素をリセット */
.cc-html + .cc-text,
.cc-html + .cc-gallery,
.cc-html + .cc-image,
.cc-html + .cc-m,
.cc-html + .cc-content {
  position: relative;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 250px;
  padding-right: 250px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cc-html + .cc-text,
  .cc-html + .cc-gallery,
  .cc-html + .cc-image,
  .cc-html + .cc-m,
  .cc-html + .cc-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 通常コンテンツも中央寄せ維持 */
/* 通常コンテンツの中央寄せ設定 */
#container {
/*  max-width: 1200px;*/
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 100px;
  padding-right: 100px;
   background-color:rgba(255,255,255,0.67);

}

/* 他の要素は余白なし（ダブル適用防止） */
#content,
#content .cc-content {
  padding: 0;
   background-color:rgba(255,255,255,0.67);

}

@media (max-width: 768px) {
  #container,
  #content,
  #content .cc-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/*  長文をコンパクトに表示
----------------------------------------------- */
.scroll
{
background-color: #ffffff;
overflow: auto;
height: 130px;
margin: 10px;
padding: 20px;

border: 1px solid #ccc;
/* border-right: 1px solid #fff;
border-bottom: 1px solid #fff; */
}

}

/*===============================================
===============================================
●style.css 画面の横幅が896px以下
===============================================
===============================================*/

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

img{
    max-width: 100vw;
    height: auto;
    width /***/:auto;　
}

#container{
    width:100%;
}

/*  Type  ----------------------------------------------- */

a:link, a:visited{
    text-decoration: underline;
    color:#333333;
}

a:active {
　　text-decoration: underline; 
}

a:hover { text-decoration: none; }

/*  Body  ----------------------------------------------- */

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }


/*  Header  --------------------------------------------- */

#header {
    width: 650px;
    font-size:12px;
    padding:5px 0 0 0; 
    margin: 0 auto;
}

/*  Navigation -------------------------------------------- */

#nav { 
    margin: 0 auto;
}
 
.j-nav-level-0{
    width: 650px;
    height:50px;
    padding:0 0 0 5px;
    margin:0 auto;
}
 
.j-nav-level-0 li{
    z-index:1;
    display:block;
    float:left;
    width:49.2%;
    line-height:20px;
    background:#d02c25;
    position: relative;
    overflow:hidden;
    padding:0px;
    margin:0px;;
    margin-right:1.2px;
    border:1px solid #bfbfbf;

    border-left:0.11px solid #ffffff;
    border-right:0.11px solid #ffffff;
    border-top:0.11px solid #ffffff;
    border-bottom:0.11px solid #ffffff;

}
 
.j-nav-level-0 li a{
    font-size:13px;
    color:#ffffff;
    text-decoration:none;
    display:block;
    line-height:32px;
    padding:0;
    text-align:center;
}
 
.j-nav-level-0 li:hover{
    overflow:visible;
}

.j-nav-level-0 li:current{
    background:#ffffff;
    color: #333333;
}
 
.j-nav-level-0 li a:hover{
    background:#ffffff;
    color: #c0c0c0;
}

.j-nav-level-1{
    padding:0px;
    margin:0px;
    position:absolute;
    top:30px;
    left:0px;
    background:#333333;
    border-bottom:1px solid #bfbfbf;
}
 
.j-nav-level-1 li{
    display:block;
    width:76px;
    line-height:30px;
    position:relative;
    font-size:14px;
    border:1px solid #bfbfbf;
    border-bottom:1px dotted #bfbfbf;
    text-indent:7px;
}
 
.j-nav-level-1 li a{
    width:76px;
    line-height:30px;
    text-align:left;
    margin: 0 auto;
    text-align:center;
}
 
.j-nav-level-1 li a:hover{
    background:#333333;
    border-bottom:1px dotted #bfbfbf;
    margin: 0 auto;
}

/*  Clearfix -------------------------------------------- */

.clearfix {
    zoom:1;
}
.clearfix:before,
.clearfix:after {
    display: table;
    content:"";
    line-height: 0;
}
.clearfix.after {
    clear: both;
}

/* Container ---------------------------------------------*/

#container {
    position:relative;
    width: 650px;
    background-color:#ffffff;
    margin:0 auto;
    /*margin-top:2em;*/
    margin-bottom:2em;
}

/* Content -----------------------------------------------*/
#content {
    font-size: 12px;
    float: right;
    width: 650px;
    padding:0;
    background-color:rgba(255,255,255,0.8);
}

#content h1{
    width: auto;      /* ←最重要 */
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
    background: #0096a5;
    color: #ffffff;

  }
#content h2{
    width: auto;      /* ←最重要 */
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
#content h3 {
    width: auto;      /* ←最重要 */
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
  }

/*
#content h1 {
    font-size: 12px;

    width: auto;      
    max-width: 100%;
    box-sizing: border-box;
    height:20px;
    padding-top:2px;
    background:#ffffff;
    border: 1px solid #333333;
    border-radius: 1px;
    margin: 0;
    vertical-align: middle;
}
#content h2 {
    font-size: 12px;
    width: auto;      
    max-width: 100%;
    box-sizing: border-box;
    height:18px;
    padding-top:2px;
    background:#ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 1px;
    margin: 0;
    vertical-align: middle;
}
#content h3 {
    font-size: 13px;
    height:15px;
    padding-top:6px;
    background: #ffffff; 
    border: 1px solid #c0c0c0;
    border-radius: 1px;
    margin: 0;
    vertical-align: middle;
}
*/

/* Side ---------------------------------------------*/

#side {
}

/* Footer --------------------------------------------*/

#footer {
    clear:both;
    font-size:12px;
    background-color:#ffffff;
    color: #333333;
    border-top:1px solid #bfbfbf;
    border-bottom:1px solid #bfbfbf;
    text-align:center;
    padding: 10px 0 10px 0;
    margin: 0 auto;
}

/*  長文をコンパクトに表示
----------------------------------------------- */
.scroll
{
background-color: #ffffff;
overflow: auto;
height: 125px;
margin: 10px;
padding: 20px;

border: 1px solid #ccc;
/* border-right: 1px solid #fff;
border-bottom: 1px solid #fff; */
}

}

/*===============================================
●style.css 画面の横幅が320px以下
===============================================*/

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

img{
    max-width: 360px;
    height: auto;
    width /***/:auto;　
}

#container{
    width:100%;
}

/*  Type  ----------------------------------------------- */

a:link, a:visited{
    text-decoration: underline;
    color:#ffffff;
}

a:active {
　　text-decoration: underline; 
}

a:hover { text-decoration: none; }


/*  Body  ----------------------------------------------- */

body {
}

#all { margin: 0 auto; }

/*  Header  --------------------------------------------- */

#header {
    width: 360px;
    height: 10px;
    padding:5px 0 45px 12px;
    margin: 0 auto;
}

#header:after {
    content: "";
    clear: both;
    display: block;
}

#header .inner {
    width: 360px;
    height: 80px;
    margin: 0 auto;
}

#header h1 {
    float: left;
    color: #333333;
    font-size: 20px;
    line-height: 2rem;
}

/*  Navigation -------------------------------------------- */

#nav { 
    background: #ffffff;
    width: 360px;
    margin: 0 auto;
}
 
.j-nav-level-0{
    width: 360px;
    height:60px;
    padding:0 0 10px 5px;
    margin:0 auto;
}
 
.j-nav-level-0 li{
    z-index:1;
    display:block;
    float:left;
    width:48%;
    line-height:35px;
    background:#d02c25;
    position: relative;
    overflow:hidden;
    padding:0px;
    margin:0px;;
    margin-right:1px;
    border:1px solid #bfbfbf;

    border-left:0.11px solid #ffffff;
    border-right:0.11px solid #ffffff;
    border-top:0.11px solid #ffffff;
    border-bottom:0.11px solid #ffffff;

}
 
.j-nav-level-0 li a{
    font-size: 12px;
    color:#ffffff;
    text-decoration:none;
    display:block;
    line-height:30px;
    padding:0;
    text-align:center;
}
 
.j-nav-level-0 li:hover{
    overflow:visible;
}

.j-nav-level-0 li:current{
    background:#ffffff;
    color: #333333;
}
 
.j-nav-level-0 li a:hover{
    background:#ffffff;
    color: #c0c0c0;
}

.j-nav-level-1{
    padding:0px;
    margin:0px;
    position:absolute;
    top:30px;
    left:0px;
    background:#333333;
    border-bottom:1px solid #bfbfbf;
}
 
.j-nav-level-1 li{
    display:block;
    width:350px;
    line-height:20px;
    position:relative;
    border:1px solid #bfbfbf;
    border-bottom:1px dotted #bfbfbf;
    text-indent:7px;
}
 
.j-nav-level-1 li a{
    font-size: 12px;
    line-height:30px;
    text-align:left;
    margin: 0 auto;
    text-align:center;
}
 
.j-nav-level-1 li a:hover{
    background:#333333;
    border-bottom:1px dotted #bfbfbf;
    margin: 0 auto;
}

.clearfix {
    zoom:1;
}
.clearfix:before,
.clearfix:after {
    display: table;
    content:"";
    line-height: 0;
}
.clearfix.after {
    clear: both;
}

/* Container ---------------------------------------------*/

#container {
    position:relative;
    width: 360px;
    background-color:#ffffff;
    margin:0 auto;
    margin-bottom:2em;
}

/* Content -----------------------------------------------*/
#content {
    font-size: 12px;
    float: none;
    width: 100%;
    padding:0;
    background-color:rgba(255,255,255,0.8);
}

 .cc-m-column {
    float: none;
    width: 100%;
  }

 /* Jimdoカラムを縦積みにする */
  .j-column,
  .j-column-25,
  .j-column-33,
  .j-column-50,
  .j-column-66,
  .j-column-75 {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }


#content h1 {
    font-size: 13px;

    width: auto;      /* ←最重要 */
    max-width: 100%;
    box-sizing: border-box;

/*    width: 360px;*/
    height:24px;
    padding-top:2px;
    background:#ffffff;
    border: 1px solid #333333;
    border-radius: 2px;
    margin: 0;
    vertical-align: middle;
    background: #0096a5;
    color: #ffffff;

}

#content h2 {
    font-size: 12px;

    width: auto;      /* ←最重要 */
    max-width: 100%;
    box-sizing: border-box;

/*    width: 180px;*/
    height:22px;
    padding-top:2px;
    background:#ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
    margin: 0;
    vertical-align: middle;
}

#content h3 {
    font-size: 13px;
    height:15px;
    padding-top:6px;
    background: #ffffff; 
    border: 1px solid #c0c0c0;
    border-radius: 1px;
    margin: 0;
    vertical-align: middle;
}

/* Side ---------------------------------------------*/

#side {
    float: center;
    margin:0 auto;
    width: 235px;
}

/* Footer --------------------------------------------*/

#footer {
    clear:both;    
    background: #ffffff;
    font-size:14px;
    color: #333333;
    border-top:1px solid #bfbfbf;
    border-bottom:1px solid #bfbfbf;
    text-align:center;
    padding: 10px 0 10px 0;
    margin: 0 auto;
}

#footer .inner {
    width: 310px;
    background: #034f84;
    color: #c0c0c0;
    margin: 0 auto;
}

#footer .inner1 {
    width: 310px;
    background: #034f84;
    color: #c0c0c0;
    text-align:center;
    margin: 0 auto;
    font-size: 10px;
}
#footer .inner2 {
    display: none; 
}
#footer .inner a:hover {
    text-decoration: underline;
    font-weight: bold;
}

/*  長文をコンパクトに表示
----------------------------------------------- */
.scroll
{
background-color: #ffffff;
overflow: auto;
height: 120px;
margin: 10px;
padding: 20px;

border: 1px solid #ccc;
/* border-right: 1px solid #fff;
border-bottom: 1px solid #fff; */
}

}