/*------------------------
    Default Styling 
--------------------------*/

/*　　アウトライン
*{
    outline: 2px rgb(110, 7, 236) solid;
}*/


*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #000000;
    font-family: "Lucida Grande","ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN",
                "segoe UI", "Meiryo", "Arial", sans-serif;
}

h1, h2, h3 {
    margin-top: 0;
}

h1 {
    font-family: "A-OTF 新ゴ Pro","A-OTF Shin Go Pro","ヒラギノ角ゴ Pro W3", 
                "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka",
                "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h2 {
    font-family:  "Helvetica Neue", "Helvetica", "Hiragino Sans","Hiragino Kaku Gothic ProN", 
                "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

h3, h4 {
    font-family: "Lucida Grande","ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN",
                "segoe UI", "Meiryo", "Arial", sans-serif;
}

h1 {
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 10px;
}

h2 {
    margin-bottom: 0;
}

h3 {
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 0;
}

h4 {
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 0;
}

ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

p {
    line-height: 1.5;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
}

video {
    max-width: 100%;
}

a {
    text-decoration: none;
}

a, input, textarea {
    transition: all 1s ease-in-out;
}

input[type="submit"]:hover {
    cursor: pointer;
}

/* ---------------------------------
         Reusable Classes
---------------------------------- */

.button-tm,
.button-ns {
    display: inline-block;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    letter-spacing: 1px;
    text-decoration: none;
}

.button-tm {
    background-color: #f18e2c;
    padding: 5px 10px;
    font-weight: 500;
}

.button-ns {
    position: relative;
    font-weight: 600;
    padding: 1px 2px;
}

.button-tm:hover,
.button-tm:focus {
    background-color: #495B6F;
}

.button-ns:hover,
.button-ns:focus {
    background-color: var(--sbgreen);
}

/* -----------------------------------
        Header 
-------------------------------------*/

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000000;
    font-weight: 700;
    position: fixed;
    z-index: 2;
}

.header-logo img {
    width: 100%;
    display: flex;
}

.header-nav-menu {
    display: flex;
}

.header-nav-menu-item > a {
    color: #000000;
    padding: 2px;
}

.header-nav-menu-item > a:hover,
.header-nav-menu-item > a:focus {
    color: var(--sbgreen);
}

/*-----------------------------------
        Main - Hero 
------------------------------------*/

.main-hero {
    width: 100%;
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
}

.video-area {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;/*最背面に設定*/
    overflow: hidden;
}
    
.mv {
    /*天地中央配置*/
    position: absolute;
    top: 50%;
    left: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main-hero-copy {
    position: absolute;
}

.main-hero-logo {
    position: absolute;
}

.main-hero-logo img {
    display: block;
    align-items: end;
}

/* -----------------------------------------
        Main - Works 
------------------------------------------*/

.main-works {
    background-color: #ffffff;
}

/*-------- Works about-----------*/
.main-works-about img {
    width: 90%;
}

.main-works-button {
    text-align: right;
}

/*-------- Works item-----------*/
.main-works-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.main-works-item-img {
    width: 33%;
}

/* -----------------------------------------
        Main - News 
------------------------------------------*/

.main-news {
    background: linear-gradient(#1ea33e,#136827);
    color: #ffffff;
}

.main-news-list h2 {
    border-bottom: 1px solid #ffffff;
}

.main-news-table th, td {
    line-height: 2;
    text-align: left;
}

.main-news-table td {
    border-bottom: 1px solid #ffffff;
}

.main-news-button {
    text-align: right;
}

/* -----------------------------------------
        Main - ACCESS
------------------------------------------*/

.main-access {
    background-color: #ffffff;
}

/* -----------------------------------------
        Footer
------------------------------------------*/

.footer-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    background-color: #343434;
    color: #ffffff;
    font-weight: 700;
    
}

.footer-info-logo {
    display: flex;
}

.footer-info-nav-menu {
    display: flex;
}

.footer-info-nav-menu-item a {
    color: #ffffff;
}

.footer-info-nav-menu-item > a:hover,
.footer-info-nav-menu-item > a:focus {
    color: #1ea33e;
}

/* -----------------------------------------
        COMPANY - STYLING
------------------------------------------*/
.company-main {
    background-image: url(../images/profile.png);
}

/* -----------------------------------------
        TOP MESSAGE - STYLING
------------------------------------------*/

.tm-message {
    display: flex;
    align-items: center;
}

.tm-photo img {
    border-radius: 10%;
}

/* -----------------------------------------
        WORKS - STYLING
------------------------------------------*/

.works-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

/* -----------------------------------------
        CONTACT - STYLING

.contact-table {
    width: 100%;
}

.contact-item,
.contact-body {
    padding: 20px;
}

.contact-item {
    text-align: left;
    width: 30%;
}

.contact-body {
    width: 60%;
}

.form-text {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 400px;
}

.contact-check-txt {
    display: inline-block;
    margin-left: 5px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-submit {
    width: 55%;
    background-color: #1ea33e;
    color: #fff;
    font-weight: bold;
    display: block;
    margin: 0 17px 0 auto;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}


.contact-must::after {
    content: "必須";
    background-color: #1ea33e;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    min-width: 10px;
    padding: 5px 7px;
    margin: 0px 5px;
    line-height: 1;
    vertical-align: top;
    white-space: nowrap;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
  }
  ------------------------------------------*/