/*
Theme Name: mignon
Author: fmignon
Description: Tokyo Theater Opera exclusive
*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code&display=swap');
@charset "UTF-8";

@font-face {
  font-family: "navigate";
  src: url("https://quantum-sound.com/wp-content/themes/figaro/fonts/GentiumBookBasic.eot?")  format('eot'),
       url("https://quantum-sound.com/wp-content/themes/figaro/fonts/GentiumBookBasic.woff2") format('woff2'),
       url("https://quantum-sound.com/wp-content/themes/figaro/fonts/GentiumBookBasic.woff")  format('woff');
}

@font-face {
  font-family: hgrpp2;
  src: url("https://quantum-sound.com/wp-content/themes/figaro/fonts/hgrpp2.eot?")  format('eot'),
       url("https://quantum-sound.com/wp-content/themes/figaro/fonts/hgrpp2.woff2") format('woff2'),
       url("https://quantum-sound.com/wp-content/themes/figaro/fonts/hgrpp2.woff")  format('woff');
}


body, html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	line-height:1.7em;
	font-family: 'M PLUS 1p', sans-serif;
	font-size:14px;
	min-height: 100vh; /* これを追加 */
	position: relative; /* これを追加 */
	display:flex;
	flex-direction: column;
	background-size: cover;
	background-position: center;
	background-attachment: fixed; 
}

.clearfix:after {
  content: ".";  
  display: block; 
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

*, *:before, *:after {
            box-sizing: border-box;
}

#pagetop {
	width: 60px;
    position: fixed;
    bottom: 2%;
    right: 4%;
    padding: 10px;
    -ms-filter: "alpha(opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

.paw {
	display:flex;
	letter-spacing:5px;
	text-align:center;
	flex-wrap:nowrap;
	width:98%;
	margin:10px auto;
	justify-content:space-between;
	color:#4A3811;
}

@media screen and (max-width: 580px) {
	.paw li:nth-last-child(-n+5) {display:none}
}
@media screen and (max-width: 500px) {
	.paw li:nth-last-child(-n+10) {display:none}
}
@media screen and (max-width: 380px) {
	.paw li:nth-last-child(-n+15) {display:none}
}



#pagetop img{ width: 100%;}

@media screen and (min-width: 769px) { mobile { display:none;}}
@media screen and (max-width: 768px) { pc { display:none;}}
	
#wrapper {
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
		background-image: linear-gradient(#FF894A, #fff); 
}

#logo {
  padding: 20px 20px 5px 15px;
	z-index:5;
}

#logo a {
	text-decoration:none;
	color:#fff;
	padding:0px 0 0 5px;
}

#logo a img{
	max-width:200px;
	min-width:80px;
	width:100%;
}

@media screen and (max-width: 768px) {
	#logo {
		width:30%;
	}
}


#branch header {
	width: 100%;
	z-index:6;
	display:flex;
	align-items:center;
	justify-content:space-between;
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 0;
}

body#toppage::before{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 半透明の黒 */
  z-index: 0;
}


#container {
	padding-top:30px;
	position: relative; /* これを追加 */
  z-index: 2;
	flex: 1;
}

#content {
  position: relative; /* これを追加 */
  z-index: 3; /* これを追加 */
	max-width:1000px;
	margin:auto;
}

nav {z-index:15;}

.adjust {
	max-width:1000px;
	margin:auto;
}

.t-con {
	z-index:4;
}

.about img {
	float:right;
}

#mainVisual {
  text-align: center;
  padding: 25px 0 0 0;
	color:#fff;
}

header h1 a{
	font-size:24px;
	padding-bottom:2px;
	margin:25px auto;
	width:98%;
	text-decoration:none;
	margin-top:1em;
	width:300px;
	white-space:nowrap;
	color:#555;
}

#branch h1 {
	font-size:24px;
	margin-bottom:24px;
}

section h1 a{
	font-size:24px;
	margin-bottom:24px;
	text-decoration:none;
	color:#555;
	border-bottom:solid 1px #555;
	display:block;
}

section h1 a::before {
    content: "";
    display: inline-block;
    width: 30px; /* アイコンの幅 */
    height: 30px; /* アイコンの高さ */
    background-image: url(https://quantum-sound.com/wp-content/uploads/2023/06/icon1.png); /* 画像のパス */
    background-size: cover; /* 画像を要素に合わせて調整 */
    margin-right: 10px; /* アイコンとテキストの間隔を調整 */
    /* その他のスタイルを追加 */
  }

.nyanko {
	font-size:32px;
	text-align:right;
	margin-left:5px;
}

.mini { font-size:26px;}

h2, h2 a {
	font-size:24px;
	border-bottom:solid 1px #888;
	text-decoration:none;
	color:#555;
}

h2::before {
    content: "";
    display: inline-block;
    width: 30px; /* アイコンの幅 */
    height: 30px; /* アイコンの高さ */
    background-image: url(https://quantum-sound.com/wp-content/uploads/2023/06/icon1.png); /* 画像のパス */
    background-size: cover; /* 画像を要素に合わせて調整 */
    margin-right: 10px; /* アイコンとテキストの間隔を調整 */
    /* その他のスタイルを追加 */
  }

.sidebar h2 {
	font-size:18px;
	border-bottom:solid 1px #222;
	text-decoration:none;
	color:#222;
	margin:25px 0 15px 0;
}

.sidebar h2::before {
    content: "";
    display: inline-block;
    width: 40px; /* アイコンの幅 */
    height: 25px; /* アイコンの高さ */
    background-image: url(https://quantum-sound.com/wp-content/uploads/2023/06/icon3.png); /* 画像のパス */
    background-size: cover; /* 画像を要素に合わせて調整 */
    margin-right: 10px; /* アイコンとテキストの間隔を調整 */
  }

@media screen and (max-width: 768px) {
	header h1{
		padding-right:50px;
	}
}

@media screen and (min-width: 520px) {
	.nyanko {
	display:inline;		
	}
}

@media screen and (max-width: 380px) {
	header h1 a{ font-size:6vw;}
	.nyanko { font-size:8vw;}
	.mini { font-size:6.5;}
}

@media screen and (max-width: 768px) {
.vision {
	font-size:18px;
	text-align:center;
	line-height:1.8em;
}
	
	.vision-later {
		display:block;
	}
}

.blog-wrap {
	display:flex;
	justify-content:space-between;
}

.blog-main {
	width: calc(100% - 270px);
}

.sidebar {
	width:250px;
}



#footer {
	text-align:center;
	padding:10px 0 10px 0;
	color:#000;
	position: relative;
	z-index: 4; /* これを追加 */
}
