@charset "utf-8";

/* header -----------------
header {
	width:1040px;
	float:none;
	position:absolute;
	margin:0px 0px 0px 0px;
	margin:0px;
	padding:0px;
	clear:both;
	height:auto;
	z-index:9999;
	height:70px;
	top:0;
	background-color:#fff;
}

/* logo --------
header h1 {
	clear:both;
	float:left;
	margin:20px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}
header h1 img {
	width:165px;
}

/* 右ボタン ----
header .btn_box {
	float:right;
	margin:0;
	padding:0;
	width:104px;
}
header .btn_box li {
	float:left;
	margin:0 0 0 2px;
	padding:0;
}
header .btn_box li a {
	display:block;
	width:50px;
	height:27px;
	text-align:center;
	color:#fff;
	text-decoration:none;
	padding-top:7px;
	font-weight:700;
}
header .btn_box li a:hover {
	filter:alpha(opacity=60); /* IE */
	/*-moz-opacity: 0.6; /* Firefox2以前 */
	/*opacity: 0.6; /* その他 */
/*}

header .btn_box li.cn a { background:#4f5050; }
header .btn_box li.en a { background:#060000; }
header .btn_box li.co a { background:#e50012;margin-top:2px; width:102px; }


----------------------------------------------------- */

/* dropdown menu -------------
header #navi {
	float:right;
	margin-top:10px;
	margin-right:20px;
}
/* base --------
#fade-in li ul{
  visibility: hidden;
  opacity: 0;
  transition: 0s;
}
#fade-in li:hover ul{
  visibility: visible;
  opacity: 1;
}
#fade-in li ul li a{
  visibility: hidden;
  opacity: 0;
  transition: .5s;
}
#fade-in li:hover ul li a{
  visibility: visible;
  opacity: 1;
}

/* setting ----------*/
.dropmenu{
  *zoom: 1;
  list-style-type: none;
  width: auto;
  margin: 5px auto 30px;
  padding: 0;
}
.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}
.dropmenu:after{
  clear: both;
}
.dropmenu li{
  position: relative;
  width:auto;
  float: left;
  margin: 0;
  padding: 0 0 0 1.5em;
  text-align: center;
}
.dropmenu li a{
  display: block;
  margin: 0;
  padding: 15px 0 11px;
  background: #fff;
  color: #4f5050;
  font-size: 14px;
  font-weight:700;
  line-height: 1;
  text-decoration: none;
}
.dropmenu li a:hover{
  color:#e50012;
}



.dropmenu li ul{
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  padding-top:15px;
}
.dropmenu li ul li{
  width: 250px;
}
.dropmenu li ul li a{
  padding: 13px 15px;
  border: 1px solid #c1c1c1;
  border-top: none;
  background: rgba(220,220,220,0.9);
  text-align: left;
}
.dropmenu li ul li:first-child  a{ border-top: 1px solid #ccc; }

.dropmenu li ul li:hover > a{
  background: #ccc;
}
.dropmenu li ul li a:hover{
  color: #000;
  background: #fff;
}

/*
@media only screen and (max-width: 640px) {
header { width:100%; background-color:transparent; }
}
*/

/* 2025.06.25 header追加*/

body header {
    font-family: "Noto Sans JP", serif;
    font-weight: 500;
    color: #231815;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    cursor: pointer;
    color: #231815;
}

a {
    text-decoration: none;
    color: #231815;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

body header p, header li, header dt, header dl {
    font-size: 100%;
    line-height: 1.77;
    letter-spacing: 0px;
    color: #231815;
    margin-bottom: 0;
}

.header {
    width: 100%;
    padding: 6px 4vw 18px;
    background: transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    border-top: 5px solid #f00000;
    z-index: 99;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
@media(max-width:768px) {
    .header {
        padding: 0 4vw;
        background-color: rgba(255, 255, 255, 0.562);
    }
}
.header.header--hide {
    border-color: transparent
}
.header.header--hide .header__logo {
    opacity: 0
}
.header.header--open {
    background-color: #fff
}
.header .header_inner {
    padding: 9px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    width: 98%;
}
@media(max-width:768px) {
    .header .header_inner {
    padding: 3px 0;
    margin: 0 auto;
    width: 98%;
}
}
.header__logo {
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 9px;
}
.header__logo a {
    display: block
}
.header__logo a img {
    max-width: 177px
}


#header .hamburger {
    background-color: transparent;
}

.header .hamburger {
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    min-width: 44px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-right: 0.5em;
    background-color: transparent;
}
@media(min-width:769px) {
    .header .hamburger {
        display: block;
        background-color: transparent;
    }
}
.header .hamburger .hamburger__line {
    position: relative;
    width: 28px;
    height: 1.5px;
    background: #231815;
    display: block
}
.header .hamburger .hamburger__line:after,
.header .hamburger .hamburger__line:before {
    content: "";
    display: block;
    position: absolute;
    width: inherit;
    height: inherit;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    background: #231815
}
.header .hamburger .hamburger__line:before {
    top: -8px
}
.header .hamburger .hamburger__line:after {
    bottom: -8px
}
.header .hamburger[aria-expanded=true] .hamburger__line {
    background: transparent
}
.header .hamburger[aria-expanded=true] .hamburger__line:before {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}
.header .hamburger[aria-expanded=true] .hamburger__line:after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}
.header .globalnav {
    width: 100vw;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    height: 100vh;
    padding: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10
}
@media(min-width:769px) {
    .header .globalnav {
        height: auto
    }
}
.header .globalnav__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid #dadada;
}
@media(min-width:769px) and(max-width:1120px) {
    .header .globalnav__inner {
        width: 90%
    }
}
.header .globalnav__inner > ul > li {
    display: block;
    border-bottom: 1px solid #dadada;
    font-size: 16px;
    font-weight: 500;
    padding: 9px 20px;
    letter-spacing: 1.5px
}
.header .globalnav__inner > ul > li:nth-child(9),.header .globalnav__inner > ul > li:nth-child(10) {
    display: block;
    border-bottom: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 20px 0;
    letter-spacing: 1.5px
}

.header .globalnav__inner > ul > li.accodion {
    display: block;
    border-bottom: 1px solid #dadada;
    font-size: 16px;
    font-weight: 500;
    padding: 9px 0 0;
    letter-spacing: 1.5px
}

.header .globalnav__inner > ul > li.accodion a {
    padding-left: 20px;
    padding-bottom: 8px;
}

.header .globalnav__inner > ul > .accordion-003 {
    margin-bottom: 6px;
}

.accordion-003 summary {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    margin: auto auto;
    padding: 0.1em 3em 0.6em 20px;
    color: #333333;
    font-weight: 500;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-54%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-top: 8px;
    margin-left: 15px;
    border-bottom: 2px solid #333333b3;
    border-right: 2px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}


.header .globalnav__inner > ul > .accordion-003 ul {
    transform: translateY(-10px);
    opacity: 0;
    margin-top: 0.5em;
    padding: 2em 0;
    color: #333333;
    transition: transform .5s, opacity .5s;
}


.accordion-003[open] ul {
    transition: all 0.3s ease; /* スムーズな開閉アニメーション */
    opacity: 1;
}

.header .globalnav__inner > ul li ul li a {
    display: block;
    border-bottom: 1px solid #dadada;
    font-size: 16px;
    font-weight: 500;
    padding: 8.5px 4px 8.5px 20px;
    background-color: #f5f5f5;
    letter-spacing: 1.5px
}
.header .globalnav__inner > ul > li.accodion ul li a  {
    padding-left: 40px;
    padding-bottom: 8px;
}
.header .globalnav__inner > ul li ul li:nth-child(1) a {
    display: block;
    border-top: 1px solid #dadada;
}
.header .globalnav__inner > ul li ul li:nth-child(6) a {
    display: block;
    border-bottom: none;
}
.header .globalnav__inner > ul > li.gray a {
    color: #5f5f5f;
    font-size: 13px
}
.header .globalnav__inner > ul > li:last-child {
    margin-bottom: 25px
}

/* Add these new styles */
.header .globalnav__inner > ul > li .lang-menu {
    display: inline-block;
    border-bottom: none;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 0;
    letter-spacing: 1.5px;
}

.header .globalnav__inner > ul > li .lang-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 200px;
    max-width: 200px;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    border: #333333 1px solid;
}

.header .globalnav__inner > ul > li .lang-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.header .globalnav__inner img[src$=".svg"] {
    width: 16px;
}


/* Ensure the last child margin is applied correctly */
.header .globalnav__inner > ul > li:last-child {
    margin-bottom: 25px;
}
