﻿/*書式設定

----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');
@font-face { 
  font-family: 'Akzidenz'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('Akzidenz'), 
    url('../fonts/akzidenz-grotesk-bq.woff2') format('woff2'), 
    url('../fonts/akzidenz-grotesk-bq.ttf') format('truetype'); 
}

@font-face { 
  font-family: 'GothicA1-R'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('Akzidenz'), 
    url('../fonts/GothicA1-Regular.woff2') format('woff2'), 
    url('../fonts/GothicA1-Regular.ttf') format('truetype'); 
}

@font-face { 
  font-family: 'GothicA1-B'; 
  font-style: normal; 
  font-weight: 700; 
  src: local('Akzidenz'), 
    url('../fonts/GothicA1-Bold.woff2') format('woff2'), 
    url('../fonts/GothicA1-Bold.ttf') format('truetype'); 
}

@font-face { 
  font-family: 'TsukuMin'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('TsukuMin'), 
    url('../fonts/tsukumin-pro-l.woff2') format('woff2'), 
    url('../fonts/tsukumin-pro-l.ttf') format('truetype'),
    url('../fonts/tsukumin-pro-l.otf') format('truetype');
}

@font-face { 
  font-family: 'TsukuMinLB'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('TsukuMin'), 
    url('../fonts/tsukumin-pro-lb.woff2') format('woff2'), 
    url('../fonts/tsukumin-pro-lb.ttf') format('truetype'),
    url('../fonts/tsukumin-pro-lb.otf') format('truetype');
}

@font-face { 
  font-family: 'TsukuAMDMin'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('TsukuAMDMin'), 
    url('../fonts/tsukuamdmin-std-e.woff2') format('woff2'), 
    url('../fonts/tsukuamdmin-std-e.ttf') format('truetype'),
    url('../fonts/tsukuamdmin-std-e.otf') format('truetype'); 
}

@font-face { 
  font-family: 'HiraKakuPro'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('HiraKakuPro'), 
    url('../fonts/hirakakupro-w6.woff2') format('woff2'), 
    url('../fonts/hirakakupro-w6.ttf') format('truetype'),
    url('../fonts/hirakakupro-w6.otf') format('truetype'); 
}

@font-face { 
  font-family: 'Meiryo-Bold'; 
  font-style: normal; 
  font-weight: 700; 
  src: local('Meiryo-Bold'), 
    url('../fonts/Meiryo-Bold.woff2') format('woff2'), 
    url('../fonts/Meiryo-Bold.ttf') format('truetype'),
    url('../fonts/meiryob.ttc') format('truetype'); 
}

@font-face { 
  font-family: 'Noto-Sans-Bold'; 
  font-style: normal; 
  font-weight: 700; 
  src: local('Noto-Sans-Bold'), 
    url('../fonts/NotoSansCJKjp-Bold.woff2') format('woff2'), 
    url('../fonts/NotoSansCJKjp-Bold.ttf') format('truetype'),
    url('../fonts/NotoSansCJKjp-Bold.eot') format('truetype'); 
}

@font-face { 
  font-family: 'Noto-Sans-Medium'; 
  font-style: normal; 
  font-weight: 500; 
  src: local('Noto-Sans-Medium'), 
    url('../fonts/NotoSansCJKjp-Medium.woff2') format('woff2'), 
    url('../fonts/NotoSansCJKjp-Medium.ttf') format('truetype'),
    url('../fonts/NotoSansCJKjp-Medium.eot') format('truetype'); 
}

@font-face { 
  font-family: 'Noto-Sans-Regular'; 
  font-style: normal; 
  font-weight: 400; 
  src: local('Noto-Sans-Regular'), 
    url('../fonts/NotoSansCJKjp-Regular.woff2') format('woff2'), 
    url('../fonts/NotoSansCJKjp-Regular.ttf') format('truetype'),
    url('../fonts/NotoSansCJKjp-Regular.eot') format('truetype'); 
}

@font-face { 
  font-family: 'Noto-Sans-Thin'; 
  font-style: normal; 
  font-weight: 100; 
  src: local('Noto-Sans-Thin'), 
    url('../fonts/NotoSansCJKjp-Thin.woff2') format('woff2'), 
    url('../fonts/NotoSansCJKjp-Thin.ttf') format('truetype'),
    url('../fonts/NotoSansCJKjp-Thin.eot') format('truetype'); 
}

[hidden] {
  display: none;
}

*::before,
*::after {
  box-sizing: inherit;
}

.btn-reset {
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-tabs,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border: none;
}

button:link, button:visited, button:focus, button:hover, button:active {
  outline: none !important;
  box-shadow: none !important;
}

body {
  background: url(../img/update/main-bg.jpg) repeat 0 0;
	/* width: 1024px; */  /* PC版画面幅に合わせて背景画像サイズが変わるようにコメントアウト */
	/* height: 748px; */  /* PC版画面幅に合わせて背景画像サイズが変わるようにコメントアウト */
	max-width: 1024px;
	max-height: 748px;
  margin: 0 auto;
	padding: 0;
	border: 0 none;
	font-size:13px;
  line-height: 1.3;
	color: #444444;
	font-family:"Noto Sans JP", "游ゴシック","ヒラギノ角ゴ", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

html,a,form,div,table,ul,ol,li,dl,h1,h2,h3,h4,h5,h6,p{
	margin: 0;
	padding: 0;
	border: 0 none;
  text-decoration: none;
}
img{
	margin:0;
	padding:0;
	border: 0 none;
}
div[id^="link"], div[id^="calc"], div[id^="num"], div[id^="radio"]{
	cursor:pointer;
}
.category-img {
	height:30px;
	margin-top:-3px;
}
.two_lineTitle .category-img {
	height:48px;
	margin-top:11px;
	margin-bottom:4px;
}
.page {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 588px;
  background-position: center top;
  background-size: contain;
}

.page.cover {
  background-size: cover;
}

.pc-bg-img,
.pc-bg-img2 {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
}

.subtitle {
	color: #333333;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
}
.info {
	color: #333333;
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	line-height:1.4em;
}
.colinfo {
	color: #333333;
	text-align: left;
	font-size: 12px;
	line-height: 20px;
	font-weight: bold;
}
.result {
	color: #333333;
	text-align: left;
	font-size: 24px;
	font-weight: bold;
}
.input12 {
	color: #333333;
	text-align: right;
	font-size: 30px;
	font-weight: bold;
}
.input5 {
	color: #333333;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}
.result5{
	color: #5c9e90;
	text-align: center;
	font-size: 40px;
	font-weight: bold;
}

input.button {
    padding: 0 .25em;
    width: auto;
    overflow: visible;
}

input.button[class] {
    width: auto;
}

.sub_on {
    border: 1px solid #d7c4c4;
	font-weight: bold;
    color: #fff;
	background-image: url(../img/sub_btn/bg/bg.jpg);
	height: 46px;
}
.sub_off {  
	background-color: #f5efee;
    border: 1px solid #d7c4c4;
	font-weight: bold;
    color: #5c1616;
	height: 46px;
}
.sub_off:hover {
	background-color: #f5efee;
	border: 1px solid #d7c4c4;
	font-weight: bold;
    	color: #b48773;
	cursor:pointer;
}
.sub_on div{
	background-image: url(../img/sub_btn/arrow/arrow_on.gif);
	background-repeat: no-repeat;
	background-position: 0px 13px;
	height: 46px;
	line-height: 46px;
}
.sub_off div{  
	background-image: url(../img/sub_btn/arrow/arrow_off.gif);
	background-repeat: no-repeat;
	background-position: 0px 13px;
	height: 46px;
	line-height: 46px;
}

.sub_off:hover div{  
	background-image: url(../img/sub_btn/arrow/arrow_hover.gif);
	background-repeat: no-repeat;
	background-position: 0px 13px;
	height: 46px;
	line-height: 46px;
}

.fp_btn_on{
	background-image: url(../img/fp/fp_btn_ov.png);
	background-repeat: no-repeat;
	position: absolute;
	width: 146px;
	height: 86px;
	left: 871px;
	top: 72px;
	cursor:pointer;
}

.fp_btn_off{
	background-image: url(../img/fp/fp_btn_off.png);
	background-repeat: no-repeat;
	position: absolute;
	width: 146px;
	height: 86px;
	left: 871px;
	top: 72px;
	cursor:pointer;
}

.fp_bg {
	z-index: 10;
	display: none;
	width: 100%;
	height: 790px;
	position: absolute;
	left: 0px;
	top: -121px;
	-ms-filter: "alpha( opacity=40 )";
	filter: alpha(opacity=40);
	opacity: 0.4;
	background-color: #000;
}

.fp {
	z-index: 20;
	background-image: url(../img/fp/fp_window.jpg);
	background-repeat: no-repeat;
	display: none;
	position: absolute;
	left: 280px;
	top: 180px;
	width: 700px;
	height: 312px;
}

.fp2 {
	z-index: 20;
	background: #ffffff;
	background-repeat: no-repeat;
	display: none;
	position: absolute;
	left: 27%;
	bottom: 65px;
	width: 70%;
	height: 550px;
	border: 3px solid #268cbf;
}

.fp_head {
	height: 25px;
    color: #000000;
	padding: 10px 0 10px 10px;
	line-height: 25px;
	font-size: 20px;
	font-weight: bold;
	margin-bottom:10px;
	border-bottom: 3px solid #268cbf;
}

.fp_body {
	width: 100%;
	height: 500px;
}

.fp_body_text {
    color: #000000;
	padding: 10px;
	line-height: 20px;
	font-size: 20px;
	word-break: break-all;
}

.cursor {
	-ms-filter: "alpha( opacity=50 )";
	filter: alpha(opacity=50);
	opacity: 0.5;
}


.d-flex {
  display: flex;
  align-items: center;
}

header {
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
}

header.main_page{
  padding: 42px 60px 29px 60px;
}

.header .container {
  display: flex;
  align-items: center;
}

.header .header__title {
  margin-left:94px;
}

header .container-sp {
  align-items: center;
  font-size: 20px;
}

.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 0;
  border-bottom: 1px solid #dedede;
}

.sub-header button {
  border: none;
  margin: 0;
  padding: 5px 10px;
  width: auto;
  overflow: visible;
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
}

.round-btn {
  border-radius: 15px;
}



header .title {
  margin: 0 auto;
}

.menu .header__left{
  width: max-content;
}

.header__logo{
  width: 165px;
  height: auto;
  line-height: 1;
}
.header__title{
  display: flex;
  align-items: center;
  font-size: 20px;
}

.header__burger {
  position: relative;
  z-index: 2;
  height: 45px;
  cursor: pointer;
  text-align: center;
  padding-top: 10px;
}

.header__title .text-lg{
  font-size: 28px;
}

.header-title{
  font-size: 20px;
  font-weight: 400;
}

.header-subtitle .header-img {
  margin-bottom:8px;
}

.home .title-lg .header-img {
  width:338px;
  margin-bottom:10px;
}
.home .title-lg{
  padding-bottom:10px;
}
.header-subtitle{
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2rem;
  color:#fff;
}

.header-subtitle .current_year{
  font-weight: 400;
}

.title-lg{
  font-size: 46px;
}

.title-lg b{
}

.subtitle-lg{
  font-size: 20px;
  text-align: right;
}

.d-md-none {
  display: none;
}

.d-md-block {
  display: block;
}


/* .container-sp {
  background: url(/img/update/bg-sp.png) 0 0 repeat;
} */

footer {
  font-size: 8px;
  position: fixed;
  width:auto;
  right: 0;
  bottom: 0;
  font-weight: bold;
  padding: 30px 15px 15px 15px;
  clear: both;
}

.home footer {
  padding: 0 15px;
  background: url(../img/update/calculator-sp.png) 20% bottom no-repeat;
  position: relative;
}

footer a {
  display: inline-block;
  width: 105px;
  height: 40px;
  background: url(../img/update/calculator-link.png) center center no-repeat;
  background-size: contain;
  margin-bottom: 40px;
  margin-left: 0;
  margin-top:-20px;
}

footer div:last-child {
  text-align: right;
  color: #999999;
}

.home .image-fluid {
  margin-bottom:0px;
}

.image-fluid {
  width: 100%;
  height: auto;
  margin-bottom:100px;
}
.sp-image {
  position: relative;
}

.home-list {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.home-list li {
  height: 7.8%;
  position: relative;
}

.home-list li a {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.header__btns{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  column-gap: 8px;
}

.header-btn{
  width: 132px;
  height: 48px;
  border: none;
  margin: 0;
  padding: 0;
  padding-left: 35px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: #fff;
  background-position: 8px 50%;
  background-size: contain;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("../img/svg/play-down.svg");
  font-family:"Noto Sans JP", "游ゴシック","ヒラギノ角ゴ", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.header-btn.btn-active {
  cursor: pointer;
  background-color: #fff;
}

.header-btn.btn-adjustment {
  width: 145px;
}

/*.header__btns .header-btn:nth-child(1){
  background-image: url("../img/svg/play-down.svg");
}*/

.header__btns .header-btn:last-child{
  width: 107px;
  margin-left: 13px;
  padding-left: 34px;
  font-size: 14px;
}

.burger {
  position: relative;
  border: none;
  padding: 0;
  width: 30px;
  height: 20px;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active.burger::before,
.burger--active.burger::after {
  background-color: #fff;
  width: 100%;
}

.burger.burger--active {
  width: 30px;
}
.burger.burger--active#burger-close {
  margin-top: -10px;
}
.burger-text.burger-close {
  bottom: 15px;
}
.burger::before {
  top: 0;
}

.burger::after {
  top: calc(100% - 3px);
}

.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  background-color: #fff !important;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.burger--active::before {
  top: 50%;
  transform: rotate(135deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active::after {
  top: 50%;
  transform: rotate(-135deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active .burger__line {
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}

.burger:hover > * {
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}

.burger:hover::before,
.burger:hover::after {
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.burger-text{
  position: absolute;
  z-index: 1001;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 7px;
  line-height: 1.3;
}

.nav__list {
  padding: 0;
  width: 100%;
  height: max-content;
  position: fixed;
  top: -100%;
  left: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  row-gap: 0;
  z-index: -1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.nav__item{
  border-bottom: 1px solid white;}

.nav__item_close{
  padding: 16px 0;
  padding-right: 16px;
}

.nav__item:last-child{
  background-image: none;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
  border: none;
}

.nav__item.active{
  color: #000;
  background-color: #fff;
}

.nav__link{
  padding: 15px 45px;
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 100%;
  text-align: left;
  background-image: url("../img/svg/play.svg");
  background-position: 17px 50%;
  background-size: contain;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.nav__link.active{
  color: #000;
  background-image: url("../img/svg/play-active.svg");
}

.nav__list_open {
  top: 0;
  opacity: 1;
  z-index: 99;
  max-height: 100vh;
  overflow-y: scroll;
}

.calculator{
  display: none;
  position: relative;
  z-index: 9;
  right: 0;
  bottom: 80px;
  padding: 11px 10px 10px 24px;
  border-radius: 60px 0 0 60px;
  color: white;
  text-decoration: none;
}

.calculator-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 8px;
}

.calculator-content p {
  font-family: 'Noto-Sans-Medium', sans-serif;
  font-size: 11px;
  line-height: 1.3;
}

.header-btn.cursor-hand {
  background-image: url(../img/svg/blue/cursor-hand.svg);
}
#dentaku_select {
  width: 100%;
  float: left;
  font-size: 13px; 
  font-weight: bold; 
  padding: 10px 10px 5px 10px;
  padding-left: 25px;
  margin-left: 10px;
  box-sizing: border-box; 
  border: none;
  border-bottom: 2px solid #268CBF;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent; 
  background-image: url(./../img/update/dropdawn-bg.png); 
  background-repeat: no-repeat, repeat;
  background-position: left center;
}

#dentaku_select:focus {
  outline: none;
}

#dentaku_select option {
  font-size: 14px; 
  font-weight: bold;
}

#content_title {
  font-size: 22px;
  font-weight: bold;
  margin-right: 20px;
  word-break: keep-all;
}

.message {
  position: absolute;
  top: 8.4%;
  right: 15px;
  padding: 5px 10px;
  padding-left: 40px;
  font-size: 17px;
  background-size: 22px;
  border-radius: 25px;
  cursor: pointer;
}

.message_nichijo {
  top: 12%;
}
.message-kyouiku{
  top: 2.8%;
}

.btns {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}

.btns .btn {
  width: 100%;
  height: 8vw;
  color: #bebebe;
  background-color: #fff;
  border: none;
  cursor: pointer;
  transition: all ease-in-out .3s;
}

.btns .btn:first-child {
  border-radius: 2rem 0 0 2rem;
}

.btns .btn:last-child {
  border-radius: 0 2rem 2rem 0;
}

.btns .btn:not(.btn-active) + .btn:not(.btn-active) {
  border-left: 2px solid #c6c6c6;
}

.btns .btn.btn-active {
  color: #fff;
  background-color: #2e775c;
  border: none;
  cursor: default;
}

.tabl > * > * {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5vw;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.tabl > .row1 > div {
  top: 149.5vw;
}

.tabl > .row2 > div {
  top: 156.0vw;
}

.pr1_5 {
  display: flex;
  justify-content: space-around;
}

.total {
  top: 169vw;
  font-size: 3.4rem;
  font-weight: bold;
  color: #56988b;
  text-align: right;
}

.input12_input {
  width: 154px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  /* opacity: 0.6; */
	opacity: 0;
  font-size: 16px;
  z-index: 10;
  left: -9999px;
}

@media (min-width: 769px) {
  .page.pc-bg-img {
    height: 668px;
  }

  #content_title {
    display: none;
  }

  #dentaku_select {
    display: none;
  }

  .nav,
  .header__burger{
    display: none;
  }

  .sub-header {
    display: none;
  }
  .dentaku__sp {
    display: none;
  }
}

@media (max-width: 880px) {
	.result {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
  html {
    scrollbar-width: none;
  }
  
  body::-webkit-scrollbar {
    width: 0px;
  }

  .calculator {
    display: block;
  }
  
  .home .title-lg .header-img {
        width: 200px;
        margin-bottom: -11px;
  }

  header .container-sp .title {
  }
  
  #subtitle_wrap {
    display: flex;
    margin: 20px 0;
    align-items: center;
    flex-wrap: nowrap;
  }

  .dentaku__sp {
    padding: 20px 0;
  }

  #info1 {
    display: none !important;
  }

  .dentaku .info_color {
    left: 15px !important;
    font-size: 14px;
  }
  
  .dentaku .units {
    left: 305px !important;
    font-size: 14px;
    width: auto !important;
  }

  .dentaku .page {
    width: auto;
  }

  #calcclear::before, #calcclearon::before {
    content: 'クリア';
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    left: 0;
    right: 0;
    line-height: 36px;
    text-align: center;
    border-radius: 25px;
    border: 2px solid #268cbf;
  }

  #calc::before, #calcon::before {
    content: '計算';
    display: block;
    color: #000;
    background-color: #FEB400;
    font-size: 16px;
    font-weight: bold;
    left: 0;
    right: 0;
    height: 100%;
    line-height: 40px;
    text-align: center;
    border-radius: 25px;
  }



  #calc img, #calcon img, #calcclear img, #calcclearon img {
    display: none;
  }

  #calc, #calcon {
    left: 135px!important;
    width: 105px !important;
    height: 40px !important;
  }

  #resultimg {
    display: none;
  }

  #result {
    left: 0 !important;
    right: 0 !important;
    width: calc(100% - 30px)!important;
    padding: 0 15px;
    font-weight: normal;
    font-size: 14px;
    height: auto !important;
  }

  #result::before {
    content: 'コメント：';
    display: block;
    margin-bottom: 10px;
  }
  
  #result:empty::before {
    display: none;
  }

  #info {
    font-weight: normal;
    font-size: 18px;
  }

  #calcclear, #calcclearon {
    left: 15px!important;
    width: 105px!important;
    height: 40px!important;
  }

  .input12 {
    left: 140px!important;
  }
  
  .input12_input {
    left: 140px;
  }

  #info2 {
    position: unset !important;
    width: 100% !important;
    height: auto !important;
    font-size: 14px;
  }

  .dentaku div[id^=radio],
  .dentaku div[id^=num] {
    display: none !important;
  }

  .dentaku div[id^=link] {
    display: none;
  }

  #cursor {
    left: 277px !important;
  }

  body {
    background: url(./../img/update/bg-sp.png) repeat 0 0;
  }

  .dentaku .page {
    background-image: none !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  header {
    padding: 0 15px;
  }

  header.main_page {
    padding: 13px 20px 0;
  }

  header.main_page .header__left{
    align-items: flex-end;
  }

  body:not(.home) header .container {
    display: none;
  }

  header > div {
    display: inline-block;
    margin-right: 20px;
  }

  header > div:last-child {
    margin-right: 0;
  }

  .d-none {
    display: none;
  }

  .d-block {
    display: block;
  }

  .sp-image.kyouiku_calc {
    background-image: url(../img/update/0400_kyouiku_sp.jpg?version=20251219) ;
    background-size:100%;
    min-height:540px;
    width:100%;
  }
  .sp-image.kyouiku_calc img {
      width:16px;
    }
  body {
    width: 100%;
    height: auto;
  }
  .header__left {
    display: flex;
    align-items: center;
  }

  .title-lg {
    font-size: 18px;
    margin-top:4px;
  }

  .subtitle-lg {
    margin-left: 10px;
    font-size: 12px;
    font-weight: normal;
  }
}

@media (max-width: 640px) {
  .tabl > * > * {
    font-size: 14px;
  }
  
  .tabl > .row1 > div {
    top: 153.5vw;
  }
  
  .tabl > .row2 > div {
    top: 160.0vw;
  }
  
  .total {
    top: 171vw;
  }
}

@media (max-width: 542px) {
  .tabl > * > * {
    font-size: 12px;
  }
  
  .tabl > .row1 > div {
    top: 155.5vw;
  }
  
  .tabl > .row2 > div {
    top: 162.0vw;
  }
  
  .total {
    top: 172vw;
  }
}

@media (max-width: 490px) {
  .tabl > * > * {
    font-size: 10px;
  }
  
  .tabl > .row1 > div {
    top: 161vw;
  }
  
  .tabl > .row2 > div {
    top: 168vw;
  }
  
  .total {
    top: 180vw;
  }
}

@media (max-width: 440px) {
  .message.message-kyouiku {
    top: 2%;
  }

  .tabl > .row1 > div {
    top: 161vw;
  }
  
  .tabl > .row2 > div {
    top: 167.5vw;
  }
  
  .total {
    top: 177vw;
  }
}

@media (max-width: 400px) {
  .message {
    top: 7.5%;
    font-size: 13px;
  }

  .total {
    font-size: 2.5rem;
  }

  .tabl > .row1 > div {
    top: 162vw;
  }
  
  .tabl > .row2 > div {
    top: 168.5vw;
  }
}

@media (max-width: 380px) {
  .tabl > .row1 > div {
    top: 164.5vw;
  }
  
  .tabl > .row2 > div {
    top: 170vw;
  }
  
  .total {
    top: 180vw;
  }
}

@media (max-width: 355px) {
  .tabl > * > * {
    font-size: 8px;
  }

  .tabl > .row1 > div {
    top: 168.5vw;
  }
  
  .tabl > .row2 > div {
    top: 175vw;
  }
  
  .total {
    top: 184vw;
    font-size: 2.2rem;
  }
}
