@charset "UTF-8";

/* PC用の配置 */
@media (min-width: 960px) {
    .inner {
        display: flex;
        flex-wrap: wrap;
    }
    .maincol {
        width: 99%;
        margin: 25px -340px 10px 10px;
    }
    .sheet {
        background: #ffff;
        margin: 25px 350px 0 0;
        padding: 10px 0 50px 0;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        position: relative;
        text-align: justify;
        z-index: 9999;
    }
    .rightcol {
        width: 320px;
        margin: 50px 10px 50px 5px;
    }
    .profile {
        background: #ffff;
        color: #333333;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        padding: 10px 25px 2px;
        text-align: left;
        margin: none;
    }
    .dummytweet {
        background: #ffff;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        text-align: left;
    }
    .icon {
        background: #333333;
        width: 100%;
        margin: none;
    }
    .icon_image{
        width: 50%;
        text-align: center;
    }
    .clearfix::after { /*** 回り込み防止 https://web-camp.io/magazine/archives/27842 ***/
        content: "";
        display: block;
        clear: both;
    }
    .intro_left {
        margin: 10px 2px 2px 24px;
        float: left;
    }
    .intro_right {
        margin: 2px 2px 2px 12px;
        float: left;
    }
    .certificates {
        height: 45px;
    }
    .sns_id ul {
        list-style: none;
        margin: 12px 2px 12px 12px;
    }
}

/* PC・タブレット用の配置*/
@media (min-width: 520px) {
    /* スマホ用ハンバーガーメニューを非表示 */
    .hum_hidden {
        display: none;
    }
    .tab_wrap {
        font-size: 0;
        text-align: left;
    }
    .tab {
        display: inline-block;
        margin: none;
        background: gray;
        width: 100px;
        height: 25px;
        text-align: left;
        padding-left: 20px;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        border-radius: 10px 10px 0 0;
    }
    .tab_active {
        display: inline-block;
        margin: none;
        background: #ffff;
        width: 100px;
        height: 25px;
        text-align: left;
        padding-left: 20px;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        border-radius: 10px 10px 0 0;
    }
    .tab_scrip {
        color: #ffff;
        font-size: 10px;
        line-height: 25px;
        text-decoration: none;
    }
    .tab_scrip_active {
        color: gray;
        font-size: 10px;
        line-height: 25px;
        text-decoration: none;
    }
    .footnote {
        display: inline-block;
        margin: 2px 5px;
    }
}

/* タブレット・スマホ用のカラム配置*/
@media (max-width: 959px) {
    .maincol {
        margin: 25px 10px 10px 10px;
    }
    .sheet {
        background: #ffff;
        padding: 10px 0 50px 0;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        position: relative;
        text-align: justify;
        z-index: 9999;
    }
    .rightcol {
        float: center;
        margin: 25px 10px 10px 10px;
    }
    .profile {
        background: #ffff;
        color: #333333;
        box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -webkit-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        -moz-box-shadow:rgba(238, 238, 238, 0.509804) 9px 9px 10px -4px;
        padding: 10px 25px 2px;
        text-align: left;
        margin: none;
        overflow: auto; /* 子要素がflow: left;なので親要素の高さ0になるのを防止する */
    }
    .icon {
        background: #333333;
        width: 100%;
    }
    .icon_image {
        width: 20%;
        text-align: center;
    }
    .intro_left {
        width: 33%;
        float: left;
        text-align: center;
    }
    .prof_ul {
        display: inline-block;
    }
    .prof_list {
        text-align: left;
    }
    .intro_right {
        width: 33%;
        float: left;
    }
    .certificates {
        height: 50px;
    }
    .sns_id {
        text-align: left;

    }
    .sns_id ul {
        list-style: none;
        display: inline-block;
    }
}
/* スマホ用の配置*/
@media (max-width: 519px) {
    /* PC用ナビゲーションバーを非表示 */
    .nav_hidden {
        display: none;
    }
    .intro_left {
        text-align: center;
        width: 100%;
    }
    .prof_ul {
        display: inline-block;
    }
    .prof_list {
        text-align: left;
    }
    .intro_right {
        width: 100%;
    }
    .certificates {
        height: 100px;
    }
    .sns_id {
        text-align: center;
        width: 100%;
    }
    .sns_id ul {
        list-style: none;
        display: inline-block;
        padding: 0 0 5px 35px;
    }
}

*{
  margin: 0;
  padding: 0;
}

img {
    vertical-align: bottom;
    display: block;
    margin: 0px auto;
}

body {
    background: #333333;
    color: #333333;
    font-family: Arial, Helvetica, Verdana, "ヒラギノ角ゴ Pro W3",　"Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    line-height: 1.65;
    text-align: center;
    vertical-align: baseline;
    word-wrap: break-word;
    letter-spacing: .5px;
}

a {
    text-decoration: none;
    color: #333333;
}

h1 {
    font-size: 32px;
    text-align: center;
    color: #333333;
}

h2 {
    font-size:24px;
    text-align: center;
    padding-top: 10px;
    color: #333333;
}

h3 {
    font-size: 20px;
    text-align: left;
    padding-top: 10px;
    padding-left: 24px;
    color: #333333;
}

h4 {
    font-size: 16px;
    text-align: center;
    color: #333333;
}

p {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    color: #333333;
    white-space: pre-line;
}

input {
    text-align: left;
    padding-left: 24px;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.075);
    height: 40px;
    width: 80%;
    box-sizing: border-box;
}

textarea {
    text-align: left;
    padding:5px 0 0 24px;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.075);
    height: 320px;
    width: 80%;
    box-sizing: border-box;
}

ol {
    padding: 0 24px 0 60px;
}

::placeholder {
    font-family: "ヒラギノ角ゴ Pro W3","メイリオ", "Meiryo";
    color: gray;
    font-weight: thin;
}

.button_submit {
    text-align: center;
    padding-right: 22px; /* 原因不明でボタン文字が中央にならないからpaddingで合わせている */
    width: 150px;
    height: 25px;
    background:#8BC3A3;
    color: #ffff;
    border: none;
}

.button_submit:hover {
    background: #79b593;
}

.pagewrap {
    margin: none;
    padding: 0 0 10px 0;
    width: 100%;
    background: #e3e3e3;
}

/**** Navigation bar ****/
.screen_box {
    position:relative;
}
.screen {
    width: 100%;
    object-fit: cover;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hum {
    position: sticky; /* screen_box のrelative配置基準にabsoluteで位置決めしている */
    top: 0;
    right: 0;
    height: 100%;
    z-index: 10000; 
    width: fit-content; 
    float: right; 
    height: 0;
}
.hum img {
    width: calc(100vw * 0.07); 
    height: auto;
}
/* PC用メガメニュー参考URL https://kouhekikyozou.com/css_mega_menu */
.global_menu { /* メガメニュー全体のスタイル */
  width: 100%;
  position: relative;
  background: #333333; /* 背景色 */
  text-align: center;
  font-size: 0;
  letter-spacing: normal;
}

.global_menu li {
    display: inline-block;
    font-size: 16px;
}

.global_menu a { /* 各項目のスタイル */
  display: block;
  padding: 2px 15px;
  color: #ffff;
  text-decoration: none;
}

.menu:hover > a {
    background: gray;
}

.hum_nav {
    position: fixed;
    right: -190px;
    top: 0;
    width: 190px;
    height: 100%;
    background: #333333;
}
.hum_nav ul {
    list-style: none;
    text-align: left;
}
.hum_nav ul li {
    text-align: center;
    margin-bottom: 5px;
}
.hum_nav ul li:hover {
    background: gray;
}
.hum_nav ul li a {
    color: #ffff;
    text-decoration: none;
}

.show {
    transform: translate3d(-190px, 0, 0);
}
.pagewrap, .hum_nav {
    transition: transform 0.3s;
}
/*** Main body ****/
.container {
    background: #e3e3e3;
}

.date_scrip {
    font-size: 10px;
    display: inline-block;
    margin-right: 0;
}

.policy_statement {
    text-align: left;
    padding: 0 24px 15px 24px;
    margin: none;
}

.policy_link {
    text-decoration: underline;
    color: #0000EE;
}

/*** icon section font ***/
.name {
    font-size: 1.4em;
    color: #333333;
    text-align: center;
}

/*** Footer ****/
.footer {
    font-size: 12px;
    color: #ffff;
}

.pict {
    float: left;
    height: 20px;
    margin: 2px 5px 2px 0;
}

.meta-pict {
    float: left;
    height: 15px;
    padding-right: 5px;
}
