/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:0.3px solid #C2C2C2;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

html,
body {
  margin: 0px;
  height: 100%;
  max-width: 860px;
  margin: 0 auto;
/* font-family: "Noto Sans JP", sans-serif; */
  font-family:M PLUS Rounded 1c;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
  /* background-color: #333333; */
  background-color: #f7f7f7;
  /* background-image: url('/static/images/bg1.jpg'); */
  background-position: top left; 
  background-size: 1920px;
  background-position: top center;
  background-repeat: no-repeat-y;
  min-height: 100vh; 
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

.main_container {
    background-color: #ffffffee;
    max-width: 860px;
    min-height: 1080px;
}

.radio_group {
    display: flex;
    justify-content: flex-end;
    /* margin-top: 0.5rem; */
    /* margin-bottom: 0.5rem; */
    padding: 1rem 1rem;
    font-size: 12px;
}

.radio_area input[type=radio] {
    position: absolute;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.radio_area label {
    cursor: pointer;
    padding: 0.5rem;
    color: #7C7A7A;
    transition: .5s;
    border:0.25px solid #B6B6B6

}

.radio_area:first-child label {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.radio_area:last-child label {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.radio_area input[type=radio]:checked+label {
    background-color: #dededf;
}

a,a:hover,a:visited{
    color: inherit;
}

/***************************************
　ヘッダー
****************************************/
.idi_header {
    height: 45px;
    width:100%;
    background-color: #F6F6F6;
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
  }

  img.allow_left {
    width:20px;
    }
.idi_header_icon {
    width:10%;
    display: flex;
    align-items: center;
    margin-left: 3%;
    }
    
.idi_header_title {
    /* position: absolute; */
    /* padding-top: 2%; */
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    }


/***************************************
　タイトル
****************************************/
.inner_title{
    font-size: 2.5em;
    font-weight: normal !important;
    /* font-family: "Kurashikom-M", HelveticaNeue, Arial, sans-serif !important; */
    padding: 0 0 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    letter-spacing: 7px;
}

.inner_subtitle{
    font-size: 0.5em;
    text-align: right;
}
    

/***************************************
　固定フッター
****************************************/
.space{
    height:40px;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background-color: #F6F6F6;
    padding: 10px;
    color:#fff;
    font-size: 0.7rem;
    border-top: 1px solid #a6a4a4; /* 上側のボーダーを設定 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}

footer nav ul {
    list-style: none;
    display: flex; /* この行を追加 */
    justify-content: space-around; /*アイテムを均等に配置*/ 

}

nav ul li {
    list-style: none;
    display: inline-block;
    margin: 0 10px;
    flex: 1; /* 各アイテムが同じ幅になるようにする */
    /* align-items: center; アイコンとテキストを上下中央揃え */
}

nav ul li a {
    text-decoration: none;
    color: #f7f7f7;
}

nav ul li i {
    margin-right: 5px;
}

.footer_nav{
    display: grid;
    place-items: center;
}

.footer_icon{
    width:25px;
    display: flex;
}

.header {
    height: 45px;
    width:100%;
    background-color: #F6F6F6;
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
  }

img.allow_left {
    width:20px;
}

.header_icon {
    width:10%;
    display: flex;
    align-items: center;
    margin-left: 3%;
    }
    
.header_title {
    /* position: absolute; */
    /* padding-top: 2%; */
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    }

/***************************************
　トップに戻るボタン
****************************************/
.backToTop_button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 20px;
    bottom: 60px;
    width: 80px;
    height: 80px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: #00000099;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .1s;
}


/* 960px以上に適用されるCSS（PC用） */
@media screen and (min-width: 960px) {
    .header_icon {
        width:3%;
        display: flex;
        align-items: center;
        margin-left: 1%;
        }
}