html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, sub, sup, var, b, i, dl, dt, dd, ul, fieldset, form, label, legend, caption, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video, th {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
               -webkit-text-size-adjust: 100%;
}

a:link { color: #eb3f00; } 
a:visited { color: #d41c00; } 
a:hover { color: #a0ce58;} 
a:active { color: #b98e3b; } 

html {
  scroll-behavior: smooth;
}

body{
background-color: #fff;
background-attachment: fixed; 
background-position: center top;
background-repeat: no-repeat;
font-family: メイリオ,Meiryo,ＭＳ Ｐゴシック, ArialMT, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
line-height: 200%;
margin: 0 auto;
text-align: center;
font-size: 12pt;
color: #555555;}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

input, select {
padding:8px;
vertical-align: middle;
}

input[type="radio"]{
transform:scale(1.3);}



li {
	padding: 0;
	margin: 0;
}

img {
  border:0px;
  vertical-align: middle;
}

a:hover img{
opacity:0.7;
filter:alpha(opacity=70);
-ms-filter: "alpha( opacity=70 )";
background:none!important;
}

*:focus {outline: none;}

.form { ime-mode: disabled; } 

::placeholder {
   color: #ccc;
}

* {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;}

header{
background-image: url(image/header-back.gif);
background-position: center top;
background-repeat: repeat;
margin: 0px auto;
padding: 0px;
width: 100%;
}

div#container-grobalnav{
background-image: url(image/grobal-back.jpg);
background-position: center top;
background-repeat: no-repeat;
margin: 0px auto 20px auto;
padding: 0px 0px;
width: 100%;
}

nav{
background-color: #f7f6f2;
padding: 25px 15px 15px 15px;
text-align: center;
}
nav ul{
margin: 10px 0 ;
padding: 0 ;
}
nav ul li{
list-style: none;
display: inline-block;
width: 18%;
min-width: 180px;
}
nav ul li a{
background-color: #fff;
text-decoration: none;
color: #333;
}
nav ul li.current a{
color: #d41c00;
}
nav ul li.hover a{
color: #d41c00;
}

span.button-text{
    position: relative;
    padding-left: 30px;}

span.button-text:before {
    content: "";
    position: absolute;
    top: .40em;
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid #675525;
    border-right: 2px solid #675525;
  }

.button {
  width: 18%;
}

.button-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: .3s;
}

.button-text {
  font-size: 1.2rem;
}

.bg-extend-left {
  padding: 10px 10px 7px 10px;
  border: 2px solid #ef8e46;
  color: #ef8e46;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.bg-extend-left::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #fff5d8;
  position: absolute;
  left: -100%;
  top: 0;
  transition: .4s;
  z-index: -1;
}

.bg-extend-left:hover::before {
  left: 0;
}

div#container-main{
background-image: url(image/main-back.jpg);
background-position: center;
background-repeat: repeat-x;
margin: 0px auto;
padding: 10px 0px;
width: 100%;
}

#slideShow {
	width: 100%;
	max-width: 1500px;
	min-width: 980px;
	margin: 10px auto 10px auto;
	position: relative;
}
#slideShow img {
	display: block;
	width: 100%;
	margin: 10px auto;
	position: absolute;
	left: 0;
	top: 0;
}

div.q{
background-color: #f2802d;
border: 1px #f2802d solid;
color:#fff;
font-size:14pt;
margin:0px;
padding: 15px;}

div.a{
background-color: #fff;
border: 1px #f2802d dashed;
border-top: none;
margin:0px;
padding: 15px;}

div.kaiketsu01{
background-color: #bb1515;
color:#fff;
font-size:14pt;
margin:0px 3px;
padding: 7px;
width:150px;}

div.kaiketsu02{
background-color: #fff;
border: 1px #bb1515 solid;
margin:0px 3px;
padding: 15px;}

div#navi{
font-size: 9pt;
margin: 0px auto 50px auto;
padding: 0px 0px;
}

div#navi2{
font-size: 9pt;
margin: 0px auto 0px auto;
padding: 0px 0px;
text-align: left;
width:980px;
}

div#container01{
background-color: #fff;
margin: 0px auto 0px auto;
padding: 30px 0px 50px 0px;
width: 100%;
}

div#container02{
background-color: #f7f6f2;
margin: 0px auto 0px auto;
padding: 50px 0px;
width: 100%;
}

div#container03{
background-attachment: fixed;
background-image: url(image/main-back.jpg);
background-position: center;
background-repeat: repeat-y;
margin: 0px auto 0px auto;
padding: 50px 0px;
width: 100%;
}

#page_top{
  margin-right:30px;
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 50px;
  background: #ffcd32;
  border-radius: 50%;}

#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;}

#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;}

div.breadcrumb {
  font-size:8pt;
  margin:0px auto;
  padding:1px 0px;
  text-align:left;
  width: 950px;}

.breadcrumb {
  margin-left:0;
  padding-left:3px;
}

.breadcrumb li{
  font-size:8pt;
  display:inline;
  list-style: none;
}

.breadcrumb li:after{
  content: '>';
  padding: 0 3px;
  color: #111;
}

.breadcrumb li:last-child:after{
  content: '';
}

.breadcrumb li a {
   color: #666;
    text-decoration: none;
}

.breadcrumb li a:hover {
   color: #ff7700;
    text-decoration: none;
}

div.contents01{
background-color: #eeeeee;
background-image: url(image/contents01-back.gif);
margin: 0px auto;
padding: 50px 20px;
vertical-align: top;
text-align: left;
width: 980px;}

div.contents02{
background-color: #fff;
background-image: url(image/contents02-back.gif);
margin: 0px auto;
padding: 50px 20px;
vertical-align: top;
text-align: left;
width: 980px;}

div.contents03{
background-color: #eeeeee;
margin: 0px auto;
padding: 50px 20px;
vertical-align: top;
text-align: left;
width: 980px;}

div.alpha01{
background-image: url(image/alpha-back.gif);
background-position: right top;
background-repeat: no-repeat;
background-color: #fff;
margin: 0px auto;
padding: 40px 40px;
vertical-align: top;
text-align: left;
width: 840px;}

div.alpha01-lp{
background-image: url(image/alpha-back.gif);
background-position: right top;
background-repeat: no-repeat;
background-color: #fff;
font-size: 14pt;
margin: 0px auto;
padding: 40px 40px;
vertical-align: top;
text-align: left;
width: 840px;}

div.alpha02{
background-color: #f8f8f8;
border: 1px #eee solid;
margin: 0px auto;
padding: 40px 40px;
vertical-align: top;
text-align: left;
width: 840px;}

div.alpha03{
background-color: #fff;
margin: 0px auto;
padding: 40px 40px;
vertical-align: top;
text-align: left;
width: 840px;}

div.midashi02{
color: #05329a;
font-size: 28px;}

footer{
background-color: #f2802d;
background-image: url(image/footer-back.png);
background-position: top right 50px;
background-repeat: no-repeat;
clear:both;
line-height: 150%;
margin: 0px auto;
padding: 30px 0px 20px 0px;
width: 100%;}

div#footer{
color: #fff;
line-height: 150%;
margin: 0 auto;
padding: 10px 0px;
text-align: left;
width: 980px;}

a.footer{
color: #fafafa;}
.footer a:hover { color: #a0ce58;} 

td.footer{
vertical-align: top;
padding: 5px 10px;}

div.copyrights{
color: #fff;
font-family: century gothic;
font-size: 10pt;
font-weight: normal;
text-align: center;
margin: 0px 0px 0px 0px;}

div.sub{
border-bottom: 3px #f2802d solid;
border-image: linear-gradient(to right, #675525 20%, #ffc821 21%);
border-image-slice: 1;
color: #675525;
font-size: 21pt;
margin-bottom: 10px;
padding: 20px 0px 10px 0px;}

div.sub2{
background-repeat: no-repeat;
border-bottom: 1px #f2802d dotted;
color: #f2802d;
font-size: 18pt;
margin-bottom: 10px;
padding: 20px 0px 10px 0px;}

.title {
	background-image: url(image/sp/back-title.jpg);
         color: #fff;
         font-size: 14pt;
         margin: 0px 0px;
         text-align: center;
         padding: 10px 5px;
         width: 100%;
}

.title-sub {
	border-bottom: 1px #b20101 solid;
         color: #b20101;
         font-size: 120%;
         margin: 5px 0px 15px 0px;
         text-align: left;
         padding: 5px;
         width: 100%;
}

ul.footer li{
color: #fff;
float: left;
font-size: 10pt;
list-style-image: url(image/list-mark.png);
margin: 0px auto;
padding: 0px 20px 0px 0px;
text-align: center;}

.footer li a{
text-decoration: none;
}

.footer li:hover{
text-decoration: underline;
}


li.number{
list-style-type: decimal;}

h1{
background-color: #f2802d;
color: #fff;
font-size: 10pt;
font-weight: normal;
margin: 0px auto;
padding: 0px 0px 0px 20px;
width: 100%;
}

h2{
background-color: #f2802d;
color: #fff;
font-size: 30pt;
font-weight: bold;
line-height: 100%;
margin: 0 auto;
padding: 40px 20px;
text-align: center;
width:980px;}

h3{
border-bottom: 3px #f2802d solid;
border-image: linear-gradient(to right, #a0ce58 20%, #ffc821 21%);
border-image-slice: 1;
color: #675525;
font-size: 21pt;
margin-bottom: 25px;
padding: 20px 0px 10px 0px;}

div.news{
background-image: url(image/h2-back.jpg);
background-repeat: repeat;
background-color: #f2802d;
color: #fff;
font-size: 28pt;
font-weight: normal;
height: 100px;
margin: 0px auto;
padding: 37px 0px 10px 0px;
text-align: center;
width:980px;}

table{
border-collapse: collapse;
font-size: 12pt;
line-height: 200%;
margin: auto;
table-layout: fixed;}

table.access{
background-color: #fff;
border-collapse: separate;
margin: 5px 0px;
width: 720px;}

td.access01{
background-color: #fdeab2;
border: none;
font-weight: normal;
padding: 5px 5px;
text-align: center;
width: 360px;}

td.access02{
background-color: #fff;
border: none;
font-weight: normal;
padding: 5px 5px 10px 5px;
text-align: center;
width: 360px;}

table.hyo{
margin: 5px 0px;}

td.hyot{
background-color: #f2802d;
border: 1px #f2802d solid;
color: #fff;
font-weight: normal;
padding: 15px 10px;
text-align: center;}

td.hyo01{
background-color: #fdeab2;
border: 1px #f2802d solid;
font-weight: normal;
padding: 8px 12px;
width: 220px;}

td.hyo02{
background-color: #fff;
border: 1px #f2802d solid;
padding: 8px 10px;
text-align: left;
width: 600px;}

td.hyo03{
background-color: #ffffff;
border-bottom: 1px #f2802d solid;
border-left: 3px #cdbd51 solid;
border-right: 1px #f2802d solid;
border-top: 1px #f2802d solid;
padding: 8px 12px;
vertical-align: top;
width: 600px;}

td.hyo04{
background-color: #2f2928;
border-bottom: 1px #f2802d solid;
border-left: 3px #cdbd51 solid;
border-right: 1px #f2802d solid;
border-top: 1px #f2802d solid;
color: #fff;
font-weight: normal;
padding: 8px 10px;
text-align: left;}

td.hyo05{
background-color: #ffffff;
border-bottom: 1px #f2802d solid;
border-left: 3px #cdbd51 solid;
border-right: 1px #f2802d solid;
border-top: 1px #f2802d solid;
padding: 8px 10px;
text-align: left;}



table.fee{
margin: 5px 0px;}

td.feet{
background-color: #f2802d;
border: 1px #e55a16 solid;
color: #fff;
font-weight: normal;
text-align: center;
padding: 24px 12px;}

td.fee01{
background-color: #fdeab2;
border: 1px #f2802d solid;
padding: 20px 12px;
width: 540px;}

td.fee02{
background-color: #fff;
border: 1px #f2802d solid;
padding: 20px 12px;
text-align: right;
width: 280px;}

td.fee03{
background-color: #fff;
border: 1px #f2802d solid;
font-weight: normal;
padding: 20px 15px;
width: 800px;}

.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

.clear {
clear:both;
}  


/* ------------------------------------------- */
/* 7. 会話形式（アバターあり）専用の追加スタイル */
/* ------------------------------------------- */

/* 【全体】中央寄せと幅の制限、その他の既存設定に影響を与えないよう設計 */
.dialogue-section {
    max-width: 1050px;
    margin: 40px auto; /* ★中央寄せ */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #ffffff; 
    /* 既存のCSSによる予期せぬ位置崩れを防ぐためのリセット */
    position: static;
    float: none;
    box-sizing: border-box;
}

/* タイトル部分 */
.dialogue-title {
    border-left: 5px solid #b35900; 
    padding-left: 10px;
    margin-bottom: 25px;
    font-size: 1.5em;
    color: #b35900;
    background-color: #fce8cc !important;
    width: 100%;
}

/* 各発言のブロック - 横並びの基盤 */
.speaker {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    box-sizing: border-box; /* 内部要素もボックスサイズ計算を標準に */
}

/* --- アバター画像と名前のコンテナ --- */
.avatar-info {
    display: flex; 
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 94px; /* ★井口行政書士の名前が1行に収まる幅 */
    position: static;
    float: none;
}

/* アバター画像の設定 (サイズ固定) */
.avatar {
    width: 60px; 
    height: 60px;
    border-radius: 50%; 
    object-fit: cover;
}

/* 名前の設定 */
.avatar-name {
    margin-top: 5px; 
    font-size: 0.8em;
    font-weight: bold;
    color: #675525;
    text-align: center;
    line-height: 1.2;
}


/* --- 吹き出し（セリフ部分）の共通設定 --- */
.speech-bubble {
    padding: 15px;
    border-radius: 15px;
    position: relative;
    max-width: 75%; 
}
.speech-bubble p {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: left; /* 内部テキストは左寄せを明示 */
}

/* ------------------------------------------- */
/* 8. 登場人物ごとの設定 */
/* ------------------------------------------- */

/* 井口行政書士（左側）の設定 */
.speaker-iguchi {
    justify-content: flex-start;
}
.speaker-iguchi .avatar-info {
    margin-right: 15px; 
}
.speech-iguchi {
    background-color: #ffefe4; 
}
.speech-iguchi::before {
    content: ''
    position: absolute;
    top: 15px;
    left: -10px;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #ffefe4 transparent transparent transparent;
    transform: rotate(45deg);
}

/* 井口由紀（左側）の設定 */
.speaker-yuki {
    justify-content: flex-start;
}
.speaker-yuki .avatar-info {
    margin-right: 15px; 
}
.speech-yuki {
    background-color: #fdf1f4; 
}
.speech-yuki::before {
    content: ''
    position: absolute;
    top: 15px;
    left: -10px;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #ffefe4 transparent transparent transparent;
    transform: rotate(45deg);
}

/* 川西さま（右側）の設定 */
.speaker-kawanishi {
    justify-content: flex-end; /* ★ブロック全体を右寄せ */
}
.speaker-kawanishi .avatar-info {
    order: 2; /* アバターを右側に配置 */
    margin-left: 15px;
}
.speech-kawanishi {
    background-color: #fffae0; 
}
.speech-kawanishi::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -10px;
    border-style: solid;
    border-width: 0;
    border-color: #fffae0 transparent transparent transparent;
    transform: rotate(-45deg);
}

/* 伊丹さま（右側）の設定 */
.speaker-itami {
    justify-content: flex-end; /* ★ブロック全体を右寄せ */
}
.speaker-itami .avatar-info {
    order: 2; /* アバターを右側に配置 */
    margin-left: 15px;
}
.speech-itami {
    background-color: #fff5d8; 
}
.speech-itami::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -10px;
    border-style: solid;
    border-width: 0;
    border-color: #fff5d8 transparent transparent transparent;
    transform: rotate(-45deg);
}


/* 元の定義文のスタイル */
.original-definition {
    max-width: 100%;
    margin-top: 30px;
    padding: 15px;
    background-color: #fff;
    border-left: 3px solid #ff8c42; 
    text-align: left; 
}
.original-definition h3 {
    margin-top: 0;
    color: #ff8c42;
    font-size: 1.2em;
}

