@charset "UTF-8";
/* ===================================
	File Name   : common.css
	Description : Base Layout CSS
	Editor      : Bface Saeki
	Last Editor : Bface Saeki
	
	Update Description :
	[2021/10/11] LP用調整
====================================== */

/*========== Style Contents ==========

	1. Global Redefinition
	2. Font Redefinition
	3. Base Box Setting
	4. Common Items Setting
		- Basic Link
	 	- Header Items
	 	- Footer Items

====================================== */



/*===== 1. Global Redefinition =====*/
body {
  background: linear-gradient(90deg, #ebebeb 0px, #fff 1px) left top / 12.5%;
	color: #333333;
	line-height: 1.4;
  margin: 0px auto;
}

dt,li,strong,em,span { line-height: 1.2;}

img { max-width: 100%;}

sup {
  font-size: 1.0rem;
  vertical-align: text-top;
}

figure img { display: block;}

time { font-family: 'Merriweather Sans', 'Noto Sans JP', sans-serif;}

hr {
  margin: 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: none;
}


@media (max-width: 768px) {
  figure svg {
    display: block;
    width: 100%;
    height: auto
  }
}



/*===== 2. Font Redefinition =====*/
html { font-size: 62.5%;}

body {
	font-size: 1.6em;
	font-family: sans-serif;
}

@media (max-width: 768px) {
	html { font-size: calc(100vw / 76.8 * 2.048);}
}
@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);}}

@media (min-width: 1536px){ html { font-size: calc(100vw / 153.6);}}


@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;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts2/icomoon.eot?elux7q');
  src:  url('fonts2/icomoon.eot?elux7q#iefix') format('embedded-opentype'),
    url('fonts2/icomoon.ttf?elux7q') format('truetype'),
    url('fonts2/icomoon.woff?elux7q') format('woff'),
    url('fonts2/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;
}
.ico_pdf:before {
  content: " \e903";
  color: currentColor;
  font-size: 1.4rem;
}
.ico_twitter:before {
  content: "\e904";
  color: #fff;
}
.ico_exhibition:before {
  content: "\e901";
  color: #fff;
}

.ico_online:before {
  content: "\e956";
  color: #fff;
}

.ico_lang:before {
  content: "\e902";
  color: #fff;
}

a:hover .ico_blank:before,
a:hover .ico_pdf:before { color: #ff528b;}


@media (max-width: 768px) {
  a:hover .ico_blank:before,
  a:hover .ico_pdf:before { color: currentColor;}
}



/*===== 3. Base Box Setting =====*/
main {
  display: block;
  margin: 40px 0 60px;
}

section,
aside { padding: 0 10px;}

article section:not(:last-child) { margin-bottom: 50px;}


@media (max-width: 768px) {
  main { margin: 5.34vw 2.67vw 8vw;}
  
  section,
  aside { padding: 0;}
  
  article section:not(:last-child) { margin-bottom: 8vw;}
}

@media (min-width: 1536px){ 
  main { margin: 4rem 5rem 8rem;}
}



/*===== 4. Common Items Setting =====*/
/* Basic Link */
a {
  display: inline-block;
	color: hsl(340,79%,55%);
	outline: hidden;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
	text-decoration: none;
}

a:hover { color: hsl(340,89%,65%);}

a.soon {
  opacity: .6;
  pointer-events: none;
}

a img { transition: .25s;}
a:hover img { opacity: .6;}


@media (max-width: 768px) {
  a:not(.textlink):not(.buttonlink):not(.boxlink) { padding: 1.34vw 0;}
  a:hover { color: hsl(340,79%,55%);}
  
  a img { transition: none;}
  a:hover img { opacity: 1;}

  footer a:not([target]):not([href$=".pdf"]):not(.boxlink)::after {
    width: 1.34vw;
    height: 1.34vw;
    margin: -.67vw 0 0 .67vw;
  }
}


/* Header Items */
header {
  font-family: 'Merriweather Sans', 'Noto Sans JP', sans-serif;
}

header > div:first-child > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

header > div:first-child dl {
  display: flex;
  align-items: center;
  line-height: 1.2;
}
header > div:first-child dl:not(:last-child) { margin-right: 30px;}

header > div:first-child dt {
  position: relative;
  margin-right: 10px;
  padding:  5px;
  background: #333;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

header > div:first-child dd span { font-size: 2.4rem;}

header > div:first-child dd span + span::before {
  display: inline-block;
  width: 6px;
  height: 10px;
  margin: 0 5px;
  background: linear-gradient(to bottom left, transparent 50%, currentColor 50.01%) no-repeat top left / 100% 50%, linear-gradient(to top left, transparent 50%, currentColor 50.01%) no-repeat bottom right / 100% 50%;
  transform: translateY(-25%);
  content: "";
} 

header > div:first-child dd p { font-size: 2.0rem;}


@media (max-width: 1024px) {
  header > div:first-child dt {
    margin-right: 1.34vw;
    padding: 1.34vw;
    font-size: 2vw;
  }

  header > div:first-child dd span { font-size: 2.67vw;}

  header > div:first-child dd span + span::before {
    width: 1vw;
    height: 2vw;
    margin: 0 1.34vw;
    transform: none;
  }

  header > div:first-child dd p { font-size: 2.67vw;}
}


@media (max-width: 768px) {
  header > div:first-child > div { justify-content: inherit;}
  
  header > div:first-child dl:first-of-type { margin-bottom: 1.34vw;}
  
  header > div:first-child dt { font-size: 1.4rem;}

  header > div:first-child dd { font-size: 1.4rem;}

  header > div:first-child dd span { font-size: 1.8rem;}
  
  header > div:first-child dd span + span::before {
    width: 1.34vw;
    height: 2.67vw;
    transform: translateY(-25%);
  }

  header > div:first-child dd p { font-size: 1.8rem;}
}


/* Footer Items */
footer {
  padding-bottom: calc(25px - 1.4rem);
  background: #333;
  color: #ccc;
  font-size: 1.4rem;
}

footer a { color: #ccc;}

footer a:not([target]):not([href$=".pdf"]):not(.boxlink)::after {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: -3px 0 0 3px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
  content: "";
}

footer #nav_jma {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #444;
}

footer #nav_jma > * { margin: 0 15px;}

footer #footer_inquiry {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  font-family: 'Noto Sans JP', sans-serif;
}
footer #footer_inquiry > div:nth-child(1) { flex: 5; padding-bottom: 3rem;}
footer #footer_inquiry > div:nth-child(2) { flex: 2; width: 380px;}

footer #footer_inquiry dl {
  margin-bottom: 15px;
  font-weight: bold;
}

footer #footer_inquiry dt {
  margin-bottom: 10px;
  font-size: 2.0rem;
}

footer #footer_inquiry dd { font-size: 1.6rem;}

footer #footer_inquiry dl + ul { display: flex;}

footer #footer_inquiry dl + ul li {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-size: 1.4rem;
  white-space: nowrap;
}

footer #footer_inquiry dl + ul li p {
  width: 5rem;
  padding: .5rem;
  background: #666;
  text-align: center;
}

footer #footer_inquiry dl + ul li span { margin-left: 10px;}

footer #footer_inquiry > div:nth-child(2) > a {
  display: block;
  margin-bottom: 15px;
}

footer #footer_inquiry > div:nth-child(2) ul { margin-right: -10px;}

footer #footer_inquiry > div:nth-child(2) li:not(:last-child) { margin-bottom: 5px;}

footer #footer_inquiry > div:nth-child(2) ul a {
  display: block;
  padding: 10px;
  background: #666;
}
footer #footer_inquiry > div:nth-child(2) ul a:hover {
  background: #999;
  color: #fff;
}
footer #footer_inquiry > div:nth-child(2) ul a:hover i.ico_blank::before { color: currentColor;}

footer #footer_inquiry + p {
  display: inline-block;
  margin: 0 10px;
  font-family: Arial, Helvetica, "sans-serif";
  transform: translateY(-100%);
}


@media (max-width: 768px) {
  footer { padding-bottom: 5.34vw;}
  
  footer a:not([target]):not([href$=".pdf"]):not(.boxlink)::after {
    width: 1.34vw;
    height: 1.34vw;
    margin: -.67vw 0 0 .67vw;
  }

  footer #nav_jma {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 5.34vw;
    padding: 0;
  }

  footer #nav_jma > * {
    width: 50%;
    margin: 0;
  }
  footer #nav_jma > *:not(:last-child) { border-bottom: 1px solid #444;}
  footer #nav_jma > *:nth-child(odd) { border-right: 1px solid #444;}
  
  footer #nav_jma a {
    display: block;
    padding: 4vw 2.67vw;
  }

  footer #footer_inquiry {
    display: block;
    padding: 0 2.67vw;
  }
  footer #footer_inquiry > div:nth-child(1) { flex: none; padding: 0;}
  footer #footer_inquiry > div:nth-child(2) {
    flex: none;
    width: auto;
    text-align: center;
  }

  footer #footer_inquiry dl { margin-bottom: 4vw;}

  footer #footer_inquiry dt {
    margin-bottom: 2.67vw;
    font-size: 1.8rem;
  }
  
  footer #footer_inquiry dd { font-size: 1.4rem;}

  footer #footer_inquiry dl + ul {
    display: block;
    margin-bottom: 5.34vw;
    padding-bottom: 5.34vw;
    border-bottom: 1px dotted #444;
  }

  footer #footer_inquiry dl + ul li { margin-right: 0;}
  footer #footer_inquiry dl + ul li:not(:last-child) { margin-bottom: 1.34vw;}

  footer #footer_inquiry dl + ul li span { margin-left: 2.67vw;}

  footer #footer_inquiry > div:nth-child(2) > a {
    display: inline-block;
    width: 70%;
    margin-bottom: 2.67vw;
  }

  footer #footer_inquiry > div:nth-child(2) ul {
    margin: 0 0 5.34vw;
    text-align: left;
  }

  footer #footer_inquiry > div:nth-child(2) li:not(:last-child) { margin-bottom: 1.34vw;}

  footer #footer_inquiry > div:nth-child(2) ul a { padding: 2.67vw;}
  footer #footer_inquiry > div:nth-child(2) ul a:hover {
    background: #666;
    color: inherit;
  }

  footer #footer_inquiry + p {
    display: block;
    margin: 0;
    font-size: 1.3rem;
    text-align: center;
    transform: none;
  }
}