@charset "utf-8";

/*-------------------------------------------
 全体
-------------------------------------------*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 60px;
  font-size: 16px;
  line-height: 1.6;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, Arial, sans-serif;
}

a {
  color:#000000;
  text-decoration: none;
}

h1,h2,h3 {
  text-align: center;
  letter-spacing: 0.15em;
}

h2 {
  margin: 0;
}

.h2-headline {
  max-width: 200px;
  margin: 0 auto;
}

.h2-headline {
  margin: 0 auto;
  margin-bottom: 40px;
  border-bottom: solid 2px rgb(172, 172, 172);
}

h3 {
  margin:10px 0px 30px 0px ;
  font-size: 17px;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;  
}

p {
  margin: 10px 0;
  text-align: justify;
}

ul {
  list-style: none;
  margin: 0px 0px 10px 0px;
  padding: 0;
}

dd {
  padding: 0px 10px 15px 0px ;
  margin: 0;
  font-size: 100%;
  border-bottom: 1px dotted #cccccc;
}

dt {
  padding: 15px 0px 10px 0px ;
  font-size: 100%;
  font-weight: 600;
}
 

@media screen and (max-width:470px)  {

dt,dd {
  font-size: 90%;
}

h2 {
  font-size: 20px;  
}
  
h3 {
  font-size: 14px;
}
  
p {
  padding: 0;
  font-size: 90%;
 }
}
 
 
@media screen and (min-width:960px) {
   
body {
  padding-top: 120px;
 }
}

/*-------------------------------------------
 ヘッダー関連
-------------------------------------------*/

.header-area {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding-top: 10px;
  margin-bottom: 10px;
  background: #ffffff;
}
    
.header-logo-area {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
}
    
.logo-area_01 {
  width: 400px;
  margin: 0;
  padding-bottom: 10px;
  text-align: left;
}

.header-toiawase {
  font-size: 0.9em;
}

.header-toiawase-btn { 
  padding: 10px 20px;
  border-radius: 3px;
  background-color: #346dc0;
  color: white;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.4s;
}

.header-toiawase-btn:hover {
  background: #5991e4;
  color: #fff;
}

.fa-envelope {
  font-size: 1.2em;
  vertical-align: middle;
}

.bnt-txt {
  padding-left: 7px;
}


/*(1) 画面サイズ小メニュー(スマートフォン・タブレット)*/

.small-size {
  display: block;
  padding: 40px 18px 0px 10px ;
}
    
.big-size {
  display: none;
}
    
.header-toiawase {
  display: none;
}

label {
  display: block;
  color: #fff;
  text-align: center;
  font-size: 12px;
}
  
label::first-line {
  font-weight: bold;
  font-size: 16px;
}
       
/*ハンバーガーメニュー*/

.menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  display: block;
  position: absolute; 
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: #000000;
  content: '';
  cursor: pointer;
}

.menu-btn span:before {
  bottom: 10px;
}
.menu-btn span:after {
  top: 10px;
}

.global-nav-txt_01 {
  display: block;  
  font-size: 0.7em; 
}

.global-nav-txt_02 {
  display: none;
  font-size: 0.7em; 
}

#menu-btn-check:checked ~ .global-nav-txt_01 {
  display: none;
}

#menu-btn-check:checked ~ .global-nav-txt_02 {
  display: block;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check {
  display: none;
}
  
/*ハンバーガーメニューのナビゲーション*/

#global-nav-content {
  display: none;
  position: fixed;
  top:10;
  left: 0;
  z-index: 1; 
  width: 100%;
  height: 90%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgb(25, 71, 139) ;
}

#menu-btn-check:checked ~ #global-nav-content {
  display: block;
  animation: fadein 0.3s;
}
  
.global-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;  
}
  
.device-name {
  display: none;
}

.global-nav-item {
  margin: 20px 10px 10px 10px;
}
 
.global-nav-item a {
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
  
.global-nav-item a::first-line {
  font-weight: bold;
  font-size: 17px;
}

.global-nav-item a:hover {
  color: #fdffa2;
}
      
.nav-txt_01 { 
  display: block;
  font-weight: bold;
  font-size: 17px;
  text-align: center;
}

.nav-txt_02 { 
  display: block;
  text-align: center;
}

.company-info,.business-conent {
  position: relative;
  cursor: pointer;
}
  

/*画面サイズ小のナビゲーション会社情報 + 営業内容の詳細*/
.sub-item_sp_01,.sub-item_sp_02,.sub-item_sp_03,.sub-item_sp_04 {
  display: none;
  top: 0%;
  left: 0%;
  z-index: 50;
  transform: translate(0%,5%);
  background-color: RGBA(2, 102, 186, 0.93);
}
  
.sub-item_sp_01 a,
.sub-item_sp_02 a,
.sub-item_sp_03 a,
.sub-item_sp_04 a {
  width: 270px;
  padding: 12px 10px 12px 10px ;
  color: #f5f5f5;
  font-size: 14px;
  line-height: 2;
}
  
.sub-item_sp_01 a::first-line,
.sub-item_sp_02 a::first-line,
.sub-item_sp_03 a::first-line,
.sub-item_sp_04 a::first-line
 {
  font-weight: normal;
  font-size: 14px;
}
  
input[type="checkbox"]{
  display: none;
}
  

/*チェックすると会社情報 + 営業内容の詳細が出てくる*/

#menu_01:checked + .sub-item_sp_01,#menu_02:checked + .sub-item_sp_02,#menu_03:checked + .sub-item_sp_03,#menu_04:checked + .sub-item_sp_04 {
  display: block;
  animation: fadein 0.7s;
}
  
@keyframes fadein {
  from{ opacity: 0; }
  to{ opacity: 1; }
}


/*画面サイズ中(タブレット)*/

@media screen and (min-width:470px) and (max-width:959px) {
  
#global-nav-content {
  width: 100%;
 } 
}
 

/*画面サイズ大(パソコン)*/

@media screen and (min-width:960px) {
   
.logo-area_01 {
  padding: 0px 0px 0px 0px ;
}
  
.small-size {
  display: none;
}
  
.big-size {
  display: flex;
  align-items: center;
}
 
.header-toiawase {
  display: block;
}

.company-info {
  padding-top: 0px ;
}
  
.global-nav-menu {
   flex-direction: row;
   padding: 7px 0px 12px 0px;
   margin: 0 auto;
  }
  
.global-nav-item {
  margin: 0;
  padding: 0px 3px;
  border-bottom: none;
}
  
.global-nav-item a {
  margin: 0px 25px;
  color: #000000;
}
  
.global-nav-item a:hover {
  color: #85a7cc;
}
  
.diagonal_line { 
  position: relative;
} 

.diagonal_line:before {  
  position: absolute;
  transform: translate(-50%, -35%);
  content: url(../../img/navigation_diagonal_line.png);
}


/*画面サイズ大のナビゲーション会社情報 + 営業内容の詳細*/

.sub-item_pc_01,.sub-item_pc_02,.sub-item_pc_03 {
  display: none;
  position: absolute;
  background-color: RGBA(2, 102, 186, 0.93);
}
  
.sub-item_pc_01 {
  top: 100%;
  left: -15%;
  width: 190px;
}
  
.sub-item_pc_02 {
  top: 100%;
  left: -15%;
  width: 240px;
}

.sub-item_pc_03 {
  top: 100%;
  left: -15%;
  width: 240px;
}
  
.sub-item_pc_01 a,.sub-item_pc_02 a,.sub-item_pc_03 a{
  width: 100%;
  padding: 12px;
  color: #f5f5f5;
  line-height: 0.9;
  text-align: left;
}
  
.sub-item_pc_01 a::first-line {
  font-size: 14px;
  font-weight: normal; 
}
  
.sub-item_pc_02 a::first-line {
  font-size: 14px;
  font-weight: normal;
}

.sub-item_pc_03 a::first-line {
  font-size: 14px;
  font-weight: normal;
}


/*チェックすると会社情報の詳細が出てくる*/
.global-nav-item:hover > .sub-item_pc_01  {
  display: block;
}  

.global-nav-item:hover > .sub-item_pc_02  {
  display: block;
 }

.global-nav-item:hover > .sub-item_pc_03  {
  display: block;
 }

}
   
   
@media screen and (min-width:768px) {
   
.logo-area_01 {
  width: 450px;
 }
}

/*-------------------------------------------
 イメージ画像
-------------------------------------------*/

.main-image-area {    
  background-size: cover;
  padding: 0px 0px 0px 0px;  
}

.main-image img {
  height: 250px;
  object-fit: cover;
}

.main-image-list{
  position: relative;
}

.main-image-txt {
  position: absolute;
  top: 30%;
  left: 50%;
  z-index: 10;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-5%);
  color: #000000;
  font-weight: bold;  
  font-size: 1.5em;
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-family: 'Shippori Mincho B1', serif;
}

@media screen and (min-width:768px) and (max-width:959px) {

 .main-image-txt {
  font-size: 1.9em ;
  top: 35%;
 } 
}

@media screen and (min-width:960px) {

.main-image-area {    
  padding: 0px 0px 0px 0px ;
}

.main-image-txt {
  font-size: 1.9em ;
  top: 35%;
}
 
.main-image img { 
  height: 300px ;
 }
}

/*-------------------------------------------
 イメージ画像アニメーション追加
-------------------------------------------*/

.main-image-area{
  opacity: 0;
  animation: fadeIn 2s linear;
  animation-fill-mode: both;
}

@keyframes fadeIn {
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

/*-------------------------------------------
 パンくずリスト
-------------------------------------------*/

.a-bread {
  display: none;
}

.a-bread ul {
  display: flex;
  list-style-type: none;
}

.a-bread li a {
  padding: 5px;
  color: #000000;
  text-decoration: none;
}

.a-bread li a:hover {
  color: #f8f8ff;
  color: rgba(0, 0, 0, 0.25);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.a-bread li:after {
  content: '\003e';
  margin-left: 7px;
  margin-right: 7px;
 }

.a-bread li:last-child {
  font-weight: bold;
}
 
.a-bread li:last-child:after {
  content: ""; 
  font-weight: bold;
}

@media screen and (min-width:550px) {

.a-bread {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3px 15px 0px 15px ;
 }
}


/*-------------------------------------------
  記事紹介
-------------------------------------------*/

.article-area {  
  background-color: #ffffff;
}
 
.article-area-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 20px 20px;  
}
 
.article-date {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px 0px 5px 20px;
  font-weight: bold;
}

.article-title {
  font-size: 1.2em;
  letter-spacing:-0.02em;
  margin: 10px 0px 0px 0px;
}

.article-list {
  padding: 0px 20px 0px 20px;
  text-align: center;
}

.article-blank {
  display: none;  
}

.article-list p {
  max-width: 450px;
  padding: 15px 0px; 
  margin: 0 auto;  
}

.article-list img {
  max-width: 500px;
  text-align: center;
  padding: 40px 0px 20px 0px;  
}

.site_hover:hover {
  color: #3f3f79;
  color: rgba(0, 0, 0, 0.25);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

@media screen and (min-width:470px) {

.article-area-width{
  padding: 30px 20px 40px 20px;  
}

.article-title {
  font-size: 1.4em;
 }
}

@media screen and (min-width:1180px) {

.article-title {
  margin: 0;
  padding: 0px 0px 20px 0px;
}

.article-blank {
  display: block;
  height: 100px;    
 }

.article-list img {
  padding: 20px 0px 20px 0px;  
 } 
}
 
/*-------------------------------------------
  関連動画・チラシ
-------------------------------------------*/

.movie-area {
  padding: 30px 0px 20px 0px;
  background-color: #fff;
}

.movie-width {
  max-width: 1100px;
  padding: 0px 15px 0px 15px  ;
  margin: 0 auto;
}

.movie-width h2 {
  padding: 0px 0px 30px 0px  ;
}

.movie-flex {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0 auto;
}

.movie-list {
  flex: 1;
  margin: 0px 15px 0px 15px ;
  text-align: center; 
}

.movie-youtube {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.movie-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.movie-txt {
  padding: 0px 15px 20px 15px;
  text-align: center;
}
 
.movie-list img{
  width: 40%;
  border: 0.5px solid rgb(199, 197, 197);
}

.movie-list img:hover {
   opacity: 0.5;
   -webkit-transition: .3s ease-in-out;
   transition: .3s ease-in-out;  
}
  

@media screen and (max-width:470px)  {
.movie-list-width {
  padding: 0 ;
 } 
}

@media screen and (min-width:470px) and ( max-width:767px) {

.movie-flex{ 
  max-width: 80%;
 }
}

@media screen and (min-width:768px) {

.movie-area {
  padding: 20px 0px 40px 0px;
  background-color: #fff;
}

.movie-list-width {
  padding: 0px 20px 0px 20px   ;
  margin: 0 auto;
}

.movie-flex {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  max-width: 100%;
}  

.movie-txt {
  padding: 0px 15px 0px 15px;
 }
}

/*-------------------------------------------
 お問い合わせ
-------------------------------------------*/ 

.contact-area {
  padding: 40px 0px 40px 0px;
  background-image: url(../img/telephone.jpg);
  background-position: center center;
  background-size: cover;
  background-color:#f5f5f5;
}

.contact-width {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-flex {
  display:-webkit-box;
  display:-ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  max-width: 80%;
  margin: 0 auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contact-list {
  flex: 1;
  margin: 0;
  text-align: center;
}

.contact-content_01 span{ 
  display: inline-block;
}
 
.contact-txt_01 {
  padding: 0px 15px 0px 15px;
  text-align: center;
}

.contact-content_02 { 
  padding: 10px 25px 10px 25px ; 
  font-size: 1.0em;
}

.fa-phone-alt {
  padding: 0px 8px 0px 0px ;
  font-size: 1.3em; 
}

.contact-txt_02 { 
  margin: 0 auto;
  padding: 15px 0px 15px 0px;
  color: rgb(7, 7, 7);
  font-weight: 600;
  font-size: 1.4em; 
  line-height: 1.3em;
}

.contact-content_03 {
  padding-top: 10px;
  font-size: 1.4em;
  text-align: center;
}

.fa-envelope {
  vertical-align: middle;
}

.contact-content_03-btn { 
  margin: 0 auto;
  padding: 15px 35px;
  border-radius: 5px; 
  background-color: #346dc0;
  color: white;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.4s;
}

.contact-content_03-txt{
  padding-left: 10px;
}

.contact-content_03-btn:hover {
  background: #5991e4;
  color: #fff;
}


@media screen and (min-width:968px) {

.contact-content_02{ 
  padding: 15px 0px 15px 0px ; 
}

.contact-width {
  padding: 0 20px;
  margin: 0 auto;
}

.contact-flex {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  max-width: 100%;
 }
}

@media screen and (min-width:768px) {

.group-yamato-access-width {
  padding: 0 20px;
}

.group-company-list {
  flex:22%;
 }
}

@media screen and (max-width:470px)  {

.contact-txt_02 {
  font-size: 1.0em; 
  letter-spacing: 0em;
}

.contact-text_03 {
  font-size: 1.1em; 
}

.contact-content_03-txt{
  font-size: 0.8em;  
}

.contact-content_03-btn{ 
  padding: 10px 25px;
 }
}
 

 /*-------------------------------------------
   (2) 会社住所
 -------------------------------------------*/ 

 .yamato-company-area {
  padding: 0;  
  background-color: #ffffff;
}

.yamato-company-width {
  max-width: 1300px;
  margin: 0 auto;
}

.yamato-company-list {
  display: flex;
  flex-direction: row;
}

.yamato-company-content_01,.yamato-company-content_02 {
  flex: 1;
}

.yamato-company-content_01 {
  max-width: 100%;
  padding: 30px 0px 20px 0px;
}    

.logo-area_02 {
  max-width: 70%;
  margin: 0 auto;
}

.adress-txt {
  max-width: 260px;
  margin: 0 auto;
  padding: 15px 0px 0px 0px;
}

.yamato-company-list {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.adress-flex {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin: 0 auto;
}

.adress-txt p {
  text-align: left;
  margin: 4px 0px ;
}

@media screen and (min-width:1050px) {

.adress-flex {
  flex-direction: row;
  max-width: 100%;
 }
}
 
@media screen and (min-width:768px) and (max-width:1049px) {
  
.adress-flex {
  flex-direction: row;
  max-width: 70%;
 }
}
 

/*-------------------------------------------
  (3) 業務内容・その他
 -------------------------------------------*/   

 .yamato-company-content_02 {
  position: relative;
 }

.company-content-list {
  margin: 0;
  padding: 20px 0px 40px 0px;
  font-size: 1em; 
  line-height: 2.0em;  
}

.company-content-flex {
  display: flex;
  justify-content: space-around;
  padding: 10px 0px 0px 0px;
}

.yamato-company-detail {
  padding: 0px 2px 0px 2px;
}

.yamato-company-txt {
  margin-left : 0px;
  color: rgb(77, 77, 77);
  font-size: 1.0em; 
}

.yamato-company-txt:hover {
  color: #f8f8ff;
  color: rgba(0,0,0,0.3);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.yamato-company-space-txt {
  margin-left : 20px;
}

.logo-area_02 {
  width: 400px;
}


@media screen and (max-width:500px) {

.logo-area_02 {
  max-width: 100%;
  padding: 0px 10px 0px 10px;
  margin: 0 auto;
 }

.yamato-company-content_02 {
  display: none;
 }
}


@media screen and (min-width:501px) and (max-width:767px) {
  
.yamato-company-txt {
  margin-left : 0px;
  font-size: 0.9em; 
 }

.yamato-company-txt span {
  font-size: 16px; 
 }
}


@media screen and (min-width:768px) and (max-width:1049px) {

.company-content-flex {
  max-width: 70%;
  margin: 0 auto;
 }
}


@media screen and (min-width:768px) {

.logo-area_02 {
  max-width: 100%;
  margin: 0 auto;
 }
}    


@media screen and (min-width:1050px) {
   
.yamato-company-list {
  flex-direction: row;
}

.yamato-company-content_01 { 
  padding: 20px 0px 40px 0px;
}    

.company-content-flex {
  padding: 30px 0px 0px 0px;
}

.logo-area_02{
  padding-top: 5px;
 }
}
 


/*-------------------------------------------
  ページトップ
-------------------------------------------*/

.page-top {
  position: fixed;
  right: 8% ;
  bottom: 5% ;
  width: 50px;
  height: 50px;
  font-size: 2.5em;
}

.page-txt {
  font-size: 0.2em;
  position: absolute;
  top: -20%;
  left: 40%;
  transform: translate(-50%,0%);
  font-weight: bold;
  width: 100px;
  text-align: center;
} 

@media screen and (min-width:768px) {
 
 .page-top {
  font-size: 3em;
}
 
.page-txt {
  left: 50%;
  font-size: 0.25em;
} 

.page-top a::after {
  width: 60px;
  height: 60px;
 }
}
   
/*-------------------------------------------
　フッター
-------------------------------------------*/

.foot-bottom {
  background-color: #2b4781;
  color: #fff;
  text-align: center;
}

.foot-bottom_copy_01,.foot-bottom_copy_02 {
  display: inline-block;
  width: 100%;
  padding: 8px 0px 8px 0px   ;
  color: white;
  font-size: 12px;
}

.foot-bottom_copy_02 {
  display: none;
  color: rgb(255, 255, 255);
}

.space-text {
  margin: 0px 50px 0px 0px ;
}
.yamato-top {
  color: rgb(255, 255, 255);
}  

@media screen and (min-width:768px) {

.foot-bottom_copy_01 {
  display: none;
}  

.foot-bottom_copy_02 {
  display: block;
  color: rgb(255, 255, 255);
 }

}
