@charset "utf-8";
/**
 * Figure eight 2025 ver2.2
 * Copyright 2009-2026 Figure eight by toyoda-eng.com
 */

header{
    display: flex;
    flex-direction: column;
}

.site_title{
    width:fit-content;
    height:auto;
    margin:5px;
}

/* ラッパーに位置基準を設定 */
.menu_wrapper {
    position: relative;
    width: 100%;
}

.main_menu{
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: row; /* 【重要】必ず横並びにする */
    align-items: center;
    width: 100%;
    background-color: darkgreen;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.main_menu::-webkit-scrollbar {
    display: none;
}

/* 【修正】スクロール検知用の要素。確実に右端に置くため幅を1px持たせる */
.scroll_trigger {
    width: 1px;
    height: 1px;
    flex-shrink: 0; /* 潰されないようにする */
    background: transparent;
}

/* メニュー全体の横並びを安定させる */
.main_menu ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main_menu li{
    display: inline-block;
    color: #fff;
    width: fit-content;
    padding: 5px 15px;
}

.main_menu a, .main_menu a::after, .main_a:visited{
    text-decoration: none;
    color: #fff;
    padding-left: 10px;
}

/* 矢印のスタイル */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.arrow_left { left: 0; }
.arrow_right { right: 0; }

.arrow.is_show {
    opacity: 1;
}

.BreadcrumbList{
    margin: 1rem 0.5rem;
}

.conteiner{
    width:100%;
    padding: 0 10px;
    margin:0 auto;
    text-align:left;
}

.content{
    max-width:1080px;
}

footer{
    margin:5px 0px;
    border-top:1px solid #000;
    margin-bottom: 50px;
}

.ad_img{
    width:70%;
    margin:0 auto;
}

h1.page_title{
  color:cornflowerblue;
  padding: 3px 5px;
  border-bottom: 1px solid cornflowerblue;
}

h2.sub_title{
  font-size:16pt;
  color:#1a365d;;
  padding-left:10px;
  margin-bottom: 5px;
}

.explanation{
  background-color: #f8fafc;         /* 目に優しい超薄いグレー */
  border-radius: 4px;                /* 角を少し丸める */
  padding: 10px;
}

.marksmall li {
  display: flex;
  align-items: flex-start; /* マークを1行目の頭の高さに合わせる */
}

.marksmall li::before {
  content: "›";
  font-size: 0.9em;       /* 少し大きめにすると見栄えが良いです */
  vertical-align: 0.05em; /* 位置の微調整 */
  margin-right: 0.5em;
  color: #3182ce;         /* 青系にするとテック感が増します */
}

.exp_file{
    margin-top:5px;
    background-color: #f7f1e9;
    padding:10px;
    border-radius: 5px;
}

.inst_exa{
    margin-top:5px;
    background-color: #f8fafc;         /* 目に優しい超薄いグレー */
    padding:20px;
    border-radius: 5px;
    white-space: pre-line;
    line-height: 1.2;

}
.history{
    display:flex;
    flex-wrap: wrap;
  line-height: 1.5;
}

.history dt{
    width:175px;
    font-weight: bold;
}

.history dd{
    width:calc(100% - 175px);
    margin-left: 0;


}
.history span{
    font-weight: bold;
}

.li_margin li{
    margin-bottom: 8px;
}

@media (min-width:756px){
   .arrow, .scroll_trigger {
        display: none !important;
    }

    .site_title{
        width: 100%;
        text-align: left;
    }

    .main_menu{
        display: block;
        width: 100%;
        text-align: center;
        background-color: darkgreen;
        border-bottom: 1px solid #000;
    }

    .main_menu ul{
        display: flex;
        width: fit-content;
        margin: 0 auto;
    }
  
    .main_menu li{
        color: #fff;
        width: fit-content;
        padding: 0 10px;
        margin: 3px 10px;
    }

    .main_menu li::before{
        position: absolute;
        content: "";
        margin-top: 8px;
        display: inline-block;
        border: 5px solid transparent;
        box-sizing: border-box;
        border-left-color: #fff;
    }

    .explanation{
        border-left: 4px solid dodgerblue; /* 左側のアクセントの青線 */
        padding: 24px;
}
}