html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ul {margin:0 auto;
	list-style: none;
}
body{margin:0;width: 100%;}
a {
  color: #fff;
  text-decoration: none;z-index: 1;position: relative;
}
/* メニュー内のリストスタイル△△ */
.arrow1a {
  position: relative;
  display: inline-block;
  padding-right: 20px;
}
.arrow1a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #fff;
  position: absolute;
  top: 55%;
  right: 10px;
  margin-top: -12px;
}
.arrow2a {
  position: relative;
  display: inline-block;

}
.arrow2a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #555;
  position: absolute;
  top: 55%;
  right: 80px;
  margin-top: -8px;
}
.arrow3a {
  position: relative;
  display: inline-block;
  padding-right: 0px;
}
.arrow3a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #fff;
  position: absolute;
  top: 55%;
  right: -30px;
  margin-top: -12px;
}


.hm_menu_check {display: none;}
.hm_wrap {
  display: inline-block;
  position:fixed;
  top: 0;
  right: 0;
  width: 100%;height:100%;
  padding: 0px;z-index:1;
}

.hm_btn {
  background-color: rgba(125,125,125,0.8);
  float: right; 
  margin: 27px 20px 5px 5px; 
  cursor: pointer;
  z-index: 1;
  position: relative;
  height: 60px;
  width: 62px;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 4px;
}
.hm_btn:before {
	position: absolute;
	content: "menu";
	padding: 5px 15px;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-size: 18px;
	color: #fff;
	top: 27px;
	right: -11px;
	border-radius: 4px 4px 0px 0px;
}
.hm_btn div {
  position: absolute;
  left: 15px;
  height: 3px;
  width: 30px;
  background-color: #fff;
  border-radius: 2px;
  display: inline-block;
  box-sizing: border-box;
}
.hm_btn div:nth-of-type(1) {
  top: 7px;
}
.hm_btn div:nth-of-type(2) {
  top: 16px;
}
.hm_btn div:nth-of-type(3) {
  top: 25px;
}
.hm_menu_wrap {
  width: 100%;
  height: 10000px;
  background-color: rgba(000,000,000,0.8);
  position: absolute;
  left: -100%;
  top: 0;
  -webkit-transition: left 0.5s;
  transition: left 0.5s;
}

.hm_menu_check:checked ~ .hm_title {
  opacity: 1;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}
.hm_menu_check:checked ~ .hm_btn  {
}
.hm_menu_check:checked ~ .hm_btn div:nth-of-type(1) {
  -webkit-transform: rotate(45deg) ;
  transform: rotate(45deg) ;
  top: 16px;
}
.hm_menu_check:checked ~ .hm_btn div:nth-of-type(2) {
  width: 0px;
}
.hm_menu_check:checked ~ .hm_btn div:nth-of-type(3) {
  -webkit-transform: rotate(-45deg) ;
  transform: rotate(-45deg) ;
  top: 16px;
}
.hm_menu_check:checked ~ .hm_menu_wrap {
  left: 0;
}


.hm_title {
  position: relative;
  display: inline-block;
  line-height: 30px;
  margin: 12px 45%;  
  opacity: 0;Z-index:2;text-align: center; 
}


.hm_list {
  text-align: center;
  border-top: 1px solid #999;
  list-style-type: none;
  margin: 150px 0 40px 0;
  padding: 0px;
}
.hm_list li a {
  font-size:16px;
  height: 60px;line-height:60px;
  border-bottom: 1px solid #999;
  color: #fff;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.arrow1a {
  position: relative;
  display: inline-block;
  padding-right: 20px;
}
.arrow1a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #fff;
  position: absolute;
  top: 55%;
  right: 10px;
  margin-top: -12px;
}
.arrow2a {
  position: relative;
  display: inline-block;
  padding-right: 0px;
}
.arrow2a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #777;
  position: absolute;
  top: 55%;
  right: -30px;
  margin-top: -12px;
}
.arrow3a {
  position: relative;
  display: inline-block;
  padding-right: 0px;
}
.arrow3a:before {
  content: '';
  width: 0;
  height: 0;
  border: solid 8px transparent;
  border-left: solid 10px #fff;
  position: absolute;
  top: 55%;
  right: -30px;
  margin-top: -12px;
}
/******************************************************************************/
.top{
  background-color:#cde;
}
.outline1 {
  margin-top: 0;
  color: #000;           
  font-size: 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  font-weight: 900;
  display: inline-block;
  transform: skewX(-35deg); 
  text-shadow: 0px 0px 1px black;
}
.heder h2 {
  margin:0 auto;padding-top:20px;
  width:auto;
  opacity: 1;
  font-size: 24px;
  font-weight: bold;line-height: 3;
  background-color: rgba(255,255,255,0.3);
}

.heder{margin: 0;padding-top:100px;
  background-image: url('http://www.autoyohin.co.jp/content/img-ayctop-00.JPG'); 
  background-size: cover;background-repeat:no-repeat;
  background-position: center;
  height:300px;width: auto;}
.heder1{margin: 0;padding-top:100px;
  background-image: url('http://www.autoyohin.co.jp/content/img-co-02.png');  
  background-size: cover;
  background-position: center;
  height:300px;width: auto;}  
.heder2{margin: 0;padding-top:100px;
  background-image: url('http://www.autoyohin.co.jp/content/img-office-2.jpg');  
  background-size: cover;
  background-position: center;
  height:300px;width: auto;} 
.heder3{margin: 0;padding-top:100px;
  background-image: url('http://www.autoyohin.co.jp/content/img-business-01.jpg');  
  background-size: cover;
  background-position: center;
  height:300px;width: auto;}
.heder4{margin: 0;padding-top:100px;
  background-image: url('http://www.autoyohin.co.jp/content/rec-02.jpg');  
  background-size: cover;
  background-position: center;
  height:300px;width: auto;}      
.content0{margin: 0;height: auto;
    background-color: #fff;padding-top:20px;background-image: url('http://www.autoyohin.co.jp/content/ayc-logo-2023-00.png'); 
  background-size: 20% ;background-repeat:no-repeat; background-position: center;}
.content000{margin: 0;height: ahto;width:auto;
  background-color: #dcf403;padding-top:50px;}
.content1{margin: 0;height: 300px;position:relative;
1background-color: #03f43f;background-image: url('http://www.autoyohin.co.jp/content/img-co-02.png'); 
  background-size: cover ;background-repeat:no-repeat;
  background-position: top center;}
.content2{margin: 0;height: 300px;width:auto;
}
.content3{margin: 0;height: 300px;
}
.content4{margin: 0;height: 300px;
 }
.content5{margin: 0;height: auto;
}
.footer{margin: 0;height: auto;
}

.inner{padding-top: 20px; 1width:80%;}
.inner1{margin:0 auto; width:95%; height:auto;}

.th60th{margin:auto; color:#009;font-size: 24px;}
h2.major1 {
      color:#ff4500;
      font-size:24px;
      margin-top:50px;
}
h2.major0 {
      border-bottom: solid 2px #888;
      color:#ff4500;
      font-size:24px;
      margin-top:50px;
}    
h2{color: #009;font-size: 36px;}
h3.major {
     border-bottom: solid 2px #888;
     color:#555;margin-bottom: 15px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: auto;
    height: auto;
    box-sizing: border-box;
    background-color: #fefefe;flex-direction: column;
}

.card { 
    background-position: center;background: linear-gradient(90deg, rgba(22, 135, 237, 0.6), rgba(20, 55, 90, 0.9)) ;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    border-radius: 0.25rem;
    transition: .5s;
    width: 95%;
    pointer-events: none;box-shadow: 0 10px 20px #ccc;
}
.card1 { 
    background-position: center;background: linear-gradient(90deg, rgba(22, 135, 237, 0.6), rgba(20, 55, 90, 0.9)) ;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    border-radius: 0.25rem;
    transition: .5s;
    width: 95%;
    pointer-events: none;box-shadow: 0 10px 20px #ccc;
}
.card2 { 
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    border-radius: 0.25rem;
    transition: .5s;
    width: 95%;
    pointer-events: none;box-shadow: 0 10px 20px #ccc;
}
.card-image {
    margin: 2rem;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}
.card-image2 {
    margin: 2rem;
    width: 120px;
    height: 120px;
    1border-radius: 50%;
    object-fit: cover;
}

.card-link {
    display: inline-block;
    margin-top: -10px;margin-bottom:20px;
    padding: 1rem;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    pointer-events: auto;width:200px;flex-direction: column;flex-grow: 1;
}
.card-title {
    display: inline-block;
    margin-top: -10px;margin-bottom:20px;
    padding: 1rem;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    pointer-events: auto;width:200px;
}
.card-title2 {
    display: inline-block;
    margin-top: -10px;margin-bottom:20px;
    padding: 1rem;
    border: 1px solid #fff;
    color: #000;
    text-decoration: none;
    pointer-events: auto;width:200px;
}

.card-box2 {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #62C69A;
    color: #000;
    text-align: center;display: flex;
    flex-direction: column;flex: 1 1 auto;
}

1.card-title {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.card-content3 h3{border:1px solid #009;width:200px;margin: 10px auto;
}
.section-item{margin:50px;border: 1px solid #555;padding:10px; width:250px; }
      .content3{margin-top: 70px;margin-bottom:0px;margin-left: auto;margin-right: auto;height: 300px;}
      .inner3{height:300px;width:auto;padding-top: 20px;
        background-color: #dcf5b8;background-image: url('http://www.autoyohin.co.jp/content/rec-02.jpg');background-size: cover;
        background-position: center;}
dl{text-align: left; margin: 20px auto; width: 90%; border-bottom: 1px solid #a2a2a2; font-size:14px;padding-top:20px;}
dd{margin: 10px auto;font-size:14px;}
dt{float: left; margin: 0px 30px 0px 0px; width: 100%; font-size:14px;}
.linktopics{text-decoration: none; color: #000;font-size:14px;}
.category{margin-left: 20px;margin-bottom: 20px;
  background: #eb8181;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.tel-number a {
    color:#000;
    text-decoration:none;
    }
a[href^="tel:"]{
    pointer-events: none;
    cursor: default;
    } 
    
/***各コンテンツページ上タイトル****************************************************/
h2.title1-1 {
	position: relative;
	padding-top: 100px;
        padding-left:20px;
	font-size: 26px;font-weight:900;
	1border-bottom: 1px solid rgba(5,62,98,1);
        width:250px;background-color:rgba(255,255,255,0.5);
}
h2.title1-1 span {
	position: relative;
	z-index: 2;
        color:#000;
        text-align:left;
}
h2.title1-1::before {
	content: attr(data-bk);
	position: absolute;
	top: 70px;
	left: 20px;
	color: rgba(5,62,98,0.4);
	font-size: 40px;
	text-transform: uppercase;
	z-index: 1;
}
/********** table　**********/
table {background-color:#fff;
  border-collapse: collapse;line-height: 2;
  width:100%;
  margin: 50px auto; font-size: 14px; color:#000;
}
table th, table td {
  width: auto;
  padding: 10px;
  text-align: left;	
  display: block;border:1px solid #dcdcdc; color:#000;
  border-top: none;font-size:14px;
}
table th{
  background-color: #dcdcdc;
  color:#000;
  margin-top:0px;
}
table td a:link { text-decoration: none; color:#000;}
table tr:first-child th{ 
  border-top: 1px solid #dcdcdc; 
}    
/***footer**********************************************************************/
.footer {
  margin:0;
  padding: 50px 10px 10px 10px;
  line-height: 2;
  background-image: repeating-linear-gradient(to top, rgba(245, 130, 32, 0.8) 0%, rgba(247, 148, 40, 0.8) 100%),url('http://www.autoyohin.co.jp/content/footer-main.jpg'); 
  background-size: cover;
  background-position: bottom center;list-style: none;
}
.outline2 {
  margin-top: 0;
  color: #fff;           
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  1font-weight: 900;
  display: inline-block;
}
.copyright {
  border-top: solid 1px #777;
  list-style: none;
  margin: 0;
  padding-top: 5px;
  width: 100%;
  font-size:10px;
  color: #fff;
}
/**1040px-up-size*****************************************************************************************************************************************/
@media screen and (min-width:1040px) {
  .outline1 {
  margin-top: 0;
  color: #000;           
  font-size: 28px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  font-weight: 900;
  display: inline-block;
  transform: skewX(-35deg); 
  text-shadow: 0px 0px 1px black;
}
.container {width:1040px;margin:auto;display: flex;justify-content: space-between;margin:auto;}
  .content0,.content1,.content2,.content3,.content4,.content5,.content11{margin-top: 100px;margin-bottom:50px;margin-left:auto;margin-right:auto;width:1040px;}
  .content1{height:300px;background-size: 50%110%;background-position: top left;}
  .heder, .heder1, .heder2, .heder3, .heder4, .heder5{width:1040px;margin:auto;background-position: top 60% center;}
  table {width:70%;height:800px;}
  dl{width: 50%;}
  .card{flex-basis: 30%;display: flex;flex-direction: column;}
  .inner3{padding-top: 20px; width:600px; border-radius: 120px;}
  .card2{flex-basis: 45%;display: flex;flex-direction: column;}
  
.card-wrapper {
  width:500px;
  display: flex;
  justify-content: space-between;margin:auto;
}
.card3 {
  width: calc((100% - 1em) / 2);
  display: flex;
  flex-direction: column;
}
.card-wrapper4 {
  width:700px;
  display: flex;
  justify-content: space-between;
  margin:auto;
}
.card4 {
  width: calc((100%) / 2);
  display: flex;
  flex-direction: column;
}
.card-text3 {
  flex-grow: 1;
  1text-align: left;
}
.card-content3 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.card-content3 h3{
  border:1px solid #009;
}