/*
Template:ystandard
Theme Name:nagomi
*/

html {
font-size: calc((100vw - 320px) / 140 + 16px);
}

body{
width:100%;
height:100%;
margin:0 auto;
padding:0;
font-size:1rem;line-height:1.75em;
   overflow-x: hidden;
}

.has-fixed-header .site-header {
    padding: 0.5em 0;
}



body.no-title {
background:#e7d7c3;
}

p {
    display: block;
    margin-block-start: em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.site-branding .site-title {
    margin-left: 0.5em;
}

.backbody {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.c_container {
	background:#ffffff;
  padding:0 0;
  max-width: 540px;
  margin: auto;
	position: relative;
 overflow: auto;
    z-index: 2;
	
}

.sidenavi{position: absolute;
    top: 15%;
    right: 0;
    margin: auto;
    width: 100%;
    min-width: 100px;
    left: 5%;
    color: #7a171c;
font-weight:600;
line-height: 2.5;
    display: none;}

.sidenavi a{color: #7a171c;}
 .sidenavi a:hover{color: #b07578;}

a{text-decoration:none;}

ol, ul {
    margin: 0;
    padding:0;
}
li{list-style:none;}

h1, h2, h3, h4, h5, h6 {
    margin: 0em;
    padding: 0;
    line-height: 1.5;
    letter-spacing: .05em;
}

h1+h2, h2+h3, h3+h4, h4+h5, h5+h6 {
    margin-top: 0;
}

.entry-content h1+h2, .entry-content h2+h3, .entry-content h3+h4, .entry-content h4+h5, .entry-content h5+h6 {
    margin-top: 0em;
}

td, th {
    border-right:none;
    border-bottom:none;
}

tr {
    border-left:none;
}

amp-img, img {
    vertical-align: bottom;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin: 0em;}

.entry-content>* {margin-top:0;}

.back-to-top__content {
	box-shadow:none;}


#back-to-top {
    bottom: 7vh;
    right: 16px;
}

#footer{max-width: 800px;
    margin: 0 auto;
	
}

span.kakko{font-size:0.75em;    vertical-align: middle;}

.footer-main {
	padding-top: 2em;color:#ffffff;font-size:1rem;z-index: 10;
    position: relative;}


.footer-adwrap {
    padding: 0px 1em;
}

.footer-adwrap li{margin-bottom:1em;line-height: 1.5;}
.footer-adwrap li:last-child{margin-bottom:-2em;}


#footer-poweredby{display:none;}

.ponly{display:none;}
.monly{display:block;}

.global-nav__toggle {
	padding: 0em 1em;}

li.monly.menu-item-65,li.monly.menu-item-66{display:inline-block;font-size:1.3rem;margin-right:0.5em;}


.container {
    padding-right: 0;
    padding-left: 0;
	    max-width: 100%;
}

li.snswrap ul{display: flex;
    color: #ffffff;
    line-height: 1;
    align-items: center;    margin-top: 1em;}


 .icon-wrap-instagram {
    background: -webkit-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -webkit-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -moz-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -moz-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -ms-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -ms-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -o-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -o-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: radial-gradient(circle farthest-corner at 32% 106%, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), linear-gradient(135deg, #234bd7 12%, #c33cbe 58%);
background: radial-gradient(circle farthest-corner at 32% 106%, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), linear-gradient(135deg, #234bd7 12%, #c33cbe 58%);
    border-radius: 0.5em;
    padding: 0.25em 0.25em 0.2em;}

li.snswrap ul li.icon-wrap-instagram a {
    background: -webkit-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -webkit-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -moz-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -moz-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -ms-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -ms-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: -o-radial-gradient(32% 106%, circle cover, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), -o-linear-gradient(-45deg, #234bd7 12%, #c33cbe 58%);
    background: radial-gradient(circle farthest-corner at 32% 106%, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), linear-gradient(135deg, #234bd7 12%, #c33cbe 58%);
background: radial-gradient(circle farthest-corner at 32% 106%, #ffe17d 0%, #ffcd69 10%, #fa9137 28%, #eb4141 42%, transparent 82%), linear-gradient(135deg, #234bd7 12%, #c33cbe 58%);
 color:#ffffff;}

li.snswrap ul li a .icon-wrap-facebook {
    color: #1877f2; 
	font-size: 1.25em;
    border-radius: 1em;
	margin-right: 0.75em;
	align-self: baseline;
}
li.snswrap ul li.icon-wrap-facebook a  {
    color: #1877f2; 
	font-size: 1.25em;
    border-radius: 1em;
	margin-right: 0.75em;
	align-self: baseline;
}

.ys-icon svg {
	vertical-align: bottom;}

.icon--facebook{background: #ffffff;
    border-radius: 1em;width: 1.3em!important;
    height: 1.3em!important;}

/*section*/
.first{background: #ffffff;
  padding: 10% 0 0 16px;}
.second{background-image: url('https://hirosaki-doyukai.mathgraphics.net/wp-content/uploads/2025/02/back.webp');
  background-size: cover;}
.third{background:#ffffff; padding: 40px 1.5em; }

.d-flexwrap{position:relative;}
.d-flex{display: flex;
    padding: 1.5em 1em 1em 1em;
    overflow: hidden;}

.d-txt{width: 100%;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.5;font-weight: 400;}
.d-image{    max-width: 85%;
    margin: 1em auto;}

.d-kanai {
    width: 70%;
    overflow: hidden;
    margin-right: -8%;
	display:none;
}

.d-flex2{display: flex;
    padding: 0 1.5em;
    margin-top: 24px;
    padding-bottom: 40px;
    flex-direction: column;}
.profimg{width:100%;text-align:center;}
.profimg img{max-width:240px;}
.proftxt{    width: 100%;
    text-align: justify;
    line-height: 1.6;}

.proftxt h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0.75em auto -0.5em;
}

.flowimg{padding: 0 1em;
    margin-bottom: 0.5em;
    margin-top: 1.5em;}
.flowimg:last-child{margin-bottom:0;}

.outlinewrap{padding: 0 1em;}

.outline{border-top:9px solid #7a171c;font-size:24px;}
.outline tr{border-bottom:2px solid #7a171c;}
.outline .spanwrap{margin: 0em auto 0;
    text-align: center;
    line-height: 1;}
.outline span{font-size:0.75rem;font-weight:400;vertical-align: middle;    display: inline-block;}

.outline span.syuryo{    font-size: 0.75em;
    font-weight: 600;
}
.outline span.att {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
	text-align:justify;
	    margin-top: 0.5rem;
}
.outline span.att2 {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
	text-align:justify;
}

.outline span.att3 {
   font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
	text-align:justify;
	    margin-top: 0.1rem;
	margin-bottom: 0.75em;
}

.outline span.att3 br{margin-bottom:0.25em;}

.outline span.redb{color: #7a171c;font-weight:600;}
.outline span.att.redb{color: #000000;font-weight:600;}
.outline span.redb2{color: #7a171c;font-size:1em;font-weight:600;}
.outline span.spacer {
display: block;
height: 4px;
}

.outline .furi{
    font-size: 1rem;
    font-weight: 600;
    display: block;
    line-height: 1.75;
	text-align:justify;
	margin-bottom:0.5em;
}

.outline .furiend{
    font-size: 1rem;
        font-weight: 600;
    display: block;
    line-height: 1.5;
	text-align:justify;
	margin-bottom:0.5em;
}

	.furiend .furititle{margin-bottom:0.5em;}

.outline span.furititle{border: 1px solid #000000;
    padding: 0.25em;
    width: 100%;
    text-align: center;
    line-height: normal;
    font-weight: 600;}

.outline thead th{width:100%;padding: 0.5em 0 0.25em;text-align:center;font-size: 1.2rem;}
.outline th{    color: #7a171c;
    background: none;text-align:left;font-weight:600;    width: 100%;
    display: block;
    text-align: center;padding: 0.5em 0.5em 0.25em;}
h2.red{    color: #7a171c;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;margin-bottom:0.5em;}

#a_nagomi{margin-top:0.5em;}

.outline td {
    font-weight: 600;
    width: 100%;
    display: block;
    text-align: center;
   padding: 0 1em 0.5em;
}
.outline td h4{    font-size: 1.25rem;}

/*.outline td.add a{color:#000000;}
.outline td.add a:hover{color: #7a171c;}*/



a.tomap {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 0.25em;
    display: block;
    text-align: center;
}


span.thin{font-weight:400;    font-size: 0.6em;}
span.nichijic{line-height:1.5;}
.lessonimg{margin:1em auto 1.5em;}

.about{margin-bottom:1em;text-align:justify;font-size:1.1rem;}
.about2{text-align:justify;font-size:1.1rem;margin-bottom:1.5em;}

.copyright {
    font-size: .5rem;
}

.btn,
a.btn,
button.btn {
 font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    position: fixed;
    padding: 0.5rem 0rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    color: #212529;
    border-radius: 0.5rem;
	z-index:300;
}

a.btn--orange {
 color: #fff;
    background-color: #7a171c;
    border-bottom: 5px solid #550005;
    bottom: 3vh;
    right: 4px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 160px;
    font-weight: 600;
}
a.btn--orange:hover {
  margin-top: 3px;
  color: #fff;
  background: #b07578;
  border-bottom: 2px solid #b38d8f;
}
a.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

#back-to-top {
  z-index:300;
}

#aplpi_bt{
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
	display:flex;
	z-index:10000;
	
	
}
#aplpi_bt a{
 position: relative;
    display: block;
    text-decoration: none;
    background-color: #7a171c;
    color: #ffffff;
    text-align: center;
    width: 100%;
    padding: 0.5em;
    font-weight: 600;
    font-size: 1.1rem;
}
#aplpi_bt a::before{
  margin: auto;
  text-align: center;
}


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


body.no-title {
background:#e7d7c3;

}
	
.has-fixed-header .site-header {
    padding:0;
}
	
.sidenavi{position: absolute;
    top: 15%;
    right: 0;
    margin: auto;
    width: 100%;
    min-width: 100px;
    left: 5%;
    color: #7a171c;
font-weight:600;
line-height: 2.5;
    display: block;}	

.site-branding .site-title {
    margin: 0;
    padding: 0;
    color: var(--header-text);
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: .05em;
	margin-left:0em;
}

.backbody {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sidenavi{position: absolute;
    top: 15%;
    right: 0;
    margin: auto;
    width: 100%;
    min-width: 100px;
    left: 5%;
    color: #7a171c;
font-weight:600;
line-height: 2.5;    font-size: 0.8rem;}
	
	.ponly{display:block;}
.monly{display:none;}
	

li.monly.menu-item-65,li.monly.menu-item-66{display:none;}	
	
	.header-type--row1 .site-branding {
    padding: 0.75em 0;
        margin-left: 5%;
}
	
	.global-nav__toggle .ys-icon, .global-nav__toggle svg {
    width: 32px;
    height: 32px;
}
	.global-nav__toggle {
    padding:1em;
		margin-right: 0.5rem;
    margin-top: -0.25rem;
}
	
	
.footer-adwrap{padding:0 60px;}	

.footer-main {font-size: 0.65rem;padding-top:8%;}	

	
    .c_container  {
         width: 100%;
    max-width: 960px;
    margin: auto;
    }
	
	.first{background: #ffffff;
    padding: 6% 60px;}
.third{background:#ffffff; padding: 8% 60px; }

	
.sidenavi li.sn1{line-height: 1.3;
    margin: 0.5em 0;}	
	
	
	.d-flexwrap{position:relative;}
.d-flex{display:flex;padding: 6% 0 5% 60px;    flex-direction: row;}

.d-txt{width:48%;text-align:justify;     line-height: 1.75;
    font-size: 0.75rem;}
.d-image{    margin: 1em 2em 1em 0em;max-width:90%;}

.d-kanai {
    width: 52%;
    position: absolute;
    top: -54px;
    right: 0;
	display:block;
	    margin-right: 0;
}

.d-flex2{display:flex;padding: 60px;margin-top:0px;    flex-direction: row;align-items: center;}
.profimg{width:35%;text-align:center;}
.profimg img{max-width:240px;}
.proftxt{    width: 60%;
	margin-left:5%;
    text-align: justify;
    line-height: 1.75;font-size: 0.75rem;}
.proftxt h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
	    text-align: left;
}
.outlinewrap{padding:0 60px;}

.outline{border-top:9px solid #7a171c;font-size:24px;}
.outline td h4{    font-size: 1rem;
    margin-bottom: 0.5em;}

.outline tr{border-bottom:2px solid #7a171c;}
.outline span{font-size: 0.6rem;
    font-weight: 400;
    vertical-align: middle;}
	
	.outline span.thin{font-size:0.75rem;}	
	
.outline span.syuryo{    font-size: 0.8em;
}	
	
.outline span.att {
    font-size: 0.6rem;
    font-weight: 400;
    display: block;
    line-height: 1.5;
	    margin-top: 0.2rem;
}
	
.outline span.att2 {
    font-size: 0.6rem;
    font-weight: 400;
    display: block;
    line-height: 1.5;
	    margin-top: 0.6rem;
}
	
.outline span.att3 {
    font-size: 0.6rem;
    font-weight: 400;
    display: block;
    line-height: 1.5;
	    margin-top: 0.6rem;
}		
	
.outline span.furi{
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    line-height: 1.75;
}
	
	.outline .nichijic {
    line-height: 1.25;
}

.outline thead th{width:100%;padding: 0.5em 0;text-align:center;}
.outline th{    color: #7a171c;
    background: none;text-align:left;font-weight:600;width:26%;display: table-cell;
       padding: 0.75em 1em;    line-height: 1.5;}

.outline span.furititle{text-align:left;}	
	
h2.red{    color: #7a171c;
    text-align: center;
    font-size: 1.25em;
    font-weight: 600;margin-bottom:0.5em;}
.outline td{font-weight:600;display: table-cell;text-align: justify;
       padding: 0.75em 1em;}

.outline .spanwrap {
    margin: -0.25em auto 0;
    text-align: center;
    line-height: 1;
}
	
.outline .furi {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 0.5em;
}
	
.outline .furiend {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 0.5em;
}
	
a.tomap{font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    margin-top: -0.25em;
    display: block;text-align:left;}	

.about,.about2{margin-bottom:3em;font-size:0.75rem;line-height:1.75;}

#back-to-top {
    bottom: 2vh;
    right: 24px;
}
	
a.btn--orange {
color: #fff;
    background-color: #7a171c;
    border-bottom: 5px solid #550005;
    bottom: 12vh;
    right: -94px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 240px;
    font-weight: 600;
    padding: 1em 0;
    line-height: 1.3;
}	
	
}

