Commit fda50e3f by o.kimura

SDGs CSRページFB対応・CSSとヘッダ修正・画像の差し替え

parent 1ac19241
Showing with 50 additions and 25 deletions
......@@ -329,7 +329,7 @@
<?php if($pageid == "other" || $pageid == "faq" || $pageid == "marc" || $pageid == "privacy" || $pageid == "policy" || $pageid == "member" || $pageid == "trademark" || $pageid == "sitemap" || $pageid == "business_partner") { ?>
<?php if($pageid == "other" || $pageid == "faq" || $pageid == "marc" || $pageid == "privacy" || $pageid == "policy" || $pageid == "member" || $pageid == "viewership" || $pageid == "trademark" || $pageid == "sitemap" || $pageid == "business_partner") { ?>
<link rel="stylesheet" href="/common_previous/css/other.css">
......@@ -356,6 +356,15 @@
<link rel="stylesheet" href="/common_previous/css/form.css">
<?php } ?>
<?php if($pageid == "family-coaching" || $pageid == "leader-kids") { ?>
<link rel="stylesheet" href="/common_previous/css/management.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/contact.css">
<?php } ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
......@@ -648,8 +657,6 @@
<li><a href="https://achievement-hrs.co.jp/" class="c-nav-link1">組織変革コンサルティング</a></li>
<li><a href="/youth/" class="c-nav-link1">学生キャリア支援</a></li>
<li><a href="/recruit/" class="c-nav-link1">採用情報</a></li>
</ul>
......
// menu pc
$(function () {
var megaMenu = (function () {
return {
option: '.c-nav-menu1 li',
......@@ -22,7 +23,6 @@ $(function () {
$this.menuClose();
});
},
menuClose: function () {
var $trigger = $(this.option);
......@@ -266,4 +266,13 @@ $(function () {
$(".search__input").submit(function (e) {
e.preventDefault();
});
});
$(function () {
var ua = navigator.userAgent;
var window_width = $(window).width();
if (ua.indexOf('iPad') > 0 || ua.indexOf('Android') > 0 && 670 <= window_width && window_width <= 1100) {
$('head meta[name="viewport"]').attr('content', 'width=1440');
}
});
if($(function(){var e=function(){return{option:".c-nav-menu1 li",init:function(){var e=$(this.option),t=this;$(document).off("mouseenter.megaMenuOpen"),$(document).on("mouseenter.megaMenuOpen",this.option,function(){var i=$(this).data("target");return i||($(".c-nav2").hide(),e.removeClass("is-open")),!i||$(this).hasClass("is-open")?!1:(e.removeClass("is-open"),$(this).addClass("is-open"),$(".c-nav2").hide(),$(".c-nav2-"+i).fadeIn("normal"),$(document).off("mouseenter.megaMenuClose"),void t.menuClose())})},menuClose:function(){var e=$(this.option);$(document).on("mouseenter.megaMenuClose","div",function(t){$(t.target).hasClass("c-nav1")||$(t.target).parents(".c-nav")[0]||$(t.target).parents(".c-nav2")[0]||$(t.target).hasClass("c-nav2")||($(".c-nav2").hide(),$(".bg-nav").remove(),e.removeClass("is-open"),$(document).off("mouseenter.megaMenuClose"))})},destroy:function(){$(document).off("mouseenter.megaMenuOpen")}}}();e.init()}),$(window).on("load resize",function(){$(window).width()<=767?($(".menu-icon").off("click").on("click",function(){$(this).toggleClass("is-active"),$(this).parent().next().next().slideToggle()}),$(".nav-sp .c-nav-link1").off("click").on("click",function(){$(this).hasClass("open")?($(this).removeClass("open"),$(this).next().slideToggle()):($(this).addClass("open"),$(this).next().slideToggle())}),$(".c-footer__list >li > .showSp").off("click").on("click",function(e){e.preventDefault(),$(this).next(".c-footer__listsub").slideToggle()}),$(".c-nav2").removeAttr("style")):($(".menu-icon").off("click"),$(".menu-icon").removeClass("is-active"),$(".nav-sp").removeAttr("style"),$(".nav-sp .c-nav-link1").off("click"),$(".nav-sp .c-navSP").removeAttr("style"),$(".c-footer__list >li > .showSp").off("click"),$(".c-footer__listsub").removeAttr("style"))}),$(".c-toTop").length){var scrollTrigger=10,backToTop=function(){var e=$(window).scrollTop();e>scrollTrigger?$(".c-toTop").fadeIn():$(".c-toTop").fadeOut()};backToTop(),$(window).on("scroll",function(){backToTop()}),$(".c-toTop").on("click",function(e){e.preventDefault(),$("html,body").animate({scrollTop:0},400)})}jQuery(document).ready(function(){$(".box-video").click(function(){$("iframe",this)[0].src+="&amp;autoplay=1",$(this).addClass("open")})}),$(function(){$(".tab").click(function(){$(".is-active").removeClass("is-active"),$(this).addClass("is-active"),$(".is-show").removeClass("is-show");const e=$(this).index();$(".tabCont").eq(e).addClass("is-show"),$(window).scroll()})}),$(function(){$("a.btn--stop ,.reserveStop a").click(function(){return!1})}),$(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0);else{var t=$(window),n=$("header").clone().addClass("fixed-nav").appendTo("body"),i="is-show";t.on("load scroll",function(){var e=$(this).scrollTop();e>300?n.addClass(i):n.removeClass(i)})}var o=50,r=100;$("a[href^=#]").click(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0){var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),i=n.offset().top-r;return $("html, body").animate({scrollTop:i},500,"swing"),!1}var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),i=n.offset().top-o;return $("html, body").animate({scrollTop:i},500,"swing"),!1}),$(".sv").on("mouseover",function(){$(this).addClass("c-nav-sab-active")}),$(".sv").on("mouseout",function(){$(this).removeClass("c-nav-sab-active")})}),function(e){e.fn.fixMe=function(){return this.each(function(){function i(){n=t.clone(),n.find("tbody").remove().end().addClass("fixed").insertBefore(t),o()}function o(){n.width(t.outerWidth()),n.find("th").each(function(n){e(this).css("width",t.find("th").eq(n).outerWidth()+"px")})}function r(){var i=e(this).scrollTop(),o=e(this).scrollLeft(),r=navigator.userAgent;heightOfHeader=r.indexOf("iPhone")>0||r.indexOf("Android")>0&&r.indexOf("Mobile")>0?100:50,tableOffsetTop=t.offset().top-heightOfHeader,tableOffsetBottom=tableOffsetTop+t.height()-t.find("thead").height(),tableOffsetLeft=t.offset().left,tableOffsetTop>i||i>tableOffsetBottom?n.hide():i>=tableOffsetTop&&tableOffsetBottom>=i&&n.is(":hidden")&&n.show(),n.css({left:tableOffsetLeft-o+"px",top:heightOfHeader,position:"sticky","z-index":2})}var n,t=e(this);e(window).resize(o),e(window).scroll(r),i()})}}(jQuery),$(window).on("load",function(){screen.width>767&&$(".schedule-table").fixMe()}),jQuery(window).load(function(){function e(){$("#seminar").trigger("click"),jQuery("html, body").animate({scrollTop:0},0)}""!=window.location.hash&&e(window.location.hash.substr(1))}),$(function(){$(".page-schedule .c-nav-link1, .c-footer__list li a").on("click",function(){$("#seminar").trigger("click")}),$(".search__input").submit(function(e){e.preventDefault()})});
\ No newline at end of file
if($(function(){var e=function(){return{option:".c-nav-menu1 li",init:function(){var e=$(this.option),t=this;$(document).off("mouseenter.megaMenuOpen"),$(document).on("mouseenter.megaMenuOpen",this.option,function(){var o=$(this).data("target");return o||($(".c-nav2").hide(),e.removeClass("is-open")),!o||$(this).hasClass("is-open")?!1:(e.removeClass("is-open"),$(this).addClass("is-open"),$(".c-nav2").hide(),$(".c-nav2-"+o).fadeIn("normal"),$(document).off("mouseenter.megaMenuClose"),void t.menuClose())})},menuClose:function(){var e=$(this.option);$(document).on("mouseenter.megaMenuClose","div",function(t){$(t.target).hasClass("c-nav1")||$(t.target).parents(".c-nav")[0]||$(t.target).parents(".c-nav2")[0]||$(t.target).hasClass("c-nav2")||($(".c-nav2").hide(),$(".bg-nav").remove(),e.removeClass("is-open"),$(document).off("mouseenter.megaMenuClose"))})},destroy:function(){$(document).off("mouseenter.megaMenuOpen")}}}();e.init()}),$(window).on("load resize",function(){$(window).width()<=767?($(".menu-icon").off("click").on("click",function(){$(this).toggleClass("is-active"),$(this).parent().next().next().slideToggle()}),$(".nav-sp .c-nav-link1").off("click").on("click",function(){$(this).hasClass("open")?($(this).removeClass("open"),$(this).next().slideToggle()):($(this).addClass("open"),$(this).next().slideToggle())}),$(".c-footer__list >li > .showSp").off("click").on("click",function(e){e.preventDefault(),$(this).next(".c-footer__listsub").slideToggle()}),$(".c-nav2").removeAttr("style")):($(".menu-icon").off("click"),$(".menu-icon").removeClass("is-active"),$(".nav-sp").removeAttr("style"),$(".nav-sp .c-nav-link1").off("click"),$(".nav-sp .c-navSP").removeAttr("style"),$(".c-footer__list >li > .showSp").off("click"),$(".c-footer__listsub").removeAttr("style"))}),$(".c-toTop").length){var scrollTrigger=10,backToTop=function(){var e=$(window).scrollTop();e>scrollTrigger?$(".c-toTop").fadeIn():$(".c-toTop").fadeOut()};backToTop(),$(window).on("scroll",function(){backToTop()}),$(".c-toTop").on("click",function(e){e.preventDefault(),$("html,body").animate({scrollTop:0},400)})}jQuery(document).ready(function(){$(".box-video").click(function(){$("iframe",this)[0].src+="&amp;autoplay=1",$(this).addClass("open")})}),$(function(){$(".tab").click(function(){$(".is-active").removeClass("is-active"),$(this).addClass("is-active"),$(".is-show").removeClass("is-show");const e=$(this).index();$(".tabCont").eq(e).addClass("is-show"),$(window).scroll()})}),$(function(){$("a.btn--stop ,.reserveStop a").click(function(){return!1})}),$(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0);else{var t=$(window),n=$("header").clone().addClass("fixed-nav").appendTo("body"),o="is-show";t.on("load scroll",function(){var e=$(this).scrollTop();e>300?n.addClass(o):n.removeClass(o)})}var i=50,s=100;$("a[href^=#]").click(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0){var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),o=n.offset().top-s;return $("html, body").animate({scrollTop:o},500,"swing"),!1}var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),o=n.offset().top-i;return $("html, body").animate({scrollTop:o},500,"swing"),!1}),$(".sv").on("mouseover",function(){$(this).addClass("c-nav-sab-active")}),$(".sv").on("mouseout",function(){$(this).removeClass("c-nav-sab-active")})}),function(e){e.fn.fixMe=function(){return this.each(function(){function o(){n=t.clone(),n.find("tbody").remove().end().addClass("fixed").insertBefore(t),i()}function i(){n.width(t.outerWidth()),n.find("th").each(function(n){e(this).css("width",t.find("th").eq(n).outerWidth()+"px")})}function s(){var o=e(this).scrollTop(),i=e(this).scrollLeft(),s=navigator.userAgent;heightOfHeader=s.indexOf("iPhone")>0||s.indexOf("Android")>0&&s.indexOf("Mobile")>0?100:50,tableOffsetTop=t.offset().top-heightOfHeader,tableOffsetBottom=tableOffsetTop+t.height()-t.find("thead").height(),tableOffsetLeft=t.offset().left,tableOffsetTop>o||o>tableOffsetBottom?n.hide():o>=tableOffsetTop&&tableOffsetBottom>=o&&n.is(":hidden")&&n.show(),n.css({left:tableOffsetLeft-i+"px",top:heightOfHeader,position:"sticky","z-index":2})}var n,t=e(this);e(window).resize(i),e(window).scroll(s),o()})}}(jQuery),$(window).on("load",function(){screen.width>767&&$(".schedule-table").fixMe()}),jQuery(window).load(function(){function e(){$("#seminar").trigger("click"),jQuery("html, body").animate({scrollTop:0},0)}""!=window.location.hash&&e(window.location.hash.substr(1))}),$(function(){$(".page-schedule .c-nav-link1, .c-footer__list li a").on("click",function(){$("#seminar").trigger("click")}),$(".search__input").submit(function(e){e.preventDefault()})}),$(function(){var e=navigator.userAgent,t=$(window).width();(e.indexOf("iPad")>0||e.indexOf("Android")>0&&t>=670&&1100>=t)&&$('head meta[name="viewport"]').attr("content","width=1440")});
\ No newline at end of file
......@@ -583,7 +583,7 @@ body {
}
.c-imgtext1 + .c-imgtext1 {
margin: 30px 0 0;
margin: 30px 30px 0;
}
.c-imgtext1__img {
......@@ -629,6 +629,14 @@ body {
text-align: center;
}
.c-imgtext1__ttl a {
color: #333;
}
.c-imgtext1__ttl a:hover {
opacity: .7;
}
@media screen and (max-width: 767px) {
.c-imgtext1__ttl {
font-size: 1.4rem;
......@@ -658,11 +666,23 @@ body {
color: #333;
}
.c-imgtext1__txt img {
width: 324px;
margin: 40px auto;
display: flex;
}
@media screen and (max-width: 767px) {
.c-imgtext1__txt {
font-size: 1.2rem;
line-height: 1.5;
}
.c-imgtext1__txt img {
width: 200px;
margin: 15px auto 0;
display: flex;
}
}
.c-imgtext1--reverse {
......@@ -684,7 +704,6 @@ body {
.c-box {
width: 950px;
margin: 0 auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
......@@ -697,7 +716,7 @@ body {
-ms-flex-align: center;
align-items: center;
background: #fff;
padding: 42px 80px 33px 34px;
padding: 30px 80px 33px 34px;
}
@media screen and (max-width: 767px) {
......@@ -708,7 +727,7 @@ body {
}
.c-box__img {
width: 277px;
width: 700px;
}
@media screen and (max-width: 767px) {
......@@ -736,14 +755,6 @@ body {
position: relative;
}
@media screen and (max-width: 767px) {
.slick-list {
padding: 0px!important;
}
}
@media screen and (max-width: 767px) {
.c-slide1 {
padding: 9.8vw 0;
......@@ -842,9 +853,9 @@ body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: flex-start;
-ms-flex-align: flex-start;
align-items: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0 auto;
}
......@@ -974,9 +985,7 @@ body {
}
}
.top2 .c-box {
margin: 31px auto 0;
}
.top2 .c-box {}
@media screen and (max-width: 767px) {
.top2 .c-box {
......
......@@ -96,7 +96,7 @@
<div>
<h3>2. Formula1・全日本F3 選手権<br class="pc-only">スポンサー活動</h3>
<h4>ドライバーやチームの目標達成を<br class="pc-only">教育を通して支援</h4>
<p>F1 の名門、チームウィリアムズのスポットスポンサーに始まり、F3 の冠スポンサーを3 年間務めました。F1 への登竜門と言われるF3 に挑む若きドライバーやチームに対して、「目標達成の技術」を伝えるサーキットでの勉強会や、練習時間を拡張する資金提供を通して、成長を加速させる支援を行いました。</p>
<p>F1 の名門、チームウィリアムズのスポットスポンサーに始まり、F3 の冠スポンサーを3 年間務めました。F1 への登竜門と言われるF3 に挑む若きドライバーやチームへの、「目標達成の技術」を伝えるサーキットでの勉強会や、練習時間を拡張する資金提供を通して、成長を加速させる支援をしました。</p>
</div>
<img src="/assets/img/company/002.png" alt="">
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment