/*　全体共通　*/
body {
  font-family: "Noto Sans JP", serif;
  background-color: #ffffff;
}

/*　ヘッダー　*/
header {
  color: #181619;
}
header .row {
  display: flex;   
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  max-width: 1280px;
  padding: 20px 0;
}
header .logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}
header .logo img {
  align-items: center;   /* テキストをセンターに合わせる  */
  height: 24px; /* テキストの高さに合わせる */
  margin-right: 10px; /* テキストとの間隔調整 */
}
header nav ul {
  display: flex;
}
header nav ul li {
  margin-left: 50px;    
}
/*　会社概要からお問い合わせまでのボタンの変色設定　*/
header nav ul li a {
    transition: 0.3s;
}
header nav ul li a:hover {
    color: #6abc72;
    transition: 0.3s;
}    

/*　メディアクエリ　*/
@media only screen and (max-width: 783px) {/* ヘッダーのみ960px➡783pxに変更 */
    header .row {
        display: block;
    }
    header nav ul {
        justify-content: space-between;
        margin-top: 20px;
    }
    header nav ul li {
        margin-left: 0px;
    }
}

/*　メインビジュアル　*/
.main_visual {
    background-image: url('../images/mv.jpg');
    background-size: cover;
    background-position: center top;  
    position: relative;
}
.main_visual .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
    height: 640px;
    position: relative;
}
.main_visual .title{
    position: absolute;
    bottom: 100px;
    left: 0;
    z-index: 2;
}
.main_visual h1 {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}
.main_visual p{
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;    
}
.main_visual .purple{
/*    background-color: #a1c5d8;*/
/*    background-color: #FFFFFF;*/
/*    background-color: #9fa0a0;*/
    
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    mix-blend-mode: multiply;
}
/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */
.outline-text {
    color: white; /* 文字色 */
    font-size: 24px; /* 必要に応じてサイズ調整 */
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; /* 黒い縁取り */
}
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */


/* メディアクエリ */
    @media only screen and (max-width: 960px) {
        .main_visual h1 {
            font-size: 52px;
        }
/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */
/*
        .main_visual .container {
            height: 540px; 
        }        
*/
        .main_visual {
            background-size: 233%;/* 960pxまでは233%に画像拡大 */
        }        
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */
    }    
        
/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック 490pxまではトップ画像拡大↓↓↓↓↓↓↓↓↓ */
/* メディアクエリ */
    @media only screen and (max-width: 490px) {
        .main_visual h1 {
            font-size: 42px;/* 490pxまでは42pxに大見出し拡大 */
        }
        .main_visual {
            background-size: 330%;/* 490pxまでは330%に画像拡大 */
        }             
    }    
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */
    
/* セクション① */
.section1 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.section1 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}
/* 左側部分 */
.section1 .row {
    display: flex;
    justify-content:  space-between;    
}
/* 右側部分 */
.section1 .col {
    width: 48%;
/*    background-color: beige;*/    
}
/* 左側部分 */
.section1 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;        
}
.section1 h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.6;
}
/* 右側部分 */
.section1 .text {
    font-size: 18px;
    line-height: 1.8;
    padding-top: 50px;
    padding-bottom: 50px;
}
/* 全ての「MORE」ボタン */
.btn {
    font-size: 18px;
    border: solid 1px #000000;
    border-radius: 100px;
    display: inline-block;
    width: 270px;
    line-height: 60px;
    text-align: center;
    transition: 0.3s;
}
/* 全ての「MORE」ボタン変色 */
.btn:hover {
    color: #6abc72;
    border: solid 1px #6abc72;
    transition: 0.3s;
}


/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */
/* iPhoneアプリへのリンクボタン */
/*
.iphone_btn {
    font-size: 22px;
    border: solid 1px #000000;
    border-radius: 100px;
    display: inline-block;
    width: 203px;
    line-height: 50px;
    text-align: center;
    transition: 0.3s;
}
.iphone_btn:hover {
    color: #6abc72;
    border: solid 1px #6abc72;
    transition: 0.3s;
*/
}
/* Androidアプリへのリンクボタン */
/*
.android_btn {
    font-size: 22px;
    border: solid 1px #000000;
    border-radius: 100px;
    display: inline-block;
    width: 203px;
    line-height: 50px;
    text-align: center;
    transition: 0.3s;
    margin : 0 20px;
}
.android_btn:hover {
    color: #6abc72;
    border: solid 1px #6abc72;
    transition: 0.3s;
}

/* 列の設定 */
.col {
    flex: 1;
    padding-left: 15px;
    padding-right: 15px;
}

/* ボタンコンテナの設定 */
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0px;
}

/* リンクと画像のスタイル */
.button-container a {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.button-container img {
    display: block;
    max-width: 300px;
    height: auto;
}

/* メディアクエリ― */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    .button-container a {
        margin-bottom: 0px;
    }
}
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */



/* メディアクエリ― */
@media only screen and (max-width: 960px) {
    .section1 .row {
        flex-wrap: wrap;
    }
    .section1 .col {
        width: 100%;
    }
    .section1 h2 {
        font-size: 24px;
    }
    .section1 .text {
        font-size: 15px;
        line-height: 1.6;
        padding-top: 30px;
        padding-bottom: 40px;
    }
    }
}



/* セクション② */
.section2 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.section2 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}
.section2 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;        
}
.section2 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 60px;    
}
.section2 .row {
    display: flex;
    justify-content:  space-between;  
    margin-bottom: 60px;
}
.section2 .col {
    width: 31%;
/*    background-color: beige;*/   
    position: relative;
}
.section2 img {
    border-radius: 20px;
}
.section2 h3 {
    color: #ffffff;  
    background-color: #6abc72;
    display: inline-block;
    position:  absolute;
    bottom: 15px;/*　フッター余白：6px➡15pxへ変更　*/
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 10px;        
}
.section2 .center {
    text-align: center;
}

/* メディアクエリ */
@media only screen and (max-width: 960px) {
    .section2 .row {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .section2 .col {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* セクション③ */
.section3 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.section3 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}
.section3 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;        
}
.section3 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;    
}
.section3 .row {
    display: flex;
    justify-content: space-between;
/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */
/* section3左側文字の高さを右側画像の高さに合わせる*/
/*    align-items: center;*/
    align-items: stretch;     
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */
}
.section3 .col {
    width: 48%;
}
.section3 .text {
    line-height: 1.8;
    margin-bottom: 50px;    
}
.section3 img {
    border-radius: 20px;
}

/* メディアクエリ */
@media only screen and (max-width: 960px) {
    .section3 .row {
        flex-wrap: wrap;
    }
    .section3 .col {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* フッター */
footer {
    text-align: center;
    font-size: 12px;
}
footer .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: #6abc72;*/
    border-top: solid 1px #6abc72;
    padding: 40px 0 20px;    
}
footer .logo {    
/*    color: #6abc72;  */
    font-size: 26px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
footer ul li{
    font-size: 15px;
    margin: 0 20px;    
}
footer ul a {    
    transition: 0.3s;    
}
footer ul a:hover {  
    color: #6abc72;  
    transition: 0.3s; 
/*    opacity: 0.6;*/
}

/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */
/*　メディアクエリ　フッターメニュー縮小時に整列　*/
@media only screen and (max-width: 783px) {/* 960px➡783pxに変更 */

    footer ul {
        justify-content: space-between;
/*        margin-top: 20px;*/
    }
    footer ul li{
        margin-left: 0px;
        margin-right: 0px;
    }
}
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */

/*　下層ページ共通　*/
.page_main_visual {
    background-image: url('../images/mv.jpg');
    background-size: cover;
    background-position: center top;  
    position: relative;
}
.page_main_visual .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
    height: 300px;
    position: relative;
}
.page_main_visual .title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}
.page_main_visual h1 {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}
.page_main_visual p {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;    
}
.page_main_visual .purple {
/*    background-color:currentColor;*/
/*    background-color: #b5b5b6;*/
    
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    mix-blend-mode: multiply;
}
/* メディアクエリ */
@media only screen and (max-width: 960px) {
    .page_main_visual .title {
        width: 100%;        
    }
}

/* 会社概要セクション① */
.company_section1 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.company_section1 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}
.company_section1 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.company_section1 .col {
    width: 48%;
}
.company_section1 img {
    border-radius: 20px;
}
.company_section1 table {
    width: 100%;    
}
.company_section1 table tr {
    padding: 20px 0;
    display: block;
    border-bottom: solid 1px #6abc72;
    line-height: 1.5;
}
.company_section1 table tr th {
    width: 150px;    
}

/* メディアクエリ */
@media only screen and (max-width: 960px) {
    .company_section1 .row {
        flex-wrap: wrap;
    }
    .company_section1 .col {
        width: 100%;
        margin-bottom: 30px;
    }
.company_section1 table tr th {
    width: 90px;
    }
}

/* 事業内容セクション① */
.service_section1 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.service_section1 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}
.service_section1 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;        
}
.service_section1 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;    
}
.service_section1 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.service_section1 .col {
    width: 48%;
}
.service_section1 .text {
    line-height: 1.8;
    margin-bottom: 50px;    
}
.service_section1 img {
    border-radius: 20px;
}

/* メディアクエリ */
@media only screen and (max-width: 960px) {
    .service_section1 .row {
        flex-wrap: wrap;
    }
    .service_section1 .col {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* お問い合わせセクション① */
.contact_section1 {
/*    color: #ffffff;*/
    padding: 80px 0;    
}
.contact_section1 .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
/*    background-color: beige;*/
}



/* ↓↓↓↓↓↓↓↓↓下記から追加修正ロジック↓↓↓↓↓↓↓↓↓ */

/* メディアクエリ - section1の「MORE」ボタンをセンター配置 */
@media only screen and (max-width: 960px) {
    .section1 .btn {
        display: block;
        margin: 0 auto;
    }
}

/* メディアクエリ - section3の「MORE」ボタンをセンター配置 */
@media only screen and (max-width: 960px) {
    .section3 .btn {
        display: block;
        margin: 0 auto;
    }
}

/* 下層ページ用のメディアクエリ */
@media only screen and (max-width: 960px) {
    .page_main_visual {
        background-size: 233%; /* 960pxまでは233%に画像拡大 */
    }
}

@media only screen and (max-width: 490px) {
    .page_main_visual {
            background-size: 330%; /* 490pxまでは330%に画像拡大 */
        }             
    }    
/* ↑↑↑↑↑↑↑↑↑上記まで追加修正ロジック↑↑↑↑↑↑↑↑↑ */

