:root {
    --primary: #011a41;
    --secondary: #cf1212;
    --tertiary: #253384;
    --light: #DFE4FD;
    --dark: #222;
    --yellow: #fff70b;
}

body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
    font-size:clamp(1rem, 1.5vw, 1.1rem);
    font-feature-settings: "palt";
    line-height: 1.8;
}

img{max-width: 100%;}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5, .form p{
    font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-feature-settings: "palt";
    color: #011a41;}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 700 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 600 !important;
}
.fw-black {
    font-weight: 900 !important;
}
.t-navy{color: #011a41;}
.t-yellow{color: #fff70b;}
.t-red{color: #db1a00;}
.bg-navy{background-color: #011a41;}
.f-big{font-size: 120%;}
.m_yellow {background:linear-gradient(transparent 75%, #ff6 50%);}
.bg_yellow{background-color: #ff6;}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.container{
    max-width: 1160px;
}
/*** Button ***/
.btn {
     font-family: "Noto Sans JP", sans-serif;
    transition: .5s;
    font-weight: 600;
    font-size:clamp(1.3rem, 2.5vw, 1.8rem) ;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn-orange{
    background-color: #ff7417;
    color: #fff;
}
.btn-blue{
    background-color: #0781c3;
    color: #fff;
}
.btn-green{
    background-color: #03b15d;
    color: #fff;
}
/*** Navbar ***/
.fixed-top {
    transition: .5s;
}
h2.logo{
    font-size: clamp(18px, 1.5vw, 2rem);
}
.fixed-top h3{
    font-size: clamp(14px, 1.2vw, 1.5rem);
}
/*** Header ***/
/* wrap */

.hero {
  position: relative;
}
.logo img{max-width: 90px;}
/* video */

.video-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 84vh;
}
.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* overlay */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.4);
}

/* text */

.text-box {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.text-box h2 {
  font-family: Roboto;
  font-size: clamp(1.7rem,4.5vw,2.3rem);
  font-weight: bold;
  line-height: 1.4;
  padding: 0 1rem;

  text-align: left;
  color: #fff;
}

.circle-container {
  /* 円と文章の親要素。必要に応じてサイズや配置を指定 */
  width: 150px;
  height: 150px;
  position: absolute;
   bottom: 7%;
 right: 7%;
  /* 必要に応じてmargin、paddingなど */
}

.circle {
  /* 円 */
  width: 100%;
  height: 100%;
  border-radius: 50%; /* 円にする */
  background-color: rgba(39, 39, 39, .8); /* 円の色 */
  position: relative; /* 相対位置で円のサイズに影響 */
    margin-top: 1rem;
}

.circle-text {
  /* 円の中の文章 */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center; /* 文章を円の中心に配置 */
  /* 必要に応じてフォントサイズや色などを指定 */
  font-size: 14px;
  color: white;
  /* 必要に応じてmargin、paddingなど */
}
@media (min-width: 768px) {
.video-box {
  height: 88vh;
}
.logo img{max-width: inherit;
max-height: 46px;}
.text-box {
  position: absolute;
  top: 40%;
  left: 45%;
  width: 80%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.text-box h2 {padding: 0 4rem;
  line-height: 1.8;}
.circle-container {
  /* 円と文章の親要素。必要に応じてサイズや配置を指定 */
    width: 200px;
  height: 200px;
  position: absolute;
   bottom: 10%;
   right: inherit;
 left: 10%;
  /* 必要に応じてmargin、paddingなど */
}
  .circle-text {font-size: 16px;}
}

/***movie***/
.movie{position: relative;}
.movie::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 64%;
    top: 0;
    left: 0;
    background: #222;
    z-index: -1;
}

/*** form***/
.form {background: url(../img/form_bg01.png) center center no-repeat;
background-size: contain;}
.form02 {background:url(../img/form_bg02.jpg) center center no-repeat;
background-size: cover;}
.form .bg-white{
    border: 10px solid #011a41;
}
.ribbon{
    position: absolute;
    top:-12px;
    left: -63px;
    max-width:180px ;
}
.ribbon2{
    position: absolute;
    top:-25px;
    left: -40px;
     max-width:190px ;
}
.form.f2 h2{line-height: 1.65;
font-size: clamp(1.15rem, 3vw,2.6rem);}
.form.f3 h2{line-height: 1.6;
font-size: clamp(1.3rem, 3vw,2.6rem);}
.form.f4 h2{line-height: 1.6;
font-size: clamp(2rem, 5vw,3rem);}
.form h5{line-height: 1.6;
font-size: clamp(1.1rem, 2.5vw, 1.4rem);}
.form.f3 h5{line-height: 1.6;
font-size: clamp(1.05rem, 2.5vw, 1.4rem);}
.form p{font-size: clamp(.75rem, 1.2vw, 1rem)}
.f-box p.small {
    font-size: .69rem;
   margin-bottom: 5px;
}
.form-control {font-size: 1.1rem;
padding: 1rem;}
@media (min-width: 768px) {
    .ribbon{
    position: absolute;
    top:-10px;
    left: -50px;
    max-width: 100%;
}

    .ribbon2{
    position: absolute;
    top:15px;
    left: -50px;
    max-width: 100%;
}
}
/*** the3rd ***/
.the3rd {
    background-color: #253384;
    color: #FFF;
}

/***performance***/
.performance{position: relative;}
.performance::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 64%;
    top: 0;
    left: 0;
    background: #253384;
    z-index: -1;
}
.perform-box{z-index: 10;}
.kage{z-index: 1;
margin-top: -5.5vh;
max-width: 94%;}
.p-box{
    padding-bottom: 2rem;
    /*box-shadow: 0px 10px 10px -8px rgba(0,0,0,0.2);*/
}


/** Skill ******/
.skill {background: url(../img/skill_bg.jpg) center center no-repeat;
background-size: cover;}
.t-shadow-b {
  text-shadow: 1px 1px 1px rgba(0, 12, 55, 0.8), -1px -1px 1px rgba(0, 12, 55, 0.8), -1px 1px 1px rgba(0, 12, 55, 0.8), 1px -1px 1px rgba(0, 12, 55, 0.8);
}

/**40years ******/
.years {background: #ebecf6 url(../img/40_bg.jpg) center top no-repeat;
background-size: cover;}
.year-box{position: relative;}
.years-tbox{background: #ebecf6;position: relative;}

.years-text{
    max-width: 720px;
    padding: 1.8rem 1.2rem;
    text-align: left;
    position: relative;
    margin: 0 auto;
    font-weight: 500;
}
@media (min-width: 576px) {
.kage{
margin-top: -8vh;}

}
@media (min-width: 768px) {
    .kage{
margin-top: -11vh;
max-width: 860px;}
    .p-box{
    padding-bottom: 5rem;}
    .years-text{
    max-width: 990px;
     padding: 2rem 2rem;
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
top:-48vw;
}
.ratio-1_1:before {
    content: "";
    display: block;
    padding-top: 15vw; /* 1:1 */
}}
@media (min-width: 806px) {
    .years-text{
top:-48vw;
}
.ratio-1_1:before {
    content: "";
    display: block;
    padding-top: 10vw; /* 1:1 */
}}
@media (min-width: 960px) {
    .years-tbox{padding-bottom: 0;}
    .ratio-1_1:before {
    content: none;
}
    .years-text{
        padding: 2rem 2.7rem;
        top: inherit;
    bottom: 3rem;
}
}
@media (min-width: 1960px) {
    .year-box img{width:100%;}
}
@media (min-width: 2260px) {
    .years {
        background-size: 100% 100%;
    }
}
/***Lecture****/
.lec-box h4 span {margin-left: -.5rem;}
.border-l{
    border-bottom: 1px dotted #555;
}
.lec-box ul{
    padding-left: 1.5rem;
}
.lec-box li {
		padding-left:.65em;
		text-indent:-.65em;
        list-style: none;
	}

/*** form4***/
.f4-up{position: absolute;
top:-75px;
left:-35px;
max-width: 95px;}
@media (min-width: 576px) {
    .f4-up{max-width: 120px;}
}
@media (min-width: 768px) {
    .lec-box h4 span {margin-left: -1.5rem;}
    .lec-box ul{
    padding-left: 1rem;
}
.f4-up{position: absolute;
top:-25px;
left:-85px;
max-width: 100%;}
}
    /*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
    font-size: clamp(.8rem, .8rem, 1rem);
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: #36a4e0;
}