@charset "UTF-8";
/* ========BASIC======== */
* {
   font-family: "BIZ UDMincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","游ゴシック Medium", YuGothic, "游ゴシック体", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", serif;
}

body {
   margin:0;
   padding:0;
   letter-spacing:1px;
}

a {
   color:coral;
   text-decoration:none;
   font-weight:bold;
}

a:hover {
   color:#FE396F;
}

img {
   border:0;
   vertical-align:bottom;
}

h1,h2,h3,h4,h5,h6 {
   margin:0;
}

/* ========INPUT======== */
.cp_iptxt {
    position: relative;
    width: 240px;
    margin: 40px auto;
}
.cp_iptxt input[type='text'] {
    font: 18px/24px serif;
    font-weight: 600;
    color: #d2691e;
    box-sizing: border-box;
    width: 100%;
    letter-spacing: 2px;
    padding-left: 6em;
}
.cp_iptxt input[type='text']:focus {
    outline: none;
}
.ef {
    padding: 7px 14px;
    transition: 0.4s;
    border: 1px solid #b0b0b0;
    background: transparent;
}
.ef ~ .focus_line:before,
.ef ~ .focus_line:after {
    position: absolute;
    top: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    content: '';
    transition: 0.4s;
    background-color: #d2691e;
}
.ef ~ .focus_line:after {
    top: auto;
    bottom: 0;
}
.ef ~ .focus_line i:before,
.ef ~ .focus_line i:after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 0;
    content: '';
    transition: 0.6s;
    background-color: #d2691e;
}
.ef ~ .focus_line i:after {
    right: 0;
    left: auto;
}
.ef:focus ~ .focus_line:before,
.ef:focus ~ .focus_line:after,
.cp_iptxt.ef ~ .focus_line:before,
.cp_iptxt.ef ~ .focus_line:after {
    left: 0;
    width: 100%;
    transition: 0.4s;
}
.ef:focus ~ .focus_line i:before,
.ef:focus ~ .focus_line i:after,
.cp_iptxt.ef ~ .focus_line i:before,
.cp_iptxt.ef ~ .focus_line i:after {
    top: -1px;
    height: 100%;
    transition: 0.6s;
}
.ef ~ label {
    position: absolute;
    z-index: -1;
    top: 10px;
    left: 14px;
    width: 100%;
    transition: 0.3s;
    letter-spacing: 0.5px;
    color: #aaaaaa;
}
.ef:focus ~ label,
.cp_iptxt.ef ~ label {
    font-size: 16px;
    top: -20px;
    left: 0;
    transition: 0.3s;
    color: #d2691e;
}


.button-glow {
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 10px;
  margin: 0 10px; /* 光る部分を空けるための余白 */
  padding: 0.5em 2em;
  line-height: 1.5;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #fff;
  animation: 1s glow infinite alternate;
}
.button-glow:hover {
  animation: 0.3s glow linear infinite alternate;
}
.button-glow:active, .button-glow:focus {
  background: #447fff;
}
.button-glow.color {
    background: linear-gradient(#fab9cd, #e65482);
    box-shadow: 0 0 10px 3px #fabdd8;
}
.button-glow.color:active, .button-glow.color4:focus {
  background: #ff5722;
}

@keyframes glow {
  0% {box-shadow: none;}
}
/* ========INPUT======== */
.inps {
  font-size: 18px;
}

/* ========RADIO B======== */
.cp_ipradio {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
@keyframes click-wave {
    0% {
        position: relative;
        width: 30px;
        height: 30px;
        opacity: 0.35;
    }
    100% {
        width: 200px;
        height: 200px;
        margin-top: -80px;
        margin-left: -80px;
        opacity: 0;
    }
}
.cp_ipradio .option-input {
    position: relative;
    top: 13.33333px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease-out 0s;
    color: #ffffff;
    border: none;
    outline: none;
    background: #d7cbcb;
    -webkit-appearance: none;
            appearance: none;
}
.cp_ipradio .option-input:hover {
    background: #d6a9a9;
}
.cp_ipradio .option-input:checked {
    background: #da3c41;
}
.cp_ipradio .option-input:checked::before {
    font-size: 20px;
    line-height: 30px;
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: '';
    text-align: center;
}
.cp_ipradio .option-input:checked::after {
    position: relative;
    display: block;
    content: '';
    -webkit-animation: click-wave 0.65s;
            animation: click-wave 0.65s;
    background: #da3c41;
}
.cp_ipradio .option-input.radio {
    border-radius: 50%;
}
.cp_ipradio .option-input.radio::after {
    border-radius: 50%;
}
.cp_ipradio label {
    line-height: 90px;
    margin-left: 10px;
}

/* ========MSG======== */
.title {
  color: #ff4500;
  font-size: 24px;
  margin: 40px 0px; 
}
.msg {
  color: #666699;
  font-size: 18px;
}
/* ========干支===== */
.yymm {
  color: #ff3300;
  font-size: 22px;
  margin: 20px 0px;
  font-weight: bold;
}
table.uns {
   font-size:18px;
   border-radius: 12px;
}
hr {
   border: 1px dotted;
   color: #ffdab9;
}
.msgt {
   font-size:20px;
}
.SideBySide p{
 display:inline-block;
 vertical-align:middle; /*縦方向の揃え位置を指定*/
}
.btn-orange {
    color: #fff;
    background-color: #f8b1b1;
    border-radius: 6px;
    font-size: 20px;
    border-color: #ffc6c6;
    padding: 3px;
}
/* ========番号占い===== */
.msgbt {
   font-size:20px;
   text-align: center;
   color: #008db7;
}
.msgbm {
   font-size:18px;
   text-align: left;
   color: #00ac97;
   line-height:25px;
}
/* ========RESULT===== */
.msgtop {
  color: #0080c0;
  font-size: 24px;
}
.inpn {
  color: #8fbc8f;
  font-size: 16px;
}
.msgred {
  color: #e7211a;
  font-size: 19px;
  font-weight:bold;
}

/* ========TABLE======== */
table.restable {
    width:100%;
    border-collapse: collapse;
}
table.restable thead th {
    background:#f5f6f7;
    color:#000;
    padding:10px 15px;
    border: 3px solid #eee;
}
table.restable tbody th {
    background:#f5f6f7;
    color:#000;
    padding:10px 15px;
    border: 3px solid #eee;
    white-space: nowrap;
}
table.restable tbody td {
    background:#FFF;
    padding:10px 15px;
    border:#eee solid 1px;
    vertical-align:top;
}
/* ========radio======== */
input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 20px;
    vertical-align: -0.8rem;
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: .6rem;
    outline: none;
    border-radius: 10%;
}
input[type=radio] {
    border-radius: 50%;
}
input[type=radio]:checked:before {
    transform: scale(1);
}
input[type=radio]:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 3px;
    transform: scale(0);
    transition: all ease-out 250ms;
}
input[type=checkbox].rabtn,input[type=radio].rabtn {
    border: 2px solid #cdcbcb;
}
input[type=checkbox].rabtn:checked,input[type=checkbox].rabtn:indeterminate,input[type=radio].rabtn:checked:before {
    background: #f496c0;
}

@media screen and (max-width: 640px) {
table.restable thead {
    display:none;
}
table.restable tbody th {
    display:block;
}
table.restable tbody td {
    display:block;
}
table.restable tbody td::before {
    content: attr(label);
    float: left;
    clear:both;
    font-weight:bold;
}
.msgbm {
   font-size:16px;
}
}
