@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/
.m-all {
  float: right;
  padding-left: 30px;
  padding-right: 0;
}
.d-2of7 {
  float: right;
}

#inner-content {
  flex-direction: row-reverse;
}

.widget p a{
    color: #626262;
    display: block;
    padding: 7px;
    text-decoration: none;
	font-weight:bold;
}

.home_header .wp-block-image img {
	max-height: 240px;
	object-fit: cover;
	object-position: center;
}

.widget ul li a {
	padding: 2px;
}

.my-widget li a .my-widget__img {
	width: 0;
	height: 0;
}

.my-widget__img img {
	display: none;
}

.wp-block-table table thead th {
	font-size: 12px;
}

.wp-block-table table tr td {
  font-size: 10px;
}

.wp-block-table table th:nth-child(12) {
  width: 16%;
}

.wp-block-table table td:nth-child(4),
.wp-block-table table td:nth-child(9) {
  white-space: nowrap;
}

.widget_block .wp-block-group .wp-widget-group__inner-blocks {
	background: #fff;
}

@media only screen and (min-width: 769px) {
  #main {
    width: calc(100% - var(--wp--custom--wrap--side));
    padding-left: var(--wp--custom--wrap--gap);
    padding-right: 0;
  }
}

/* 言語切り替えメニューのスタイル */

/* Bogoプラグインの言語スイッチャーをカスタマイズ */
.lang-switcher-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
	display: inline-block;
	height: 100%;
}

/* 現在の言語を表示するボタン */
.lang-current-button {
    padding: 8px 35px 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #fff;
    backdrop-filter: blur(5px);
    margin-left: 20px;
	height: 100%;
}

/* アンダーラインの疑似要素 */
.lang-current-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #fff;
    transition: width 0.3s ease;
}

/* ホバー時のスタイル */
.lang-current-button:hover {

}

/* ホバー時にアンダーラインを伸ばす */
.lang-current-button:hover::before {
    width: 100%;
}

.lang-current-button::after {
    content: '▼';
    position: absolute;
    right: 12px;
    font-size: 10px;
    color: #fff;
    transition: transform 0.3s ease;
}

.lang-switcher-wrapper.is-open .lang-current-button::after {
    transform: rotate(180deg);
}

/* 国旗アイコンのスタイル調整 */
.lang-current-button .bogoflags {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ドロップダウンメニュー */
.lang-dropdown-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 5px);
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 140px;
    z-index: 1000;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.lang-switcher-wrapper.is-open .lang-dropdown-menu {
    display: block !important;
}

.lang-dropdown-menu li {
    margin: 0;
    list-style: none;
	display: flex;
	align-items: center;
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.lang-dropdown-menu li a:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.lang-dropdown-menu li.current a {
    background-color: rgba(0, 123, 255, 0.15);
    font-weight: bold;
}

/* Bogoフラグのスタイル調整 */
.lang-dropdown-menu .bogoflags {
    width: 18px;
    height: 18px;
}

.bogo-language-name {
	width: 100%;
}

.bogo-language-name a{
	color: #333 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .lang-current-button {
        padding: 6px 30px 6px 10px;
        font-size: 13px;
        min-width: 90px;
        margin-left: 10px;
    }
    
    .lang-dropdown-menu {
        left: 10px;
    }
}