@charset "UTF-8";

/*記事*/
.kiji h1{
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: solid 20px #ff9933;
    font-size: 36px;
    font-weight: normal;
}

.kiji p{
    max-width: 100%;
}

.kiji .lead{
    max-width: 100%;
    font-size: 16px;
    color: #666;
}

.kiji h2{
    margin-top: 20px;
    margin-bottom: 16px;
    border-bottom: solid 1px #ddd;
    font-size: 28px;
    font-weight: normal;
}

.kiji h3{
    margin-top: 8px;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: normal;
}

.kiji h3::before{
    font-family: FontAwesome;
    content: '\f138';
    color: #888;
    margin-right: 2px;
}

.kiji a{
color: #a00;
text-decoration: none;
}

.kiji i{
    font-size: 8pt;
    vertical-align: 10%;
}

/*
.kiji a:hover{color: red;}
*/

.kijiimg{
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
}

/*---パンくずリスト---*/
.bread{
    margin-bottom: 12px;
}

.bread ol{
    margin: 0;
    padding: 0;
    list-style: none;
}

.bread li a{
    display: inline-block;
    padding: 2px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

.bread li a:hover{background-color: #eee;}

.bread ol:after{
    content: "";
    display: block;
    clear: both;
}

.bread li{
    float: left;
    width: auto;
}

.bread li:after{
    content: '\003e';
    color: #888;
    margin-left: 4px;
    margin-right: 4px;
}

/*---コンテンツページのみメニュー上罫線---*/
.contents .header{border-bottom: solid 1px #ddd}

/*---GoogleMap---*/
.gmap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.gmap iframe,
.gmap object,
.gmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.caddres{
    margin: 0 0 4px 0;
    padding: 0;
}

/*---ctopcatch---*/
.ctop{
position: relative;
}

.ccatch{
margin: 0;
font-size: 16px;
padding: 0;
color: #fff;
text-shadow: 1px 1px 2px #000;
font-weight: normal;
position: absolute;
bottom: 9%;
right: 2%;
}



/* --- 個人情報保護方針ページ専用スタイル --- */

/* h2見出し間の区切り線 */
.section-divider {
  border: 0;
  height: 1px;
  background-color: #ddd;
  margin: 40px 0;
}

/* 【...】付きの新しい見出しスタイル */
.section-title-custom {
  font-size: 1.25em; /* フォントサイズはh3の時と同じ */
  font-weight: bold;   /* 太字にする */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 5px solid #ff9933; /* h4についていたオレンジのマークをこちらに適用 */
}

/* 番号付きの小見出し (h4) - 装飾なし */
.policy-subsection-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* ポリシーページのリスト */
.policy-list {
  list-style-position: outside;
  padding-left: 1.2em; /* 「・」の位置を内側に調整 */
}
.policy-list li {
  margin-bottom: 1em;
  line-height: 1.7;
}

/* 署名部分のスタイル調整 */
.ceo-sign {
  margin-top: 2em;
  text-align: right;
  font-weight: bold;
}



/*---------------------------599px以下---------------------------*/
@media (max-width: 599px){

/*---記事---*/
    .kiji h1{font-size: 26px;}
    .kiji h2{font-size: 20px;}
    .kiji .lead{font-size: 14px;}
    
.ccatch{font-size: 12px;
top: 2%;
left: 2%;}    
    
}
/*---------------------------767px以下---------------------------*/
@media (max-width: 767px){

/*---概要シート(縦)---*/
.csheet{
    margin-left: 8px;
    margin-right: 8px;
    font-size: 14px;
    color: #000;
}

.csheet dt{
    margin: 0;
    text-align: center;
    background-color: #ddd;
}

.csheet dd{
    padding: 4px;
    margin-bottom: 8px;
}

/*---沿革シート(小)---*/
.chistory{
    margin-left: 8px;
    margin-right: 8px;
    font-size: 14px;
    color: #000;

}

.chistory:after{
    content: "";
    display: block;
    clear: both;
}

.chistory dt{
    float: left;
    margin-bottom: 0px;
    text-align: left;
}

.chistory dd{
    float: none;
    width: auto;
    margin-left: 60px;
    margin-bottom: 0px;
    padding-left: 2%;
    padding-bottom: 12px;
    border-left: solid 2px #ddd;
}

/* --- 関連会社追加 (SP版)--- */
.company-section { 
  margin-top: 40px;
  margin-bottom: 40px; 
}

.company-item {
  display: flex;
  flex-direction: column; 
  gap: 20px; 
  margin-bottom: 30px; 
}

.company-item:last-child {
  margin-bottom: 0; 
}

.company-item h2 { 
  font-size: 24px; 
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold; 
  color: #333; 
}

.company-item h3 { 
  font-size: 16px; 
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: normal; 
  color: #666; 
  line-height: 1.4;
}


.company-item h3 img {
  vertical-align: middle;
  margin-right: 5px;
}

.company-text {
  width: 100%; /* スマートフォン版では幅100% */
}

.company-image {
  width: 100%; /* スマートフォン版では幅100% */
}

.company-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}


/* --- 企業理念セクション (SP版)--- */
.philosophy {
  font-size: 16px; 
  margin-left: 10px; 
  margin-right: 10px; 
  max-width: none; 
  display: block;
}

.philosophy p {
  margin-bottom: 1.2em;
}

.philosophy-slogan {
  font-size: 20px; 
  text-align: center; 
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

.philosophy-main {
    display: block;
}

.ceo-photo-area {
  margin-top: 2em;
  text-align: center;
}

.ceo-photo {
  width: 70%;
  height: auto;
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.ceo-sign {
  text-align: center;
  font-weight: bold; 
  margin-top: 1.5em;
}


/* --- フッター 個人情報保護方針追加 (SP版)--- */
.footer-links {
  text-align: center; 
  margin-bottom: 15px; 
}

.footer-links ul {

}

.footer-links li {
  display: block; 
  margin: 8px 0; 
}

.footer-links a {
  font-size: 14px; 
  padding: 5px 0; 
}

/* --- 動画セクション (SP版)--- */
.video-section {
  padding: 0 10px; 
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: #fffacd; 
}

.video-inner-wrap { 
  background-color: transparent; 
  border: none; 
  padding: 20px 0; 
  border-radius: 0; 
  box-shadow: none; 
  width: 100%; 
  box-sizing: border-box; 
}

.video-corner-title { 
  font-size: 18px; /* フォントサイズを小さく調整 */
  font-weight: bold;
  text-align: center; 
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  border-bottom: none; /* タイトル下の罫線を削除 */
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  background-color: #000; 
}

.video-container iframe { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.video-caption { 
  font-size: 12px;
  text-align: right;
  margin-top: 10px;
  color: #666;
}


 /* --- 個人情報保護方針ページ（SP） --- */
  .section-title-custom {
    font-size: 16px;
    margin-top: 30px;
    padding-left: 10px;
  }

  
  .policy-subsection-title {
    font-size: 15px;
    margin-top: 25px;
  }
  
  /* SPでは署名を左寄せに */
  .ceo-sign {
    text-align: left;
  }


} /* @media (max-width: 767px) の閉じ括弧 */



/*---------------------------768px以上---------------------------*/
@media (min-width: 768px){

/*---概要シート(横)---*/
.csheet{
    margin-left: 12px;
    margin-right: 12px;
    max-width: 800px;
    font-size: 16px;
    color: #000;
}

.csheet:after{
    content: "";
    display: block;
    clear: both;
}

.csheet dt{
    float: left;
    width: 140px;
    margin-bottom: 8px;
    padding: 4px 12px 4px 0;
    text-align: right;
}

.csheet dd{
    float: none;
    width: auto;
    margin: 0 0 8px 140px;
    padding: 4px 0 4px 12px;
    border-left: solid 4px #ddd;
}

.csheet p{
    margin: 0;
    padding: 0;
    }


/*---沿革シート(大)---*/
.chistory{
    margin-left: 12px;
    margin-right: 12px;
    max-width: 800px;
    font-size: 16px;
    color: #000;
}

.chistory:after{
    content: "";
    display: block;
    clear: both;
}

.chistory dt{
    float: left;
    width: 140px;
    margin: 0 0 8px 0;
    padding: 5px 0 0 72px;
    text-align: left;
    font-family: 'century-gothic';
}

.chistory dd{
    float: none;
    width: auto;
    margin: 0 0 8px 140px;
    padding: 4px 0 4px 2%;
    border-left: solid 4px #ddd;
}

/* --- 企業理念セクション (PC版)--- */
.philosophy {
  max-width: 800px;
  font-size: 16px;
  color: #000;
  margin-left: 80px; 
}

.philosophy p {
  margin: 0 0 1.6em 0;
  padding: 0;
  line-height: 1.9;
}

.philosophy-intro {
  margin-bottom: 2em;
}

.philosophy-slogan {
  font-size: 24px;
  font-weight: bold;
  margin: 2em 0 1em 0;
  text-align: center;
  color: #222;
}


.philosophy-main {
  display: flex; 
  justify-content: space-between;
  align-items: flex-start; 
  gap: 30px;
}

.philosophy-text {
  flex: 1; 
}

.ceo-photo-area {
  flex-shrink: 0;
  width: 250px;
}

.ceo-photo {
  width: 100%;
  height: auto;
  display: block;
}

.ceo-sign {
  margin-top: 1em;
  text-align: right;
  font-weight: bold;
}




/* --- フッター　個人情報保護方針追加--- */

.footer-links {
  text-align: center;
  margin-bottom: 8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: inline-block;
  margin: 0 10px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}



/* --- 関連会社追加 (PC版)--- */
.company-section { 
  margin-top: 60px; 
  margin-bottom: 60px; 
}

.company-item { 
  display: flex; 
  flex-direction: row; 
  flex-wrap: nowrap; 
  gap: 30px; 
  margin-bottom: 50px; 
  align-items: flex-start; 
}

.company-item:last-child { 
  margin-bottom: 0; 
}

.company-item h2 { 
  font-size: 28px; 
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold; 
  color: #333; 
}

.company-item h3 { 
  font-size: 18px; 
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: normal; 
  color: #666; 
  line-height: 1.4; 
}


.company-item h3 img {
  vertical-align: middle;
  margin-right: 8px;
}

.company-text {
  width: calc(50% - 15px); 
}

.company-image {
  width: calc(50% - 15px); 
}

.company-image img { 
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}



/* --- 動画セクション (PC版)--- */
.video-section {
  padding: 0;
  margin-top: 60px;
  margin-bottom: 60px;
  background-color: #fffacd;
}

.video-inner-wrap {
  background-color: transparent;
  border: none;
  padding: 40px 0;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.video-corner-title {
  font-size: 20px; /* 前回の指示で20pxに調整済み */
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  color: #333;
  border-bottom: none;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9; 
  background-color: #000;
  margin: 0 auto;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.video-caption {
  font-size: 14px;
  text-align: right;
  margin-top: 15px;
  color: #666;
  max-width: 600px; /* **キャプションも動画の幅に合わせる** */
  margin: 15px auto 0 auto; /* **キャプションも中央寄せ** */
}

