@charset "utf-8";

@media (max-width: 1024px) {


.global-nav {
    display: none;
}

#hamburger_box {
	width:60px;
	min-width:60px;
	box-sizing:border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px 12px 8px;
    background-color: #DA7800;
    cursor: pointer;
    border-radius: 4px;
    z-index: 1001;
}
#hamburger_box:focus:not(:focus-visible) {
  outline: none;
}

/* ハンバーガー本体 */
#hamburger {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 32px;
}

/* 線 */
#hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ラベル */
.hamburger-label {
	margin-top: 4px;
	font-weight: 700;
  font-size: 10px;
  color: #fff;
  line-height: 1;
	letter-spacing:0;
}

/* 開閉アニメーション（2本用） */
#hamburger_box.active #hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#hamburger_box.active #hamburger span:nth-child(2) {
  transform: rotate(-45deg) translate(3px, -3px);
}



/* SPメニュー全体 */
#sp_menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fffcf2;
    z-index: 999;
    padding-top: 120px;
    padding-bottom: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 32px;
    padding-right: 32px;
    overflow-y: scroll;  /* 常に縦スクロールバーを表示 */
    background-image: url(../images/logo_mark_wht.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50% auto;
}

/* メニューが開いた時 */
#sp_menu.active {
  opacity: 1;
  visibility: visible;
}

.sp_menu_logo {
  width: 264px;
  margin-bottom: 30px;
}

/* メニューリスト */
.sp_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* メニューアイテム */
.sp_item {
    border-bottom: 1px solid #9CB89C;


}

.sp_item_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* [disabled]border-bottom: 0.04em solid #9CB89C; */
    padding-right: 12px;
}

/* 親リンク */
.sp_item_link {
    /* [disabled]flex: 1; */
    padding-top: 24px;
    padding-right: 16px;
    padding-left: 8px;
    padding-bottom: 24px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* メニューアイテム */
.sp_item > a {
    display: flex;
    justify-content: space-between; /* アイテムとアイコンの間にスペースを確保 */
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    padding-top: 24px;
    padding-bottom: 24px;
    transition: background-color 0.3s ease;
    width: 100%;  /* 親要素いっぱいに広がらないように */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* [disabled]border-bottom: 0.04em solid #9CB89C; */
    padding-left: 8px;
    padding-right: 12px;
    background-image: url(../images/arrow_double_green.svg);
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 20px auto;
}
.sp_item a img {
    width: 14px;
    margin-left: 12px;
}


.sp_item > a:hover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.accordion-toggle {
    margin-left: 24px;
    position: relative;
    width: 24px;
    height: 24px;
    padding: 20px; /* タップ領域用 */
    background-color: #13E708;
    border: none;
    cursor: pointer;
}

/* 共通 */
.accordion-toggle::before,
.accordion-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

/* 縦線 */
.accordion-toggle::before {
  width: 2px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* 横線 */
.accordion-toggle::after {
  width: 18px;
  height: 2px;
}

/* 開いたら「−」 */
.accordion-toggle.open::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 子メニュー */
.sp_submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sp_submenu.open {
    max-height: 2000px;
}
.sp_submenu .sp_submenu_group {
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
    border-bottom-style: none;
    background-color: #906fa1;
    padding-left: 8px;
    color: #FFFFFF;
}

.sp_submenu .sp_submenu_group.sp_submenu_group_color2 {
    background-color: #53a4aa;
}
.sp_submenu .sp_submenu_group.sp_submenu_group_color3 {
    background-color: #906fa1;
}

.sp_submenu li {
    padding: 0;
    border-bottom: 2px dotted #9CB89C;
    margin-left: 8px;
}
.sp_submenu li:last-child {
    border-bottom: none;
}
.sp_submenu .border_none {
    border-bottom-style: none;
}

.sp_submenu li a {
    text-decoration: none;
    color: #534C53;
    padding-top: 16px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 16px;
    transition: background-color 0.3s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    font-weight: 600;
    background-image: url(../images/arrow_l_green.svg);
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 16px auto;
}
.sp_submenu li .padi_none {
    padding-top: 0px;
}



/* ===== スマホメニュー内アクセシビリティ ===== */

.sp_accessibility {
	display:none;
    margin-top: 32px;
    padding-top: 24px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 24px;
    justify-content: flex-start;
    gap: 24px;              /* 各パーツ間を広めに */
    background-color: #f9f9f7;
    border-radius: 8px;
}
/* 検索は横並び */
.sp_accessibility .utility--search {
    justify-content: space-between;
    border-radius: 6px;
}

.sp_accessibility #site-search {
  height: 40px;           /* ← 32px → 40px */
  font-size: 15px;
  padding: 0 12px;
}

/* 背景色・文字サイズ・言語は横一列 */
.sp_accessibility .utility--theme,
.sp_accessibility .utility--font-size,
.sp_accessibility .utility--lang {
    align-items: center;
}

/* ラベル少し小さめ */
.sp_accessibility .utility__label {
  font-size: 0.9rem;   /* 0.8 → 0.9 */
  font-weight: 600;
  margin-bottom: 6px;
}
.sp_accessibility .utility--search button {
  width: 40px;
  height: 40px;
}

.sp_accessibility .utility--search button img {
  width: 18px;
  height: 18px;
}

.sp_accessibility .theme-color {
  width: 18px;     /* 13px → 18px */
  height: 18px;
  border-width: 1.5px;
}

.sp_accessibility .theme-color-button-box {
  gap: 8px;
}

.sp_accessibility .font-size-buttons button {
  width: 28px;     /* 20px → 28px */
  height: 28px;
  font-size: 0.85rem;
  border-radius: 4px;
}


.sp_accessibility .lang-select-wrap select {
    font-size: 0.95rem;
    padding: 10px 40px 10px 12px;
}


/* 右の▼エリアも少し広げる */
.sp_accessibility .lang-select-wrap::after {
  width: 34px;
}

/* ▼ 白い下矢印 */
.sp_accessibility .lang-select-wrap::before {
	right: 12px;
  top: 45%;
}

.utility--sns {
  display: flex;
	justify-content: center;
  margin-right: 8px;
}

.sp_accessibility .sns_icon {
  width: 36px;
  margin-left: 4px;
  margin-right: 4px;
}

}




/* 800pxここから */

@media (max-width: 820px) {
	.sp_accessibility {
	display:inherit;
}
.sp_accessibility .utility--search,
.sp_accessibility .utility--theme,
.sp_accessibility .utility--font-size,
.sp_accessibility .utility--lang {
    display:none;
}
	.sp_accessibility .utility--sns {
		display:flex;
	}
}




/* スマホ700pxここから */


@media (max-width: 700px) {
.global-nav {
    display: none;
}

#hamburger_box {
	width:56px;
	min-width:56px;
    padding: 14px 6px 10px 6px;
}

#sp_menu {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 96px;
}
.sp_item > a {
	background-position:right 10px center;
	padding-left: 0px;
}
.sp_item_inner {
    padding-right: 0px;
}
.sp_item_link {
    padding-right: 0px;
    padding-left: 0px;
}


.sp_submenu li a {
    background-repeat: no-repeat;
    background-position: right 8px center;
}




/* ===== スマホメニュー内アクセシビリティここから ===== */

.sp_accessibility {
    margin-top: 32px;
    padding-top: 24px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 24px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sp_accessibility #site-search {
  width: 100%;
}

.sp_accessibility .utility--search button {
  width: 48px;
  height: 40px;
}
/* 検索は横並び */
.sp_accessibility .utility--search {
	display: flex;
    width: 100%;
	margin-right: 0px;
}

.sp_accessibility .utility--theme {
    display: flex;
}
.sp_accessibility  .utility--font-size {
    display: flex;
}
.sp_accessibility .utility--lang {
	width: 100%;
	margin-right: 0px;
	display: flex;
}

.sp_accessibility .utility--lang .gtranslate_wrapper {
    width: 100%;
}

.sp_accessibility .utility--lang select.gt_selector {
    width: 100%;
}
.utility--sns {
  display: flex;
	justify-content: center;
  margin-right: auto;
	margin-left: auto;
}

/* ===== スマホメニュー内アクセシビリティここまで ===== */




}
