/* 会社案内一覧
----------------------------------*/
.com_link_area {
	margin-bottom: 3%;
	margin-top: 0%;	
}
.com_link01,.com_link02,.com_link03,.com_link04 {
    position: relative;
    overflow: hidden;
    height: 70vh;
    /*border-radius: 5% 5% 5% 5%;*/
    margin-bottom: 20px;
}
@media screen and (max-width: 1399px) {
.com_link01,.com_link02,.com_link03,.com_link04 {    
    height: 50vh;
}
}
.com_link02 {    
    margin-top: 20%;
}
.com_link03 {    
    margin-top: 40%;
}
.com_link04 {    
    margin-top: 60%;
}
@media screen and (max-width: 991px) {
.com_link02 {    
    margin-top: 0%;
}
.com_link03 {    
    margin-top: 0%;
}
.com_link04 {    
    margin-top: 0%;
}
}
.com_link01:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url("../img/com/index/president.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
    background-position: center center;
}

.com_link02:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url("../img/com/index/02.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
	background-position: center center;
}
.com_link03:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url("../img/com/index/03.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
    background-position: right center;
}
.com_link04:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url("../img/com/index/04.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
    background-position: center center;
}
.com_link01:hover:after,.com_link02:hover:after,.com_link03:hover:after,.com_link04:hover:after {
opacity: .8;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.com_link01:before,.com_link02:before,.com_link03:before,.com_link04:before {
position: absolute;
content: "";
display: block;
width: 100%;
height: 100%;
top: 0;
background-color: rgba(0,0,0,.9);
}

.com_link_name {
  text-align: center;
  position: relative;
  z-index: 10;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  top: 60%;
  transform: translate3d(0px, -50%, 0px);
  transition: opacity 400ms cubic-bezier(0.18, 0.06, 0.23, 1)
}
.com_link_name_jp {
  display: block;
  font-size: 2.0vw;
  line-height: 1.1;
  font-weight: 100;
	  text-shadow: 
    black 2px 0px,  black -2px 0px,
    black 0px -2px, black 0px 2px,
    black 2px 2px , black -2px 2px,
    black 2px -2px, black -2px -2px,
    black 1px 2px,  black -1px 2px,
    black 1px -2px, black -1px -2px,
    black 2px 1px,  black -2px 1px,
    black 2px -1px, black -2px -1px;
}
@media screen and (max-width: 767px) {
.com_link_name_jp {    
    font-size: 5vw;
}
}
@media screen and (max-width: 575px) {
.com_link_name_jp {    
    font-size: 8vw;
}
}

.com_link_name_en {
    display: block;
    font-size: 15px;
    line-height: 1;
    margin: 29px 0 0;
    text-transform: uppercase;
	text-shadow: 
    black 2px 0px,  black -2px 0px,
    black 0px -2px, black 0px 2px,
    black 2px 2px , black -2px 2px,
    black 2px -2px, black -2px -2px,
    black 1px 2px,  black -1px 2px,
    black 1px -2px, black -1px -2px,
    black 2px 1px,  black -2px 1px,
    black 2px -1px, black -2px -1px;
}
/*企業情報*/
.outline_area {
    padding-top: 5%;
    padding-bottom: 5%;
}
@media only screen and (max-width: 575px) {
.outline_area {
    padding-right: 20px;    
    padding-left: 20px;  
}
}
.outline_box {
    display: grid;
    grid-template-columns: 20% auto;
    font-size: 16px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
@media only screen and (max-width: 991px) {
.outline_box {
    grid-template-columns: 25% auto;    
}
}
@media only screen and (max-width: 767px) {
.outline_box {
    grid-template-columns: 1fr; 
	padding-bottom: 0px;	
}
}
dl.outline_box:nth-of-type(even) {
    background-color: rgba(238,236,233,0.2); /* 薄い青緑色など */
}
.outline_box dt {    
    border-bottom: 1px solid #9e9381;
	padding-top: 30px;
    padding-right: 10px;
    padding-bottom: 30px;
    padding-left: 10px;
}
.outline_box dd {
    border-bottom: 1px solid rgba(232,232,232,1.00);
    padding-top: 30px;
    padding-right: 10px;
    padding-bottom: 30px;
    padding-left: 10px;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}
@media only screen and (max-width: 767px) {
.outline_box dt {
    border-bottom: 1px none #12968f;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 16px;
    font-weight: bold;
}
.outline_box dd {  
	border-bottom: 1px solid rgba(166,166,166,1.00);
	padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
	font-size: 14px;
}
}

/*会社沿革*/

.history_box {
    display: grid;
    grid-template-columns: 20% auto;
    font-size: 16px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
@media only screen and (max-width: 1199px) {
.history_box {
    grid-template-columns: 25% auto;    
}
}
@media only screen and (max-width: 991px) {
.history_box {
    grid-template-columns: 30% auto;    
}
}
@media only screen and (max-width: 767px) {
.history_box {
    grid-template-columns: 1fr; 
	padding-bottom: 0px;	
}
}
dl.history_box:nth-of-type(even) {
    background-color: rgba(238,236,233,0.2); /* 薄い青緑色など */
}
.history_box dt {    
    border-bottom: 1px solid #9e9381;
	padding-top: 30px;
    padding-right: 10px;
    padding-bottom: 30px;
    padding-left: 10px;
}
.history_box dd {
    border-bottom: 1px solid rgba(232,232,232,1.00);
    padding-top: 30px;
    padding-right: 10px;
    padding-bottom: 30px;
    padding-left: 10px;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}
@media only screen and (max-width: 767px) {
.history_box dt {
    border-bottom: 1px none #12968f;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 16px;
    font-weight: bold;
}
.history_box dd {  
	border-bottom: 1px solid rgba(166,166,166,1.00);
	padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
	font-size: 14px;
}
}


.access_ttl {
    font-size: 18px;
    color: #9E9381;
	font-weight: bold;
	margin-top: 3%;
	margin-bottom: 10px;
}
@media screen and (max-width: 575px) {
.access_ttl {
    font-size: 16px;
}
}

.access_tx {
    font-size: 17px;
    color: #555555;
    font-feature-settings: "palt";
}
@media screen and (max-width: 575px) {
.access_tx {
    font-size: 14px;
}
}
.map_area {  
  margin-top: 3%;
}
.map_area iframe {  
  width: 100%;
	filter:hue-rotate(200deg);-webkit-filter:hue-rotate(200deg)

}

/* 理念
----------------------------------*/
.philosophy {
    background-image: url("../img/com/main_philosophy.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 70vw auto;
}
@media screen and (max-width: 991px) {
.philosophy {
    background-image: none;    
}
}
.philosophy_box {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  margin-bottom: 5%;
}

.philosophy_ttl {
  height: 3.2em;      /* 2行分程度の高さを確保（1行でも2行でも次との間隔が揃う） */
  display: flex;
  align-items: center; /* タイトル内での上下中央（お好みで） */
  margin-bottom: 10px;
  font-size: 30px;     /* 円の中に収まりやすいサイズに微調整 */
  line-height: 1.4;
	font-weight: bold;
}

.philosophy_tx {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 0;
}
@media screen and (max-width: 575px) {
.philosophy_tx {
    font-size: 14px;
}
}
/* 既存のコードに以下を追加 */

.philosophy_box_inner {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border-width: 4px;
    border-style: solid;
    /* 中の文字の配置設定 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上から並べる */
    align-items: center;
    padding-top: 20%;            /* 円の上部からタイトルまでの距離を一定にする */
    padding-left: 15%;           /* 左右の文字切れ防止 */
    padding-right: 15%;
    text-align: center;
    box-sizing: border-box;
}

/* 1つ目のボックス：信頼 (例: ブルー系) */
.philosophy_box_inner:nth-child(1) {
    background-color: rgba(0,158,150,0.1); /* 薄い背景色 */
    border-color: #009e96;     /* 枠線の色 */
}
.philosophy_box_inner:nth-child(1) .philosophy_ttl {
  color: #009e96;            /* タイトルの色 */
}

/* 2つ目のボックス：安心 (例: グリーン系) */
.philosophy_box_inner:nth-child(2) {
    background-color: rgba(235,97,0,0.1);
    border-color: #eb6100;
}
.philosophy_box_inner:nth-child(2) .philosophy_ttl {
  color: #eb6100;
}

/* 3つ目のボックス：最善 (例: オレンジ・ゴールド系) */
.philosophy_box_inner:nth-child(3) {
    background-color: rgba(252,200,0,0.1);
    border-color: #fcc800;
}
.philosophy_box_inner:nth-child(3) .philosophy_ttl {
  color: #fcc800;
}

/* あいさつ
----------------------------------*/

.main_area {
  padding-top: 10%;
  padding-bottom: 10%;
  position: relative;
  padding-right: 0px;
  padding-left: 0px;
}
@media (max-width: 991px) {
 .main_area {  
  padding-bottom: 0%;
}
}
/* メイン背景設定
----------------------------------*/
.president {
    background-image: url("../img/com/main_boss.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 70vw auto;
}
@media screen and (max-width: 991px) {
.president {
    background-image: none;    
}
}
.com_message {
    background-image: url("../img/com/main_viceboss.jpg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 70vw auto;
}
@media screen and (max-width: 991px) {
.com_message {
    background-image: none;    
}
}
.viceboss_area {
  padding-top: 10%;
  padding-bottom: 5%;  
	background-color: rgba(158,147,129,0.1);
}

.message_read {
    font-size: 36px;
    font-feature-settings: "palt";
    letter-spacing: 0.07em;
    font-weight: bold;
    display: inline;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;	
	background: rgba(255, 255, 255, .8);
	padding: .4em 1em;
	line-height: 2.8;
}
@media screen and (max-width: 1199px) {
.message_read {
    font-size: 26px;
    line-height: 1.7;
    background: none;
    padding-right: 20px;
  padding-left: 20px;
	padding-bottom: 15px;
	padding-top: 15px;
	display: block;
}
}
@media screen and (max-width: 991px) {
.message_read {    
    
}
}
@media screen and (max-width: 575px) {
.message_read {
    font-size: 17px;
    
}
}

.message_q {
    font-size: 24px;   
    padding-bottom: 5px;
    margin-bottom: 0px;
    font-weight: bold;
	padding-right: 20px;
  padding-left: 20px;
}
@media screen and (max-width: 575px) {
.message_q {
    font-size: 17px;
}
}

.message_tx {
    font-size: 17px;
    line-height: 1.9;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 3%;
}
@media screen and (max-width: 575px) {
.message_tx {
    font-size: 14px;
}
}
.message_list li {
    font-size: 20px;
    line-height: 1.9;
    list-style-type: circle;
    font-weight: bold;
    margin-bottom: 3%;
}
.message_list li ul li {
    font-size: 17px;
    line-height: 1.5;
	list-style-type: none;
	font-weight: normal;
	margin-bottom: 5px;
}
.message_list li ul .green {
    font-size: 19px;
	color: #12968f;
    
}
.message_name {
    font-size: 24px;
    line-height: 1.9;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 3%;
    font-family: "Noto Serif JP", serif;
    text-align: right;
}
.message_name span {
    font-size: 40px;
    margin-left: 10px;
}
@media screen and (max-width: 767px) {
.message_name {
    font-size: 18px;    
    
}
.message_name span {
    font-size: 26px;
}
}
.message_img {    
    margin-top: 20px;
}
