/* -------------------------------------------------
  MAIN STYLE
------------------------------------------------- */
/* 基本 */
html {
  scroll-behavior: smooth;
scroll-padding-top: 15px;
  font-size: 62.5%;
}

body{
	opacity: 0;
	animation: fadeInBody 3.2s ease forwards;
}

@keyframes fadeInBody{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

.palt {
  font-feature-settings: "palt";
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-style: normal;
  word-break: normal;
  word-wrap: break-word;
}
body {
  font-size: 1.6rem;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*
-----------------------------------------------
▼ヘッダー
----------------------------------------------- */
header{
background:#fff;
padding:15px 0;
}


.header-inner{
max-width:1040px;
margin-left:auto;
margin-right:auto;
padding-left:20px;
padding-right:20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items:center;
}

.head_logo{
width:272px;
display:block;
}

.head_logo_sp{
display:none;
}


nav.main ul{
	text-align:right;
	margin-bottom:6px;
}

nav.main li{
	font-size:1.6rem;
	margin-left:12px;
	width:7.5em;
	text-align:center;
	display:inline-block;
	border-bottom:solid 1px #333;
	transition: border-color .3s ease;
}

nav.main li a{
	text-decoration:none;
	color:#333;
	display:block;
	padding:6px 0;
	transition: color .3s ease, transform .3s ease;
}

/* hover */
nav.main li:hover{
	border-color:#ff6e64;
}

nav.main li a:hover{
	color:#ff6e64;
	transform: translateY(-2px);
}

.head_contact dt,
.head_contact dd{
font-size:1.4rem;
display:inline-block;
}

@media screen and (max-width: 820px) {

.head_logo{
display:none;
}

.head_logo_sp{
display:block;
padding:10px 25vw;
}

nav.main{
text-align:right;
margin-bottom:０;
}

.head_txt{
width:100%;
}

.head_contact{
text-align:center;
}

}

@media screen and (max-width: 600px) {
header{
padding:4px 0;
}

.header-inner{
padding-left:10px;
padding-right:10px;
}
nav.main ul{
text-align:right;
margin-bottom:6px;
margin-right:10px;
}

nav.main li{
font-size:1.3rem;
margin-left:10px;
}

.head_logo_sp{
display:block;
padding:5px 20vw 0;
}

.head_contact dt,
.head_contact dd{
font-size:2.8vw;
font-feature-settings: "palt";
}

}


/*
-----------------------------------------------
▼HERO
----------------------------------------------- */
.hero{
background:#ecffff;
padding-top:40px;
}

.hero h1{
position:relative;
z-index:2;
}



.hero_bottom{
position:relative;
z-index:1;
margin-top:-12px;
background:#ffe8e8;
border-top:solid 2px #ff6e64;
border-bottom:solid 2px #ff6e64;
padding:60px 20px 120px;
}

.hero_bottom h2{
text-align:center;
}

.hero_bottom h2 img{
margin:0 auto;
display:block;
max-width:866px;
height:auto;
}
.hero_in01{
margin:0 auto;
max-width:900px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding:30px 60px;
}

.hero_in01 .txt{
width:64%;
}

.hero_in01 .img{
width:31%;
}

.hero_in02{
margin:0 auto;
max-width:900px;
}

.hero_in02 .chui01{
font-size:1.8rem;
padding:20px 34px;
border-radius:60px;
background:#fff;
margin-bottom:20px;
}

.hero_in02 .chui02{
font-size:1.6rem;
padding-left:34px;
}

.hero_in02 .chui02 span{
display:inline-block;
}

.sp_hero{display:none;}

.pc_hero{
width:100%;
max-width:1686px;
margin:0 auto;
overflow:hidden; /* はみ出し非表示 */
position:relative;
}

.hero h1 img{
display:block;
margin:0 auto;
text-align:center;
}


.pc_hero{display:none;}

@media screen and (max-width: 1600px) {
.pc_hero_big{display:none;}
.pc_hero{display:block;}
}

@media screen and (max-width: 600px) {
.pc_hero{display:none;}
.sp_hero{display:block;}

.hero{
padding-top:0px;
}

.hero_bottom{
margin-top:0;
padding:30px 20px 15vw;
}

.hero_in01{
padding:15px 0 30px;
}

.hero_in01 .txt{
width:64%;
}

.hero_in01 .img{
width:32%;
}

.hero_in02 .chui01{
font-size:1.35rem;
padding:20px 15px;
border-radius:15px;
margin-bottom:20px;
}

.hero_in02 .chui02{
font-size:1.3rem;
padding-left:0;
}

}



/*
-----------------------------------------------
▼企業一覧
----------------------------------------------- */

.company_wrap{
position:relative;
z-index:3;
background:#e9fbff;
border-bottom:solid 2px #ff6e64;
padding-bottom:50px;
}


.company_wrap h3{
text-align:center;
margin:90px auto 20px;
}

.company_wrap h3 img{
margin:0 auto;
display:block;
height:55px;
width:auto;
}


.web_btn{
	display: block;
	text-align: center;
}

.web_btn img{
	display: inline-block;
	margin: -80px auto 10px;
	transition: transform .3s ease;
}

.web_btn:hover img{
	transform: scale(1.05);
}

@media screen and (max-width: 820px) {

.company_wrap h3{
margin:50px auto 20px;
}

.company_wrap h3 img{
height:40px;
}

.web_btn img{
	width:60vw;
	margin: -50px auto 10px;
}

}

@media screen and (max-width: 600px) {
.company_wrap{
padding-bottom:0px;
}

.web_btn img{
	width:70vw;
	margin: -9vw auto 10px;
}

.company_wrap h3{
margin:30px auto 20px;
}

.company_wrap h3 img{
height:30px;
}

}



/*
-----------------------------------------------
▼企業一覧
----------------------------------------------- */

.company_wrap{
	position:relative;
	z-index:3;
	background:#e9f8fb;
	padding:0 20px 90px;
}

.company_wrap h3{
	text-align:center;
	margin:90px auto 45px;
}

.company_wrap h3 img{
	margin:0 auto;
	display:block;
	height:55px;
	width:auto;
}

/* Webアンケートボタン */
.web_btn{
	display:block;
	text-align:center;
}

.web_btn img{
	display:inline-block;
	margin:-80px auto 10px;
	transition:transform .3s ease;
}

.web_btn:hover img{
	transform:scale(1.05);
}


/*
---------------------------------------
企業リスト
---------------------------------------
*/

.company_list{
	max-width:1040px;
	margin:0 auto;

	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:38px 18px;
}


/*
---------------------------------------
企業ボタン
---------------------------------------
*/

.company_btn{
	position:relative;

	display:flex;
	align-items:center;

	width:100%;
	min-height:54px;

	background:#fff;
	border:solid 1px #ff7b73;

	padding:0 60px 0 12px;

	text-align:left;

	transition:.3s ease;
	cursor:pointer;

	overflow:hidden;
}

/* hover */
.company_btn:hover{
	transform:translateY(-3px);
	box-shadow:0 8px 18px rgba(0,0,0,.08);
}


/* 会社名 */
.company_btn .name{
	display:block;

	font-size:1.7rem;
	font-weight:700;
	line-height:1.4;

	color:#111;

	padding-right:20px;

	flex-shrink:0;
}


/* 業種 */
.company_btn .cat{
	margin-left:auto;

	font-size:1.45rem;
	font-weight:700;
	line-height:1.5;

	color:#111;

	text-align:right;
}

#morita .cat{
	font-size:1.2rem;
}


/*
---------------------------------------
右側 ＋ボタン
---------------------------------------
*/

.company_btn .plus{
	position:absolute;
	top:0;
	right:0;

	width:52px;
	height:100%;

	background:#ff7268;
}


/* 横棒 */
.company_btn .plus::before{
	content:"";

	position:absolute;
	top:50%;
	left:50%;

	width:16px;
	height:3px;

	background:#fff;

	transform:translate(-50%,-50%);
}

/* 縦棒 */
.company_btn .plus::after{
	content:"";

	position:absolute;
	top:50%;
	left:50%;

	width:3px;
	height:16px;

	background:#fff;

	transform:translate(-50%,-50%);
}


/*
---------------------------------------
押せない状態
---------------------------------------
*/

.company_btn.disabled{
	pointer-events:none;
	cursor:default;
	opacity:1;
}

.company_btn.disabled:hover{
	transform:none;
	box-shadow:none;
}


/*
---------------------------------------
モーダル
---------------------------------------
*/

.modal{
	position:fixed;
	inset:0;

	background:rgba(0,0,0,.72);

	display:flex;
	align-items:center;
	justify-content:center;

	padding:20px;

	z-index:9999;

	opacity:0;
	visibility:hidden;

	transition:
		opacity .35s ease,
		visibility .35s ease;
}

/* 開いた時 */
.modal.active{
	opacity:1;
	visibility:visible;
}


/*
---------------------------------------
モーダル本体
---------------------------------------
*/

.modal_inner{
	position:relative;

	width:min(860px, 100%);
	max-height:90vh;

	background:#fff;

	padding:55px 50px;

	border-radius:18px;

	overflow-y:auto;

	box-shadow:
		0 15px 50px rgba(0,0,0,.22);

	opacity:0;

	transform:
		translateY(30px)
		scale(.96);

	transition:
		opacity .4s ease,
		transform .4s ease;
}

/* 開いた時 */
.modal.active .modal_inner{
	opacity:1;

	transform:
		translateY(0)
		scale(1);
}


/*
---------------------------------------
モーダルタイトル
---------------------------------------
*/

.modal_inner h3{
	font-size:3.2rem;
	font-weight:600;
	line-height:1.4;

	color:#1b2d73;

	margin-bottom:30px;

	padding-bottom:18px;

	border-bottom:
		solid 3px #ff7268;
}


/*
---------------------------------------
モーダル本文
---------------------------------------
*/

.modal_inner p{
	font-size:1.6rem;
	line-height:2;

	color:#333;
}


/*
---------------------------------------
閉じるボタン
---------------------------------------
*/

.close{
	position:absolute;

	top:18px;
	right:18px;

	width:46px;
	height:46px;

	border-radius:50%;

	background:#ff7268;

	color:#fff;

	font-size:2.4rem;
	font-weight:700;

	line-height:46px;
	text-align:center;

	cursor:pointer;

	transition:.3s ease;
}

.close:hover{
	transform:rotate(90deg);
	background:#ff5d51;
}


/*
---------------------------------------
スクロールバー
---------------------------------------
*/

.modal_inner::-webkit-scrollbar{
	width:8px;
}

.modal_inner::-webkit-scrollbar-track{
	background:#f2f2f2;
	border-radius:10px;
}

.modal_inner::-webkit-scrollbar-thumb{
	background:#ff7268;
	border-radius:10px;
}

/*
---------------------------------------
PC サイズ小
---------------------------------------
*/

@media screen and (max-width:1030px){

.company_btn .name{
font-size:1.5vw;
}

#toyo .cat{
	font-size:1.3rem;
}


}




/*
---------------------------------------
タブレット
---------------------------------------
*/

@media screen and (max-width:924px){

	.company_list{
		grid-template-columns:1fr;
		gap:16px;
	}

	.company_btn{
		padding:0 64px 0 16px;
	}

	.company_btn .name{
		font-size:1.5rem;
		padding-right:10px;
	}

	.company_btn .cat,
	#toyo .cat,
	#morita .cat{
		font-size:1.4rem;
	}

	#morita .cat br{
		display:none;
	}

	.modal_inner{
		padding:45px 35px;
	}

	.modal_inner h3{
		font-size:2.6rem;
	}

}


/*
---------------------------------------
スマホ
---------------------------------------
*/

@media screen and (max-width:600px){

	.company_wrap{
		padding:0 15px 60px;
	}

	.company_wrap h3{
		margin:35px auto 25px;
	}

	.company_wrap h3 img{
		height:34px;
	}

	.web_btn img{
		width:70vw;
		margin:-9vw auto 10px;
	}

	.company_btn{
		display:block;
		padding:14px 62px 12px 14px;
		min-height:auto;
	}

	.company_btn .name{
		display:block;
		font-size:1.6rem;
		margin-bottom:6px;
		padding-right:0;
	}



	.company_btn .cat,
	#toyo .cat,
	#morita .cat{
		display:block;
		text-align:left;
		font-size:1.3rem;
		margin-left:0;
	}

	.company_btn .plus{
		width:48px;
	}

	/*
	モーダル
	*/

	.modal{
		padding:15px;
	}

	.modal_inner{
		padding:35px 20px 25px;
		border-radius:14px;
	}

	.modal_inner h3{
		font-size:2.1rem;
		margin-bottom:20px;
		padding-bottom:12px;
	}

	.modal_inner p{
		font-size:1.4rem;
		line-height:1.9;
	}

	.close{
		width:40px;
		height:40px;
		line-height:40px;
		font-size:2rem;
		top:12px;
		right:12px;
	}

}




/*
-----------------------------------------------
▼アクセス
----------------------------------------------- */
.access_wrap{
position:relative;
background:#fff;
border-bottom:solid 2px #ff6e64;
padding-bottom:70px;
padding-top:90px;
}

.access_wrap h3{
text-align:center;
margin:0 auto 60px;
}

.access_wrap h3 img{
margin:0 auto;
display:block;
height:55px;
width:auto;
}

.map_wrap{
position:relative;
padding-left:20px;
padding-right:20px;
max-width:1040px;
margin:0 auto;
text-align:center;
}

.map_wrap .p01{
font-size:2.0rem;
}
.map_wrap .p02{
font-size:1.8rem;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 43.75%;
    /* アスペクト比 */
    height: 0;
    margin-bottom:30px;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map_wrap .p02 br{
display:none;
}

@media screen and (max-width: 820px) {

.access_wrap{
padding-bottom:60px;
padding-top:60px;
}

.access_wrap h3{
text-align:center;
margin:0 auto 50px;
}

.access_wrap h3 img{
height:40px;
}

}


@media screen and (max-width: 600px) {

.access_wrap{
padding-bottom:40px;
padding-top:60px;
}

.access_wrap h3{
margin:0 auto 30px;
}

.access_wrap h3 img{
height:30px;
}

.map_wrap .p01{
font-size:1.7rem;
}
.map_wrap .p02{
font-size:1.4rem;
}

.map_wrap .p02 br{
display:block;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 80%;
    /* アスペクト比 */
    height: 0;
    margin-bottom:20px;
}


}


/*
-----------------------------------------------
▼フッター
----------------------------------------------- */
footer{
padding:80px 0;
background:#ecffff;
}

.footer_in{
position:relative;
max-width:1000px;
margin:0 auto;
text-align:center;
}

.footer_in .p01{font-size:2.2rem;}
.footer_in .p02 br{display:none;}

@media screen and (max-width: 600px) {
footer{
padding:30px 0;
}

.footer_in .p01{font-size:1.7rem;}
.footer_in .p02{font-size:1.4rem;}
.footer_in .p02 br{display:block;}

}


/*
-----------------------------------------------
ページTOP
----------------------------------------------- */
.pagetop {
  cursor: pointer;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  transition: .3s;
  /*   デフォルトは非表示 */
  opacity: 0;
  z-index:100;
}
.pagetop:hover {
  box-shadow: 3px 3px #ff6600;
}
@media screen and (max-width: 767px) {
  .pagetop {
    cursor: pointer;
    position: fixed;
    right: 2.6vw;
    bottom: 4vw;
    width: 40px;
    height: 40px;
  }
  .pagetop:hover {
    box-shadow: none;
  }
}



/* @media screen and (max-width: 767px) {
html {
  scroll-padding-top: 30px;
}

} */

/* =================================================
  企業モーダル追加・上書き
================================================= */
.company_btn{
  appearance:none;
  -webkit-appearance:none;
}
.company_btn:focus-visible{
  outline:3px solid rgba(255,114,104,.45);
  outline-offset:3px;
}
.company_btn[aria-expanded="true"] .plus::after{
  opacity:0;
}

body.modal_open{
  overflow:hidden;
}

.company_modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}
.company_modal.is_show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.company_modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}
.company_modal__box{
  position:relative;
  z-index:1;
  width:min(1000px, 100%);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border:2px solid #ff7268;
  border-radius:0;
  padding:34px 34px 38px;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  transform:translateY(20px) scale(.98);
  transition:transform .28s ease;
}
.company_modal.is_show .company_modal__box{
  transform:translateY(0) scale(1);
}
.company_modal__close{
  position:absolute;
  top:-2px;
  right:-2px;
  width:58px;
  height:58px;
  background:#ff7268;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}
.company_modal__close::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:18px;
  height:4px;
  background:#fff;
  transform:translate(-50%, -50%);
}
.company_modal__close:hover{
  background:#ff5f55;
  transform:scale(1.04);
}
.company_modal__head{
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:flex-start;
  padding-right:60px;
  margin-bottom:18px;
}
.company_modal__title{
  font-size:4.0rem;
  line-height:1.25;
  font-weight:600;
  color:#000;
  letter-spacing:-.03em;
}
.company_modal__cat{
  flex:0 0 auto;
  font-size:1.5rem;
  line-height:1.6;
  font-weight:700;
  text-align:right;
  padding-top:9px;
  color:#111;
}
.company_modal__intro{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 52%;
  gap:28px;
  align-items:start;
}
.company_modal__text p{
  font-size:1.7rem;
  line-height:1.9;
  font-weight:600;
  color:#111;
  font-feature-settings:"palt";
}
.company_modal__photos{
  display:grid;
  gap:0;
  padding-top:2px;
}
.company_modal__photos.photo_count_2{
  grid-template-columns:1fr 1fr;
}
.company_modal__photos figure{
  overflow:hidden;
  background:#f4f4f4;
}
.company_modal__photos img{
  width:100%;
  height:100%;
  min-height:190px;
  object-fit:cover;
}
.company_modal__bottom{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 280px;
  gap:28px;
  align-items:center;
  margin-top:28px;
  padding-top:24px;
  border-top:2px dotted #ff9a94;
}
.company_modal__data{
  display:grid;
  gap:6px;
}
.company_modal__data_row{
  display:grid;
  grid-template-columns:110px minmax(0, 1fr);
  gap:12px;
  font-size:1.6rem;
  line-height:1.6;
  color:#111;
}
.company_modal__data dt{
  font-weight:800;
}
.company_modal__data dd{
  font-weight:500;
}
.company_modal__link{
  text-align:center;
}
.company_modal__link a{
  display:inline-block;
  width:240px;
  max-width:100%;
  transition:transform .25s ease, filter .25s ease;
}
.company_modal__link a:hover{
  transform:scale(1.08);
  filter:brightness(1.04);
}
.company_modal__link img{
  width:100%;
  height:auto;
}

@media screen and (max-width:924px){
  .company_modal{
    padding:18px;
  }
  .company_modal__box{
    padding:30px 24px 30px;
  }
  .company_modal__head{
    display:block;
    padding-right:54px;
  }
  .company_modal__title{
    font-size:3.0rem;
    margin-bottom:8px;
  }
  .company_modal__cat{
    text-align:left;
    padding-top:0;
  }
  .company_modal__intro{
    grid-template-columns:1fr;
    gap:18px;
  }
  .company_modal__photos{
    max-width:560px;
  }
  .company_modal__bottom{
    grid-template-columns:1fr;
    gap:22px;
  }
  .company_modal__link{
    text-align:left;
  }
}

@media screen and (max-width:600px){
  .company_modal{
    padding:12px;
  }
  .company_modal__box{
    max-height:92vh;
    padding:28px 18px 24px;
  }
  .company_modal__close{
    width:46px;
    height:46px;
  }
  .company_modal__head{
    padding-right:42px;
  }
  .company_modal__title{
    font-size:2.25rem;
    letter-spacing:-.04em;
  }
  .company_modal__cat{
    font-size:1.3rem;
  }
  .company_modal__text p{
    font-size:1.45rem;
    line-height:1.85;
  }
  .company_modal__photos.photo_count_2{
    grid-template-columns:1fr 1fr;
  }
  .company_modal__photos img{
    min-height:125px;
  }
  .company_modal__data_row{
    grid-template-columns:82px minmax(0, 1fr);
    gap:8px;
    font-size:1.35rem;
  }
  .company_modal__link{
    text-align:center;
  }
  .company_modal__link a{
    width:230px;
  }
}


/* 業種修正対応：アスタッフのみ2行表示 */
.company_btn[data-modal="modal-astaff"] .cat{
  font-size:1.25rem;
  line-height:1.35;
}

@media screen and (max-width:600px){
  .company_btn[data-modal="modal-astaff"] .cat{
    font-size:1.2rem;
  }
}

/* -------------------------------------------------
  参加企業一覧：業種2行表示調整
------------------------------------------------- */
.company_btn .cat .cat-main{
  display:block;
  font-size:1.45rem;
  font-weight:700;
  line-height:1.35;
}

.company_btn .cat .cat-sub{
  display:block;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.35;
  margin-top:2px;
  letter-spacing:-.03em;
}

/* モーダル内の業種は2行になっても左揃え・同サイズ */
.company_modal__cat{
  text-align:left;
}

@media screen and (max-width:924px){
  .company_btn .cat .cat-main{
    font-size:1.4rem;
  }
  .company_btn .cat .cat-sub{
    font-size:1.15rem;
  }
}

@media screen and (max-width:600px){
  .company_btn .cat .cat-main{
    font-size:1.3rem;
  }
  .company_btn .cat .cat-sub{
    font-size:1.1rem;
  }
}


/* -------------------------------------------------
  参加企業一覧：業種の○だけ大きく調整
  ※モーダル内は対象外
------------------------------------------------- */
.company_btn .cat .cat-main{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1px;
}

.company_btn .cat .cat-main .cat-mark{
  display:inline-block;
  font-size:1.7em;
  font-weight:400;
  line-height:1;
  transform:translateY(-.07em);
}

.company_btn .cat .cat-main .cat-text{
  display:inline-block;
}

@media screen and (max-width:600px){
  .company_btn .cat .cat-main{
    justify-content:flex-start;
  }

.company_btn .cat .cat-main .cat-mark{
  display:inline-block;
  font-size:1.2em;
  line-height:1;
  font-weight:400;
  transform:translateY(-.05em);
}


}

/* -------------------------------------------------
  スマホ時のモーダル表示調整
  ・画面上部が切れないように上寄せ
  ・長い内容はモーダル内でスクロール
  ・閉じるボタンはスクロール中も上部に固定
------------------------------------------------- */
@media screen and (max-width:600px){
  .company_modal{
    align-items:flex-start;
    justify-content:center;
    height:100vh;
    height:100dvh;
    padding:12px;
    padding-top:max(12px, env(safe-area-inset-top));
    padding-bottom:max(12px, env(safe-area-inset-bottom));
    overflow:hidden;
  }

  .company_modal__box{
    width:100%;
    max-height:calc(100vh - 24px);
    max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding:28px 18px 24px;
  }

  .company_modal__close{
    position:sticky;
    top:0;
    right:auto;
    display:block;
    margin:-28px -18px 12px auto;
    z-index:20;
    flex:0 0 auto;
  }

  .company_modal__head{
    padding-right:0;
  }
}

/* -------------------------------------------------
  スマホ：閉じるボタン位置調整
  ※タイトルと重ならないよう、ボタンを最上部の専用行に配置
------------------------------------------------- */
@media screen and (max-width:600px){
  .company_modal__box{
    padding-top:0;
  }

  .company_modal__close{
    position:sticky;
    top:0;
    right:auto;
    display:block;
    width:46px;
    height:46px;
    margin:0 -18px 14px auto;
    z-index:30;
  }

  .company_modal__head{
    padding-right:0;
  }
}

/* -------------------------------------------------
  タブレット幅：写真が本文下に回った時は横幅100%
  ※924px以下で1カラムになった際の写真幅を調整
------------------------------------------------- */
@media screen and (max-width:924px){
  .company_modal__photos{
    width:100%;
    max-width:none;
  }

  .company_modal__photos figure{
    width:100%;
  }

  .company_modal__photos img{
    width:100%;
  }
}
