@charset "utf-8";



/* ページ全体定義 ---------------------------------------------- */

html {
    font-size: 62.5%;
}

@media screen and (max-width: 780px) {

    html {
        font-size: 62.5%;
    }

}

/*body {
    background-color: #FFFFFF;
	font-size: 16px;
	font-family: "Klavika", "メイリオ";
    color: #000000;
    line-height: 150%;
    min-height:100%;
    background-image: none;
    overflow-x: hidden;
    overflow-y: visible;
}*/

/* AMD HEROES 共通固定背景 (LPでは原則使わない) */

/*
body:before{
    content:"";
    display:block;
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height:100vh;
    background:url(../images/all_bg.jpg) center no-repeat;
    background-size:cover;
}
*/

/* ゴシックのみ指定(游ゴシック体, 'Yu Gothic', YuGothic除外) bodyタグに設定 */
.f-Gothic {
    font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

/* 明朝体のみ指定 bodyタグに設定 */
.f-mincho {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

main {
    position: relative;
    top: 60px;
}

@media screen and (max-width: 780px) {

  body {
      line-height: 120%;
  }

  main {
      top: 60px;
  }

}



/* レスポンシブ表示・非表示 ----------------------------------------- */

.pc { display:block; }
.pc-i { display:inline; }
.sp { display:none; }

@media screen and (max-width:780px) {

    .pc { display:none; }
    .pc-i { display:none; }
    .sp { display:block; }

}



/* AMD HEROES サイトロゴ + SNSアイコン + 検索窓Header CSS ----------- */

#header_box {
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: #000000;
    z-index: 10;
}

#wrapper_header{
    position: relative;
    width: 1400px;
    margin: 0 auto;
}

#amdheroeslogo_box{
    float: left;
    margin-top: 10px;
}

#amdheroeslogo_image{
    width: 66.6%;
}

#icon_box{
    float: right;
    margin-top: 10px;
}

#icon_box li{
    float: left;
    list-style: none;
    display: inline-block;
    margin-top: 0px;
    margin-left: 15px;
}

.icon_image{
    width: 100%;
}


#custom-search_box {
    float: right;
    margin-top: 20px;
    margin-left: -100px;　/* float整理用Nega-Margin */
    margin-right: 400px; /*検索エリアのマージン(右から)*/
    padding-right:  80px; /*アイコンと検索ボタンの間*/
}

#custom-search_box #cs-inner {
    width: 100%;
}

#custom-search_box #cs-inner form {
    display: -webkit-box;
     display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    height: 24px;
    line-height:100%;
     font-size:1.6rem !important;
}

#custom-search_box #cs-inner input[type="text"]{
    margin: 0 0 0 0;
    padding:0 10px;
    width:200px; /*検索窓のサイズ*/
    height:24px;
    border:none;
    box-sizing:border-box;
}

#custom-search_box #cs-inner input[type="submit"]{
    position: absolute;
    margin-left: 210px; /*検索ボタンの位置(検索窓左端から)*/
    padding:0;
    width:60px; /*ボタンの幅*/
    height:24px;
    border:none;
    background:#666;
    box-sizing:border-box;
    border-radius:3px;
}

#custom-search_box #cs-inner:before {
    position:absolute;
    content:'\e8b6';
    font-family: 'Material Icons';
    display:block;
    top:21px;
    right:195px;
    font-size: 1.8rem;
    color:#fff;
    z-index: 11;
}

@media screen and (max-width: 1400px) {

    #wrapper_header{
        width: 100%;
        margin: 0 auto;
    }

    #amdheroeslogo_box{
        margin-left: 10px;
        padding-top: 5px;
    }

    #amdheroeslogo_image{
        width: 50%;
    }

    #icon_box{
        margin-right: 10px;
    }

    #custom-search_box #cs-inner:before {
      right:200px;
    }

}

@media screen and (max-width: 780px) {

    #custom-search_box {
        display: none;
    }

    #icon_box{
        position: absolute;
        float: right;
        top: 5px;
        right: 0px;
    }

    #icon_box li{
        margin-left: 5px;
    }

    .icon_image{
        width: 80%;
    }

}


#header-title_height {
    display: flex;
    width: 100%;
    height: 78px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 780px) {

  #header-title_height {
      width: 100%;
      height: 60px;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: center;
  }

}



/* 共通レイアウト -----------------------------------------------*/

.container {
    width: 100%;
}

section {
    width: 100%;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

div,p img {
    max-width: 100%;
    vertical-align: bottom;
}


@media screen and (max-width: 1400px) {

     .wrapper {
        width: 94%;
        margin: 0 auto;
     }

}


/* Footer CSS ------------------------------------------- */

footer {
    padding:30px 0;
    width:100%;
    color:#222;
    background:#ccc;
    box-sizing:border-box;
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    margin-bottom: 0px;
}

footer > .inner {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin:0 auto;
    padding:0 20px;
    width:100%;
    max-width:1440px;
    box-sizing:border-box;
    color:#222;
}

footer > .inner .footer-nav {
    -js-display: flex;
    display: flex;
    align-items: center;
    margin-bottom:15px;
}

footer > .inner .footer-nav div {
    margin-right:20px;
}

footer > .inner .copyright {
    -js-display: flex;
    display: flex;
    align-items: center;
    font-size:1.4rem;
}

footer > .inner > nav {
    -js-display: flex;
    display: flex;
    align-items: center;
}

footer > .inner > nav a {
    display:inline-block;
    font-size:1.4rem;
    color:#222;
    text-decoration:none;
}

footer > .inner > nav a:hover {
    text-decoration:underline;
}

footer nav > .punctuation {
    display:inline-block;
    margin:0 20px;
}

footer nav > .punctuation:first-child {
    margin:0;
}

@media screen and (max-width: 780px) {

    footer {
        padding:30px 0 30px 0;
        width:100%;
        color:#222;
        background:#ccc;
        box-sizing:border-box;
        font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    }

    footer > .inner > .inner-left {
        order: 2;
    }

    footer > .inner > nav {
        flex-wrap: wrap;
        order: 1;
        margin-bottom:20px;
        width:100%;
    }

    footer > .inner > nav a {
        position:relative;
        margin-bottom:10px;
        padding-left:20px;
        width:100%;
    }

    footer > .inner > nav a:before {
        content:'\e039';
        font-family: 'Material Icons';
        display:block;
        position:absolute;
        top:0;
        left:0;
        font-size:16px;
        font-weight:normal;
        line-height:100%;
    }

    footer nav > .punctuation {
        display: none;
    }

}