@charset "UTF-8";
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, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  -webkit-text-size-adjust: 100%;
}
body *,
body *:before,
body *:after {
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}

ul {
  list-style: none;
}

li {
  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;
}

address {
  font-style: normal;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #444;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

button {
  margin: 0;
}

img {
  vertical-align: top;
}

body {
  background-color: #fff;
  color: #222;
  font-family: sans-serif,メイリオ,Meiryo,Osaka,ＭＳ Ｐゴシック,MS PGothic;
  font-size: 100%;
  font-weight: 400;
  line-height: 1.8;
}

a,
a:link,
a:visited {
  color: #222222;
}

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

/*パンくず*/
@media screen and (max-width:980px) {
    #bread {
        padding: 0 10px;
    }
}
#bread {
    width: 960px;
    font-size: 12px;
    margin: 0 auto;
}

/*ナビ*/
ul.navi {
    max-width: 1190px;
    background: #fff;
    margin: 0 auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

ul.navi li {
    border-right: solid 2px #ccc;
    margin: 15px 0;
}

ul.navi li:last-child {
    border-right: none;
}

ul.navi li a {
    color: #333;
    text-decoration: none;
    padding: 0 2.5em;
    font-weight: bold;
    position: relative;
}

ul.navi li a:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 4px 0 4px;
    border-color: #57cbcb transparent transparent transparent;
    position: absolute;
    top: 1.6em;
    left: 50%;
}

ul.navi li a:hover,
ul.navi li.current a {
    color: #57cbcb;
}

ul.navi li a span {
    display: inline-block;
}


@media screen and (min-width: 740px), print {
  html,
  body {
    overflow-x: hidden;
  }
  a[href^="tel"] {
    color: #222;
    cursor: default;
  }
  a img {
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  a:hover {
    color: #06c;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
    text-decoration: none;
  }
  a:hover img {
    opacity: .7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  }
  img {
    width: auto;
    max-width: 100%;
  }
  .sp {
    display: none !important;
  }
    
  #header{
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    height: 58px;
  }
  #header .logo{
    display: block;
    width: 168px;
    height: 30px;
  }
  #pageTitle{
    position: relative;
    max-width: 960px;
    height: 150px;
    margin: 0 auto;
    background: #ffe7e7 url(/contents/age/img/kv.jpg) no-repeat top center;
  }
  #pageTitle .pageTitleInner{
    width: 450px;
    margin: 0 auto;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
      text-align: center;
  }
  #pageTitle .pageTitleInner h1{
    font-size: 24px;
    font-weight: normal;
  }
  #main{
    max-width: 960px;
    margin: 0 auto;
  }
  
  h2{
    font-size: 26px;
    font-weight: bold;
  }
  
  /*イーちゃん説明*/
  #maincontents .e-chan{
    background-color: #eeefef;
    padding: 25px;
    border-radius: 15px;  
    margin: 30px 0;
  }
  #maincontents .e-chan .e-chan_wrap{
      background-color: #ffffff;
      margin: 0 auto;
      padding: 26px 0 22px;
      border-radius: 10px;
  }
  #maincontents .e-chan .e-chan_wrap ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  #maincontents .e-chan .e-chanimg{
    width: 120px;
    height: auto;
  }
  #maincontents .e-chan .explanation{
    width: 70%;
    max-width: 621px;
    margin-left: 40px;
  }
  #maincontents .e-chan .title_sp{
    display: none;
  }
  #maincontents .e-chan .explanation .title_pc{
    display: block;
    background: url(/contents/age/img/h2_e.png) no-repeat top center;
    background-size: 100% auto;
    max-width: 621px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  #maincontents .e-chan .e-chan_wrap div{
    height: 51px;
  }
  #maincontents .e-chan a{
      color: #222222;
      font-weight: bold;
      text-align: center;
      text-decoration: none;
      position: relative;
      max-width: 368px;
      height: 46px;
      background-color: #fff46d;
      border-radius: 5px;
      margin: 10px auto 0;
      padding: 9px;
      box-shadow: 0px 4px 1px 0px #c8c8c8;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  #maincontents .e-chan a:hover{
    height: 51px;
    box-shadow: none;
  }
  #maincontents .e-chan a:after{
    content: "";
    display: inline-block;
    background: url(/contents/age/img/btnicon_e.png) left top no-repeat;
    background-size: 5px 6px;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 44%;
    width: 5px;
    height: 6px;
  }
  
  #maincontents .link ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
  }
  #maincontents .link li{
    width: 42%;
    text-align: center;
    margin: 0 5% 0 0;
    border: 1px solid #cccccc;
    padding: 20px 15px;
    border-radius: 10px;
  }
  #maincontents .link li:last-child{
    margin-right:0;
  }
  #maincontents .link li p{
    margin-bottom: 8px;
  }
  #maincontents .link li img{
     height: 30px;
     width: auto;
  }
  #maincontents .linkbtn_wrap{
    height: 75px;
  }
  #maincontents .link li a{
    max-width: 320px;
    min-height: 70px;
    position: relative;
    margin: 15px auto 0;
    padding: 0 20px;
    color:#ffffff;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.3;
    font-size: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #maincontents .link li a.parttime{
    background-color: #d70a16;
    box-shadow: 0px 4px 1px 0px #891f25;
  }
  #maincontents .link li a.shain{
    background-color: #0599d9;
    box-shadow: 0px 4px 1px 0px #106e97;
  }
  #maincontents .link li a:hover{
    height: 75px;
    box-shadow: none;
  }
  #maincontents .link li a:after{
    content: "";
    display: inline-block;
    background: url(/contents/age/img/icon_btn.png) left top no-repeat;
    background-size: 7px 10px;
    vertical-align: middle;
    position: absolute;
    right: 12px;
    top: 44%;
    width: 7px;
    height: 10px;
  }
  
  /*変換*/
  h2{
    font-size: 26px;
    font-weight: bold;
    height: 55px;
    background-color: #ffe7e7;
    padding: 5px 22px;
    margin: 60px 0 50px;
    position: relative;
    border-left: solid 5px #d70a16;
  }
  h2:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    bottom: -15px;
    left: 0.8em;
    border-width: 22px 15px 0px 15px;
    border-style: solid;
    border-color: #ffe7e7 transparent transparent transparent;
  }
    
  #conversion .thisyear p{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2;
    margin: 40px 20px 30px;
  }
  #conversion .thisyear p .underline{
      background: linear-gradient(transparent 40%, #ffe7e7 0%);
  }
  #conversion .thisyear p .number{
      font-size: 42px;
  }
    
  #conversion .conversionbtn{
    text-align: center;
    font-size: 18px;
    background-color: #ccf3f1;
    border-radius: 10px;
    padding: 50px 0;
  }
  .conversionbtn p{
        margin-bottom: 10px;
    }
  .conversionbtn p .subtxt{
        font-size: 14px;
    }
    #conversion .conversionbtn_box{
    height: 45px;;
    }
    #conversion .conversionbtn_box.select{
    width: 170px;
    }
    #conversion .conversionbtn_box.year,
    #conversion .conversionbtn_box.month,
    #conversion .conversionbtn_box.day{
    width: 100px
    }
    #conversion .conversionbtn_box.select,
    #conversion .conversionbtn_box.year,
    #conversion .conversionbtn_box.month,
    #conversion .conversionbtn_box.day{
    font-size: 16px;
    font-weight: bold;
    }
    #conversion .conversionbtn_box.select{
        margin-right: 15px;
    }
    
    #conversion #var_year_unit,
    #conversion #var_month_unit,
    #conversion #var_day_unit{
    margin-left: 5px;
    margin-right: 10px;
    }
  #conversion .button{
    height: 42px;
    width: 120px;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    background-color: #d70a16;
    box-shadow: 0px 3px 1px 0px #891f25;
    }
    #conversion .button:hover{
    box-shadow: none;
    height: 45px;
    }
    #conversion .conversion_button_wrap{
        height: 48px;
        margin-top: 15px;
    }
  #conversion #result{
    display: none;
    font-size: 28px;
    margin-top: 10px;
   }
   .ageText {
    font-weight: 700;
}

　/*早見表*/
  #chart{
    }
  #chart h2{
      margin-bottom: 34px;
    }
  #chart .ctable{
      display: flex;
      justify-content: space-between;
      margin: 10px 0;
    }
  #chart .ctable table{
      width: 49%;
    }
  #chart .ctable th{
      background-color: #cdefef;
      line-height: 1.4;
      vertical-align: middle;
    }

  #chart .ctable .subtxt{
        font-size: 14px;
        font-weight: normal;
    }
  #chart .ctable th,
  #chart .ctable td{
      border: 1px solid #aaa;
      padding: 0.5em 0;
      text-align: center;
      width: 25%;
    }
  #chart .ctable td:first-child{
      background-color: #f5f5f5;
    }
/*詳細テキスト*/
    #detail .detail_wrap{
        font-size: 16px;
    }
	#detail .detail_wrap h2{
		margin-bottom: 34px;
	}
    #detail .detail_wrap h3{
        font-weight: bold;
        line-height: 40px;
        background-color: #d2eef9;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 15px;
        margin-top: 34px;
        padding-left: 18px;
    }
    #detail .detail_wrap p{
        line-height: 1.5;
        margin-bottom: 15px;
    }
    #detail .detail_wrap p span{
        font-weight: bold;
    }
    
  #detail .BnrArea{
      margin-top: 35px;
    }
  #detail .BnrArea ul{
      display: flex;
      justify-content: center;
    }
  #detail .BnrArea ul li{
      max-width: 388px;
      height: auto;
    }
  #detail .BnrArea ul li:first-child{
      margin-right: 50px;
    }
    
    
  #sns-contents {
    height: 100%;
    background-color: #ffffff;
  }
  #sns-box {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -ms-flexbox;
    /*IE10用*/
    display: -webkit-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    justify-content: center;
    width: 350px;
    margin: 15px auto;
  }
  #sns-box li {
    width: 46px;
    height: 46px;
    margin: 0 5px 10px;
    border: solid 1px #ffffff;
  }
  #sns-box img {
    width: 100%;
  }
  #sns-box img:hover {
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  }
  .ag-trademark {
    margin: 10px auto 0;
    font-size: 11px;
    width: 100%;
    color: #8a8a8a;
  }
  .ag-trademark p {
    font-size: 12px;
    padding: 5px;
    line-height: 1.2;
    max-width: 960px;
    margin: 0 auto;
  }
  #footer .footer-sp {
    display: none;
  }
  #footer,
  #footer *,
  #footer *:before,
  #footer *:after {
    box-sizing: content-box;
  }
  #footer .footer-pc {
    display: block;
    font-family: Osaka,"メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS P Gothic",Verdana,sans-serif;
    line-height: 1;
    margin-top: 40px;
    border-top: 1px solid #cc280d;
    color: #6f6e6e;
  }
  #footer .footer-pc .contArea {
    position: relative;
    font-size: 11px;
    padding: 10px 0 20px;
    max-width: 960px;
    margin: 0 auto;
    letter-spacing:0.3px;
  }
  #footer .footer-pc .btn_top a {
    background: url(/contents/age/img/pagetop.png) 0 0 no-repeat;
    height: 0;
    width: 142px;
    padding-top: 26px;
    overflow: hidden;
    display: block;
    position: absolute;
    top: -26px;
    right: 20px;
  }
  #footer .footer-pc a {
    text-decoration: none;
    color: #6f6e6e;
    font-size: 11px;
  }
  #footer .footer-pc a:hover {
    text-decoration: underline;
  }
  #footer .footer-pc .logoBox p {
    color: #6f6e6e;
    margin-left: 10px;
  }
  #footer .footer-pc #footerLink01 {
    width: 100%;
    margin: 20px auto 10px;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  #footer .footer-pc #footerLink01 ul {
    float: left;
  }
  #footer .footer-pc #footerLink01 ul li {
    margin-bottom: 5px;
  }
  #footer .footer-pc #footerLink01 .aidemRecruit {
    width: 32%;
    padding-left: 10px;
    /*float: left;*/
  }
  #footer .footer-pc #footerLink01 .aidemLink {
    width: 32%;
    /*float: left;*/
    margin-right: 10px;
  }
  #footer .footer-pc #footerLink01 .aidemLink ul {
    margin-right: 20px;
  }
  #footer .footer-pc #footerLink01 p {
    border-bottom: 1px solid #efede7;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }
  #footer .footer-pc #footerLink01 .aidemLink p,
  #footer .footer-pc #footerLink01 .aidemRecruit p {
    width: 220px;
  }
  #footer .footer-pc #footerLink02 {
    width: 100%;
    background-color: #cc280d;
    padding: 6px 0;
  }
  #footer .footer-pc #footerLink02 ul {
    margin: 0 auto;
    max-width: 980px;
    clear: both;
    overflow: hidden;
  }
  #footer .footer-pc #footerLink02 ul li {
    display: inline-block;
    padding: 0 4px;
    overflow: hidden;
    border-right: 1px solid #fff;
  }
  #footer .footer-pc #footerLink02 ul li.last {
    border: none;
  }
  #footer .footer-pc #footerLink02 ul li a {
    color: #fff;
    vertical-align: middle;
  }
}

@media screen and (min-width: 740px) and (max-width: 900px), print and (max-width: 900px) {
  #header{
    padding: 0 15px;
   }
   #header ul#subNavi{
    right: 10px!important;
   }
  #bread{
      padding: 0 20px;
  }
  #pageTitle{
    width: 96%;
    background: #ffe7e7 url(/contents/age/img/kv_tab.jpg) no-repeat top center;
    background-size: cover;
  }
  ul.navi li a:hover{
    color: #222222;
  }
  #main{
    padding: 0 15px;
  }
  #maincontents .link li a:hover{
    height: 70px;
  }
    #maincontents .link li a.parttime{
    box-shadow: 0px 4px 1px 0px #891f25;
  }
  #maincontents .link li a.shain{
    box-shadow: 0px 4px 1px 0px #106e97;
  }
  
  #footer .footer-pc #footerLink02 ul {
    width: 640px;
    font-size: 11px;
  }
  #footer .footer-pc #footerLink02 ul li {
    padding: 0 8px;
  }
}

@media screen and (min-width: 743px), print {
      #footer .footer-pc #copyright {
    max-width: 650px;
    padding: 10px 5px;
    margin: 0 auto;
    line-height: 1.5;
    background: #fff;
    color: #6f6e6e;
    border-top: none;
      }
  #footer .footer-pc #copyright .fl {
    float: left;
    margin-top: 5px;
    font-size: 12px;
  }
  #footer .footer-pc #copyright .fr {
    float: right;
    font-size: 10px;
      }
}

@media screen and (min-width: 741px) and (max-width: 1024px), print {
    
}
@media screen and (min-width: 740px), print {    
  #main {
    font-size: 0.9375rem;
  }
}

@media screen and (min-width: 740px), print {    
  #main {
    font-size: 0.9375rem;
  }
}

@media screen and (max-width: 773px) {
/*ナビ*/
  .sp {
    display: none!important;
  }
  ul.navi{
      margin: 9px auto 0;
	  width: 100%;
  }
  ul.navi li{
  	margin: 0;
  }
  ul.navi li a{
	font-size: 12px;
    padding: 10px 19px 17px;
	display: block;
    line-height: 1.2;
	text-align: center;
  }
  ul.navi li a:hover{
    color: #222222;
  }
  ul.navi li a:after{
  	top: 2.4em;
    left: 47%;
  }
}

@media screen and (max-width: 739px) {
  html,
  body {
    overflow-x: hidden;
  }
  p{
        font-size: 16px;
  }
  #header{
    width: 100%;
    padding: 15px;
  }
  #subNavi{
      display: none;
    }
  .logoArea img{
      width: 150px;
      height: auto;
  }
    
/*パンくず*/
  #bread {
    font-size: 12px;
    display: flex;
    overflow-x: scroll;
    background-color: #dbdbdb;
    padding: 0;
    width: 100%;
  }
  #bread .pcarrow {
      display: none;
    }

  #bread>span {
    position: relative;
    font-size: 12px;
    vertical-align: middle;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    list-style: none;
    background-image: linear-gradient(to right, #ececec, #dbdbdb);
  }

  #bread>span:after {
    content: '';
    display: inline-block;
    position: absolute;
    margin-left: 10px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 12px solid #dbdbdb;
    z-index: 1;
  }

  #bread>span:last-child:after {
    display: none;
  }

  #bread>span:nth-child(n+2) {
    padding-left: 20px;
  }
  #pageTitle{
    position: relative;
    min-height: 120px;
    margin: 0;
    background: #ffe7e7 url(/contents/age/img/kv_sp.jpg) no-repeat top center;
    background-size: auto 120px;
  }
  #pageTitle .pageTitleInner{
    width: 280px;
    margin: 0 auto;
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    line-height: 1.5;
    text-align: center;
  }
  #pageTitle .pageTitleInner h1{
    font-size: 19px;
    font-weight: normal;
  }

    
/*ナビ*/
  .sp {
    display: block!important;
  }
  ul.navi li a:after{
  	top: 3.6em;
}

  #main{
    max-width: 960px;
    margin: 0 auto;
  }
  
  h2{
    font-size: 26px;
    font-weight: bold;
  }
    
  /*イーちゃん説明*/
  #maincontents .e-chan{
    background-color: #eeefef;
    padding: 25px 0;
    margin: 10px 0 30px;
  }
  #maincontents .e-chan .e-chan_wrap{
      background-color: #ffffff;
      margin: 0 15px;
      padding: 16px 0 22px;
      border-radius: 10px;
  }
  #maincontents .e-chan .e-chanimg{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #maincontents .e-chan .e-chanimg img{
    width: 95px;
    height: auto;
  }
  #maincontents .e-chan .explanation p{
    font-size: 14px;
    line-height: 1.6;
    width: 90%;
      margin: 0 auto;
  }
  #maincontents .e-chan .explanation .title_pc{
    display: none;    
  }
  #maincontents .e-chan .title_sp{
    display: block;
    background: url(/contents/age/img/h2_e_sp.png) no-repeat center center;
    background-size: contain;
    min-height: 45px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
  }
  #maincontents .e-chan a{
      color: #222222;
      font-weight: bold;
      text-align: center;
      text-decoration: none;
      position: relative;
      max-width: 368px;
      min-height: 45px;
      background-color: #fff46d;
      border-radius: 5px;
      margin: 10px auto 0;
      box-shadow: 0px 4px 1px 0px #c8c8c8;
      width: 90%;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  #maincontents .e-chan a:hover{
    box-shadow: 0px 4px 1px 0px #c8c8c8;
  }
  #maincontents .e-chan a:after{
    content: "";
    display: inline-block;
    background: url(/contents/age/img/btnicon_e.png) left top no-repeat;
    background-size: 5px 6px;
    vertical-align: middle;
    position: absolute;
    right: 6px;
    top: 44%;
    width: 5px;
    height: 6px;
  }
   #maincontents .link{
    padding: 0 15px;
  }
  #maincontents .link ul{
    display: block;
    margin: 0 auto;
  }
  #maincontents .link li{
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #cccccc;
    padding: 20px 15px;
    border-radius: 10px;
  }
  #maincontents .link li:first-child{
    margin-bottom: 20px;
  }
  #maincontents .link li p{
    font-size: 12px;
    margin-bottom: 8px;
  }
  #maincontents .link li img{
     height: 30px;
     width: auto;
  }

  #maincontents .link li a{
    max-width: 320px;
    min-height: 70px;
    position: relative;
    margin: 15px auto 0;
    padding: 0 20px;
    color:#ffffff;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.3;
    font-size: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #maincontents .link li a.parttime{
    background-color: #d70a16;
    box-shadow: 0px 4px 1px 0px #891f25;
  }
  #maincontents .link li a.shain{
    background-color: #0599d9;
    box-shadow: 0px 4px 1px 0px #106e97;
  }
  #maincontents .link li a:after{
    content: "";
    display: inline-block;
    background: url(/contents/age/img/icon_btn.png) left top no-repeat;
    background-size: 7px 10px;
    vertical-align: middle;
    position: absolute;
    right: 12px;
    top: 44%;
    width: 7px;
    height: 10px;
  }
  
  #conversion{
    margin: 0 15px;
  }
  /*変換*/
  h2{
    font-size: 21px;
    font-weight: bold;
    height: auto;
    min-height: 45px;
    line-height: 1.2;
    background-color: #ffe7e7;
    padding: 10px 22px;
    margin: 40px 0 35px;
    position: relative;
    border-left: solid 5px #d70a16;
  }
  h2:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    bottom: -15px;
    left: 0.8em;
    border-width: 22px 15px 0px 15px;
    border-style: solid;
    border-color: #ffe7e7 transparent transparent transparent;
  }
  #conversion .thisyear p{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5;
    margin: 40px 20px 30px;
  }
  #conversion .thisyear p .underline{
      background: linear-gradient(transparent 40%, #ffe7e7 0%);
  }
  #conversion .thisyear p .number{
      font-size: 42px;
  }
    
  #conversion .conversionbtn{
    text-align: center;
    font-size: 18px;
    background-color: #ccf3f1;
    padding: 35px 0;
    border-radius: 10px;
  }
  .conversionbtn p{
    margin-bottom: 10px;
  }
  .conversionbtn p .subtxt{
    font-size: 12px;
  }
  #conversion .conversionbtn_box{
    height: 45px;
  }
    #conversion .conversionbtn_box.select,
    #conversion .conversionbtn_box.year,
    #conversion .conversionbtn_box.month,
    #conversion .conversionbtn_box.day{
    font-size: 16px;
    font-weight: bold;
    }
  #conversion .conversionbtn_box.select{
    display: block;
    margin: 0 auto 10px;
    width: 170px;
  }
    #conversion .conversionbtn_box.year,
    #conversion .conversionbtn_box.month,
    #conversion .conversionbtn_box.day{
    width: 100px
    }
  #conversion #var_year_unit,
  #conversion #var_month_unit,
  #conversion #var_day_unit{
    margin-left: 5px;
    margin-bottom: 10px;
  }
  #conversion .conversionbtn_box.day,
  #conversion .conversionbtn_box.month,
  #conversion .conversionbtn_box.year{
    width: 70px;
  }
  #conversion .button{
    height: 42px;
    width: 120px;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    background-color: #d70a16;
    box-shadow: 0px 3px 1px 0px #891f25;
  }
  #conversion .button:hover{
    box-shadow: 0px 3px 1px 0px #891f25;
    height: 42px;
  }
  #conversion .conversion_button_wrap{
        height: 48px;
        margin-top: 15px;
  }
  #conversion #result{
    display: none;
    font-size: 28px;
    margin-top: 10px;
  }
  .ageText {
    font-weight: 700;
  }
    
　/*早見表*/
  #chart{
      margin: 0;
    }
  #chart h2{
      margin: 40px 15px 35px;
    }
  #chart p{
      margin: 0 15px;
      line-height: 1.5;
    }
  #chart .ctable{
        margin: 10px 15px;
    }
  #chart .ctable table,
  #chart .ctable .first{
      width: 100%;
      font-size: 16px;
      margin-bottom: 20px;
      position: relative;
    }
  #chart .ctable tr.fixed{
     display: flex;
     position: fixed;
     top: 0;
     left: 0;
     margin: 0;
     padding: 0 15px 0 16px;
     z-index: 1;
  }
  #chart .ctable .fixed{
    display: block;
     position: fixed;
     top: 0;
     left: 0;
     margin: 0 15px;
     z-index: 1;
  }
  #chart .ctable tr.first th,
  #chart .ctable tr.second th,
  #chart .ctable .first li{
        line-height: 1.1;
        vertical-align: middle;
}
  #chart .ctable .fixed li{
      padding: 0.8em 1em;
    }
  #chart .ctable tr.fixed th {
    border-left: none;
    padding: 0.8em 0;
  }
  #chart .ctable tr.fixed th:first-child,
  #chart .ctable tr.fixed th:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #chart .ctable th,
  #chart .ctable .first li{
      background-color: #cdefef;
    }
  #chart .ctable th,
  #chart .ctable td,
  #chart .ctable .first li{
    border: 1px solid #aaa;
    padding: 1em 0;
    text-align: center;
    width: 25%;
  }
  #chart .ctable .subtxt{
        font-size: 12px;
        font-weight: normal;
    }
  #chart .ctable td:first-child{
      background-color: #f5f5f5;
    }

/*詳細テキスト*/
  #detail .detail_wrap{
        font-size: 16px;
        padding: 0 15px;
    }
	#detail .detail_wrap h2{
		margin-bottom: 25px;
	}
    #detail .detail_wrap h3{
        font-weight: bold;
        line-height: 40px;
        background-color: #d2eef9;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 10px;
        margin-top: 30px;
        padding-left: 18px;
    }
    #detail .detail_wrap p{
        line-height: 1.5;
        font-size: 16px;
		margin: 0;
		margin-bottom: 17px;
    }
    #detail .detail_wrap p span{
        font-weight: bold;
    }
  #detail .BnrArea{
      margin: 35px 15px 0;
    }
  #detail .BnrArea ul{
    }
  #detail .BnrArea ul li{
      max-width: 455px;
      height: auto;
      margin: 0 auto;
    }
  #detail .BnrArea ul li:first-child{
      margin-bottom: 20px;
    }


  #sns-contents {
    margin-top: 11.33%;
  }
  #sns-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    justify-content: center;
    width: 200px;
    margin: 15px auto;
  }
  #sns-box li {
    width: 45px;
    height: 45px;
    margin: 0 5px 10px;
    border: solid 1px #ffffff;
  }
  #footer .footer-pc {
    display: none;
  }
  #footer .footer-sp {
    font-family: Osaka,"メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS P Gothic",Verdana,sans-serif;
    border-top: 2px solid #d70c18;
    background-color: #e7e7e7;
  }
  #footer .footer-sp,
  #footer .footer-sp *,
  #footer .footer-sp *:before,
  #footer .footer-sp *:after {
    box-sizing: content-box;
  }
  #footer .footer-sp #return {
    background-color: #d70c18;
    position: relative;
  }
  #footer .footer-sp #return p {
    height: 45px;
  }
  #footer .footer-sp #return p a {
    display: block;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 80px 25px;
    -webkit-background-size: 80px 25px;
    width: 80px;
    height: 0;
    padding-top: 25px;
    overflow: hidden;
    margin: 10px;
    background-image: url(/contents/age/img/btn-pageTop.png);
    float: right;
  }
  #footer .footer-sp .copyright {
    color: #fff;
    text-align: center;
    padding: 10px;
    background-color: #d70c18;
    font-size: small;
  }
  #footer .footer-sp ul#help {
    padding: 10px 10px 0;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
    width: 320px;
  }
  #footer .footer-sp ul#help li {
    width: 145px;
    font-size: 12px;
    margin: 0 5px 5px 0;
    float: left;
    box-sizing: border-box;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #ddd), color-stop(0, #fff));
    background: -webkit-linear-gradient(top, #fff 0, #ddd 100%);
    background: linear-gradient(top, #fff 0, #ddd 100%);
    border: #ccc solid 1px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #fff inset;
  }
  #footer .footer-sp ul#help li a {
    display: block;
    height: 17px;
    line-height: 1;
    padding: 10px 0;
    color: #333;
    text-align: center;
    text-decoration: none;
  }
  #main {
    font-size: 4vw;
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 497px) {
    #chart .ctable th,
    #chart .ctable td{
    padding: 1em 0;
    width: 25%;
    }
    #chart .ctable tr.fixed{
        display: flex;
    }
}
