:root{
  --bs-blue:#26f;
  --bs-light-blue:#cdf;
  --bs-green:#285;
  --bs-light-green:#cfd;
  --bs-red:#d34;
  --bs-light-purple:#fef;
  --bs-purple2:#e0e;
  --bs-purple:#a0a;
  --bs-dark-purple2:#909;
  --bs-dark-purple:#505;
  --bs-pink:#e4a;
  --bs-light-orange:#fda;
  --bs-orange:#f81;
  --bs-brown:#631;
  --bs-light-yellow:#ff4;
  --bs-yellow:#ff0;
  --bs-dark:#222;
  --bs-light:#eee;
  --bs-white:#fff;
}
/*背景色*/
.bg-blue{background:var(--bs-blue);}
.bg-light-blue{background:var(--bs-light-blue);}
.bg-green{background:var(--bs-green);}
.bg-light-green{background:var(--bs-light-green);}
.bg-red{background:var(--bs-red);}
.bg-pink{background:var(--bs-pink);}
.bg-orange{background:var(--bs-orange);}
.bg-dark{background:var(--bs-dark);}
.bg-light{background:var(--bs-light);}
.bg-white{background:var(--bs-white);}
.bg-gradient-purple{background:linear-gradient(45deg, var(--bs-dark-purple) 0%, var(--bs-purple) 100%);}
/*文字色*/
.ch-blule{color:var(--bs-blue);}
.ch-light-blue{color:var(--bs-light-blue);}
.ch-green{color:var(--bs-green);}
.ch-light-green{color:var(--bs-light-green);}
.ch-purple{color:var(--bs-purple);}
.ch-dark-purple{color:var(--bs-dark-purple);}
.ch-red{color:var(--bs-red);}
.ch-pink{color:var(--bs-pink);}
.ch-orange{color:var(--bs-orange);}
.ch-dark{color:var(--bs-dark);}
.ch-light{color:var(--bs-light);}
.ch-white{color:var(--bs-white);}
body {
  margin:0;
  padding:4px 8px 4px 4px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size:18px;
  -webkit-text-size-adjust: 100%;
}


input , select{
  font-size:18px;
  margin:4px;
}

div.radius-input{
  display:flex;
  flex-wrap:wrap;
  border:1px solid var(--bs-purple);
  margin:0.2em;
  padding:1em 0.2em 0.5em 0.2em;
  border-radius:0.25em;
  position:relative;
  min-width:260px;
  font-size:1em;
}


h1.diag,h1.standard{
    position:relative;
    margin: 0.4em 0 0.4em 0;
    padding: 0 0 0.2em 0em;
    font-weight: bold;
    font-size: 1.6em;
    color: var(--bs-brown);
}
h1.diag:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.1em;
    background: repeating-linear-gradient(-45deg, var(--bs-orange), var(--bs-brown) 2px, #fff 2px, #fff 4px);
}
h1.standard:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.1em;
    background: linear-gradient(to right, var(--bs-orange) 0%, var(--bs-brown) 100%);
}


  /* ■■リスト■■ */
  ul.bullets{
    display:block;
    padding: 0;
    position: relative;
    box-sizing:border-box;
    margin:4px 0 16px 0;
  }
  ul.bullets>li{
    padding:0.2em 2em 0.2em 0.5em;
    border-left:1px solid rgba(0,0,0,0.3);
    box-shadow:6px 6px 6px 0px rgba(0,0,0,0.4);
  }
  ul.bullets>li:last-child{
    border-radius:0px 0px 8px 8px;
  }
  ul.bullets>li.divider{
    background:linear-gradient(45deg, var(--bs-dark-purple) 0%, var(--bs-purple) 100%);
    font-size:1em;
    color: #fff;
    text-shadow:1px 1px 1px #888;
    border-radius:8px 8px 0px 0px;
    box-shadow:6px 6px 6px 0px rgba(0,0,0,0.4) inset, 6px 6px 6px 0px rgba(0,0,0,0.4);
  }
  ul.bullets>li:not(.divider){
    display:flex;
    box-sizing:border-box;
    line-height: 1.5;
    padding: 0;
    list-style-type: none;
    background:var(--bs-white);
    text-shadow:1px 1px 1px #fff;
    border-bottom:1px solid rgba(0,0,0,0.3);
  }
  ul.bullets>li:not(.divider):nth-child(1){
    border-top:1px solid rgba(0,0,0,0.3);
  }
  ul.bullets>li>a:nth-child(1){ /* 1つ目のaタグ */
    position:relative;
    margin:0;
    padding:0.2em 2em 0.2em 0.5em;
    display:flex;
  }
  ul.bullets>li>a:nth-child(1)::after{ /* 1つ目のaタグ */
    position:absolute;
    content:url(../img/svg/c_right.svg);
    margin:0;
    padding:0;
    width:1.6em;
    height:1.6em;
    right:0.4em;
    top:50%;
    transform:translateY(-50%);
  }
  ul.bullets>li>a:only-child{ /* aが1個の時 */
    width:100%;
  }
  ul.bullets>li>a:first-child:nth-last-child(2){ /* aが2個の時 */
    width:calc(100% - 2em);
  }
  
  ul.bullets>li>a:active{
    box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.2) inset;
  }
  
  ul.bullets>li>a:nth-child(2){
    position:relative;
    margin:0;
    padding:0;
    width:2em;
    top:0;
    bottom:0;
    right:0.2em;
    text-align:center;
    vettical-align:middle;
  }
  ul.bullets>li>a:nth-child(2)>img{
    position:absolute;
    margin:0;
    padding:0;
    width:1.6em;
    height:1.6em;
    top:50%;
    right:0;
    transform:translateY(-50%);
  }
  ul.bullets>li>a, ul.bullets>li>a:link, ul.bullets>li>a:visited{
    color:#111;
    text-decoration:none;
  }
  ul.bullets>li>a:hover, ul.bullets>li>a:active, ul.bullets>li>a:focus{
    color:#111;
    text-decoration:none;
    /*background: linear-gradient(to bottom, #ddd 0%, #eee 100%);*//*グラデーション*/
    background:var(--bs-light);
  }
  ul.bullets>li>a p:first-child{
    margin:0;
    font-weight:normal;
    font-size:0.7em;
    color:#000;
  }
  ul.bullets>li>a p:not(:first-child){
    margin:0;
    font-weight:normal;
    font-size:0.8em;
    color:#000;
  }
  ul.bullets>li>a>div:only-child{
    padding:0;
    margin:0;
  }
  ul.bullets>li>a>div:first-child:nth-last-child(2){ /* aが2個の時 */
    padding:0;
    margin:0;
  }
  ul.bullets>li>a>div:nth-child(2){
    padding:0 0 0 0.5em;
    margin:0;
  }
  ul.bullets>li>a>div:first-child:nth-last-child(2)>img{
    margin:0;
    padding:0;
    width:80px;
    max-width:80px;
    min-width:80px;
  }
  ul.bullets>li>a h1{
    margin:0;
    font-weight:bold;
    font-size:1.3em;
    color:var(--bs-brown);
  }
  ul.bullets>li>a h2{
    margin:0;
    font-weight:bold;
    font-size:1.2em;
    color:var(--bs-brown);
  }
  ul.bullets>li>a h3{
    margin:0;
    font-size:1.1em;
    font-weight:bold;
    color:var(--bs-brown);
  }
  ul.bullets>li>a h4{
    margin:0;
    font-weight:bold;
    font-size:1.0em;
    color:var(--bs-brown);
  }
  ul.bullets>li>a h5{
    margin:0;
    font-weight:bold;
    font-size:0.9em;
    color:var(--bs-brown);
  }

  /* アコーディオン */
  div.acc{
    margin:8px 0 16px 0;
    background:#fff;
    width:100%;
    box-shadow:6px 6px 6px 0px rgba(0,0,0,0.3);
    box-sizing:border-box;
  }
  div.acc>input[type=checkbox]{
    display:none;
  }
  div.acc>label{
    box-sizing:border-box;
    position:relative;
    display:block;
    width:100%;
    font-weight:bold;
    font-size:1.0em;
    /*background:#111;*/
    background:linear-gradient(to bottom, #666 0%, #000 100%);
    cursor:pointer;
    color:#fff;
    margin:0;
    padding:0.2em 1.0em 0.2em 1.0em;
  }
  div.acc>label:active,div.acc>label:hover{
    background:linear-gradient(to bottom, #a88 0%, #422 100%);
  }
  div.acc>label:active{
    box-shadow: 4px 4px 4px 0px rgba(255,255,255,0.5) inset;
  }
  div.acc>label::before{
    position:absolute;
    content:url(../img/svg/n_right.svg);
    font-size:1em;
    width:1em;
    height:1em;
    top:50%;
    transform:translate(-1em,-50%) rotateZ(0deg);
    transition-property: all;
    transition: all 0.3s;
  }
  div.acc input[type=checkbox]:checked~label::before{
    transform-origin:center;
    transform:translate(-1em,-50%) rotateZ(90deg);
    transition-property: all;
    transition: all 0.3s;
  }
  div.acc>div{
    box-sizing:border-box;
    margin:0;
    padding:0 0.2em;
    width:100%;
    overflow:hidden;
    /*overflow: scroll;*/
    /*margin-top:-100%;*/
    /*transform:translateY(-100%);*/
    /*max-height:0;*/
    height:0;
    transition-property: all;
    transition: all 0.3s;
  }
  div.acc input[type=checkbox]:checked~div{
    box-sizing:border-box;
    padding:0.2em;
    /*margin-top:0;*/
    height:auto;
    /*max-height:50vh;*/
    transition: all 0.3s;
  }


  /* ■テーブル■ */
  table.mamTableResponsive {
    width:100%;
    border-collapse:collapse;
    border:none;
    border-spacing:0;
    table-layout:auto;
  }
  table.mamTableResponsive th {
    box-sizing:border-box;
    background: var(--bs-dark-purple);
    border: solid 1px #ccc;
    color: #fff;
    margin:0;
    padding:10px;
  }
  table.mamTableResponsive td {
    box-sizing:border-box;
    border: solid 1px #ccc;
    color: #000;
    margin:0;
    padding:10px;
  }
  table.mamTableResponsive .mamBottomBorderThick{
    border-bottom:solid 1px #333;
  }
  table.mamTableResponsive .mamBottomBorderThin{
    border-bottom:solid 1px #ccc;
  }

  /* ■ボタン■ */
.button{
  display:inline-block;
  margin:4px;
  padding:0.2em 1em 0.2em 1em;
  color:var(--bs-white);
  font-weight:bold;
  text-shadow:2px 2px 4px var(--bs-dark);
  background:var(--bs-green);
  border:0px none #000;
  text-decoration:none;
  box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.4);
  cursor:pointer;
  border-radius:0px 0px 0px 0px;
  vertical-align:middle;
  user-select: none;
}
.button:active{
  box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.4) inset;
}
.button:hover{}


  /* ■トグルスイッチ■ */
input[type="checkbox"].mam-toggle-switch{
  box-sizing:border-box;
  position:relative;
  font-size:32px;/*基本サイズ お好きなサイズに設定*/
  width:2em;
  height:1em;
  padding:0;
  appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  background:#333;
  background:#AAA;/*オフの色*/
  border-radius:0.5em;
  box-shadow: 0.3em 0.3em 0.3em 0px rgba(0,0,0,0.6) inset;
  -webkit-tap-highlight-color: transparent;
}
input[type="checkbox"].mam-toggle-switch:checked{
  background:#2C2;/*オンの色*/
}
input[type="checkbox"].mam-toggle-switch::before{
  box-sizing:border-box;
  content:"";
  position:absolute;
  left:0.1em;
  top:0.1em;
  bottom:0.1em;
  width:0.8em;
  background:#FFF;
  border-radius:0.4em;
  transform:translate(0%,0%);
  transition:all 0.2s ease-in-out;
  box-shadow:0.1em 0.1em 0.1em 0px rgba(0,0,0,0.6);
  margin:0;
}
input[type="checkbox"].mam-toggle-switch:checked::before{
  transform:translate(125%,0%);
  transition:all 0.2s ease-in-out;
}
input[type="checkbox"].mam-toggle-switch::after{
  box-sizing:border-box;
  position:absolute;
  content:"OFF";
  color:#fff;
  font-size:0.4em;
  left:0.5em;
  text-align:right;
  width:calc(100% - 1em);
  top:50%;
  transform:translate(0,-50%);
}
input[type="checkbox"].mam-toggle-switch:checked::after{
  content:"ON";
  text-align:left;
}


