/*common▼*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

#amg_publishing .serif {
    font-family: 'Noto Serif JP', "游明朝体", "Yu Mincho", YuMincho, Garamond, "Times New Roman", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    letter-spacing: 0;
    font-feature-settings: "palt" 1;
    font-kerning: auto;
}

body#amg_publishing {
	font-size: 16px;
    font-family: 'Roboto', 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', "游ゴシック体", YuGothic, 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', Helvetica, Osaka, sans-serif!important;
	color: #232323;
	line-height: 28px;
	background-color: #f3f3f3;
}

#amg_publishing h2{
	font-size: 36px;
}

#amg_publishing h3{
	font-size: 24px;
}

#amg_publishing p{
	margin: 40px 0;
}

#amg_publishing .item_title{
	margin: 0;
	font-weight: bold;
	font-size: 18px;
}

#amg_publishing .contents{
	width: 980px;
	max-width: 100%;
	margin: auto;
}

#amg_publishing section{
	padding: 80px 0;
}

#amg_publishing .imags_box{
	padding: 0 40px;
}

#amg_publishing .imags_box img{
	width: 100%;
}

.mt_0{
	margin-top: 0 !important;
}

.mb_0{
	margin-bottom: 0 !important;
}

#all_wrap{
	padding-top: 100px;
}

/*page_top btn▼*/
#amg_publishing .page_top{
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 40px 20px;
    display: flex;
    background-color: #313131;
    color: #fff;
    width: 120px;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.12), 0 3px 20px 0 rgba(0,0,0,0.12), 0 5px 6px -2px rgba(0,0,0,0.6);
    -webkit-tap-highlight-color: transparent;
    transition: .3s ease-out;
    height: 120px;
    justify-content: center;
    align-items: center;
    z-index: 3;
    border: 4px solid #ea3272;
}
#amg_publishing .page_top:hover{
	 cursor: pointer;
	 text-decoration: none;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

/*header▼*/
#amg_publishing header{
	background-color: #fff;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 4;
}

#amg_publishing header .header-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

#amg_publishing header .language_btn{

}

#amg_publishing header .language_btn a{
	text-decoration: none;
	color: #232323;
}

#amg_publishing header .language_btn a.active{
	font-weight:bold;
	color:#e5004f;
}

/*nav▼*/
.nav_wrap{
	position: fixed;
	top: 70px;
	width: 100%;
	background-color: #1b1b1a;
	z-index: 4;
	padding: 4px 0;
}

#amg_publishing nav{

}

#amg_publishing nav ul{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 30px;
}

#amg_publishing nav ul li{
}

#amg_publishing nav ul li a{
	text-decoration: none;
	color: #fff;
	padding: 20px;
	font-size: 18px;
	font-weight: bold;
}

#amg_publishing nav ul li:nth-child(2) a{
	padding-right: 0;
}

#contact,
#suppliers{
	margin-top: -140px; /* 固定ナビの高さ分のネガティブマージン */
	padding-top: 140px; /* 打ち消し用のパディング */
}
/*MV*/
#amg_publishing  .mv img{
	width: 100%;
}

#amg_publishing  .mv .mv_pc{
	display: block;
}

#amg_publishing  .mv .mv_sp{
	display: none;
}


/*h2-title▼*/

#amg_publishing .title_border_bg{
	background-color: #f3f3f3;
    padding: 0 30px;
    display: inline-block;
    position: relative;
    top: 0;
    z-index: 2;
}
#amg_publishing .title_border_box{
	text-align: center;
}
#amg_publishing .title_border {
	position: relative; 
    width: 980px;
    max-width: 100%;
    left: 0;
    right: 0;
}
#amg_publishing .title_border:before, .title_border:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: black;
}
#amg_publishing .title_border:before {
  left:0;
}
#amg_publishing .title_border:after {
  right: 0;
}

/*reason▼*/

#amg_publishing .reason{
}

#amg_publishing .reason .heading-title{
	margin: 80px 0;
	font-size: 30px;
	text-align: center;
	line-height: 48px;
}

/*suppliers▼*/

#amg_publishing .suppliers .title_border_bg{
	background-color: #fdffec !important;
}

#amg_publishing .suppliers{
	background-color: #fdffec;
	border-top:1px solid #dcdcdc;
	border-bottom:1px solid #dcdcdc;
}


#amg_publishing .suppliers .suppliers_box ul{
    display: flex;
    flex-wrap: wrap;
	margin: 80px 0 0 0;
}

#amg_publishing .suppliers .suppliers_box ul li{
    list-style: none;
    margin: 0 4px 16px 0;
}

/*work▼*/
#amg_publishing .work_nav{
	display: flex;
	justify-content: center;
}
#amg_publishing .work_nav .btn_box{
    width: 25%;
    margin: 80px auto 0 auto;
    padding: 20px;
}
#amg_publishing .work_nav .btn_box a{
	background-color: #313131;
	color: #fff;
	transition: .4s;
    display: flex;
    flex-wrap: wrap;
	height: 80px;
}
#amg_publishing .work_nav .btn_box a p{
    width: 100%;
	font-weight: normal;
}
#amg_publishing .work_nav .btn_arrow_box{
	width: 100%;
}
#amg_publishing .btn_box a:hover{
	color: #313131;
}

#amg_publishing .work_contents{
	border: 1px solid #313131;
	background-color: #fff;
	padding: 0 40px;
	margin: 80px 0 0 0;
}

#amg_publishing .work_contents h3{
	border-left:solid 8px #313131;
	font-size: 36px;
	padding-left: 20px;
	margin: 80px 0;
}

#amg_publishing .work_contents h4{
	background-color: #313131;
	color: #fff;
	font-size: 24px;
	padding: 10px;
}

#amg_publishing .work_port{
	display: flex;
	justify-content: flex-start;
	margin: 40px 0;
	flex-wrap: wrap;
}

#amg_publishing .work_port figure {
	width: 33%;
	padding: 0 20px;
	margin-bottom: 20px;
}

#amg_publishing .work_port figure.full_width {
	width: 100%;
	padding: 0 20px;
	margin-bottom: 20px;
}

#amg_publishing .work_port figure img{
	border:solid 1px #313131;
	width: 100%;
}

#amg_publishing .work_port figure figcaption{
	font-size: 12px;
	line-height: 16px;
}

#amg_publishing .gif-box{
	background-color: #313131;
}

#amg_publishing .gif-box img{
	max-width: 700px;
	width: 100%;
	margin: auto;
}

#amg_publishing .work_port .video{
	position:relative;
	width:100%;
	padding-top:56.25%;
}
#amg_publishing .work_port .video iframe{
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:100%;
}

/*contact▼*/

#amg_publishing .contact {
	background-image:url(../images/contac_bg.jpg);
	border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
#amg_publishing .contact h2{
	text-align: center;
}

#amg_publishing .contact .title_border_bg{
    background-color: #f5f7e9!important;
}

/*btn▼*/
#amg_publishing .btn_box{
    width: 400px;
	max-width: 100%;
    margin: 80px auto 0 auto;
}
#amg_publishing .btn_box a{
	border: 2px solid #232323;
	height: 60px;
	text-align: center;
	text-decoration: none;
	color: #232323;
	box-shadow: 12px 12px #ea3272;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .4s;
	background-color: #fff;
}
#amg_publishing .btn_box a p{
    width: 90%;
    margin: 0 !important;
    font-size: 24px;
    font-weight: bold;
}
#amg_publishing .btn_arrow_box{
	width: 10%;
	display: flex;
	justify-content: center;
	align-items: center;
}
#amg_publishing .btn_box a:hover{
	background-color: #fffce8;
	-webkit-transform: translateY(12px);
  	transform: translateY(12px);
	box-shadow: 0px 0px #ea3272;
}

#amg_publishing .one_column{
	width: 100% !important;
	display: flex;
}

#amg_publishing .one_column img{
	width: 30% !important;
}
#amg_publishing .one_column figcaption{
	width: 70% !important;
	padding-left: 10px;
	font-size: 16px !important;
	display: flex;
	vertical-align: middle;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	line-height: 30px !important;
	font-weight: bold;
}

#amg_publishing .one_column2{
	width: 100% !important;
	display: flex;
}

#amg_publishing .one_column2 img{
	width: 50% !important;
}
#amg_publishing .one_column2 figcaption{
	width: 50% !important;
	padding-left: 10px;
	font-size: 16px !important;
	display: flex;
	vertical-align: middle;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	line-height: 30px !important;
	font-weight: bold;
}

#amg_publishing .andmore{
	background-color: #ea3272;
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	margin-bottom: 70px;
	color: #fff;
}

/*footer▼*/
#amg_publishing footer{
	padding: 40px 0;
	background-color:#313131;
	color: #fff;
	margin: 80px 0 0 0;
}

#amg_publishing footer h2{
	margin: 0 0 60px 0;
}

#amg_publishing footer .f_title{
	border-bottom: 2px solid #fff;
	padding: 0 0 16px 0;
	margin: 30px 0;
}

#amg_publishing footer .map{
	margin: 40px 0 0 0;
}
/*footer▲*/

#amg_publishing footer .map iframe{
	width: 100%;
	height: 280px;
}
#amg_publishing footer table th,
#amg_publishing footer table td{
	padding: 0 0 0 10px;
}
#amg_publishing .banner_wrap{
	display: flex;
}
#amg_publishing .banner_wrap a{
	padding: 10px;
}
#amg_publishing .banner_wrap a img{
	width: 100%;
}
#amg_publishing footer table th:after {
	content: " : " 
}
#amg_publishing footer small{
	margin: 40px 0 0 0;
	font-size: 10px;
	display: block;
	text-align: center;
}

@media screen and (max-width: 1024px) {
	#amg_publishing .contents {
		padding: 0 80px;
	}
	#amg_publishing nav {
		top: 20%;
	}
	#amg_publishing .page_top {
		width: 100px;
		height: 100px;
		font-size: 14px;
	}
	#amg_publishing nav ul li a {
		font-size: 14px;
		height: 120px;
		padding: 14px;
	}
	#amg_publishing .work_nav{
		flex-wrap: wrap;
	}
	#amg_publishing .work_nav .btn_box{
		width: 50%;
		margin: 80px auto 0 auto;
		padding: 20px;
	}
	
	#amg_publishing .work_nav .btn_box:last-child{
		margin-left: 0;
	}
	#amg_publishing .work_nav .btn_box:nth-child(3),
	#amg_publishing .work_nav .btn_box:nth-child(4){
		margin-top: 0;
	}
}

@media screen and (max-width: 768px) {
	#all_wrap {
		padding-top: 40px;
		padding-bottom: 60px;
	}
	body#amg_publishing {
		font-size: 14px;
	}
	#amg_publishing h2 {
		font-size: 26px;
	}
	#amg_publishing .reason .heading-title {
		font-size: 24px;
		line-height: 48px;
	}
	#amg_publishing header {
		border-bottom: 2px solid #ea3272;
	}
	#amg_publishing header .header-inner {
		height: 40px;
	}
	#amg_publishing header .header-inner img{
		width: 120px;
	}

	#amg_publishing .nav_wrap {
		top: auto;
		bottom: 0;
		padding: 10px 0;
	}
	#amg_publishing nav ul {
		justify-content: space-around;
		height: 40px;
	}
	#amg_publishing nav ul li {
		width: 50%;
		text-align: center;
		padding: 10px;
	}
	#amg_publishing nav ul li a {
		font-size: 14px;
		height: 100%;
		padding: 6px;
		border: 1px solid #fff;
		width: 100%;
		display: inline-block;
		border-radius: 6px;
	}
	#amg_publishing .contents {
		padding: 0 10px;
	}
	#amg_publishing .imags_box {
		padding: 0;
	}
	#amg_publishing .mv .mv_pc{
		display: none;
	}	
	#amg_publishing .mv .mv_sp{
		display: block;
	}

	#amg_publishing .page_top {
		width: 60px;
		height: 60px;
		font-size: 10px;
		border: 2px solid #ea3272;
		bottom: 60px;
	}
	#amg_publishing .work_contents {
		padding: 0 10px;
	}
	#amg_publishing .work_contents h4 {
		font-size: 18px;
		padding: 6px;
	}
	#amg_publishing .work_port {
		flex-wrap: wrap;
	}
	#amg_publishing .work_port figure {
		width: 50%;
		padding: 0 10px 20px 10px;
	}
	#amg_publishing .work_port figure.full_width {
		padding: 0 10px;
	}
	#amg_publishing .work_nav .btn_box {
		padding: 12px;
	}
	#amg_publishing .btn_box a p {
		font-size: 18px;
	}
	#amg_publishing .btn_box a {
		height: 44px;
	}
	#amg_publishing .btn_box {
    	width: 80%;
	}
	#amg_publishing footer table{
		width: 100%;
	}
	#amg_publishing footer table th{
		margin-bottom: 10px;
		border-bottom: 1px solid #8B8B8B;
		text-align: left;
	}
	#amg_publishing footer table td{
    	margin: 0 0 16px 0;
	}
	#amg_publishing footer table th,
	#amg_publishing footer table td{
		padding: 0;
		display: block;
	}
	#amg_publishing .contact {
		background-attachment: scroll;
	}
	#amg_publishing .banner_wrap{
		display: block;
		text-align: center;
	}
	#amg_publishing .banner_wrap a{
		padding: 0;
		margin-top: 20px;
	}
	#amg_publishing .banner_wrap a img{
		width: 80%;
		margin: 20px auto 0 auto;
	}
	#amg_publishing .one_column {
		display: block;
	}
	#amg_publishing .one_column img {
		width: 100% !important;
	}
	#amg_publishing .one_column figcaption {
		width: 100% !important;
	}
	#amg_publishing .one_column2 {
		display: block;
	}
	#amg_publishing .one_column2 img {
		width: 100% !important;
	}
	#amg_publishing .one_column2 figcaption {
		width: 100% !important;
	}
}

@media screen and (max-width: 360px) {
	#amg_publishing h2 {
		font-size: 20px;
	}
	#amg_publishing .reason .heading-title {
		font-size: 20px;
	}
	#amg_publishing .banner_wrap a img{
		width: 100%;
	}
	#amg_publishing .work_port figure {
		padding: 0 6px;
	}
	#amg_publishing .work_contents {
		padding: 0 10px;
	}
}