@charset "UTF-8";
/* ===================================
	File Name   : common.css
	Description : Base Layout CSS
	Editor      : Bisk Chiba
	Last Editor : Bisk Chiba
	
	Update Description :
	[2023/07/23] 新規作成

====================================== */

/*========== Style Contents ==========

	1. Global Redefinition
	2. Font Redefinition
	3. Base Box Setting
	4. Common Items Setting
		- Basic Link
  5. Each Section Style
    -	Hero
    -	Intro
    -	Merit
    -	Exhibition

====================================== */



/*===== ■1. Global Redefinition =====*/
html {
  position: relative;
}

body {
  margin: 0px auto;
	color: #333333;
	line-height: 1.5;
}

li,strong,em,span { line-height: 1.2;}

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

sup {
  font-size: 1.0rem;
  vertical-align: text-top;
}


/*===== ■2. Font Redefinition =====*/
html { font-size: 62.5%;}

body {
  font-size: 1.6em;
	font-family: 'Roboto', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, sans-serif;
}

@media (max-width: 768px) {
	html { font-size: calc(100vw / 76.8 * 2.048);}
	body { font-size: 1.4em;}
}
@media (max-width: 640px) { html { font-size: calc(100vw / 64 * 1.7067);}}
@media (max-width: 480px) { html { font-size: calc(100vw / 48 * 1.28);}}
@media (max-width: 375px) { html { font-size: calc(100vw / 37.5 *1);}}
@media (max-width: 360px) { html { font-size: calc(100vw / 36);}}
@media (max-width: 320px) { html { font-size: calc(100vw / 32);}}





/*===== ■3. Base Box Setting =====*/
footer {
  background: #222;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

footer  div{
  margin-bottom: 2rem;
}

footer  div > a{
  display: block;
  width: 30%;
  margin: 2rem auto 0;
}

footer div a{
  color: #fff;
}

footer div a:hover{
  color: #fff;
  opacity: 0.7
}
main {
  display: block;
  position: relative;
}
article{
  position: relative;
  padding: 0;
}
section {
  display: block;

}
article > section{ 
  padding: 10rem 2rem;
}

article > section .inner{
  max-width: 102.8rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  footer {
    display: block;
    padding: 1.5rem 1rem;
  }
  
  footer  div > a{
    width: 80%;
  }
  
  main {
    display: block;
  }
  article{
    position: relative;
    padding: 0;
  }
  article > section { 
    padding: 4rem 2rem 3rem;
  }
  
}




/*===== ■5. Common Items Setting =====*/

h2{
  position: relative;
  font-weight: 900;
  text-align: center;
  font-size: 4rem;
  margin: 4rem 4rem 6rem;
}

h2::after{
  position: absolute;
  content: "";
  background: #eee;
  height: 30rem;
  width: 30rem;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%);
  z-index: -2;
  border-radius: 50%
}

h2 b{
  position: relative;
  display: inline-block;
  font-size: 2rem;
  color: #666;
}

h2 b::before,
h2 b::after{
  position: absolute;
  content: "";
  width: 5rem;
  height: 0.1rem;
  background: #999;
  top: 50%;
}

h2 b::before{
 left: 110%;
}

h2 b::after{
 right: 110%;
}
@media (max-width: 768px) {
  h2{
    font-size: 3rem;
    margin: 4rem auto 4rem;
  }
  
  h2::after{
    width: 20rem;
    height: 20rem;
  }
}


a {
  position: relative;
  color: #943B38;
  line-height: 1.2;
  text-decoration: none;
}

a:hover {
  color: #F49F4F;
  text-decoration: underline;
}

a.soon {
  opacity: 0.5;
  pointer-events: none;
}

a img { transition: all .15s;}
a:hover img {
  opacity: .6;
  transition: all .15s;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?elux7q');
  src:  url('fonts/icomoon.eot?elux7q#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?elux7q') format('truetype'),
    url('fonts/icomoon.woff?elux7q') format('woff'),
    url('fonts/icomoon.svg?elux7q#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="ico_"], [class*=" ico_"] {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ico_blank:before {
  content: " \e900";
  color: currentColor;
  font-size: 1.2rem;
}


.pc[class] { display: block;}
.sp[class] { display: none;}
@media (max-width: 768px) {
  a,a:hover {
    color: #0472a2;
    transition: none;
  }
  a img { transition: none;}
  a:hover img {
    opacity: 1;
    transition: none;
  }
  .pc[class] { display: none;}
	.sp[class] { display: block;}
  
}



/*===== 11. Each Section Style =====*/

/* header */
header h1{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 102.8rem;
  padding: 0;
  margin: 1rem auto 0;
  align-items: center;
}

header h1 a{
  display: block;
  width: calc(21% - 1rem);
	padding: 0 2rem 0.5rem;
}
header h1 a:last-child{
  width: calc(16% - 1rem);
}
header > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem auto;
}
header > div dl{
  margin: 0 1rem;
}
header > div dl > *{
  display: inline-block;
  font-weight: bold;
}
header > div dl > dt{
  color: #fff;
  background: #001A44;
  font-size: 1.4rem;
  padding: 0.2rem 1rem;
  border-radius: 0.2rem;
  margin-right: 0.5rem;
}
header > div dl > dd{
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  header h1{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 1rem;
  }
  header h1 a,
  header h1 a:nth-child(4),
  header h1 a:last-child{
    width: 100%;
    padding: .5rem;
  }
  header h1 a:last-child figure{
    width: 70%;
  }
  header h1 a:nth-child(3){
    grid-column-start: 1;
  }
  header > div{
    margin: 0rem;
    justify-content: flex-start;
  }
  header > div dl{
    margin-bottom: 1rem;
  }
  header > div dl > dt{
    font-size: 1.2rem;
  }
  header > div dl > dd{
    font-size: 1.6rem;
  }
}

/* gnavi */
#gnavi{
  z-index: 30;
  position: sticky;
  top: 0;
}
.gnavi-toggle {
  display: none;
}
.gnavi-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}
#gnavi ul{
  border-bottom: 5px solid #001A44;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background: #012257;
  padding: 0 3rem;
  flex-wrap: wrap;
}

#gnavi ul li{
  width: 14.28%;
  width: calc( calc( 100% - 18rem ) / 7);
  text-align: center;
}

#gnavi ul li a{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  padding: 2rem 0.5rem;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  line-height: 1.4;
}

#gnavi ul li a:hover{
  text-decoration: none;
  color: #748fbb;
}

@media (max-width: 768px) {

  #gnavi{
    position: fixed;
    right: 0;
    background: #012257;
  }
  .gnavi-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 22;
    position: relative;
  }
  .gnavi-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .gnavi-menu {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: calc(100svh - 44px);

    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 20;
  }
  .gnavi-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  #gnavi.is-open .gnavi-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  #gnavi.is-open .gnavi-toggle__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #gnavi.is-open .gnavi-toggle__line:nth-child(2) {
    opacity: 0;
  }
  #gnavi.is-open .gnavi-toggle__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  #gnavi ul {
    padding: 0;
    display: block;
    width: 100%;
  }
  #gnavi ul li {
    width: 100%;
    line-height: 1.6;
  }

  #gnavi ul li a{
    font-size: 1.2rem;
    padding: 2rem 0rem;
  }
  #gnavi ul li a br{
    display: none;
  }
}



h1.pagetitle {
  position: relative;
  font-weight: 900;
  text-align: center;
  font-size: 4.6rem;
  margin-bottom: 6rem;
  padding: 10rem 0;
  background: url(../img/interview/bg-visual.svg) repeat left top / 0.2rem 0.2rem, url(../img/interview/img-title_bg.jpg) no-repeat center / cover;
  color: #fff;
  letter-spacing: 0.2rem;
}

h1.pagetitle::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 20, 68, .4);
  z-index: 2;
}
h1.pagetitle > span {
  position: relative;
  z-index: 3;
}
h1.pagetitle > span span {
  display: block;
  margin-top: 0.5rem;
  font-size: 2.2rem;
}

@media (max-width: 768px) {
  h1.pagetitle {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
  h1.pagetitle > span {
    position: relative;
    z-index: 3;
  }
  h1.pagetitle > span span {
    display: block;
    font-size: 1.8rem;
  }
}


