@charset "UTF-8";
/*隙間*/
#menu::before, #rmenu::before {
background-color: #fff;
}

@media screen and (max-width: 768px) {
  #contents,
  #wrap {
    overflow-x: hidden !important; 
  }
}

/*スマホ版のハンバーガーメニュー非表示*/
#spmenu-btn{
display: none;
}
@media screen and (max-width: 768px) {
    #logo h1 img {
        max-width: 40px;
    }
}

#logo img {
max-height: 72px;
}

/*メニューリスト*/
.menubox > .title, #pickupentry > .title, .newentry-title, #menu .space-box > .title, #rmenu .space-box > .title {
border-bottom: 4px solid var(--clr-main, #14518c);
color: #333;
}

*, ::before, ::after {
border: 0 solid var(--clr-border, #eaeff3);
}

/*画像位置*/
.txt-img {
display: block;
margin-left: auto;
margin-right: auto;
}

/* ヘッダー調整*/
#header {
 background-color: #bbc8d8; 
 backdrop-filter: blur(8px); 
 color: #333;
}

.logotext {
color: #333;
}

@media screen and (max-width:768px){
.headerimg-img img {
    min-height: 0;
    object-fit: contain;
}
}

/*見出し*/
h3 {
background-color: #14518c;
}

#contents .topic.topic-03 {
border-color: #bbc8d8;
}

h5:not([class*="topic"])::before {
background: var(--clr-main, #bbc8d8);
}

h5:not([class*="topic"]) {
border-bottom: 3px dotted #eaeff3;
padding-bottom: 5px;
}

/*ボタン*/
.button-container {
  display: flex;
  justify-content: flex-end; 
 margin: 20px 0;          
}
a:hover {
  opacity: 0.7; 
}

.btn-box {
  display: inline-flex; 
  text-align: right;
  align-items: center; 
  justify-content: space-between;
  min-width: 250px;
  width: auto;
  gap: 20px;
  /* 2. ボタンの見た目 */
  padding: 12px 20px; 
  border: 2px solid #bbc8d8; 
  border-radius: 50px; 
  background-color: #fff;

  text-decoration: none; 
  transition: 0.3s;  
}

/* 文字部分のスタイル */
.btn-text {
  color: #14518c;  
  font-weight: bold;
  font-size: 14px;
  text-decoration: underline; 
}

/* アイコン（丸） */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #bbc8d8;
  border-radius: 50%;
  flex-shrink: 0; 
}

/* 白い三角形 */
.btn-icon::after {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

/* 矢印 */
.arrow_item {
  display: flex;  
  align-items: flex-start;
  gap: 12px; 
}

/* アイコン */
.arrow_blue {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: #bbc8d8;
  border-radius: 50%;
  flex-shrink: 0; 
  position: relative;
  margin-top: 2px;  
}

/* 白い三角*/
.arrow_blue::after {
  content: "";
  display: block;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.arrow_text {
  line-height: 1.6;
  font-size: 15px;
}

/*box*/
.nmlbox {
border-color: 
#c59650;
}

.thint {
background-color: #eaeff3;
}
.accept {
background-color: #bbc8d8;
}

.accept {
color:#000000;
background-color:#FFFFFF;
border:double 5px #BBC8D8;
padding:2em;
}

.alert, .accept, .attention, .thint {
    line-height: 1.7;
    margin: var(--margin-component) 0;
    padding: 2em;
    position: relative;
}

/*吹き出し*/
.voice-style4 .voice_body {
border-width: 3px;
}

.voice-brown.voice-style3 .voice_body, .voice-brown.voice-style4 .voice_body {
border-color: #c59650;
}

.voice1.voice-brown.voice-style3 [class^="img-"]::before, .voice1.voice-brown.voice-style4 [class^="img-"]::before {
background-color: #c59650;
}

.voice-brown .voice_body {
background-color: #fcf4e8;
}

.voice1.voice-brown [class^="img-"]::after {
background-color: #fcf4e8;
}

.voice1.voice-style4 [class^="img-"]::after {
left: 10px;
clip: rect(0 14px 20px 0);
}

/*箇条書き*/
ol:not([id]):not([class]) li::marker {
color: #c59650;
}

/*フッターの高さ*/
#footer {
background-color: var(--clr-footer-bg, var(--clr-main, #bbc8d8));
color: var(--clr-footer-txt, #333);
}

#footer .inner > *:first-child:not(#copy) {
    margin-top: 2em;
}
#footer .inner > *:nth-last-child(2) {
    margin-bottom:0;
}

/*フッターサイトマップ*/
 .footer-menu_ul > li:last-child {
        border-bottom: none;
        border-right: none;
    }

 .footer-menu_ul > li {
        padding: .1em 3em;
        border-top: none;
        border-left: none;
    }
}
.footer-menu_ul > li:last-child {
    border-bottom: none;
}
.footer-menu_ul > li {
    padding: 1.5em 0;
    border-top: none;
}
.footer-menu_ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.footer-menu_ul a {
transiton:all 0.3s;
opacity:1;
}
.footer-menu_ul a:hover {
opacity:0.7;
}