@charset "utf-8";

@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexkai.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/cwtexhei.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/notosanssc.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);/*中文 */
@import url(https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);/*中文 */



/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', 'Arial', 'Verdana', '游ゴシック', 'YuGothic', 'ヒラギノ角ゴ'  'ProN W3', 'Noto Sans TC', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo',sans-serif,　'Noto Sans SC',sans-serif,  'Noto Sans TC',sans-serif,  'cwTeXHei',sans-serif,　'cwTeXYen',sans-serif, 'cwTeXMing',serif,　'cwTeXFangSong',serif, 'cwTeXKai',serif;
	
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#6caefe;text-decoration:none;}
a:hover{color:#488fdd;}
a:active, a:focus {outline:0;}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.lock-scroll {
  overflow: hidden;
}

.header {
  background-color: #aa0303;
  width: 100%;
  color: #fff;
}

.header-heading {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px 0;
}

.main-heading {
  font-size: 12px;
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo-image {
  height: 45px;
  width: auto;
}

.panel {
  display: flex;
  gap: 20px;
}

.panel li {
  list-style: none;
}

.panel li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
　font-family: 'Noto Sans TC', sans-serif; /* 繁体字用フォント */
}

.menu-icon {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  z-index: 1002;
}

.menu-icon span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: 0.3s ease;
  left: 0;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 20px; }

.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.menu-icon.active span:nth-child(2) {
  opacity: 0;
}
.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

#mainNav .panel {
  display: flex;
  gap: 30px;
  align-items: center;
}

#mainNav .panel li {
  position: relative;
}

#mainNav .panel li a {
  font-size: 18px;
  padding: 10px;
}

.submenu {
  display: none;
  position: absolute;
  background: #aa0303;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 10;
}

.panel > li:hover > .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #aa0303;
}

.submenu li a:hover {
  background-color: #fff;
  color: #aa0303 !important;
}

#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 950px) {
	
  .logo-image {
  height: 32px;
  width: auto;
}

  .menu-icon {
    display: flex;
  }

  #mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: #aa0303;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
  }

  #mainNav.open {
    right: 0;
    opacity: 1;
    pointer-events: auto;
  }

  #mainNav .panel {
    flex-direction: column;
    padding-top: 80px;
  }

  #mainNav .panel li a {
    padding: 20px;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .submenu {
    position: static;
    display: none;
    background: #aa0303;
  }

  .submenu li a {
    padding-left: 40px;
    color: #fff;
  }

  .has-submenu.open > .submenu {
    display: block;
  }
}
