@charset "utf-8";


/**
 *   @main color: 文字など（#222222）
 *   @sub color:  済の時のグレーフィルター（#A4A4A4）opacity 0.6
 *   @sub color: 済マーク（#FF3838）transform: rotate(15deg);
 */
/* 済 */

html {
    scroll-behavior: smooth;
    margin: 0!important;
}

h1 {
    text-align: center;
}

.mozi {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

h1 img {
    margin: 20px;
}

body {
    width: 100%;
    max-width: 2650px;
    margin: 0px auto;
    background-color:#0E0E0E;
}


/* p.title {
    width: 320px;
    font-size: 14px;
    text-align: left;
    margin: 5px 0 3px 0;

}

p.title2 {
    width: 320px;
    font-size: 15px;
    text-align: left;
    margin: 5px 0 3px 0;
} */

p.title {
    width: 320px;
    font-size: 15px;
    font-family:'Roboto', sans-serif;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    text-align: left;
    margin: 0 0 0 0;
    /* background-color: #e9e9e9; */
    background-color: #FFF;
    padding: 5px 10px;
}

p.title2 {
    width: 320px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    text-align: left;
    margin: -5px 0 0px 0;
    background-color: #edf2fd;
    padding: 8px 10px 5px 10px;
}


.header_3d{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.header_3d img{
    width: 400px;
}

.flex {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin: 80px auto 100px auto;
    align-items: center;
    justify-content: center;
}

.flex > *{
    /* flex-basis: 25%; */
    background: #fff;
    font-size: 16px;
}

.flex_box {
    width: 340px;
    text-align: center;
    margin: 0 auto 3% auto;
    justify-content: center;
    align-items: center;
    background-color: #4a7aae;
}

button.bukken_btn {
    margin: 0 auto 0 auto;
    background-color: #4a7aae;
    color: #fff;
    /* padding: 7px 20px 5px 20px; */
    border-radius: 10px;
    border: none;
    box-shadow: none;
    outline: none;
    font-weight: 400;
    font-size: 15px;
    width: 340px;
    height: 40px;
    cursor: pointer;
}

/* ページトップへ戻る */
#pagetop {
    position: fixed;
    right: 30px;
    bottom: 60px;
    text-indent: -9999px;
    margin: 0;
}

#pagetop a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    background: #222222;
    transition: opacity .8s ease;
    border-radius: 50%;
}

#pagetop a:hover {
    opacity: 0.7;
}

#pagetop a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
}


.edit img {
    width: 8%;
}

.edit {
    text-align: right;
}

/*.sumbgif {
    background-image: url(https://www.sankikensetsu.co.jp/matter/images/link_icon.png);
    background-repeat: no-repeat;
    background-size: 20px;
    z-index: 10000;
}*/


/* .sumi {
fix    filter:grayscale(100%);
} */

.sumbgif {
    /* position: relative; */
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    width: 340px;
}
.sumbgif2 {
    position: relative;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    width: 340px;
}
.fix {
    position: absolute; 
    z-index: 999;
    width: 270px;
    height: auto;
    top: 0;
    left: 50; 
}
.sumi_icon {
    position: absolute;
    width: 160px;
    z-index: 3;
    top: 35px;
    left: 55px;
    top: 50%;
    transform: translate(0, -50%);
}

.link_icon {
    text-align: left;
    margin-left: 20px;
    position: absolute;
}


.tooltip-text {
    visibility: hidden;
    position: absolute;
    background-color: #4a7aae;
    color: white;
    text-align: center;
    padding: 7px;
    border-radius: 5px;
    z-index: 1;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    width: 270px;
    opacity: 0.9;
}

.tooltip-link {
    position: relative;
    display: inline-block;
}

.tooltip-link:hover .tooltip-text {
    visibility: visible;
}


@media screen and (max-width: 900px) {

#pagetop {
    display: none;
}
.tooltip-text {
    display: none;
}

.header_3d{
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.header_3d img{
  width: 200px;
}

.matter_logo {
  width: 180px;
}

h1 img{
    width: 230px;
    margin: 5%;
}

body {
    background-color: #ffffff;
}

.flex {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
    margin: 30px auto;
    align-items: center;
    justify-content: center;
}

.flex > *{
    /* flex-basis: 25%; */
    background: #fff;
    font-size: 14px;
}

.flex_box {
    width: 100%;
    text-align: center;
    margin: 0 auto 3% auto;
    justify-content: center;
    align-items: center;
}

button.bukken_btn {
    /* width: 80px; */
    padding: 3px 5px 2px 5px;
    border-radius: 5px;
    font-size: 13px;
    /* margin: 5px auto 3% auto; */
    /* background-color: #4a7aae; */
    color: #fff;
}


p.title {
    /* width: 95%; */
    font-size: 13px;
    font-family:'Roboto', sans-serif;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    text-align: center;
    margin: 5px auto 0 auto;
    /* background-color: #e5e5e5; */
    background-color: #FFF;
    padding: 2px 10px;
}

p.title2 {
    /* width: 95%; */
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #444;
    line-height: 1.6;
    text-align: center;
    margin: -5px auto 7px auto;
    background-color: #d9e5fd;
    padding: 7px 10px 5px 10px;
}

.sumbgif {
    /* position: relative; */
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    width: 95%;
}
.sumbgif2 {
    position: relative;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    width: 95%;
}

}
